AniShelf: Skill for Claude Code

.agents/skills/write-ai-doc/SKILL.md

write-ai-doc is a skill for Claude Code, Codex from samuelhe52/AniShelf. It costs 74 tokens per session (1,681 once invoked), scanned A, original, Apache-2.0.

A documentation workflow for recording major product features and important fixes in an AniShelf project. Each selected change gets a numbered plan before implementation and an action record afterward, so later developers can understand what was decided and why.

In plain words
What is it for?
Use it to document lasting product or architecture decisions, such as a new interface, data storage method, or database structure change, and to record the reasoning behind complex fixes.
Why use it?
Important design decisions can otherwise be lost in code changes, chat, or temporary notes. The workflow also prevents routine investigations, reviews, test runs, and minor edits from creating unnecessary records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is samuelhe52/AniShelf's own configuration. It tells Claude Code and Codex how to work on AniShelf itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AniShelf configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is | Related | [NNN-other](../NNN-other/000-plan.md), `docs/...` |.

Reuse

Borrowing it

Nothing to install: this file belongs to samuelhe52/AniShelf. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/samuelhe52/AniShelf/main/.agents/skills/write-ai-doc/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/samuelhe52/AniShelf

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 write-ai-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/samuelhe52/anishelf/write-ai-doc/github.svg)](https://agentmods.dev/skills/samuelhe52/anishelf/write-ai-doc)
Your own site
<a href="https://agentmods.dev/skills/samuelhe52/anishelf/write-ai-doc"><img src="https://agentmods.dev/badge/skills/samuelhe52/anishelf/write-ai-doc/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 write-ai-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/samuelhe52/anishelf/write-ai-doc"><img src="https://agentmods.dev/badge/skills/samuelhe52/anishelf/write-ai-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,681 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.00074 $0.01681
Opus 5.5 $0.00030 $0.00672
Sonnet 5.5 $0.00015 $0.00336
Haiku 4.5 $0.00007 $0.00168

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

Security

Grade A, and why

write-ai-doc 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 29d 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.

.agents/skills/write-ai-doc/SKILL.md · 166 lines

How it starts

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

Write AI Doc

docs-ai/ is AniShelf's curated product and design record, not a working-note log. A numbered folder is reserved for a substantial feature or a non-trivial, decision-shaping fix, each holding an RFC-like plan and an action log. Future humans and agents use it to answer "why is it built this way?", so entries must be selected deliberately and stay accurate against the code. Read docs-ai/README.md for the index before starting.

Adapted from the write-ai-doc skill in onevcat/Prowl. This copy is project-owned: edit it in place, and do not reinstall it from upstream.

When to write one

Create a new entry only when the work is either:

  • a substantial feature with an enduring product or architecture decision (for example, a new UI surface, a sync or persistence mechanism, or a schema change);
  • a non-trivial fix whose root cause, design decision, or resulting behavior must guide future implementation.

Do not create an entry merely because the work is detailed, takes time, or produces useful findings. Skip reviews, code audits, routine research and debugging, status reports, test runs, minor UI polish, formatting or dependency bumps, and docs-only changes. The maintainer may explicitly request a record for an otherwise non-qualifying task. When in doubt, do not write one.

Workflow

1. New entry — plan first, before coding

  1. Check the index for a related entry; an in-frame follow-up belongs there (section 2).
  2. Pick the next number: ls docs-ai/ | sort, take the highest NNN + 1 (three digits).
  3. Create docs-ai/NNN-<kebab-slug>/000-plan.md from the template below with status Planned. Write it as part of planning, not as an afterthought.
  4. Implement the work within the user's authorization. A plan or this skill never authorizes a commit, push, or other remote mutation.
  5. Write 001-action.md: what actually happened, chronologically, with commit refs, the resulting key files, validation you actually performed, and deviations from the plan. Flip the plan status to Implemented only when the intended scope is complete; use In progress for partial delivery. When committing is authorized, commit the docs with the change.
  6. Add or refresh the entry's row in docs-ai/README.md.

Read the full file on GitHub · 166 lines

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. 29d ago First seen · 166 lines · 74 tokens per session scan A e6c938fe97b9

Subscribe to this mod's changes

write-ai-doc is a skill published in the GitHub repository samuelhe52/AniShelf (143 stars, last pushed 3d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,681 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-10-08.

Related

write-ai-doc compared with skills from other repositories

write-ai-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-ai-docsamuelhe52/AniShelfSkill1433d agoApache-2.0A74Claude Code, Codex
planTerryc21/workflow-auditSkill5917d agoApache-2.0A53Claude Code
workflow-auditTerryc21/workflow-auditSkill5917d agoApache-2.0A59Claude Code
swift-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A76Claude Code
ios-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A64Claude Code
swift-architecture-skillefremidze/swift-architecture-skillSkill811mo agoMITA65Claude Code
swift-focusengine-promhaviv/Swift-FocusEngine-Agent-SkillSkill222mo agoMITA74Claude Code, Codex