narrative-writing

narrative-writing is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 73 tokens per session (257 once invoked), scanned A, original, MIT.

A structured writing method for clear, evidence-based documents that help people make decisions.

In plain words
What is it for?
Use it for six-page documents, press-release and FAQ plans, working-backwards documents, and technical narratives.
Why use it?
It provides a format for turning complex technical ideas into organized documents with a clear purpose.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for six-page documents, press-release and FAQ plans, working-backwards documents, and technical narratives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xg-gh-25/swarmai/s_narrative-writing
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 xg-gh-25/SwarmAI --skill s_narrative-writing
Clone the repo
git clone --depth 1 https://github.com/xg-gh-25/SwarmAI

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 narrative-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_narrative-writing/github.svg)](https://agentmods.dev/skills/xg-gh-25/swarmai/s_narrative-writing)
Your own site
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_narrative-writing"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_narrative-writing/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 narrative-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_narrative-writing"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_narrative-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 257 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.00257
Opus 5.5 $0.00029 $0.00103
Sonnet 5.5 $0.00015 $0.00051
Haiku 4.5 $0.00007 $0.00026

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

Security

Grade A, and why

narrative-writing 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-weasel-words.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

backend/skills/s_narrative-writing/SKILL.md · 16 lines

What it actually says

Narrative Writing

This skill loads full instructions on activation. Read INSTRUCTIONS.md before proceeding.

TRIGGER: "six-pager", "PR/FAQ", "working backwards", "write a narrative", "technical doc", "HLD", "LLD", "ADR", "high-level design", "low-level design", "decision record", "SOP", "runbook", "project plan" DO NOT USE: for casual notes or quick summaries (just write directly)

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. 1mo ago Changed · -6 lines · -75 tokens per session e23c06939c18
  2. 2mo ago Changed · +3 lines · +90 tokens per session f386ee05a460
  3. 3mo ago First seen · 19 lines · 58 tokens per session scan A 32d4076442ae

Subscribe to this mod's changes

narrative-writing is a skill published in the GitHub repository xg-gh-25/SwarmAI (66 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 257 once invoked, about $0.0003 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

narrative-writing compared with skills from other repositories

narrative-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
narrative-writingxg-gh-25/SwarmAISkill66yesterdayMITA73Claude Code, Codex
patent-applicationhandsomestWei/patent-disclosure-skillSkill14ktodayMITA94Claude Code
patent-readerhandsomestWei/patent-disclosure-skillSkill14ktodayMITA38Claude Code
pdf-readeralibaba/anolisaSkill6889d agoApache-2.0A19Claude Code, Codex
agent-sop-authorstrands-agents/agent-sopSkill1.2k1mo agoApache-2.0A41Claude Code
mindos-zhGeminiLight/MindOSSkill70722d agoMITA490Claude Code
iflytek-ocr-invoiceiflytek/iFly-SkillsSkill2176d agoApache-2.0A77Claude Code, Codex