writing-instructions

writing-instructions is a skill for Claude Code from motlin/claude-code-plugins. It costs 80 tokens per session (384 once invoked), scanned A, original, Apache-2.0.

A set of rules for writing SKILL.md, agent, and command files, including formatting, privacy, and example-writing guidance. It is intended for people creating or reviewing these instruction files.

In plain words
What is it for?
Use it when creating, editing, or reviewing skills, agents, and commands, especially their headings, ordered procedures, and examples.
Why use it?
It helps keep agent instructions consistent and prevents accidental inclusion of real personal information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the plugin-and-skill-dev plugin — 1 skill shipped together

Good fit Use it when creating, editing, or reviewing skills, agents, and commands, especially their headings, ordered procedures, and examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/motlin/claude-code-plugins/writing-instructions
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 motlin/claude-code-plugins --skill writing-instructions
Clone the repo
git clone --depth 1 https://github.com/motlin/claude-code-plugins

Made for: Claude Code.

Or install plugin-and-skill-dev, the plugin that ships this one along with the rest of its 1 skill.

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 writing-instructions

README.md
[![agentmods](https://agentmods.dev/badge/skills/motlin/claude-code-plugins/writing-instructions/github.svg)](https://agentmods.dev/skills/motlin/claude-code-plugins/writing-instructions)
Your own site
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/writing-instructions"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/writing-instructions/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 writing-instructions

Your own site · 80×15
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/writing-instructions"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/writing-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 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.00080 $0.00384
Opus 5.5 $0.00032 $0.00154
Sonnet 5.5 $0.00016 $0.00077
Haiku 4.5 $0.00008 $0.00038

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

Security

Grade A, and why

writing-instructions 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 20d 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/plugin-and-skill-dev/skills/writing-instructions/SKILL.md · 33 lines

What it actually says

Writing Instructions for Skills, Agents, and Commands

Use descriptive headers, not numbered steps

Never number steps (## Step 1:, ## Step 2:). LLMs reorder steps during edits, and numbered headers force renumbering on every insert or delete. Name the action instead: ### Run the build, not ### Step 1: Run the build.

When steps must be run in sequence, say so, without numbering.

Use one term per concept

Pick one name for each thing and each action, and reuse it everywhere in the file. When "the task", "the item", and "the entry" all appear, the reader cannot tell whether they are one thing or three.

Keep hedges that carry meaning

When tightening a sentence, keep words like "may", "usually", and "if present" that state real uncertainty or scope. Cutting them turns a guess into a rule. Cut only hedges that assert nothing, such as "it is important to note that".

Scrub personal data

Never put real personal data in an example: names, emails, places, phone numbers, addresses, or verbatim private text.

Rebuild the example with placeholders that keep the shape: @Alice and @Bob for people, generic or popular names and places, invented text for content.

Before committing, scan the diff for names and content you did not invent.

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. 20d ago Changed · +8 lines 748d981e5e2e
  2. 3mo ago First seen · 25 lines · 80 tokens per session scan A cab269d80537

Subscribe to this mod's changes

writing-instructions is a skill published in the GitHub repository motlin/claude-code-plugins (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 80 tokens to every session and 384 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-09-04.

Related

writing-instructions compared with skills from other repositories

writing-instructions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-instructionsmotlin/claude-code-pluginsSkill202d agoApache-2.0A80Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code