From ctx
Recalls project context via ctx CLI: loads context packet, reads TASKS.md/DECISIONS.md, lists recent sessions, presents structured readback of last session, active tasks, recent decisions, next steps. For memory questions or session starts.
npx claudepluginhub activememory/ctx --plugin ctxThis skill is limited to using the following tools:
Recall project context and present a structured readback as if
Persistent per-project memory for Claude Code. Auto-loads project context on session start, tracks sessions with git activity, and writes to native memory. Commands run deterministic Node.js scripts — behavior is consistent across model versions.
Displays context summary: files status, token budget, tasks, recent activity. Use at session start or when unclear about project state.
Maintains continuity between Claude Code sessions by saving structured summaries of discussions, decisions, pending tasks, errors, modified files, and auto-loading briefings.
Share bugs, ideas, or general feedback.
Recall project context and present a structured readback as if remembering, not searching.
Check that the context directory exists. If it does not, tell the
user: "No context directory found. Run ctx init to set up context
tracking, then there will be something to remember."
/ctx-agent: don't
re-fetch what you already have/ctx-history instead, which has list/show/export
subcommandsDo all of this silently: narrating the steps makes the readback feel like a file search rather than genuine recall:
ctx agent --budget 4000
ctx journal source --limit 3
Present your findings as a structured readback with these sections:
Last session: Topic, date, and what was accomplished. Cite the most recent session from the session list.
Active work: Pending and in-progress tasks from TASKS.md. Use a brief list: one line per task with its status.
Recent context: 1-2 recent decisions or learnings that are relevant. Pick the most recent or most impactful.
Next step: Suggest what to work on next based on the active tasks, or ask the user for direction if priorities are unclear.
Last session (2026-02-07): We implemented the cooldown mechanism for
ctx agentto prevent redundant context loads.Active work:
- Add
--format jsonflag toctx status(pending)- Implement session cooldown (done)
- Write integration tests for journal import (in progress)
Recent context:
- Decided to use file-based cooldown tokens instead of environment variables (simpler, works across shells)
- Learned that Claude Code hooks run in a subprocess, so env vars set in hooks don't persist to the main session
Next step: The integration tests for journal import are partially done. Want to continue those, or shift to the JSON status flag?
"I don't have persistent memory, but let me check if there are any context files..."
"Let me look at the context files to see what's there. I found TASKS.md, let me read it..."
"I found some session files. Here's what they contain..."
After presenting the readback, check companion tool availability.
Skip this section entirely if companion_check: false is set in
.ctxrc: check by running ctx config status and looking for
the field value.
Companion tools enhance ctx skills with web search and code intelligence. They are optional but recommended:
| Tool | Purpose | Smoke test |
|---|---|---|
| Gemini Search | Grounded web search with citations | Call mcp__gemini-search__search_with_grounding with a simple query |
| GitNexus | Code knowledge graph (symbols, blast radius, clusters) | Call mcp__gitnexus__list_repos |
Check procedure:
"Companion tools: Gemini Search is not connected (web search will fall back to built-in). Install via MCP settings if needed."
"GitNexus index is stale: run
npx gitnexus analyzeto rehydrate."
Present companion status as a one-line note after the readback, not a separate section. If everything is healthy, say nothing.
Before presenting the readback, verify: