ctx-remember

Recall project context and present structured readback. Use when the user asks 'do you remember?', at session start, or when context seems lost.

41 stars

Best use case

ctx-remember is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Recall project context and present structured readback. Use when the user asks 'do you remember?', at session start, or when context seems lost.

Teams using ctx-remember should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ctx-remember/SKILL.md --create-dirs "https://raw.githubusercontent.com/ActiveMemory/ctx/main/internal/assets/claude/skills/ctx-remember/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ctx-remember/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ctx-remember Compares

Feature / Agentctx-rememberStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Recall project context and present structured readback. Use when the user asks 'do you remember?', at session start, or when context seems lost.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

Recall project context and present a structured readback as if
remembering, not searching.

## Before Recalling

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."

## When to Use

- The user asks "do you remember?", "what were we working on?",
  or any memory-related question
- At the start of a session when context is not yet loaded
- When context seems lost or stale mid-session
- When the user asks about previous work, decisions, or learnings

## When NOT to Use

- Context was already loaded this session via `/ctx-agent`: don't
  re-fetch what you already have
- Mid-session when you are actively working on a task and context
  is fresh: don't interrupt flow
- When the user is asking about a *specific* past session by name
  or ID: use `/ctx-history` instead, which has list/show/export
  subcommands

## Process

Do all of this **silently**: narrating the steps makes the readback
feel like a file search rather than genuine recall:

1. **Load context packet**:
   ```bash
   ctx agent
   ```
2. **Read the files** listed in the packet's "Read These Files"
   section (TASKS.md, DECISIONS.md, LEARNINGS.md, etc.)
3. **List recent sessions**:
   ```bash
   ctx journal source --limit 3
   ```
4. **Present the structured readback** (see format below)

## Readback Format

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.

## Readback Rules

- Open directly with the readback: instead of "I don't have memory",
  present what you found
- Skip preamble like "Let me check": go straight to the structured
  readback
- Present findings as recall, not discovery: you are *remembering*,
  not *searching*
- Be honest about the mechanism only if the user explicitly asks
  *how* you remember (e.g., "It's stored in context files managed
  by ctx")

## Examples

### Good Readback

> **Last session** (2026-02-07): We implemented the cooldown
> mechanism for `ctx agent` to prevent redundant context loads.
>
> **Active work**:
> - [ ] Add `--format json` flag to `ctx status` (pending)
> - [x] 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?

### Bad Readback (Anti-patterns)

> "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..."

## Companion Tool Check

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:**

1. Attempt each smoke test silently
2. For tools that respond: note as available (no output needed)
3. For tools that fail or are not connected: append a brief note
   after the readback:
   > "Companion tools: Gemini Search is not connected (web search
   > will fall back to built-in). Install via MCP settings if
   > needed."
4. For GitNexus specifically: if it responds but the current repo
   is not indexed or the index is stale, suggest:
   > "GitNexus index is stale: run `npx gitnexus analyze` to
   > rehydrate."

Present companion status as a one-line note after the readback,
not a separate section. If everything is healthy, say nothing.

## Quality Checklist

Before presenting the readback, verify:
- [ ] Context packet was loaded (not skipped)
- [ ] Files from the read order were actually read
- [ ] Structured readback has all four sections
- [ ] No narration of the discovery process leaked into output
- [ ] Readback feels like recall, not a file system tour
- [ ] Companion tool check ran (unless suppressed via .ctxrc)

Related Skills

ctx-verify

41
from ActiveMemory/ctx

Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed.

ctx-skill-creator

41
from ActiveMemory/ctx

Create, improve, test, and deploy skills. Full skill lifecycle from intent to working skill file.

ctx-sanitize-permissions

41
from ActiveMemory/ctx

Audit tool permissions for dangerous or overly broad entries. Use to ensure safe agent configuration.

ctx-recall

41
from ActiveMemory/ctx

Browse session history. Use when referencing past discussions or finding context from previous work.

ctx-prompt

41
from ActiveMemory/ctx

Apply, list, and manage saved prompt templates from .context/prompts/. Use when the user asks to apply, list, or create a reusable template like code-review or refactor.

ctx-journal-normalize

41
from ActiveMemory/ctx

Normalize journal source markdown for clean rendering. Use after journal site shows rendering issues: fence nesting, metadata formatting, broken lists.

ctx-import-plans

41
from ActiveMemory/ctx

Import plan files into project specs directory. Use to convert external plans into project-tracked specs.

ctx-compact

41
from ActiveMemory/ctx

Archive completed tasks and trim context. Use when context files are growing large.

ctx-check-links

41
from ActiveMemory/ctx

Audit docs for dead links. Use before releases, after restructuring docs, or when running a documentation audit.

ctx-add-task

41
from ActiveMemory/ctx

Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.

ctx-add-learning

41
from ActiveMemory/ctx

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

ctx-add-decision

41
from ActiveMemory/ctx

Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.