ralphctl-writing-for-agents

ralphctl-writing-for-agents is a skill for Claude Code, Codex from lukas-grigis/ralphctl. It costs 97 tokens per session (1,463 once invoked), scanned A, original, MIT.

A guide for writing instructions and documents that coding agents consume, including project context files, task specifications, and requirements. It focuses on clear triggers, actionable steps, and checkable completion conditions.

In plain words
What is it for?
Use it to write or revise agent instructions, project guidance, skills, task specs, and acceptance criteria.
Why use it?
It helps prevent agents from missing requirements, loading unnecessary context, or stopping without a verifiable result. It also reduces repeated or conflicting instructions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to write or revise agent instructions, project guidance, skills, task specs, and acceptance criteria.

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

Made for: Claude Code, 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 ralphctl-writing-for-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukas-grigis/ralphctl/ralphctl-writing-for-agents"><img src="https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-writing-for-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 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.00097 $0.01463
Opus 5.5 $0.00039 $0.00585
Sonnet 5.5 $0.00019 $0.00293
Haiku 4.5 $0.00010 $0.00146

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

Security

Grade A, and why

ralphctl-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 2d 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.

src/integration/ai/skills/bundled/ralphctl-writing-for-agents/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Writing for Agents

Adapted from mattpocock/skills — "Writing for Agents" (MIT). Adapted for ralphctl's harness contract.

A reference for writing any document an agent consumes: a project context file, a skill, a task spec, a set of requirements. The packaging differs; the writing does not. The same levers make each one predictable — the agent takes the same process every run, rather than producing the same output.

The session's prompt still owns the output: its length targets, required sections, and what-to-leave-out rules win over anything here.

When this applies

  • Readiness — the context-file proposal. Every line is loaded into every future session, so each one must change behaviour versus the default. Point at what the environment already states instead of restating it, but keep every exact command the prompt asks for (build and test lines, setup and verify skill bodies).
  • Refine — the requirements are read by the planner and every implementing session. Give each criterion a checkable completion condition, keep each meaning in one place, and phrase the target behaviour positively.

Context pointers

A context pointer is a line in context that names material outside it and encodes when to reach it — a skill's description, or a context-file line naming a doc. The pointer's wording, not its target, decides when and how reliably the agent reaches the material. A must-have target behind a weakly worded pointer is a variance bug: sharpen the wording first; inline the material only if that fails.

A pointer states what the material is and lists the branches — distinct cases — that should trigger it. Every word of an always-loaded pointer costs on every turn, so prune it hardest:

  • Front-load the leading word; the start of the pointer does the triggering.
  • One trigger per branch. Synonyms naming one branch are one branch written twice.
  • Cut identity the body already carries.

Read the full file on GitHub · 114 lines

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. 2d ago First seen · 114 lines · 97 tokens per session scan A f1ef10f53bcc

Subscribe to this mod's changes

ralphctl-writing-for-agents is a skill published in the GitHub repository lukas-grigis/ralphctl (24 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 1,463 once invoked, about $0.0004 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-10-18.

Related

Other skills, from other repositories

save-learning

Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in…

caliber-ai-org/ai-setup · 71 tokens

review

Review local code changes for bugs, regressions, missing tests, and pragmatic improvements. Use when the user asks to review the current changes from git status, or to review a specific backlog task by id such as task-65 or TASK-65. Also trigger when the user says things like "review", "review current changes", "check…

devoxx/DevoxxGenieIDEAPlugin · 90 tokens

web-access

A method for handling difficult web tasks across search, page fetching, and a real browser. It covers sites that need login sessions, dynamic pages, anti-bot handling, or exploration before their structure is understood.

open-octo/octo-agent · 139 tokens

skill-creator

A skill for creating or improving reusable instructions for an agent. It covers capturing the intended workflow, writing a draft, testing it, and refining its trigger description.

open-octo/octo-agent · 123 tokens

repo

Repository operating rules for verified Mythos edits.

thewaltero/mythos-router · 11 tokens

atomic-tdd

Test-first discipline. Auto-triggers on "let's implement X", "add feature Y", "fix bug Z", "write a test for", "implement", "build out", and similar pre-code-change phrases. Iron rule: failing test exists before production code. Skip only for pure docs/config changes with an explicit "skipped because:" note. Explicit…

damusix/atomic-claude · 142 tokens