WriteStory

WriteStory is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 130 tokens per session (2,298 once invoked), scanned A, original, MIT.

A fiction-writing scaffold that develops a story from a writer’s notes, draft, or initial idea across several narrative layers.

In plain words
What is it for?
Use it to develop anything from a short story to a multi-book series, including characters, settings, plot structure, and drafts.
Why use it?
It helps writers find missing structure, character motivation, themes, and prose while keeping the story’s core material their own.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 18,899 stars · on GitHub · ourlifeos.ai

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/danielmiessler/lifeos/writestory
Any agent
npx skills add danielmiessler/LifeOS --skill writestory
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

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 WriteStory

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/writestory.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/writestory)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/writestory"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/writestory.svg" alt="Measured on agentmods" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00130 $0.02298
Opus 5 $0.00065 $0.01149
Sonnet 5 $0.00026 $0.00460
Haiku 4.5 $0.00013 $0.00230

Measured 3d ago against content hash 337f746f1814, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

WriteStory scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST http://localhost:31337/notify \
LifeOS/install/skills/WriteStory/SKILL.md · 160 lines

How it starts

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

🚨 MANDATORY: Voice Notification (REQUIRED BEFORE ANY ACTION)

You MUST send this notification BEFORE doing anything else when this skill is invoked.

  1. Send voice notification:

    curl -s -X POST http://localhost:31337/notify \
      -H "Content-Type: application/json" \
      -d '{"message": "Running the WORKFLOWNAME workflow in the WriteStory skill to ACTION"}' \
      > /dev/null 2>&1 &
    
  2. Output text notification:

    Running the **WorkflowName** workflow in the **WriteStory** skill to ACTION...
    

This is not optional. Execute this curl command immediately upon skill invocation.

WriteStory

What It Does

WriteStory is scaffolding for writing fiction. It takes what you already have — a sentence, a folder of notes, a half-drafted chapter — and helps you build the rest of the story one layer at a time, using the systems professional storytellers use on purpose. You bring the creativity; it fills in the pieces you're missing. It never writes the story for you.

The Problem

Most people who want to write a story never finish one. The spark is there — a character who won't leave you alone, a world you can picture but can't map, an ending that gives you chills — but between that spark and a finished draft are the hard parts: structure, the character's hidden wound, the theme you can feel but can't name, the sentences that should land but don't. The usual tools either leave you alone with those gaps, or they write the story for you and hand back something that isn't yours. WriteStory fills the gaps without taking the story away from you.

How It Works

The work happens across seven narrative layers, and each book you write is a stateful project the system can come back to and keep building.

The Seven Layers

Every story here is built across seven layers at once:

  1. Meaning — Theme, the argument the story makes, the question it asks
  2. Character Change — Sacred flaw / misbelief → transformation (Storr, Cron)
  3. Plot — The cause-and-effect chain of events
  4. Mystery — What the reader knows vs. doesn't, and when
  5. World — Setting, politics, rules, the pressure the world puts on people
  6. Relationships — How the key bonds evolve and squeeze the characters
  7. Prose — Rhetorical figures, voice, aesthetic, style

Read the full file on GitHub · 160 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. 3d ago First seen · 160 lines · 130 tokens per session scan A 337f746f1814

Subscribe to this mod's changes

WriteStory is a skill published in the GitHub repository danielmiessler/LifeOS (18,899 stars, last pushed 2d ago), licensed MIT. It adds 130 tokens to every session and 2,298 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

slide-deck

When you want to draft, update, convert, or export a slide deck for a React/Next.js slide system (${SLIDEDECKREPO:-$HOME/code/your-slide-deck-site}/src/app/slides/). Writes TypeScript Slide[] arrays using your primitives (Eyebrow, Heading, Accent, Body, BulletList, Divider, TwoCol, GradientText), 12 cycling brand…

coreyhaines31/makerskills · 259 tokens

cull

This skill should be used when the user wants to view, review, rate, organize, search, or export images / AI-art generations with the Cull app. Trigger on "show me these images", "review this batch", "open these in Cull", "rate / shortlist / collect these", "find similar images", "make a smart collection", "run a…

glebis/claude-skills · 123 tokens

style-skill-creator

Creative writing skill for creating style skills that teach Claude to write in specific styles. Use when you want to create style guides that Claude can follow when writing long-form content. Creates AI-directive style guides based on analyzing existing writing samples. 트리거: "내 글체로 스킬 만들어줘", "문체 스킬 생성", "글쓰기 스타일 학습"…

bam-bam-2/solo-skills · 0 tokens

build-product-demo

Plan, produce, or diagnose evidence-backed product demo videos and screen-recorded promotional walkthroughs. Use when the user asks to make a product demo, launch video, feature showcase, app walkthrough, demo reel, or polished recording; wants every important capability shown without a slow feature tour; asks to…

majiayu000/spellbook · 117 tokens

slides

生成口播视频背景 PPT 幻灯片(16:9 横版 PNG 序列)。当用户需要做 PPT、生成幻灯片、做演示背景图时使用.

majiayu000/spellbook · 41 tokens

xiaohongshu

生成小红书文案和配图。当用户需要写小红书、生成社交媒体文案、小红书运营内容时使用.

majiayu000/spellbook · 35 tokens