Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
haowjy avatar

Kb Management

  • 266 installs
  • 384 repo stars
  • Updated July 31, 2026
  • haowjy/creative-writing-skills

Keep a fiction or long-form writing repo’s `kb/` wiki aligned with canon, voice, and vocab so every agent shares the same story memory.

About

KB Management is an agent skill for creative-writing projects that use a shared `kb/` directory as durable story memory. Solo builders and small writing teams install it when finalized chapters, character arcs, or world rules need to be captured as canon and synthesized into wiki pages every downstream agent can read. It explains how canon differs from living wiki reference, how style files anchor voice for writer and critic agents, how vocabulary and aliases stay consistent project-wide and per domain, and when to track multi-chapter issues elsewhere. The skill emphasizes one concept per document, splitting overloaded pages, and merging duplicate explanations so context windows stay focused. It is not a generic markdown linter—it is procedural knowledge for long-form narrative workflows where contradiction breaks reader trust. Use it whenever you promote draft facts to canon, refactor kb structure, or onboard new agents to an existing story bible.

  • Layers: canon, wiki, styles, vocab, and cross-chapter issues
  • One concept per document rule with split/merge guidance
  • Canon discipline after chapters are finalized to protect reader trust
  • Project-wide `kb/vocab.md` plus domain vocab beside governed topics
  • Ties to writing-issues skill for recurring prose problems

Kb Management by the numbers

  • 266 all-time installs (skills.sh)
  • +38 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #468 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/haowjy/creative-writing-skills --skill kb-management

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs266
repo stars384
Last updatedJuly 31, 2026
Repositoryhaowjy/creative-writing-skills

What it does

Keep a fiction or long-form writing repo’s `kb/` wiki aligned with canon, voice, and vocab so every agent shares the same story memory.

Files

SKILL.mdMarkdownGitHub ↗

KB Management

The knowledge base (kb/) is the project's durable memory. Every agent reads from it for context. This skill covers how to maintain it well.

Layers

Canon: established facts the story has committed to. Once a chapter is published/finalized, the facts it establishes are canon. Contradicting canon breaks reader trust.

Wiki: synthesized reference pages. How the magic system works, character relationships, faction politics. Living documents that evolve as the story develops.

Styles: voice reference files derived from prose samples. The writer and critic agents depend on these for voice consistency.

Vocab: canonical story terms, aliases, and exclusions. Project-wide terms live in kb/vocab.md; domain terms live beside the domain they govern, such as kb/world/vocab.md.

Issues: tracked writing problems that span multiple chapters (recurring tics, pacing patterns, continuity errors). See the writing-issues skill.

Page Conventions

One Concept Per Document

Each doc covers one coherent topic: one character, one location, one system. When a doc covers two unrelated topics, split it. When two docs explain the same thing from different angles, merge or cross-reference.

Name files by what they describe (fire-magic.md, protagonist.md), not when they were written (session-3-notes.md).

Organization

kb/
  characters/
    <name>.md              # one file per character
  vocab.md                 # project-wide canonical terms
  world/
    vocab.md               # worldbuilding terms when needed
    <topic>.md             # locations, factions, systems
    <domain>/
      vocab.md             # subdomain terms when needed
      <topic>.md           # nest when a domain has many pages
  timeline/
    <arc-or-period>.md     # chronological entries
  canon/
    <chapter-or-arc>.md    # hard facts per chapter/arc
  styles/
    <style-name>.md        # voice reference files
  issues/
    <issue-name>.md        # tracked writing problems

The project's CLAUDE.md may customize this. Read it first.

Linking

Link to related pages with relative paths. Cross-reference instead of duplicating: one source of truth per concept. A character page links to the location page for their home, the timeline entry for their arc, etc.

Readability

Write pages that work in isolation:

  • Self-contained: enough context that a reader doesn't need three

other pages first

  • Scannable: headers, bullets, tables. Bold key terms on first use.
  • Concrete: specific quotes, chapter references, scene citations
  • Current: update when the story invalidates or extends what's here

Vocab Pages

Use vocab pages when terms matter across agents: magic names, faction labels, place names, titles, relationship labels, invented words, recurring in-world phrases, and genre terms with project-specific meanings.

Each entry should include:

  • Canonical name: the form agents should use
  • Definition: one to three sentences, including what the term is not when ambiguity is likely
  • Aliases: names the author, characters, drafts, or older kb pages actually use
  • Source: where the usage was established or decided

Resolve conflicts early. If two terms seem to name the same thing, pick the canonical form with the author or flag it in the report instead of carrying both forward silently.

When to Create vs Update

Create a new page when a concept is finalized enough to be referenced by other agents. Don't create pages for things still in brainstorming.

Update an existing page when new chapters establish facts about it, when the author makes decisions that change it, or when a page has become stale.

Split when a page grows past ~200 lines or covers multiple unrelated concepts.

What Belongs in KB vs Work

  • Finalized knowledge → kb/
  • Draft iterations, brainstorm captures, critique reports → work/
  • Promoted facts after a draft completes → kb/canon/ or relevant wiki page

The chronicler agent handles routine extraction from completed chapters. Direct kb edits are for the author or muse when capturing decisions interactively.

Related skills

Documentationworkflownotes

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.