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.
npx skills add agentproto/ts --skill ap-memorygit clone --depth 1 https://github.com/agentproto/tsWrote 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.
[](https://agentmods.dev/skills/agentproto/ts/ap-memory)<a href="https://agentmods.dev/skills/agentproto/ts/ap-memory"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-memory/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.
<a href="https://agentmods.dev/skills/agentproto/ts/ap-memory"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.01127 |
| Opus 5.5 | $0.00032 | $0.00451 |
| Sonnet 5.5 | $0.00016 | $0.00225 |
| Haiku 4.5 | $0.00008 | $0.00113 |
Grade A, and why
ap-memory scanned grade A with 0 findings 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ap-memory
MCP profile
Only memory_search and memory_write are on the core profile. memory_list,
memory_read, memory_supersede, memory_archive and memory_dismiss exist
only on the full profile: in a session narrowed to core, orchestrator,
apps or admin they are not in tools/list, so a call fails before reaching
the daemon. On core you can find a hit and propose, but you cannot read the
whole item, so work from the snippet.
Who may do what
- Anyone proposes.
memory_writedefaults tomode: "propose": it stores a pending proposal that is not in force.memory_searchdoes not find it and noidexists yet. - Only the operator or a supervisor commits.
mode: "commit",memory_supersede,memory_archiveandmemory_dismissneed a caller with no session id (the operator) or a session whose recorded spawn role is at least supervisor. A worker session, a session with no recorded role or a pack-carried role getscommit_not_allowed; it proposes instead. - Opt-out. A session whose agent sets
memory.enabled: falsewrites nothing, not even a proposal (memory_disabled); it can still read. - This is a write policy on the local daemon, not an authentication boundary.
- Every call is scoped to the calling session's node scope: an item outside it reads as absent.
Tools
Task: remember something without duplicating
memory_searchwith a few distinctive words. If a hit already says it, stop.- If a hit says something close but outdated, do not write a second item:
memory_readit (keep therevision) and either change it (commit, withifRevision) or supersede it. Two active items cannot share aslug. - Otherwise
memory_writewith an item:schema: "memory/v1", a kebab-caseslug, akind(user,feedback,projectorreference), atitle,updated_at, and a shortbody. Forfeedback, give the rule first, then aWhy:line. One claim per item. - Report the
proposalIdyou got back and say it is pending: it is not remembered until an operator or supervisor commits it.
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.
- today First seen · 89 lines · 81 tokens per session scan A a70aab6bfeae
ap-memory is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 1,127 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
ap-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ap-memoryagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 81 | Claude Code, Codex |
| llm-wikisammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 82 | Claude Code |
| authoring-claude-mdsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| graphifysammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | B | 76 | Claude Code, Codex |
| import-memoryomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 54 | Codex |
| weknora-sharedTencent/WeKnora | Skill | 39k | yesterday | none | A | 68 | Claude Code, Codex |
| rememberyonatangross/orchestkit | Skill | 313 | yesterday | MIT | A | 66 | Claude Code |