agent-docs-writing

agent-docs-writing is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 43 tokens per session (4,309 once invoked), scanned A, original, MIT.

A documentation guide for finding, creating, and updating instructions for coding agents, including AGENTS.md files and project roadmaps.

In plain words
What is it for?
For navigating documentation, setting up docs for a package, and keeping agent instructions consistent across a project.
Why use it?
It helps prevent documentation from being placed in the wrong folder or updated without following the project's documentation structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit For navigating documentation, setting up docs for a package, and keeping agent instructions consistent across a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/event4u-app/agent-config/agent-docs-writing
Install

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.

Any agent
npx skills add event4u-app/agent-config --skill agent-docs-writing
Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config

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 agent-docs-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/event4u-app/agent-config/agent-docs-writing/github.svg)](https://agentmods.dev/skills/event4u-app/agent-config/agent-docs-writing)
Your own site
<a href="https://agentmods.dev/skills/event4u-app/agent-config/agent-docs-writing"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/agent-docs-writing/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 agent-docs-writing

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

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 →

  • medium Prompt Injection · line 85
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
  • medium Excessive Agency · line 294
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00043 $0.04309
Opus 5.5 $0.00017 $0.01724
Sonnet 5.5 $0.00009 $0.00862
Haiku 4.5 $0.00004 $0.00431

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

Security

Grade A, and why

agent-docs-writing 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 2mo 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.

src/skills/agent-docs-writing/SKILL.md · 396 lines

How it starts

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

agent-docs

When to use

Use this skill when:

  • Navigating the documentation structure to find relevant information
  • Creating or updating agent documentation after changes
  • Setting up documentation for a new module or package
  • Understanding what documentation exists and where

Do NOT use when:

  • Creating code or making technical changes (use coding skills)
  • Looking for coding guidelines (use guidelines skill)

Documentation hierarchy

The documentation is organized in layers, from cross-project to module-specific:

Layer 1: .augment/ — Cross-project (identical in all repos)

.augment/
├── rules/          ← Always-active rules (coding, docker, scope, language, etc.)
├── commands/       ← Slash commands (fix-ci, create-pr, quality-fix, etc.)
├── skills/         ← Reusable skill definitions (coder, code-refactoring, etc.)
├── contexts/       ← Shared contexts about the agent system itself
├── templates/      ← Templates for features, roadmaps, contexts
└── guidelines/     ← Coding guidelines by language
    └── php/        ← PHP guidelines (controllers, eloquent, patterns, etc.)

Purpose: Universal agent behavior that applies to ALL projects and packages. Language: English. Key rule: This directory is identical across repos. Never add project-specific content here. Templates are the single source of truth for document structure — never store templates in agents/.

Layer 2: AGENTS.md — Project-level entry point

Located in the project root. Contains:

  • Project description and tech stack
  • Development setup (Docker, env files, Makefile targets)
  • Testing conventions
  • Quality tool configuration
  • Links to ./agents/ for detailed docs

Purpose: First file an agent reads. Provides the full project context. Not every project has this — packages may only have ./agents/.

Layer 3: .github/copilot-instructions.md — Coding standards

Located in .github/. Contains:

  • Architecture rules
  • PHP coding standards
  • Naming conventions
  • ORM & database rules (Laravel example: Eloquent)
  • API development rules

Read the full file on GitHub · 396 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. 2mo ago First seen · 396 lines · 43 tokens per session scan A cc7ab6914674

Subscribe to this mod's changes

agent-docs-writing is a skill published in the GitHub repository event4u-app/agent-config (19 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 4,309 once invoked, about $0.0002 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-08-31.

Related

agent-docs-writing compared with skills from other repositories

agent-docs-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-docs-writingevent4u-app/agent-configSkill19todayMITA43Claude Code, Codex
save-progressKimYx0207/Meta_KimSkill2894d agoApache-2.0A65Claude Code
meta-theoryKimYx0207/Meta_KimSkill2894d agoApache-2.0B57Claude Code
same-set-reusable-flow-for-project-file-inventorKimYx0207/Meta_KimSkill2894d agoApache-2.0A45Claude Code
starreel-drama-productionwaydaxp/starreel-mcpSkill01mo agoMITA102Claude Code
viewmaxbytevirts/viewmax-mcpSkill06d agononeA88Claude Code, Codex
seedance-20Kingdaddy007/my-osSkill55mo agononeA96Claude Code