document

document is a skill for Claude Code from awrshift/agent-memory-kit. It costs 170 tokens per session (2,201 once invoked), scanned A, original, MIT.

A writing workflow for producing the human-facing record of a code change, such as a pull request description, changelog entry, release note, or postmortem. A postmortem is a written account of an incident and what happened afterward.

In plain words
What is it for?
Use it to write pull request text, changelogs, release notes, or incident postmortems from repository evidence.
Why use it?
It keeps the explanation tied to the code diff or commits that were actually inspected instead of relying on memory. It also puts the result in the appropriate file.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the memory-kit plugin — 10 skills, 4 agents, 4 hooks shipped together

Good fit Use it to write pull request text, changelogs, release notes, or incident postmortems from repository evidence.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add awrshift/agent-memory-kit
Claude Code
/plugin install memory-kit

Made for: Claude Code.

Or install memory-kit, the plugin that ships this one along with the rest of its 10 skills, 4 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 document

README.md
[![agentmods](https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/document/github.svg)](https://agentmods.dev/skills/awrshift/agent-memory-kit/document)
Your own site
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/document"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/document/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 document

Your own site · 80×15
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/document"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,201 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00170 $0.02201
Opus 5.5 $0.00068 $0.00880
Sonnet 5.5 $0.00034 $0.00440
Haiku 4.5 $0.00017 $0.00220

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

Security

Grade A, and why

document 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 8d 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.

plugins/memory-kit/skills/document/SKILL.md · 151 lines

How it starts

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

/document — the human record of a change

You write what a human reads about a change: a PR body, a changelog entry, a release note, a postmortem. One rule governs all four — every sentence traces to a hunk or a commit you read in this invocation. What you remember building is not evidence; the diff is.

Mode

Argument: pr · changelog · release-note · postmortem.

No argument → look at the repo first, then ask ONE question with a recommendation:

pr, changelog, release-note or postmortem? Recommend pr — branch <branch> is <n> commits ahead of <base> and has no open PR.

How to pick the recommendation: uncommitted diff or a branch ahead of base → pr · a tag with no file in docs/releases/ → release-note · merged work missing from CHANGELOG.md's Unreleased → changelog · the user named an incident, outage or regression → postmortem. Ask once, then proceed.

Step 1 — Determine the range, then READ it

No drafting before these commands ran in this session.

Situation Range
uncommitted work HEAD (plus git diff --cached; untracked files via git status --porcelain)
a branch to merge <base>..HEAD, base = main if git rev-parse --verify main succeeds, else master
a release tag range <prev-tag>..<tag> — list with git tag --sort=-v:refname | head -5
an incident the commits the incident touched plus the fix commit, by date or by path
git diff --stat <range>
git diff <range>
git log --format='%h %ad %s' --date=short --no-merges <range>
git log --format='%h %s%n%b' --no-merges <range>   # bodies carry the WHY, when an author wrote one

Big diff (--stat over ~2000 changed lines): read --stat first, then git diff <range> -- <path> area by area. Never describe a file whose hunks you did not read. Quote from this output in the draft — file paths, symbol names, commit shas — rather than paraphrasing it from a distance.

Step 2 — Find the governing spec

Read the full file on GitHub · 151 lines

Files

What ships with it

4 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. 8d ago Changed 556cf7e746ba
  2. 27d ago First seen · 151 lines · 170 tokens per session scan A 75a5f3efc438

Subscribe to this mod's changes

document is a skill published in the GitHub repository awrshift/agent-memory-kit (34 stars, last pushed 9d ago), licensed MIT. It adds 170 tokens to every session and 2,201 once invoked, about $0.0007 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-09-19.

Related

Other skills, from other repositories

version

Lock bundles with semantic versioning. Guides through version selection, updates files, and integrates with git.

tim-mccrimmon/structured-context-spec · 22 tokens

changelog-conventions

How The Lossless Group writes and structures changelog/ entries across all repos (projects, true monorepos, pseudomonorepos). Use whenever shipping or pushing a coherent chunk of work, when scaffolding a new repo's changelog/ directory, when authoring a product release message, when the user says "log this", "write a…

lossless-group/lossless-agent-skills · 191 tokens

omh-deploy-and-monitor

This is an OMH deploy-and-monitor workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 65 tokens

omh-release-cut

This is an OMH release-cut workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 92 tokens

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, fast-forwards main when the release rode a release PR, creates the annotated tag on the commit main now points at, pushes commits and tags, then publishes…

cyanheads/obsidian-mcp-server · 155 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 136 tokens