Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ryanmazzolini-writing-for-agents
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/writing-for-agents
What's inside
- Skill name
writing-for-agents- Description
- Write reliable instructions for agents. Use when creating or editing AGENTS.md, CLAUDE.md, skills, prompts, or documents agents load as context.
- License
- MIT
- Instructions
- 41 lines in SKILL.md · view on GitHub
Files (2)
- SKILL-MECHANICS.md
- SKILL.md
SKILL.md (first lines)
# Writing for Agents Treat agent-facing writing as a behavior contract. Make the intended process predictable without prescribing work the agent can discover or decide safely. Before revising an existing document, inspect the live environment and recent history. Identify the existing use cases and behavior its instructions protect, especially approval boundaries, stopping points, optional branches, and handoffs. Check that a rewrite for a new use case does not silently narrow them. When removing a procedure, trace the safeguards and fallback behavior it supplied; removing the procedure does not by itself authorize removing those behaviors. Within the approved scope, remove instructions that no longer serve the intended outcome rather than retaining obsolete paths or deprecation notices. For intentional behavior removals or narrowing, state what stops being supported and why in the change explanation, not as permanent notices in the instructions. Distinguish behavior removed from behavior preserved elsewhere, and verify the replacement covers the same conditions. Ask before changing behavior outside the approved scope. After the behavior contract is correct, apply [`clear-writing`](../clear-writing/SKILL.md) when drafting or rewriting reader-facing prose. It improves clarity without replacing the constraints above. ## Define the contract State the outcome, relevant context, hard constraints, success criteria, and stopping conditions. Use concrete decision criteria instead of vague caution. Reserve `must`, `always`, and `never` for invariants. Say what the agent may do autonomously and what requires approval. Distinguish the broader goal from the currently authorized action, and state what must remain unchanged. Prescribe a procedure when the procedure itself matters, such as tool routing, validation, safety, or a human checkpoint. Otherwise describe the destination and let the agent choose an efficient path. ## Build an information hierarchy Keep instructions needed on every run in the active document. Put uncommon cases, long reference material, and branch-specific rules behind a context pointer that says exactly when to read them. Keep critical constraints inline. Treat the repository and runtime as sources of truth. Do not cache commands, file layouts, or configuration that the agent can inspect cheaply unless the lookup has a real trap or cost. Keep each meaning in one place. Put reusable policy in configuration, task-specific continuation material in its durable work item, and disposable traces in the session or a temporary directory. Co-locate a rule with its conditions and caveats. Use a small number of canonical examples only when they clarify an ambiguous choice or required output. ## Make behavior checkable Separate ordered steps from reference material. Give every step a completion criterion that lets the agent distinguish done from not done and demands enough legwork for a trustworthy result. Use a short familiar term when it reliably calls up the intended behavior. Pair strong words such as “exhaustive” or “relentless” with their scope and stopping point. Prefer positive instructions; keep prohibitions for hard boundaries and say what to do instead. Separate thorough internal work from the concise user-facing result. Lead the final response with the recommendation or outcome and include only the evidence needed to act. ## Prune and verify Remove contradictions, duplication, stale detail, no-op advice, and examples that only restate a rule. Use deterministic checks for mechanical requirements and instructions for judgment. Test the document on representative work. Check that the agent completes approved work without redundant permission requests, while preserving agreed checkpoints and stopping before unauthorized scope expansion. Confirm that every remaining instruction changes intended behavior, important conditions and handoffs remain intact, context pointers fire on the right branch, and no material regression appears. For model-specific advice, retrieve current provider guidance instead of relying on general prompt lore. When the document is a skill, read [SKILL-MECHANICS.md](SKILL-MECHANICS.md) before choosing its invocation, description, references, or split boundaries.
From ryanmazzolini/pi-skills, MIT.
More from ryanmazzolini/pi-skills
- 0.567score
daily-report
ryanmazzolini
Set up, create, update, or repair evidence-based daily work and personal reports from local Git, GitHub, and Shortcut activity in an Obsidian vault.
SkillAFreshness: AClaude Code +9 - 0.565score
herdr-automations
ryanmazzolini
Schedule recurring Pi work with the Herdr automations plugin, or change, pause, test, or inspect existing schedules.
SkillAFreshness: AClaude Code +9 - 0.565score
handoff
ryanmazzolini
Write a Markdown handoff so another agent or fresh session can continue the work.
SkillAFreshness: AClaude Code +9 - 0.564score
first-mate
ryanmazzolini
Coordinate connected Pi sessions on request: inspect evidence, resolve blockers, and advance clearly authorized work.
SkillAFreshness: AClaude Code +9 - 0.564score
meta-review
ryanmazzolini
Review recent personal Pi sessions for recurring collaboration problems and return a few small, testable improvements.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-pr
ryanmazzolini
Create or update a draft pull request from the current branch.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-simple
ryanmazzolini
Prepare commits and push work, creating branches when needed.
SkillAFreshness: AClaude Code +9 - 0.558score
agent-coordination
ryanmazzolini
Choose models and reasoning levels for delegated agents using configured preferences.
SkillAFreshness: AClaude Code +9 - 0.555score
firefox-tab-triage
ryanmazzolini
Triage tabs in personal and secondary Firefox profiles.
SkillAFreshness: AClaude Code +9 - 0.529score
godot-gameplay-guidelines
ryanmazzolini
Godot 4.7 gameplay implementation and review.
SkillBFreshness: BClaude Code +9 - 0.529score
diagnosing-bugs
ryanmazzolini
Diagnose hard, flaky, environment-specific, or performance bugs.
SkillBFreshness: BClaude Code +9 - 0.529score
herdr
ryanmazzolini
Control Herdr when the user explicitly asks, infer a fresh Pi destination in an existing tabbed workspace or a new workspace, or keep the current pane…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ryanmazzolini/pi-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ryanmazzolini
- 0.567score
daily-report
ryanmazzolini
Set up, create, update, or repair evidence-based daily work and personal reports from local Git, GitHub, and Shortcut activity in an Obsidian vault.
SkillAFreshness: AClaude Code +9 - 0.565score
herdr-automations
ryanmazzolini
Schedule recurring Pi work with the Herdr automations plugin, or change, pause, test, or inspect existing schedules.
SkillAFreshness: AClaude Code +9 - 0.565score
handoff
ryanmazzolini
Write a Markdown handoff so another agent or fresh session can continue the work.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-pr
ryanmazzolini
Create or update a draft pull request from the current branch.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-simple
ryanmazzolini
Prepare commits and push work, creating branches when needed.
SkillAFreshness: AClaude Code +9 - 0.564score
first-mate
ryanmazzolini
Coordinate connected Pi sessions on request: inspect evidence, resolve blockers, and advance clearly authorized work.
SkillAFreshness: AClaude Code +9
Cite this page
writing-for-agents skill. Agent Mart. https://agentmart.dev/skills/ryanmazzolini-writing-for-agents (last updated 2026-10-24)