writing-for-agents

writing-for-agents is a skill for Codex from AkshitIreddy/agent-skills. It costs 25 tokens per session (270 once invoked), scanned A, a copy of writing-for-agents, MIT.

A writing guide for documents that AI agents consume, such as skills and project instruction files. It explains how to make instructions predictable and how to point agents to extra context when needed.

In plain words
What is it for?
Use it when creating or editing skills, AGENTS.md files, CLAUDE.md files, or other agent-facing documentation.
Why use it?
It helps prevent agents from missing important instructions or taking inconsistent paths through a document.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when creating or editing skills, AGENTS.md files, CLAUDE.md files, or other agent-facing documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akshitireddy/agent-skills/writing-for-agents
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 AkshitIreddy/agent-skills --skill writing-for-agents
Clone the repo
git clone --depth 1 https://github.com/AkshitIreddy/agent-skills

Made for: 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 writing-for-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/akshitireddy/agent-skills/writing-for-agents"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/writing-for-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 270 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 100% copy Near-identical to another mod 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.00025 $0.00270
Opus 5.5 $0.00010 $0.00108
Sonnet 5.5 $0.00005 $0.00054
Haiku 4.5 $0.00003 $0.00027

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

Security

Grade A, and why

writing-for-agents 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.

Origin

This is a copy

100% identical to writing-for-agents — 93 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/writing-for-agents/SKILL.md · 31 lines

What it actually says

Write useful agent instructions

Include guidance that changes a decision: project constraints, fragile steps, domain knowledge, useful references, and observable completion criteria. Respect the user's task, existing authorization, and the host's instruction priority. Prefer clear desired behavior over generic encouragement or fixed rituals. Match procedural detail to the actual risk.

For skill structure and invocation policy, read skill mechanics. For a substantial instruction redesign, read instruction design. A wording correction does not require both references.

Keep discovery descriptions short and specific. Separate workflows only when their triggers or resources differ. Keep each rule in one authoritative place; load supporting detail only for the branch that needs it.

Define what completes the requested outcome, what requires input, and what side effects are authorized. Verification should establish the relevant claim without expanding a small change into a full audit. Preserve explicit user preferences while removing duplicated or stale scaffolding.

Validate naming, frontmatter, links, and any changed helper behavior. For complex changes, test realistic decisions independently when available and authorized. Structural validation alone does not establish behavioral quality.

Files

What ships with it

3 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. 2mo ago Changed · -51 lines · -3 tokens per session d76998a26a48
  2. 3mo ago First seen · 82 lines · 28 tokens per session scan A 551adca94222

Subscribe to this mod's changes

writing-for-agents is a skill published in the GitHub repository AkshitIreddy/agent-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 270 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to writing-for-agents, differing in 93 lines, and is treated as a copy.

Related

writing-for-agents compared with skills from other repositories

writing-for-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-for-agentsAkshitIreddy/agent-skillsSkill12mo agoMITA25Codex
video-genChatCut-Inc/agent-pluginSkill1.1kyesterdayApache-2.0A70Claude Code
writing-livekit-scenariosfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A178Claude Code
voiceChatCut-Inc/agent-pluginSkill1.1kyesterdayApache-2.0A124Claude Code
ultralytics-platformfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A135Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code
running-livekit-simulationsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A183Claude Code