Files
awesome-copilot/website
github-actions[bot] 431417044f docs: add /compact, /context, /usage commands and ACP session notes to Learning Hub (#1575)
Document the /compact, /context, and /usage slash commands in the
Copilot Configuration Basics page. These commands were not covered
in the main Learning Hub (outside the separate cli-for-beginners
track), but are broadly useful for interactive and ACP sessions:

- /context: visualize context window token usage
- /usage: display per-session token and API call metrics
- /compact: summarize conversation history to reclaim context space
- Note that all four (/env included) now work in ACP sessions (v1.0.39+)
- Note that ACP clients can toggle allow-all mode via session
  configuration without a slash command (v1.0.39+)

Sources:
- https://github.com/github/copilot-cli/blob/main/changelog.md
  (v1.0.39 – 2026-04-28)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 09:47:45 +10:00
..
2026-04-28 11:56:54 +10:00
2026-04-28 11:56:54 +10:00