From longrein-extension
Searches and inspects past coding-agent sessions from Codex, Claude Code, Cursor, Gemini, Aider, and ChatGPT using the `cass` CLI. Recovers project context, past fixes, or builds evidence handoffs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/longrein-extension:coding-agent-session-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`cass` is the CLI from [Dicklesworthstone/coding_agent_session_search](https://github.com/Dicklesworthstone/coding_agent_session_search). Longrein installs the latest official release but does not fork or reimplement it. Use `cass --version` to identify the active upstream build.
cass is the CLI from Dicklesworthstone/coding_agent_session_search. Longrein installs the latest official release but does not fork or reimplement it. Use cass --version to identify the active upstream build.
cass; it opens the interactive TUI and can block an agent session.--json, --robot, or --robot-format json for machine-readable output.cass triage --json and follow its next_command when it reports not_initialized, stale, or rebuilding state.--limit, --fields, --max-content-length, or --max-tokens.health, freshness, privacy, and warnings before pasting evidence into another prompt or answer.cass triage --json
If next_command is present, inspect its stated safety and run it exactly when it is in scope. A first build or refresh commonly uses:
cass index --json --no-progress-events
cass search "authentication redirect timeout" --robot --robot-meta --limit 10 --fields summary --max-tokens 4000
Use --fields minimal for wide scans. Use --fields summary when titles and scores help triage. Add --workspace "$(pwd)", --agent, or date filters when the user provides that scope.
cass view /path/to/session.jsonl -n 42 --json
cass expand /path/to/session.jsonl -n 42 -C 5 --json
Use source_path and line_number from search hits. Prefer expand when surrounding dialogue changes the meaning.
cass pack "checkout timeout root cause" --robot --max-tokens 8000 --limit 30
cass capabilities --json, cass introspect --json, and cass robot-docs schemas instead of guessing fields.hits[]; request only the fields needed for the current decision.--robot-meta, use _meta.next_cursor for bounded pagination.error.kind in structured error envelopes, not on human message text.npx claudepluginhub ylxmf2005/longrein --plugin longrein-extensionSearches previous code agent sessions (Claude-Code or Codex-CLI) for specific work, decisions, or code patterns using aichat and jq.
Searches local coding-agent history using ctx to retrieve prior sessions with decisions, insights, and context. Useful when past attempts or transcript context may inform current work.
Searches past Claude Code/Codex sessions using the recall CLI, retrieving historical context, decisions, and solutions. Useful for recalling past work, recurring issues, and vague back-references.