writing-with-agents: Instructions file for Claude Code

CLAUDE.md

writing-with-agents CLAUDE.md is an instructions file for Claude Code from Jeffallan/writing-with-agents. It costs 1,629 tokens per session, scanned A, original, MIT.

Repository instructions for creating skills that guide AI agents through writing tasks. They define skill descriptions, required metadata, and the project’s structure and compatibility rules.

In plain words
What is it for?
Use them when authoring or updating writing-related agent skills, including their frontmatter, triggers, structure, and documentation.
Why use it?
They help keep skills focused on when they should be used, instead of hiding workflow instructions in their descriptions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is Jeffallan/writing-with-agents's own configuration. It tells Claude Code how to work on writing-with-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything writing-with-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jeffallan/writing-with-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jeffallan/writing-with-agents/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Jeffallan/writing-with-agents

Made for: Claude Code.

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-with-agents CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jeffallan/writing-with-agents/claude-md/github.svg)](https://agentmods.dev/instructions/jeffallan/writing-with-agents/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jeffallan/writing-with-agents/claude-md"><img src="https://agentmods.dev/badge/instructions/jeffallan/writing-with-agents/claude-md/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-with-agents CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jeffallan/writing-with-agents/claude-md"><img src="https://agentmods.dev/badge/instructions/jeffallan/writing-with-agents/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,629 This file is loaded in full into every session.
When invoked 1,629 The same file — it is already loaded in full.
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.01629 $0.01629
Opus 5.5 $0.00652 $0.00652
Sonnet 5.5 $0.00326 $0.00326
Haiku 4.5 $0.00163 $0.00163

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

Security

Grade A, and why

writing-with-agents CLAUDE.md 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 7d 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.

CLAUDE.md · 166 lines

How it starts

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

Writing With Agents — Project Configuration

This file governs Claude's behavior when working on the writing-with-agents repository.


Skill Authorship Standards

Skills follow the Agent Skills specification. This section covers project-specific conventions.

The Description Trap

Critical: Skill descriptions must be TRIGGER-ONLY. Never summarize the workflow or process.

BAD — Process in description:

description: Use for brainstorming. First generate raw material across dimensions,
then present to user for seeding, then overproduce 3-5x.

GOOD — Trigger-only:

description: Use when brainstorming ideas, generating raw material, or starting
the creative phase of a writing project.

Format: Use when [specific triggering conditions]

Frontmatter Requirements

---
name: skill-name-with-hyphens
description: Use when [triggering conditions] - max 1024 chars
license: MIT
metadata:
  author: https://github.com/Jeffallan
  company: https://synergetic.solutions
  version: "1.0.0"
  domain: generation | structure | craft | quality | strategy | seo | research
  triggers: keyword1, keyword2, keyword3
  role: specialist | expert
  scope: design | analysis | implementation
  output-format: document | report | analysis
  related-skills: architect, carpenter, judge
---

Domain values for this project: generation · structure · craft · quality · strategy · seo · research

Progressive Disclosure Architecture

Tier 1 — SKILL.md (~80-100 lines)

  • An H1 title (# Skill Name) directly after the frontmatter, and no other H1 outside code fences
  • Role definition and collaborative model (who leads, who supports)
  • When-to-use guidance (triggers)
  • Core workflow (5-7 steps)
  • Constraints (MUST DO / MUST NOT DO)
  • Routing table to references

Tier 2 — Reference Files (100-600 lines each)

  • Deep procedural content
  • Templates and output formats
  • Examples and anti-patterns
  • Loaded only when context requires

Read the full file on GitHub · 166 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. 7d ago Changed · +9 lines · +238 tokens per session f875b27d10be
  2. 12d ago Changed · +2 lines · +106 tokens per session fb9b35791e68
  3. 23d ago Changed · +30 lines · +423 tokens per session 0f91a2c20905
  4. 1mo ago Changed · +1 lines · +14 tokens per session bea8109283c5
  5. 2mo ago First seen · 124 lines · 848 tokens per session scan A 0391fa9c47c6

Subscribe to this mod's changes

writing-with-agents CLAUDE.md is an instructions file published in the GitHub repository Jeffallan/writing-with-agents (37 stars, last pushed 7d ago), licensed MIT. It adds 1,629 tokens to every session, about $0.0065 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-08-30.

Related

writing-with-agents CLAUDE.md compared with instructions from other repositories

writing-with-agents CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-with-agents CLAUDE.mdJeffallan/writing-with-agentsInstructions file377d agoMITA1,629Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode