# How can I resume a Copilot CLI task and check its loaded context?

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Enhance productivity by using GitHub Copilot (20–25%)
Updated: 2026-11-19T04:47:23.092253+00:00
HTML: https://learningpathx.com/faq/GH-700/gh700-resume-copilot-cli-context.html

## Also asked as

- How do I return to a previous Copilot CLI session and inspect its environment?
- Which Copilot CLI controls help me continue the correct session with the right inputs?

In an authorized interactive GitHub Copilot CLI session, use `/resume` to select the previous session and `/env` to inspect loaded instructions, MCP servers, skills and agents. Confirm the working folder and task inputs before continuing; a remembered conversation is not proof that every required file or integration is available.

Start the interface with `copilot` in the intended working environment. Use `/rename` to give the current task a recognizable name, and `/resume` when returning to an existing task. The CLI supports pasting clipboard content as an attachment with Ctrl+V. Supply current evidence through supported context controls rather than relying on unrelated history.

If you choose a custom agent at startup, the CLI supports `--agent=AGENT`, where AGENT is an available agent. Check its effective tools separately from its role description. After resuming, ask it to identify the current goal, available records and unresolved gaps, then verify those claims against the actual environment.

For history deletion, use `/session delete ID` with the intended session ID rather than assuming a universal `/delete` command. Removing history does not establish that file or external-service changes were reversed.

References: [GitHub Copilot CLI command reference - GitHub Docs](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference).

Source: [GH-700: Manage Copilot Sessions and Context Across Clients](https://learningpathx.com/guide/GH-700/gh-700-manage-copilot-sessions-and-context-across-clients.html)
