Skip to content

archgate session-context

Read AI editor session transcripts for the project. Useful for auditing what an AI agent did during a coding session.

Terminal window
archgate session-context <subcommand> [options]

Read the Claude Code session transcript for the project.

Terminal window
archgate session-context claude-code [options]

| Option | Description | | ------------------- | ------------------------------------------------------------------ | | --max-entries <n> | Maximum entries to return (default: 200) | | --skip <n> | Skip the N most recent sessions (useful when running as sub-agent) |

Read the Copilot CLI session transcript for the project. Sessions are matched by their workspace cwd field.

Terminal window
archgate session-context copilot [options]

| Option | Description | | ------------------- | ------------------------------------------------------------------ | | --max-entries <n> | Maximum entries to return (default: 200) | | --skip <n> | Skip the N most recent sessions (useful when running as sub-agent) | | --session-id <id> | Specific session UUID to read |

Read the Cursor agent session transcript for the project.

Terminal window
archgate session-context cursor [options]

| Option | Description | | ------------------- | ------------------------------------------------------------------ | | --max-entries <n> | Maximum entries to return (default: 200) | | --skip <n> | Skip the N most recent sessions (useful when running as sub-agent) | | --session-id <id> | Specific session UUID to read |

Read the opencode session transcript for the project. Sessions are matched by the project path field in session metadata.

Terminal window
archgate session-context opencode [options]

| Option | Description | | ------------------- | ------------------------------------------------------------------ | | --max-entries <n> | Maximum entries to return (default: 200) | | --skip <n> | Skip the N most recent sessions (useful when running as sub-agent) | | --session-id <id> | Specific session ID to read |

Read the latest Claude Code session:

Terminal window
archgate session-context claude-code

Read a specific Cursor session:

Terminal window
archgate session-context cursor --session-id abc123

Read the latest Copilot CLI session:

Terminal window
archgate session-context copilot

Read the latest opencode session:

Terminal window
archgate session-context opencode

Read the parent session (skip the sub-agent’s own session):

Terminal window
archgate session-context claude-code --skip 1