Narraitor: Skill for Claude Code

.claude/skills/narraitor-product-frontier/SKILL.md

narraitor-product-frontier is a skill for Claude Code from jerseycheese/Narraitor. It costs 93 tokens per session (1,494 once invoked), scanned A, original, MIT.

A planning guide for Narraitor, a codebase that generates interactive stories. It maps ambitious problems such as remembering long story threads, tracking consequences, streaming text, replayability, and testing prompts into scoped work.

In plain words
What is it for?
Use it for planning work after version 1.0, assessing research-heavy ideas, and deciding whether a proposed improvement fits the codebase.
Why use it?
It turns vague goals like “make the story smarter” into concrete tasks with evidence-based success criteria. It also helps avoid duplicating work already covered by open project issues.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jerseycheese/Narraitor's own configuration. It tells Claude Code how to work on Narraitor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Narraitor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jerseycheese/Narraitor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jerseycheese/Narraitor/main/.claude/skills/narraitor-product-frontier/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jerseycheese/Narraitor

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 narraitor-product-frontier

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/narraitor/narraitor-product-frontier/github.svg)](https://agentmods.dev/skills/jerseycheese/narraitor/narraitor-product-frontier)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/narraitor/narraitor-product-frontier"><img src="https://agentmods.dev/badge/skills/jerseycheese/narraitor/narraitor-product-frontier/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 narraitor-product-frontier

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerseycheese/narraitor/narraitor-product-frontier"><img src="https://agentmods.dev/badge/skills/jerseycheese/narraitor/narraitor-product-frontier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 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.00093 $0.01494
Opus 5 $0.00046 $0.00747
Sonnet 5 $0.00019 $0.00299
Haiku 4.5 $0.00009 $0.00149

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

Security

Grade A, and why

narraitor-product-frontier 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.

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.

.claude/skills/narraitor-product-frontier/SKILL.md · 57 lines

How it starts

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

Product frontier

1. Purpose

Name the problems that would move Narraitor past the state of the art, what the repo already has toward each, the first three concrete steps, and the falsifiable "you have a result when…" bar — so ambition lands as scoped work instead of vibes.

2. When to use

Post-1.0 planning; "make the story smarter/deeper" requests; evaluating whether a research-y idea fits this codebase.

3. When not to use

  • v1.0 gate work → narraitor-hardest-problem-campaign. Routine features → narraitor-feature-experiment-lifecycle (frontier work still ships THROUGH that lifecycle).

4. Inputs required

Current epic map (gh issue list --label epic --state open) — frontier work must reconcile with existing epics, not duplicate them.

5. Procedure — the frontier problems

F1. Long-arc story memory & coherence. Falls short today: context is a fixed window over recent segments + lore facts, capped at assembly rather than by any budget; long sessions lose early threads; coherence is enforced by prompt instructions + a deterministic continuity guardrail with ONE corrective AI call (fail-open). Assets: loreStore (facts + dedup/merge + audit log), continuityStore, narrative/summarize + story-checkpoint routes, the src/lib/promptContext/ assembly path (measurement only — no allocator). First steps: (1) instrument how often the guardrail fires and on what, across 3 long sessions; (2) measure what falls out of the context window in a 30+ turn arc; (3) prototype checkpoint-summary layering into context assembly behind a feature flag. Result when: on a scripted 30-turn arc, a plot fact from turns 1–5 is correctly referenced at turn 30 in >=4/5 runs across 2 worlds, vs a measured baseline.

F2. Consequence tracking that players feel. Falls short: choices carry alignment/trust metadata (#468 shipped) and world-state impacts exist (narrativeStore.worldStateImpacts.ts), but long-range payoff of early choices is weak. Assets: decisions with metadata, goalStore + goalExtractor, journal. First steps: (1) trace one real decision's data end-to-end; (2) define 3 concrete consequence archetypes (unlocked path, changed NPC stance, resource shift) and where each is injected into context; (3) eval per ai-quality-discipline matrix. Result when: a blind reader identifies which of two turn-20 transcripts followed choice A vs B, >=8/10 sessions.

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file 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 · 57 lines · 93 tokens per session scan A 0316f9b51b7e

Subscribe to this mod's changes

narraitor-product-frontier is a skill published in the GitHub repository jerseycheese/Narraitor (30 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,494 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-30.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens