autonovel-foundation

autonovel-foundation is a skill for Claude Code from DukeTwoCan/autonovel-agent-skills. It costs 94 tokens per session (2,833 once invoked), scanned A, original, MIT.

A novel-planning workflow that turns a seed idea into five foundation documents covering the setting, characters, plot outline, story facts, and writing voice.

In plain words
What is it for?
Use it to start a novel from a seed file, create its planning documents, and record the project’s progress.
Why use it?
It gives a new novel a shared reference before drafting begins and checks whether the foundation is developed enough to proceed.

Skill for Claude Code

Written for Claude Code: dynamic context !`command`.

Good fit Use it to start a novel from a seed file, create its planning documents, and record the project’s progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duketwocan/autonovel-agent-skills/autonovel-foundation
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 DukeTwoCan/autonovel-agent-skills --skill autonovel-foundation
Clone the repo
git clone --depth 1 https://github.com/DukeTwoCan/autonovel-agent-skills

Made for: Claude Code.

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 autonovel-foundation

README.md
[![agentmods](https://agentmods.dev/badge/skills/duketwocan/autonovel-agent-skills/autonovel-foundation/github.svg)](https://agentmods.dev/skills/duketwocan/autonovel-agent-skills/autonovel-foundation)
Your own site
<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.

agentmods 80×15 button for autonovel-foundation

Your own site · 80×15
<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>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,833 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.
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.00094 $0.02833
Opus 5 $0.00047 $0.01417
Sonnet 5 $0.00019 $0.00567
Haiku 4.5 $0.00009 $0.00283

Measured 12d ago against content hash 071d91a62d35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 12d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (lib/genre_models.py, lib/genre_patterns.py, lib/namegen.py, …), 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.

skills/creative/autonovel-foundation/SKILL.md · 243 lines

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:

Read the full file on GitHub · 243 lines

Files

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.

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. 12d ago First seen · 243 lines · 94 tokens per session scan A 071d91a62d35

Subscribe to this mod's changes

autonovel-foundation is a skill published in the GitHub repository DukeTwoCan/autonovel-agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 2,833 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories