Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pvliesdonkv1.0.0MITIn 1 marketplace
Write, review and shorten the files an agent loads as instructions (AGENTS.md, CLAUDE.md, rules files, SKILL.md bodies) so that every sentence is one the agent can act on, and compress a file by inventory rather than by asking a model to be concise, so that no rule is lost on the way.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
agents-md, claude-md, instructions, context-engineering, prompt, skills, rules, conciseness
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Write, review and shorten the files an agent loads as instructions, so that every sentence is one the agent can act on, and compress such a file without losing a rule.
/plugin marketplace add pvliesdonk/claude-plugins
/plugin install writing-agent-instructions
A template repository's AGENTS.md reached 23,522 of its 24,000-character
budget. Adding one two-sentence rule meant deleting two sentences elsewhere.
The longest sentence ran to over 1,000 characters, enumerating every
re-rendered file and its sentinel blocks. Around the rules sat the reasons
for them, the story of which CI job enforces each one, and reassurance for a
human reader ("this is not style policing").
A fresh session was asked to make that file more concise, with no other guidance. It returned the file 15 percent shorter (23,522 to 20,007 characters), kept every command and every directive a span-by-span diff could find, and reported "no rule was dropped". Two things it did not say:
revert: form "passes
silently". No instruction was deleted; one was rewritten into a claim the
source never made, inside a paragraph that reads as a faithful tightening.That is the pair of gaps this skill closes. A model asked to be concise paraphrases, and a paraphrase can change a rule without deleting a sentence, so a word diff and a "nothing dropped" report prove nothing. And without a tag on each sentence saying what it is for, a model has no basis to move the narrative out of the file; it can only shorten it in place.
One run, with one model, is the observation behind this. The maintainer's own experience with earlier models, the one that prompted the skill, was rules deleted outright. Both failures have the same fix: an inventory of what the file commits the agent to, written before the rewrite and checked after it.
The rule. A sentence stays if it is a directive the agent can act on, a scope limit on one, or a pointer to what it needs next. Rationale is one clause, kept only when it decides a case the rule does not list. Enforcement narrative goes to the check that enforces it. Hedges become conditions. Emphasis goes on one line per file.
Three gates for the always-loaded file. Applies to most tasks; not inferable from the repository; not already enforced by a check. A sentence that fails one goes to a skill, a path-scoped rule, a hook, or nowhere.
Compression by inventory. Split the file into sentences with the bundled
scripts/sentences.py, tag each one, write out every directive and scope
limit verbatim, rewrite from that list, and prove with a mapping table that
each one has a new home. A directive with no home is a defect, not a trim.
The host's limits. Claude Code targets under 200 lines and loads imports
at full cost; Codex truncates the AGENTS.md chain at 32 KiB; Cursor keeps a
rule under 500 lines; Copilot allows two pages. A hook is deterministic; the
file is advisory.
The skill's claims come from the Claude Code and Claude platform
documentation, agents.md, the Agentic AI Foundation's measurement post, the
Codex, Cursor and Copilot instruction docs, and six published studies
(IFScale, ScaledIF, Agent READMEs, Lulla et al., Gloaguen et al., Shepard
and Albrecht). evidence.md beside the skill lists them with links; the
dated reference with every quotation is
agent-instruction-files.md
in the template repository.
Two things the sources do not settle, and the skill says so: whether a hedge is read as absolute or optional, and the adherence cost of rationale sentences as such.
Where a project states its own rule, a budget test, a CONTRIBUTING.md section, a house style, that rule wins and this skill is the fallback.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pvliesdonk/claude-plugins --plugin writing-agent-instructionsPlugins from other owners that cover similar ground