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.
curl -O https://raw.githubusercontent.com/samuelhe52/AniShelf/main/.agents/skills/write-ai-doc/SKILL.mdgit clone --depth 1 https://github.com/samuelhe52/AniShelfWrote 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/samuelhe52/anishelf/write-ai-doc)<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.
<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>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.00074 | $0.01681 |
| Opus 5.5 | $0.00030 | $0.00672 |
| Sonnet 5.5 | $0.00015 | $0.00336 |
| Haiku 4.5 | $0.00007 | $0.00168 |
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.
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
- Check the index for a related entry; an in-frame follow-up belongs there (section 2).
- Pick the next number:
ls docs-ai/ | sort, take the highestNNN+ 1 (three digits). - Create
docs-ai/NNN-<kebab-slug>/000-plan.mdfrom the template below with statusPlanned. Write it as part of planning, not as an afterthought. - Implement the work within the user's authorization. A plan or this skill never authorizes a commit, push, or other remote mutation.
- 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 toImplementedonly when the intended scope is complete; useIn progressfor partial delivery. When committing is authorized, commit the docs with the change. - Add or refresh the entry's row in
docs-ai/README.md.
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.
- 29d ago First seen · 166 lines · 74 tokens per session scan A e6c938fe97b9
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.
write-ai-doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-ai-docsamuelhe52/AniShelf | Skill | 143 | 3d ago | Apache-2.0 | A | 74 | Claude Code, Codex |
| planTerryc21/workflow-audit | Skill | 59 | 17d ago | Apache-2.0 | A | 53 | Claude Code |
| workflow-auditTerryc21/workflow-audit | Skill | 59 | 17d ago | Apache-2.0 | A | 59 | Claude Code |
| swift-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 76 | Claude Code |
| ios-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 64 | Claude Code |
| swift-architecture-skillefremidze/swift-architecture-skill | Skill | 81 | 1mo ago | MIT | A | 65 | Claude Code |
| swift-focusengine-promhaviv/Swift-FocusEngine-Agent-Skill | Skill | 22 | 2mo ago | MIT | A | 74 | Claude Code, Codex |