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.
npx skills add HECer/yoke --skill writing-for-agentsgit clone --depth 1 https://github.com/HECer/yokeWrote 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.
[](https://agentmods.dev/skills/hecer/yoke/writing-for-agents)<a href="https://agentmods.dev/skills/hecer/yoke/writing-for-agents"><img src="https://agentmods.dev/badge/skills/hecer/yoke/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.
<a href="https://agentmods.dev/skills/hecer/yoke/writing-for-agents"><img src="https://agentmods.dev/badge/skills/hecer/yoke/writing-for-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00440 |
| Opus 5 | $0.00028 | $0.00220 |
| Sonnet 5 | $0.00011 | $0.00088 |
| Haiku 4.5 | $0.00006 | $0.00044 |
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 8d 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.
What it actually says
Writing for agents
Write instructions that produce a repeatable process with observable completion, while preserving authorization, safety rules, acceptance criteria, and precise domain language.
Context pointers
A pointer names out-of-context material and states when to load it. A skill description and an
AGENTS.md link serve the same routing function.
- Front-load the capability or trigger.
- Name each genuinely different branch once; remove synonymous trigger lists.
- Keep must-have instructions behind a pointer only when its trigger is strong enough to load them.
- Spend always-loaded context on rules needed broadly; disclose branch-specific reference material.
Information hierarchy
- Put ordered actions and their completion criteria in the main file.
- Co-locate definitions, rules, and caveats that an action needs.
- Move substantial branch-specific reference behind a named link and say when to read it.
- Keep each durable meaning in one source of truth. Treat scripts, config, and directory structure as discoverable sources instead of copying facts that will go stale.
Every step needs a checkable completion criterion. Prefer an exhaustive observable bound such as "every changed public interface has a passing contract test" over "review the interfaces."
Editing pass
- Remove duplicated, contradictory, stale, or no-op instructions.
- Replace vague verbs with concrete actions, paths, commands, evidence, and stopping conditions.
- Separate durable project rules from details that belong only to the current task.
- Phrase the desired behavior positively. Keep prohibitions for real guardrails and pair them with the action the agent should take.
- Keep examples only when they distinguish correct behavior from a likely mistake.
- Preserve user scope: completing a workflow never grants unrelated external or destructive action.
When the document is a skill, read SKILL-MECHANICS.md.
What ships with it
1 file 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.
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.
- 8d ago First seen · 43 lines · 55 tokens per session scan A 8f542e97cf02
writing-for-agents is a skill published in the GitHub repository HECer/yoke (2 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 440 once invoked, about $0.0003 per session on Opus 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-08-31.
Other skills, from other repositories
add-new-agent-support
Add a new agent (tool) support to agent-command-sync following the registry pattern.
neo4j-document-import-skill
Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…
neo4j-aura-agent-skill
Manages Neo4j Aura Agents via the v2beta1 REST API — create, list, get, update, delete, and invoke Aura agents backed by an AuraDB instance. Use when configuring Aura Agent tools (CypherTemplate, SimilaritySearch, Text2Cypher), setting system prompts, deploying agents to REST or MCP endpoints, or invoking agents with…
neo4j-graphql-skill
Build and configure a GraphQL API backed by Neo4j using @neo4j/graphql v7 (current) or v5 (LTS). Covers Neo4jGraphQL constructor, getSchema(), assertIndexesAndConstraints(), type definitions with @node, @relationship (IN/OUT/UNDIRECTED), @cypher for custom resolvers, @authorization/@authentication for JWT/JWKS…
neo4j-modeling-skill
Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…
aeon
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…