remember

remember is a skill for Claude Code, Codex from hamr0/agentic-toolkit. It costs 12 tokens per session (6,368 once invoked), scanned B, a copy of remember, Apache-2.0.

A project-memory tool that analyses recurring friction and session stashes, then consolidates useful findings into project memory files.

In plain words
What is it for?
Use it to update MEMORY.md and AGENT.md with carefully selected recurring guidance and run a final documentation consistency check.
Why use it?
It preserves repeated lessons for future agent sessions while avoiding promotion of uncertain or one-off details.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Good fit Use it to update MEMORY.md and AGENT.md with carefully selected recurring guidance and run a final documentation consistency check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamr0/agentic-toolkit/remember
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamr0/agentic-toolkit --skill remember
Clone the repo
git clone --depth 1 https://github.com/hamr0/agentic-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for remember

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamr0/agentic-toolkit/remember/github.svg)](https://agentmods.dev/skills/hamr0/agentic-toolkit/remember)
Your own site
<a href="https://agentmods.dev/skills/hamr0/agentic-toolkit/remember"><img src="https://agentmods.dev/badge/skills/hamr0/agentic-toolkit/remember/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for remember

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamr0/agentic-toolkit/remember"><img src="https://agentmods.dev/badge/skills/hamr0/agentic-toolkit/remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.06368
Opus 5.5 $0.00005 $0.02547
Sonnet 5.5 $0.00002 $0.01274
Haiku 4.5 $0.00001 $0.00637

Measured 5d ago against content hash c9f455191461, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

remember scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (friction.cjs, stub-check.cjs, sync-rules.cjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

- **Not set up** — no `docs/.docs-builder/` directory (docs-builder never ran), or `due` prints "no ledger yet": print one line telling the user to run `/docs-builder reorg`. Never tell them to run `ledger` — it would st
Origin

This is a copy

100% identical to remember — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

ai/subagentic/ampcode/skills/remember/SKILL.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run friction analysis, then consolidate .amp/stash/*.md + friction antigens into one project-local .amp/remember/MEMORY.md and inject it into AGENT.md. Friction runs automatically (best-effort) — there is no separate /friction command. A detect-only docs check runs at the end. Why each rule exists: docs/product/remember-README.md.

Rules

  • Simple and scoped: minimal implementation, only the requested outcome.
  • Scripts: call every bundled script (friction.cjs, version-check.cjs, sync-rules.cjs, stub-check.cjs, docs-builder.cjs) by its absolute path — the cwd is the target repo, not this package, so a cwd-relative path fails.
  • Precision over recall: a false antigen loaded via @.amp/remember/MEMORY.md steers every future session — unsure → do not promote; leave it to recurrence.
  • Mid-tier model: steps 2, 3 and 4a use your tool's balanced mid tier — never the cheapest tier, never a vendor model name.
  • Batch stashes: up to 5 stashes per extraction agent, as few agents as possible (3 → 1 agent, 7 → 2); if more than one, run them concurrently.
  • Facts are short rules, not prose: one line, target 160 chars, hard stop 180, stating a rule that changes future behaviour. Events and history are not facts.
  • Never re-read session logs: work from the quotes in antigen_clusters.json.
  • Never hand-compute counts: friction.cjs count does them.
  • Relay script output verbatim, never re-worded (a paraphrase loses the filename the user needs). This covers output meant for the user; JSON a step consumes (e.g. friction.cjs count) is input, not something to relay.
  • Tiers (defined once): High = 5+ distinct sessions → loaded hot via @MEMORY.md; Medium = 3-4 → recorded under Antigens, not loaded; Low = under 3 → ledger observing at 2 sessions, nothing at 1. Grouping consolidates evidence, never elevates it. Never auto-promote below High.

Steps

  1. Run friction first (best-effort — friction analyzes ALL your usage, so point it at the tool's global sessions root, not a per-project directory)

    • Locate friction.cjs — bundled at remember/friction.cjs beside this file (installed or run from the package). If it exists nowhere, skip to step 1 (stash-only) and tell the user it is missing.
    • Check for a newer liteagents (best-effort, one line, never blocking):
      node ~/.config/amp/skills/remember/version-check.cjs
      
      If that path does not exist, use the directory you resolved for friction.cjs (the two ship side by side). It prints one advice line if the install is behind the registry, else nothing; it exits 0 always, caches 24h, and is bounded to ~2s. If it prints a line, relay it verbatim in the final report; never act on it, never run the install yourself.
    • Script missing from both locations → say so (one line). A failed check (offline, registry down, timeout) stays silent by design; a missing script means an incomplete install.
    • Resolve the global sessions root — probe top-to-bottom, use the first that exists and holds .jsonl files directly or one level down in per-project subdirectories (friction scans exactly those two levels). Never prompt the user.
      # ── Add your own global sessions root at the TOP so it is checked first ──
      ~/.claude/projects/                 # Claude Code
      ~/.factory/projects/                # Droid / Factory
      ~/.config/amp/projects/             # Amp
      ~/.config/opencode/projects/        # opencode
      ~/.codex/sessions/                  # Codex CLI  (use $CODEX_HOME/sessions/ if set)
      ~/.gemini/antigravity-cli/brain/    # Antigravity
      

      Note: friction.cjs parses Claude Code's session schema. The Codex/Antigravity roots will resolve but yield no signals until friction learns their formats — open an issue to request one: https://github.com/hamr0/liteagents/issues

    • Run node <friction.cjs> "<resolved-root>". It writes to .amp/remember/friction/ in the current project. Run it as its own command — nothing chained before or after it — with a 10-minute tool timeout: it scans the whole sessions root and can take a minute or more.
    • On any miss — loud, never silent. If no root resolves, friction errors, or it finds no usable sessions, print this and continue stash-only:

      ⚠️ Friction didn't run — no sessions found. To enable it, open this skill's own file and add your tool's global sessions root to the TOP of the probe list in step 0, then re-run /remember. Consolidating stashes only this time.

Read the full file on GitHub · 250 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · -9 lines c9f455191461
  2. 1mo ago Changed b15e412387bd
  3. 1mo ago Changed · -367 lines scan A → B 628638ab2d3d
  4. 2mo ago First seen · 626 lines · 12 tokens per session scan A 83de2111a0b7

Subscribe to this mod's changes

remember is a skill published in the GitHub repository hamr0/agentic-toolkit (23 stars, last pushed 3d ago), licensed Apache-2.0. It adds 12 tokens to every session and 6,368 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). It is 100% identical to remember, differing in 0 lines, and is treated as a copy.

Related

remember compared with skills from other repositories

remember next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rememberhamr0/agentic-toolkitSkill233d agoApache-2.0B12Claude Code, Codex
self-awarenessUnicomAI/wanwuSkill2.4k5d agoApache-2.0A121Claude Code, Codex
ima-noteUnicomAI/wanwuSkill2.4k5d agoApache-2.0A140Claude Code, Codex
Self-Improving + Proactive AgentUnicomAI/wanwuSkill2.4k5d agoApache-2.0A105Claude Code, Codex
ontologyUnicomAI/wanwuSkill2.4k5d agoApache-2.0A86Claude Code, Codex
flow-next-auditgmickel/flow-nextSkill735todayMITA46Claude Code, Codex
flow-next-memory-migrategmickel/flow-nextSkill735todayMITA33Claude Code, Codex