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 strikersam/autonomous-ai-agency --skill repo-memory-updatergit clone --depth 1 https://github.com/strikersam/autonomous-ai-agencyWrote 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/strikersam/autonomous-ai-agency/repo-memory-updater)<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/repo-memory-updater"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/repo-memory-updater/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/strikersam/autonomous-ai-agency/repo-memory-updater"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/repo-memory-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00043 | $0.00753 |
| Opus 5 | $0.00022 | $0.00377 |
| Sonnet 5 | $0.00009 | $0.00151 |
| Haiku 4.5 | $0.00004 | $0.00075 |
Grade A, and why
repo-memory-updater 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 12d ago.
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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: repo-memory-updater
When to Use
- After adding a new module, endpoint, or significant capability
- After adding risky code (auth, file I/O, external service)
- After any change to key commands, env vars, or test commands
- When starting a new session and AGENTS.md feels outdated
- After merging a PR that significantly changes structure
Instructions
Step 1 — Inventory what changed
git log --oneline -20 # recent commits
git diff HEAD~5 --stat # files changed in last 5 commits
Look for: new files, renamed modules, new env vars in .env.example, new commands in README.
Step 2 — Check root AGENTS.md
Read AGENTS.md and answer:
- Is the Codebase Map section still accurate? (new files, changed structure)
- Are the Key Commands still correct? (nothing renamed or removed)
- Are the Coding Rules still appropriate? (no new risky patterns uncovered)
- Is the skill-to-situation mapping table still complete?
- Is the Where Deeper Truth Lives table up to date?
Step 3 — Check module AGENTS.md files
For any module that changed significantly:
- Does the module
AGENTS.mdreflect current invariants? - Are the env var lists accurate?
- Are the test file references correct?
Step 4 — Update .Codex/state/
Update .Codex/state/agent-state.json:
last_updatedtimestampcompleted_stepsif new milestones were reachedchanged_fileslist if new files were added by recent work
Append to .Codex/state/checkpoint.jsonl with a note like:
{"ts":"<ISO>","step":"repo-memory-update","status":"done","detail":"Updated AGENTS.md for <what changed>"}
Step 5 — Commit the update
git add AGENTS.md agent/AGENTS.md router/AGENTS.md .Codex/state/
git commit -m "docs: sync AGENTS.md with current repo state"
What NOT to Change
- Do not expand AGENTS.md into a full reference manual. Keep it scannable.
- Do not duplicate information already in
docs/— link to it instead. - Do not add implementation details that belong in module docstrings.
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.
- 12d ago First seen · 91 lines · 43 tokens per session scan A dd14831631d1
repo-memory-updater is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 753 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
mem0-integration
Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.
context-preservation
State capture and restore across context window compactions. Monitors usage thresholds and serializes quality, task, and spec state for seamless continuation.
persistent-memory
Observation capture and retrieval across sessions. Stores decisions, discoveries, and bugfix patterns. Searchable via tags and relevance scoring.
context-management
Project context loading, isolation, and persistent state management across CCPM sessions.
memclaw
The agent's persistent long-term memory — the only knowledge that survives across sessions, shared across the fleet under access control. Consult it at the start of a task to recall prior decisions, findings, and rules before acting, and write outcomes, decisions, and lessons as work completes. Use whenever a caura…