agent-workflow-presets: Skill for Cursor

.cursor/skills/write-docs/SKILL.md

write-docs is a skill for Cursor from hlalljie/agent-workflow-presets. It costs 58 tokens per session (936 once invoked), scanned A, original, MIT.

A procedure for deciding which project documentation needs updating and then writing those updates. It covers documents such as the README, architecture notes, decisions, folder structure, runbooks, and environment-variable examples.

In plain words
What is it for?
Use it after changes that affect project structure, decisions, architecture, operations, environment variables, or how the project is described and run.
Why use it?
It prevents important changes from leaving the documentation inaccurate or scattered in the wrong place.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is hlalljie/agent-workflow-presets's own configuration. It tells Cursor how to work on agent-workflow-presets 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 agent-workflow-presets configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hlalljie/agent-workflow-presets. 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/hlalljie/agent-workflow-presets/main/.cursor/skills/write-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hlalljie/agent-workflow-presets

Made for: Cursor.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hlalljie/agent-workflow-presets/write-docs"><img src="https://agentmods.dev/badge/skills/hlalljie/agent-workflow-presets/write-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 936 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.00058 $0.00936
Opus 5.5 $0.00023 $0.00374
Sonnet 5.5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00094

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

Security

Grade A, and why

write-docs 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 19d 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.

.cursor/skills/write-docs/SKILL.md · 69 lines

How it starts

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

Write docs

Where each kind of information lives is in documentation.mdc, which is always on. This skill is the procedure and the templates.

When to use

What does this change need?

Map what the change did to the doc that covers it. A change that matches none needs no doc update; say nothing about it.

  • Moved, renamed, or deleted files or folders; a new folder — docs/folder-structure.md
  • A decision made or reversed — docs/decisions.md, in the format from workflow.mdc. If there is a plan, record it in the plan's decisions.md first.
  • A flow, a boundary between parts, a contract, or a constraint changed — docs/architecture.md
  • A deploy, rollback, restore, or other ops step changed — docs/runbooks/<task>.md
  • An env var added, removed, or renamed — .env.example: the name, one comment line, and a placeholder value, never a real one
  • What the project is, its status, or how to run it changed — README.md

Process

  1. List what the change touched from git diff or the task: files moved or deleted, public names changed, flows or boundaries changed, env vars, ops steps, decisions.
  2. Map each item with the list above.
  3. Read the doc, then edit it in place. Replace what changed; do not append a "changes" note. Delete what is no longer true. State current behavior only. Reasons belong in docs/decisions.md, not in architecture.md.
  4. Create a doc only if its kind does not exist yet. Use the template for that kind (below), and add it to docs/folder-structure.md in the same change. Do not create empty docs.
  5. Fix stale references. If files, exports, or types moved, were renamed, or were deleted, grep docs/, tests/manual/, .cursor/rules/, and README.md for the old paths and names, and fix every hit.
  6. Do not link to plans. If a plan holds information the docs need, move that information into the doc.

Read the full file on GitHub · 69 lines

Files

What ships with it

2 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. 19d ago First seen · 69 lines · 58 tokens per session scan A 463a92a2664a

Subscribe to this mod's changes

write-docs is a skill published in the GitHub repository hlalljie/agent-workflow-presets (2 stars, last pushed 20d ago), licensed MIT. It adds 58 tokens to every session and 936 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-10-10.