story-setup

story-setup is a skill for Claude Code, Codex from uu201/character-arc. It costs 58 tokens per session (3,160 once invoked), scanned A, original, MIT.

A Chinese-language setup tool that installs the writing project files needed by a web-fiction toolkit. It adds hooks, rules, agents, and a CLAUDE.md configuration file while preserving existing settings.

In plain words
What is it for?
Use it to prepare a new writing project, deploy the toolkit, recognize an existing long-form project, or configure the project for story-writing workflows.
Why use it?
It removes the manual work of preparing a writing project and reduces the risk of overwriting configuration already in the project.

Skill for Claude CodeCodex

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/uu201/character-arc/story-setup
Any agent
npx skills add uu201/character-arc --skill story-setup
Clone the repo
git clone --depth 1 https://github.com/uu201/character-arc

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 story-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/uu201/character-arc/story-setup.svg)](https://agentmods.dev/skills/uu201/character-arc/story-setup)
Your own site
<a href="https://agentmods.dev/skills/uu201/character-arc/story-setup"><img src="https://agentmods.dev/badge/skills/uu201/character-arc/story-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,160 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 $0.00058 $0.03160
Opus 5 $0.00029 $0.01580
Sonnet 5 $0.00012 $0.00632
Haiku 4.5 $0.00006 $0.00316

Measured 5d ago against content hash eff3eccc09e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

story-setup 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 5d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (references/templates/hooks/detect-story-gaps.sh, references/templates/hooks/lib/common.sh, references/templates/hooks/lib/sentinel.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.

resources/skills/oh-story-claudecode/story-setup/SKILL.md · 203 lines

How it starts

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

story-setup:网文写作工具集基础设施部署

你是写作基础设施部署器。将网文写作工具集的全套基础设施(hooks、rules、agents、CLAUDE.md)部署到用户项目目录。

执行铁律:不覆盖用户已有配置,合并而非替换。


Phase 1:检测项目状态

  1. 检查当前目录是否已部署过(存在 .story-deployed
    • 如果已存在 → 使用 AskUserQuestion 确认是否重新部署
  2. 检查是否有书名目录(包含 追踪/ 子目录的目录,或用户自定义结构)
    • 有 → 识别为长篇项目,显示当前项目信息
    • 无 → 识别为新项目或短篇项目
  3. 检查 .claude/settings.local.json 是否存在
    • 存在 → 读取现有配置,后续合并
    • 不存在 → 后续创建新文件
  4. 检查 .active-book 文件是否存在
    • 存在 → 显示当前活跃书目
    • 不存在 → 跳过

Phase 2:部署基础设施

使用 AskUserQuestion 确认部署位置后,依次执行。

2.0 部署清单(机械可检查)

Source path Target path Owner class Merge mode Validation check
skills/story-setup/references/templates/CLAUDE.md.tmpl CLAUDE.md user+managed marker/section merge contains story skill routing sections
skills/story-setup/references/templates/hooks/ .claude/hooks/ story-setup managed recursive replace session-*.sh, detect-story-gaps.sh, validate-story-commit.sh, lib/common.sh, lib/sentinel.sh exist
skills/story-setup/references/templates/rules/*.md .claude/rules/*.md story-setup managed replace every rule contains paths frontmatter
skills/story-setup/references/templates/agents/*.md .claude/agents/*.md story-setup managed replace 7 agent files exist
skills/story-setup/references/agent-references/*.md .claude/skills/story-setup/references/agent-references/*.md story-setup managed replace every story-setup/references/agent-references/*.md reference resolves
skills/story-setup/references/templates/settings-hooks.json .claude/settings.local.json user+managed merge by hook command hook JSON valid and registered commands deduped
skills/story-setup/references/templates/上下文.md.tmpl {书名}/追踪/上下文.md user state create only if absent never overwrite existing writing context
generated sentinel .story-deployed story-setup managed replace contains agents_version, setup_skill_version, target_cli, resolver_strategy, references_dir

Read the full file on GitHub · 203 lines

Files

What ships with it

49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 203 lines · 58 tokens per session scan A eff3eccc09e9

Subscribe to this mod's changes

story-setup is a skill published in the GitHub repository uu201/character-arc (549 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 3,160 once invoked, about $0.0003 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

ppt-orchestrator

统一 PPT / 演示文稿 / 长图 / 周报 调度器。从ppt 出图法 V2 7 步,到 6 种风格字典(商务科技/博物图鉴/手绘科教/真实生活感/城市插画/反套路金句),到输出形式决策(HTML 阅读器 / 真实 .pptx / McKinsey HTML / huashu-design / design-master),下游分发到对应 skill 执行。Triggers:做 PPT / 做个演示 / 演示文稿 / 打包成 HTML / 真实 .pptx / 周报长图 / 卡脖子分析长图 / 幻灯片 / presentation / slides / deck。.

huangrichao2020/pretty-skills · 160 tokens

zhongguose-html-skill

以原稿章法为骨架,中国传统色彩为气韵,直接产出可交互、可迁移的中式 HTML 汇报演示稿。用于需要梳理叙事逻辑、章节框架、页级结构或版式的演示/汇报,且内容涉及中国文化,或视觉希望采用中国色、中国风、中式/东方审美;点名本 Skill、模板或框架导航格式时也触发。只支持 HTML 交付:输出 index.html + assets/ 目录(自包含、字体嵌入、可双击打开)。不生成 PPT/PPTX。 Build a Chinese-style HTML presentation system that maps confirmed source material into faithful reporting logic…

huangrichao2020/pretty-skills · 232 tokens

dashiai-ppt

制作 PPT、演示文稿、幻灯片、汇报材料时使用。DashiAI PPT 基于预置视觉主题组合页面,生成可离线打开、可在浏览器编辑的 HTML 演示,支持导出 PPTX / PDF 文件。.

huangrichao2020/pretty-skills · 62 tokens

wechat-delivery

公众号端到端交付——把任意选题在 30 分钟内变成可直接粘贴的桌面 8 文件交付物(标题/正文/封面/4 配图),用户手动 30 秒发布。适用场景:用户说"写公众号"/"公众号文章"/"配公众号"/"公众号配图"/自己的公众号名。覆盖 v3.18 launch 实战验证的 5 步流程 + 7 段黄金模板 + 桌面文件夹 + mavis browser 自动化天花板 + 反模式。.

huangrichao2020/pretty-skills · 129 tokens

教程类H5-小红书小工具

用 AI 生图 + SPA 课程架构 + 离线 H5 zip = 在小红书"创作者中心 → 小工具"发布的多课程 H5 互动产品。讲清楚 4 层栈 / 5 步流程 / 7 节课程都适用。触发词:「做教程类 H5」「小红书小工具」「H5 课程」「离线 H5 课程」「多节课 H5」。.

huangrichao2020/pretty-skills · 110 tokens

ai-image-to-pptx

用 AI 直接生成 N 张风格统一的图,再嵌入到真正的 PowerPoint 文件(.pptx),用户能在 PowerPoint / Keynote / WPS 打开、可编辑、可投屏、可二次加工。这是 2026 年"知识传播 + 真实交付"的最佳组合:AI 出图效率 + PPT 格式兼容性。.

huangrichao2020/pretty-skills · 93 tokens