canon-npcs
Workflow for researching and adapting folklore/historical figures into NPCs
от nikolaj-lat★ 17 звёзд на GitHub
Установить canon-npcs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Canon NPCs
Research folklore, yokai, mythology, and historical figures using web search, then write the four lore fields — basicInfo, hiddenInfo, personality, and abilities — directly onto existing NPC skeletons in tabs/npcs.json.
This is a self-contained workflow skill. It produces only the lore-rich fields that require deep research, writing them directly to existing NPC entries. All other NPC fields (tier, level, hpMax, location, etc.) must already exist on the skeleton or be set separately.
Workflow Phases
Phase 0: Context
Before starting, read tabs/world-background.json to understand the world's setting, current crisis, tone, and core mechanics. Abilities and traits that seem extraordinary in folklore may be mundane in the world's system — verify before treating them as distinctive. This context shapes how research findings are adapted — especially hiddenInfo (relationship to the crisis) and ability framing.
Before drafting any field, read completed NPC entries of the same or similar type in tabs/npcs.json to internalize the voice, sentence structure, vocabulary level, and formatting conventions already established. Match them.
This instruction applies at every drafting point — not just at session start. Before drafting abilities, read abilities of the same type. Before drafting hiddenInfo, read hiddenInfo of batch-mates. Before customizing a shared ability description, check how existing NPCs of the same type have handled it. When in doubt about whether a convention exists, check before asking the user.
Phase 1: Research
Web search is mandatory. Never skip this step.
Spawn 6 research subagents in parallel using the Task tool (subagent_type: general-purpose). Agents are split across two languages and three focus areas to maximize source diversity and depth.
Query Angles
| Agent | Language | Focus |
|---|---|---|
| 1 | English | Lore — the figure's name, origin, and primary legends |
| 2 | English | Cultural context — role in folklore tradition, symbolic meaning, related figures, cultural significance |
| 3 | Japanese | Primary sources — original texts, earliest records, foundational accounts |
| 4 | Japanese | Variant tellings — regional differences, lesser-known tales, local folk beliefs |
| 5 | English | Ability mining — supernatural powers, capabilities, weaknesses, vulnerabilities as described in folklore |
| 6 | Japanese | Ability mining — powers and capabilities described in Japanese folklore sources, folk beliefs about what they can do |
Japanese-language agents must write search queries in Japanese (e.g., 酒呑童子 能力 伝説 not Shuten-dōji abilities legend). Findings must be returned in English using ALA-LC romanization for Japanese terms. Never include kanji or kana in the output.
Ability mining agents focus exclusively on folklore source material — not games, anime, manga, or modern media adaptations. They should extract every distinct power, capability, weakness, and vulnerability attributed to the figure, with the specific tale or source noted for each.
Each subagent must:
- Use
WebSearchandWebFetchto find and read sources - Return structured findings with source URLs
- Cover as many of the research categories below as their angle permits
Research Categories
The combined output from all subagents must cover:
| Category | What to Look For |
|---|---|
| Origin stories | Where and when the figure first appears in the record |
| Powers/abilities | Supernatural or notable capabilities attributed to them |
| Personality/temperament | How sources characterize their disposition and behavior |
| Notable tales | Key stories, episodes, or legends associated with them |
| Cultural significance | What the figure represents, symbolizes, or teaches |
| Relationships | Connections to other figures, deities, or entities |
| Variant tellings | How the figure differs across regions, eras, or traditions |
| Lesser-known details | Obscure facts that distinguish deep research from surface-level |
Research File Setup
Before launching subagents, create the research file stuff/research/{npc-name}.md with section headers for each agent:
# Research: [NPC Name]
## EN Lore
## EN Cultural Context
## JP Primary Sources
## JP Variant Tellings
## EN Abilities
## JP Abilities
Subagent Prompt Template
Include all of the following in each subagent's prompt:
- The figure's name (and any known alternate names; include kanji/kana in the prompt to Japanese-language agents so they can form accurate search queries)
- The specific query angle and language assigned to that agent
- For Japanese agents: explicit instruction to write all search queries in Japanese
- For ability mining agents: explicit instruction to focus on folklore sources only, extracting every distinct power/capability/weakness with its source noted
- Instruction to use
WebSearchandWebFetch
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл canon-npcs?
Workflow for researching and adapting folklore/historical figures into NPCs
Как установить скилл canon-npcs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл canon-npcs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…