writing-mode

writing-mode is a skill for Claude Code from DheerG/swarms. It costs 37 tokens per session (2,431 once invoked), scanned A, original, MIT.

A definition of how a writing team should work, including its roles, decision boundaries, feedback path, and stages. The team lead coordinates the work while other roles guide direction and review.

In plain words
What is it for?
Use it to coordinate writing projects, assign strategy and editing responsibilities, relay feedback, and manage the team's work phases.
Why use it?
It reduces confusion about who decides the structure, who checks quality, and who produces the final prose. Feedback is passed through defined roles rather than handled informally.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the swarms plugin — 13 skills, 10 commands, 2 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add skills/dheerg/swarms/writing-mode
Any agent
npx skills add DheerG/swarms --skill writing-mode
Clone the repo
git clone --depth 1 https://github.com/DheerG/swarms

Made for: Claude Code.

Or install swarms, the plugin that ships this one along with the rest of its 13 skills, 10 commands, 2 agents, 2 hooks.

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-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/dheerg/swarms/writing-mode.svg)](https://agentmods.dev/skills/dheerg/swarms/writing-mode)
Your own site
<a href="https://agentmods.dev/skills/dheerg/swarms/writing-mode"><img src="https://agentmods.dev/badge/skills/dheerg/swarms/writing-mode.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.02431
Opus 5 $0.00018 $0.01215
Sonnet 5 $0.00007 $0.00486
Haiku 4.5 $0.00004 $0.00243

Measured 6d ago against content hash ddfedea975fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

writing-mode 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 6d 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.

skills/writing-mode/SKILL.md · 138 lines

How it starts

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

Return the following mode definition verbatim to the team lead. Do not summarize or interpret — the lead needs the full specification.


Writing Mode

Lead Identity

You are the team lead. You manage the team with patience — you do not hurry teammates along, and you do not overcommunicate. You coordinate the team, relay user feedback verbatim, and present completed work. You own prose production. Delegate all drafting to sub-agents (Agent tool — a plain subagent, not a teammate) — you do not write prose directly.

Facilitator Title

Editorial Director

Facilitator Identity

facilitates strategic direction alongside the strategist, asks questions that surface voice and structural trade-offs, never makes editorial decisions.

Ownership Boundaries

  • Strategist owns direction: positioning, anti-constraints, structural shape.
  • Editor owns quality and synthesis: produces the Revision Brief, verifies output is ready.
  • Lead owns prose production and coordination. Delegates all drafting to sub-agents (Agent tool — a plain subagent, not a teammate). Relay, logistics, presentation.

Feedback Routing

User feedback → Lead (relays verbatim) → Strategist, then Editor (serially, per the solicitation-cadence hard rule) → Editor synthesizes Revision Brief → Lead spawns a sub-agent to revise against the Brief → Editor verifies → Lead presents.

Mode-Specific Rules

Writing Ownership

  • Sub-agent prose delegation. The lead spawns sub-agents (Agent tool — a plain subagent, not a teammate) for all prose production; the lead does not write prose directly.
  • Sub-agent isolation. The drafting sub-agent receives only the direction document, the editorial baseline, and (for revision rounds) the Revision Brief and current draft — never raw feedback or team discussion.
  • Strategy before writing. Before any prose is produced, the team must converge on a direction document (positioning, structural shape, anti-constraints). Writing begins only after this is approved.
  • Editor-sandwich review. Editor sets the bar first (Pass 1), specialists advise the editor (Pass 2), editor synthesizes a single Revision Brief (Pass 3). The Brief must be self-contained — sub-agents cannot ask follow-up questions.

Read the full file on GitHub · 138 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. 6d ago First seen · 138 lines · 37 tokens per session scan A ddfedea975fd

Subscribe to this mod's changes

writing-mode is a skill published in the GitHub repository DheerG/swarms (85 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 2,431 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

pocket-development

Use when executing implementation plans of one or more tasks. Trigger on execute plan, delegate tasks, dispatch subagents. Combines delegate handoff discipline with prompt-engineering attention mechanics.

rfxlamia/pocketto · 40 tokens

pocket-planning

Converts a pocket-grinding spec into a TDD-structured execution plan of full Pocket Packets. Use when pocket-grinding handoff arrives (spec path + acceptance criteria). Trigger on "create plan", "build plan", "pocket-planning", or when pocket-grinding skill invokes this. Outputs tasks ready to dispatch via…

rfxlamia/pocketto · 76 tokens

pocket-closing

Terminal pocket stage. User invokes after pocket-development's phase-level pass writes verdicts. Reconciles reviews against log.json, gates on REVIEWFAIL/REVIEWBLOCKED, advances REVIEW→DONE, runs log close, and emits a closeout summary. Trigger on "pocket-closing", "close the plan", "close out", "finalize plan", or…

rfxlamia/pocketto · 92 tokens

pocket-grinding

BDD-driven feature/fix discovery before any implementation. Use when planning a feature, designing a fix, or exploring options before building. Trigger on "pocket-grinding", "brainstorm", "think through", "plan this", "before we build". Invokes pocket-planning at handoff.

rfxlamia/pocketto · 65 tokens

pocket-help

Onboarding and routing guide for the Pocket skill ecosystem. Use when someone asks what Pocket is, which Pocket skill to use, how the end-to-end flow works, or when Pocket is better than lighter Superpowers-style flows. Trigger on "what is pocket", "how do I use pocket", "which pocket skill", "explain pocket"…

rfxlamia/pocketto · 112 tokens

structured-research

Standalone skill for validating an explicit assumption with structured research. Use when a user holds a belief that is still an assumption — a technical claim, a library's behavior, a "this is probably how X works" — and wants it investigated methodically before it leaks into planning or code. Recommends a research…

rfxlamia/pocketto · 147 tokens