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.
npx skills add DukeTwoCan/autonovel-agent-skills --skill autonovel-foundationgit clone --depth 1 https://github.com/DukeTwoCan/autonovel-agent-skillsWrote 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.
[](https://agentmods.dev/skills/duketwocan/autonovel-agent-skills/autonovel-foundation)<a href="https://agentmods.dev/skills/duketwocan/autonovel-agent-skills/autonovel-foundation"><img src="https://agentmods.dev/badge/skills/duketwocan/autonovel-agent-skills/autonovel-foundation/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.
<a href="https://agentmods.dev/skills/duketwocan/autonovel-agent-skills/autonovel-foundation"><img src="https://agentmods.dev/badge/skills/duketwocan/autonovel-agent-skills/autonovel-foundation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.02833 |
| Opus 5.5 | $0.00038 | $0.01133 |
| Sonnet 5.5 | $0.00019 | $0.00567 |
| Haiku 4.5 | $0.00009 | $0.00283 |
Grade A, and why
autonovel-foundation 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Autonovel — Phase 1 (Foundation)
Build the foundation of a novel: world, characters, outline, canon, voice fingerprint.
When to use this skill
- State.json shows
"phase": "foundation" - User says "let's start a new novel" or "build the foundation"
- Foundation files don't exist yet, OR they exist but foundation_score < threshold
Prerequisites
Verify workspace and seed:
!`test -f "$AUTONOVEL_WORKSPACE/$NOVEL_SLUG/seed.txt" && echo "seed ok" || echo "missing seed"`
!`test -f "$AUTONOVEL_WORKSPACE/$NOVEL_SLUG/state.json" && cat "$AUTONOVEL_WORKSPACE/$NOVEL_SLUG/state.json"`
If either is missing, hand back to the umbrella autonovel skill to set up the novel.
Workflow
The agent generates each foundation document in sequence, evaluating after the last. Use the prompts in references/ as templates — fill in the bracketed placeholders from the seed and any prior outputs.
Step 0 — Compile genre context and create the story contract
Read profile (primary_genre, primary_engine, tags, content_tags,
rating, shape, pitch) from state.json. When an explicit Foundation
revision is requested, confirm and apply the requested seed or profile changes
before compilation, then recompile the genre context with the single command
below. Without an explicit revision, leave the seed and profile unchanged.
Compile the complete resolved context once:
python ${HERMES_SKILL_DIR}/../autonovel/lib/genre_resolver.py compile --state "$AUTONOVEL_WORKSPACE/$NOVEL_SLUG/state.json" --workspace "$AUTONOVEL_WORKSPACE/$NOVEL_SLUG" --task all
Treat genre_context/story-contract.md as a persistent, create-once source of
truth. Reuse it unchanged when it already exists and no explicit Foundation
revision was requested. When it does not exist, read
genre_context/resolved.json, genre_context/compiled/contract.md, seed.txt,
the profile, and the rating definition from
${HERMES_SKILL_DIR}/../autonovel/references/ratings.md, then generate the
contract as a story-specific decision record with exactly these seven
requirements:
What ships with it
39 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.
- lib/genre_models.py 3.0 KB runs code
- lib/genre_patterns.py 12 KB runs code
- lib/namegen_data/dnd_draconic.json 1.1 KB
- lib/namegen_data/dnd_dwarven.json 1.2 KB
- lib/namegen_data/dnd_elvish.json 1.2 KB
- lib/namegen_data/dnd_gnomish.json 1.2 KB
- lib/namegen_data/dnd_halfling.json 1.2 KB
- lib/namegen_data/dnd_orcish.json 964 B
- lib/namegen_data/dnd_tiefling.json 1.2 KB
- lib/namegen_data/real_african.json 1.0 KB
- lib/namegen_data/real_arabic.json 1.1 KB
- lib/namegen_data/real_chinese.json 962 B
- lib/namegen_data/real_japanese.json 1.0 KB
- lib/namegen_data/real_korean.json 1.0 KB
- lib/namegen_data/real_nordic.json 1.0 KB
- lib/namegen_data/real_romance.json 1.1 KB
- lib/namegen_data/real_slavic.json 1.1 KB
- lib/namegen_data/real_western.json 1.3 KB
- lib/namegen_data/scifi_cyberpunk.json 1.1 KB
- lib/namegen_data/scifi_galactic.json 1.2 KB
- lib/namegen_data/space_opera.json 1.2 KB
- lib/namegen_data/tes_argonian.json 1.1 KB
- lib/namegen_data/tes_dark_elf.json 1.0 KB
- lib/namegen_data/tes_high_elf.json 1.0 KB
- lib/namegen_data/tes_imperial.json 1.2 KB
- lib/namegen_data/tes_khajiit.json 1.0 KB
- lib/namegen_data/tes_nordic.json 1.3 KB
- lib/namegen_data/tes_wood_elf.json 966 B
- lib/namegen_data/warhammer_grimdark.json 1.3 KB
- lib/namegen_data/wasteland.json 1.2 KB
- lib/namegen.py 6.1 KB runs code
- lib/slop_detect.py 20 KB runs code
- lib/state.py 3.2 KB runs code
- lib/validation.py 31 KB runs code
- references/canon-prompt.md 3.5 KB
- references/characters-prompt.md 6.3 KB
- references/outline-prompt.md 5.5 KB
- references/voice-prompt.md 7.6 KB
- references/world-prompt.md 5.6 KB
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.
- 2mo ago First seen · 243 lines · 94 tokens per session scan A 071d91a62d35
autonovel-foundation is a skill published in the GitHub repository DukeTwoCan/autonovel-agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 2,833 once invoked, about $0.0004 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-31.
Other skills, from other repositories
story-review
A review workflow for finding story problems from several viewpoints, including issues with structure, characters, wording, and fictional world rules. It can use multiple reviewer agents or work alone.
story-setup
A setup tool for deploying a Chinese web-fiction writing toolkit into a project. It configures supported coding agents and uses shared files for environments without a dedicated integration.
story
A Chinese-language routing tool for fiction writers that directs requests to tools for outlining, writing, analysis, reviews, covers, importing novels, browser control, and project management.
story-cover
A novel-cover generator that creates a cover with the book title and author name. It chooses a visual style from the book information and can use Codex's image-generation tool.
story-deslop
A writing editor for Chinese web novels that detects writing patterns often associated with AI-generated text and makes the prose feel more natural.
story-import
A tool for turning an existing novel into a structured writing project. It analyzes the book and organizes its characters, settings, plot plans, chapters, and tracking data for later writing.