ai-agents-docs-of-record

ai-agents-docs-of-record is a skill for Claude Code from rjmurillo/ai-agents. It costs 113 tokens per session (4,353 once invoked), scanned B, original, MIT.

A guide to the repository's lasting records, including architecture decisions, retrospectives, per-issue handoffs, and stored memories. It also provides templates, naming rules, and validation instructions.

In plain words
What is it for?
Use it to create an architecture decision record, complete a retrospective, save information to repository memory, or prepare a per-issue handoff for later work.
Why use it?
It helps you put important decisions and handover information in the right place, while avoiding new session logs because their creation has been discontinued.

Skill for Claude Code

Written for Claude Code: PreCompact hook event. Also seen: reads .claude/ paths; mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python3 scripts/validate_session_json.py .agents/sessions/<file>.json.

Part of the project-toolkit plugin — 113 skills, 26 commands, 33 agents, 4 hooks shipped together

Good fit Use it to create an architecture decision record, complete a retrospective, save information to repository memory, or prepare a per-issue handoff for later work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents
agentmods
npx agentmods add skills/rjmurillo/ai-agents/ai-agents-docs-of-record

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 113 skills, 26 commands, 33 agents, 4 hooks.

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 ai-agents-docs-of-record

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-docs-of-record/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-docs-of-record)
Your own site
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-docs-of-record"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-docs-of-record/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 ai-agents-docs-of-record

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-docs-of-record"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-docs-of-record.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,353 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 9 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 10
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Agent Snooping · line 249
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 255
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 257
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 258
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Memory Poisoning · line 5
    Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.
    Fix: Do not allow untrusted input to persist in agent memory or context. Validate all content before storing and implement memory isolation between sessions.
  • medium Memory Poisoning · line 21
    Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.
    Fix: Do not allow untrusted input to persist in agent memory or context. Validate all content before storing and implement memory isolation between sessions.
  • medium Agent Snooping · line 134
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 257
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found 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.00113 $0.04353
Opus 5 $0.00056 $0.02176
Sonnet 5 $0.00023 $0.00871
Haiku 4.5 $0.00011 $0.00435

Measured today against content hash e2fbaab5990d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

ai-agents-docs-of-record 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test_structure_ai_agents_docs_of_record.py), 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Session-log creation discontinued | `.claude/rules/session-logs.md` MUST 1 | `grep -n "Do not create a new session log" .claude/rules/session-logs.md` |
.claude/skills/ai-agents-docs-of-record/SKILL.md · 268 lines

How it starts

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

ai-agents-docs-of-record

This repo runs on verification-based governance. Continuity lives in per-issue handoffs and Serena memory. Session log creation is discontinued; transcript and pull request evidence remain valid, and the ~1,500 historical logs under .agents/sessions/ stay in the repo as history.

Triggers

  • write the session log
  • create an ADR
  • fill the retro
  • save this to memory
  • which document of record does this go in

The Record System Map

Record Location Create with Validated by
Session log (historical only, creation discontinued) .agents/sessions/YYYY-MM-DD-session-NN[-slug].json do not create new ones scripts/validate_session_json.py, validate-if-present via the session-policy pre-commit hook, applies only if one is somehow staged
Per-issue handoff .agents/sessions/handoffs/{YYYY-MM-DD}-{ISSUE}-handoff.md copy .agents/templates/HANDOFF.md resume-verification checklist at next session start
ADR .agents/architecture/ADR-NNN-slug.md adr-generator skill scripts/validation/check_adr_uniqueness.py; adr-review debate gate
Retrospective .agents/retrospective/ auto-retro skeleton + /retro fill, or retrospective skill INDEX.md row (auto-appended, incomplete; see Phase 4)
Serena memory .serena/memories/[domain]-[name].md memory skill write conventions curating-memories skill; memory-index routing

Process

Phase 1: Pick the right record

Situation Record Why
Issue spans multiple sessions Per-issue handoff Cold-start continuity (Issue #1725: 95.8% protocol failure without file-based gates)
Architectural or irreversible decision ADR Fires adr-review multi-agent debate
Incident, failure, or "what went wrong" Retrospective Feeds the failure canon; see ai-agents-failure-archaeology
Reusable pattern, correction, gotcha Serena memory Only memories are read by future sessions at start
User corrected you mid-session reflect skill, then memory Corrections not persisted are lost
A doc you touched is stale Fix on contact (Phase 7) Broken-windows rule

Read the full file on GitHub · 268 lines

Files

What ships with it

1 file 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. today Changed e2fbaab5990d
  2. yesterday Changed 6d2511e0c47e
  3. 8d ago First seen · 268 lines · 113 tokens per session scan B a262246040d3

Subscribe to this mod's changes

ai-agents-docs-of-record is a skill published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 4,353 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.