narrative-writing

narrative-writing is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 148 tokens per session (337 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 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 337 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.00148 $0.00337
Opus 5 $0.00074 $0.00169
Sonnet 5 $0.00030 $0.00067
Haiku 4.5 $0.00015 $0.00034

Measured 8d ago against content hash f386ee05a460, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d 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 · 22 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. 8d ago Changed · +3 lines · +90 tokens per session f386ee05a460
  2. 12d 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 (44 stars, last pushed today), licensed MIT. It adds 148 tokens to every session and 337 once invoked, about $0.0007 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.