agentleFS
Ericcccccc777Ericcccccc777/CCC-MAGI/skills/recall/SKILL.md

recall

Skill1 starsChanged 5 months agoApache-2.0View on GitHub

Fetch a recall/archive memory entry by id, feature, tag, or deep query. Companion to the manifest-mode memory-recall hook — the manifest only injects index lines; this skill pulls full bodies on demand.

79 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, make-bot-ui and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 15 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • jtarorehSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 5 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 11 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 11 projects that use this

  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 21 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always use ${CLAUDE_PROJECT_DIR:-$(pwd)} for paths.

    line 142
  2. Distinctive:

    Read-only. Never writes to memory files.

    line 149
  3. Very specific:

    Never re-summarizes or translates body content — prints decisions, open_problems, files_touched, next_intent, focus verbatim as written in …

    line 150
  4. Distinctive:

    Only the structural wrapper (header line "─── Recall: <id> ───", field labels like "decisions:", footer like "X/3 fetches used") translates …

    line 151
  5. Distinctive:

    If the body was originally written in a non-English language (e.g., CEO's locale at handoff time), present it in that original language — …

    line 152
  6. Distinctive:

    Never silently fetches when caps are exceeded.

    line 153
  7. Very specific:

    No matching entry found → tell the user, suggest /recall --deep if Tier 2 came up empty, OR

    line 158

“Common” is measured: kept by at least 6 in 10 of the 73 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/recall

Just-in-time memory retrieval. The SessionStart hook only shows you the manifest (one index line per entry). When you need a body, you call this skill explicitly.

When to call (HARD rules)

Per CLAUDE.md § Memory Calling Rules, you may call /recall only when one of these is true:

  1. User explicit reference: words like "之前 / 上次 / 上回 / before / previously / we decided / 之前定的"
  2. Feature exact match: current task's feature tag matches a manifest entry's feature
  3. Focus overlap: a manifest entry's focus="..." indicates a prior decision relevant to the action you're about to take

You may not call /recall because:

  • "It might be useful"
  • "For completeness"
  • "Multiple manifest entries look interesting"

Hard caps: ≤ 3 recall-body fetches and ≤ 1 archive deep search per session.

Usage

Form 1: by id (most common)

/recall SS-2026053001
/recall OBS-2026052901

Reads .harness/memory/sessions/recall/snapshots.jsonl or observations.jsonl, locates the entry whose id matches, prints the full body (pretty-printed JSON).

# Internal:
jq -c "select(.id == \"$ID\")" .harness/memory/sessions/recall/*.jsonl

Form 2: by feature or tag

/recall auth
/recall rls

Lists all manifest lines in recall whose feature == auth OR tags includes auth (or rls). Output format is the same one-line manifest. User picks one, then calls /recall <id>.

Form 3: deep search (archive tier)

/recall --deep auth
/recall --deep "rate limit"

Greps across .harness/memory/sessions/archive/*.jsonl for matching entries. Output: manifest lines, oldest visible. Hard cap: 1 per session.

# Internal:
grep -l "$QUERY" .harness/memory/sessions/archive/*.jsonl | xargs -I{} jq -r '
  "[" + .id + "] feature=" + (.feature // "general") + " kind=" + .kind + " date=" + (.ts[0:10]) + " focus=\"" + (.focus // .summary // "")[0:80] + "\""
' {}

Output format

For /recall <id> (body fetch):

─── Recall: SS-2026053001 ──────────────────────────────

ts:         2026-05-30T18:30:00Z
kind:       session-snapshot
feature:    auth
focus:      Resolve OTP race condition in middleware
next_intent:Implement advisory lock in src/auth/middleware.ts

decisions:
  - [d-001] WHEN form submits with code, THE SYSTEM SHALL validate before navigation

open_problems:
  - [p-001] Concurrent submissions cause double-charge (blocked_by: need DB advisory lock)

files_touched:
  - src/auth/middleware.ts (added validation hook)

prev_session_id: SS-2026052801
source: handoff

─── 1/3 recall fetches used this session ───────────────

For /recall <feature|tag> (search recall):

Matching entries in recall tier:

[SS-2026053001] feature=auth kind=session-snapshot date=2026-05-30 focus="OTP race condition"
[DEC-2026052801] feature=auth kind=decision date=2026-05-28 focus="Use Supabase RLS not middleware"
[OBS-2026052501] feature=auth kind=observation date=2026-05-25 focus="JWT expiry causes silent logout"

To read the body: /recall <id>

For /recall --deep <query> (archive):

Matching entries in archive tier:

[2026-03] OBS-2026031501  feature=auth focus="Old token format deprecated"
[2026-02] DEC-2026021001  feature=auth focus="Switch from sessions to JWT"

To read the body: /recall <id>  (note: archived; fetch returns from archive)

─── Archive deep-search used this session (1/1) ──────

Counter tracking

This skill is best-effort about cap enforcement. Maintain .harness/state/_recall-count-<session-id> (a 2-line file: body_fetches:N and deep_searches:M). Increment on each call. If exceeded, refuse:

⚠️ Recall cap reached this session (3/3 body fetches).
   Per CLAUDE.md § Memory Calling Rules, no more recall fetches this session.
   If this is genuinely critical, ask the user to confirm an override.

Path resolution

Always use ${CLAUDE_PROJECT_DIR:-$(pwd)} for paths. Files live at:

  • .harness/memory/sessions/recall/observations.jsonl
  • .harness/memory/sessions/recall/snapshots.jsonl
  • .harness/memory/sessions/archive/<YYYY-MM>.jsonl

Trust contract

  • Read-only. Never writes to memory files.
  • Never re-summarizes or translates body content — prints decisions, open_problems, files_touched, next_intent, focus verbatim as written in the jsonl entry. The recall body is a forensic record; translating it later breaks the "AI quote vs original" audit trail (same id, different language = trust broken).
  • Only the structural wrapper (header line "─── Recall: <id> ───", field labels like "decisions:", footer like "X/3 fetches used") translates to the user's OS locale.
  • If the body was originally written in a non-English language (e.g., CEO's locale at handoff time), present it in that original language — do not normalize to user's current locale.
  • Never silently fetches when caps are exceeded.

Completion criteria

  • Body fetched and printed in the format above, OR
  • No matching entry found → tell the user, suggest /recall --deep if Tier 2 came up empty, OR
  • Cap reached → refuse with explanation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.