/creative-writing-skills:knowledge-layersfrom creative-writing-skills
Guides where to place project knowledge: AGENTS.md and .context/ beside what they describe, the KB for cross-cutting reasons, and work directories for in-progress state.
Ships in creative-writing-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Knowledge lives next to what it describes. Load /creative-writing-skills:qi-layer before writing
AGENTS.md or .context/.
| Place | What goes there | Reader |
|---|---|---|
Beside what it describes (AGENTS.md, .context/) | Knowledge about this directory and what's in it (code, chapters, docs), and its deferred work in .context/TODO (must-do) and FUTURE (nice-to-have) | An agent about to work in the directory |
| KB | Why the project is the way it is, where no one directory owns the reason; domain concepts; facts about the outside world | A future agent or the owner, without this work's context |
| Work directory | This work item's state: what's in progress, its decisions and their reasons, open questions, scratch | Agents on this work item |
Colocate first. Knowledge about one part of the project goes in its
AGENTS.md or .context/, even when it reads like a concept: a doc far from
what it describes isn't updated when that thing changes. The KB holds what
would survive rewriting any one part. Deferred work that spans
directories or needs outside visibility goes to the issue tracker.
A KB page says what the project does, or what the human chose it should do, and why: the reason, the fact or constraint behind it, and what would change it. The reason is the content. An agent that knows it can tell when it stops holding; an agent given only the verdict can only obey it. A rule whose reason nobody can state gets deleted. State the behavior and its reason without names, quotes or session IDs: a line lifted from a conversation reads as a ruling.
Organize by topic, not as a register of decisions: no decision IDs, no
decisions/ tree, no lists of rejected options. Keep a rejected option only
with the fact that sank it ("a fixed request deadline killed healthy long
generations"). Without its reason it reads as a ban nobody can re-examine.
Two things reach the KB: what the human chose, and what finished work established. An option they floated, a question they asked, or a list they gave without picking stays in the work directory until they choose. Read how they said it: "maybe X?" is not a choice, and a choice made with a hedge is written "for now" or "trying".
Before writing about some work, read the docs, AGENTS.md, .context/ and
comments it updated. Link to them and write only what they don't say. When
they say all of it, the KB gets a link or nothing.
Every choice a project records gave something up for what it gained, and
holds while that trade still pays. Write each as how things stand now, with
its reason and what it costs, beside the work it describes, so a later agent
can tell when the trade stops paying. Change it when the reason stops
holding or the human asks for something else (/creative-writing-skills:intent-modeling), and
update the page in the same change. A choice the human made, such as what
the product does for its users, changes when they say so: bring them the
evidence.
Write a choice as behavior and reason, not as a rule. Don't add a "must", "never" or "always" the human didn't say, or a line for what a careful agent protects unprompted, such as users' data or a passing build. Written down as a rule, it gets applied past its reason: an agent told that users' data must survive keeps pages and code whose only job is to keep old links working.
Instructions about how agents work (permissions, approvals, what needs the human, lessons from past mistakes) are not tradeoffs: follow them, and write them as instructions.
Every durable layer states the best current understanding and never narrates its own history. Delete superseded content, and content whose subject is gone, on sight, even with nothing to put in its place: agents reason from what they load, and stale knowledge is worse than a gap. Delete rather than move aside: version control is the archive, and a tree without it, other than a work directory, gets a copy before you delete. Commit untracked files before deleting them, and say in the commit message what went and why. The agent that owns a tree's content deletes from it; a structural role flags instead.
AGENTS.md and .context/ describe the tree that contains them: update
them in the same change as what they describe. In a code project,
resources/code.md maps this onto branches and merges.
A KB carries its own AGENTS.md, written per /creative-writing-skills:qi-layer. Read it before
writing; for that KB it wins over this skill. resources/bootstrap.md is a
starting layout for a new KB.
resources/capture.md./creative-writing-skills:md-validation checks links and diagrams.Flag what needs the human inline, with the date and both sides:
> [!FLAG] **Needs human review**: this page says X; `other-page.md` says Y.
> Both may be partly right. Flagged 2026-04-28.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub haowjy/creative-writing-skills --plugin creative-writing-skills25 skills in this plugin
/atlasLoad when the human wants a clickable top-down map of parts and relationships (codebase, design, story cast): Markdown pages with one Mermaid diagram each, viewer, and check. Its `resources/diagrams.md` holds diagram craft for any page./character-simLoad to speak as a specified character from what they know, how they talk, and what they feel now: in-character conversation, voice discovery, or a relationship pressure test. Pass the character, the story moment, and their style and character-state files.
/creative-researchLoad when a story needs factual grounding the writer doesn't have: historical detail, cultural texture, domain accuracy, or how other authors handled similar material. Pass the question and story context; returns a sourced report the writer can draw from.
Other plugins' skills for the same job