/wayfinder:author-knowledge-bundlefrom wayfinder
Create, edit, move, deprecate, or mirror content in an OKF knowledge bundle that a project's wayfinder.json binds to a Profile, at knowledge/ by default. Use before any write under the bundle, including creating a directory there, when asked to review bundle changes or produce a Profile Review Report, or when another skill needs the bundle's conventions.
Ships in wayfinder. 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.
The knowledge bundle is an Open Knowledge Format (OKF) bundle, at knowledge/
unless the project says otherwise. OKF is authoritative. The project-root
wayfinder.json binds the bundle to a Profile, and that Profile may build on
parents. Each Profile in the chain adds two things on top of OKF:
wayfinder validate enforces;wayfinder get installs into the project.This skill owns the OKF mechanics and the write sequence. The Profile skills own every convention beyond OKF. When a project asks you to author another bundle, substitute its path throughout and use its own binding. Never apply one bundle's binding to a sibling bundle or to a subdirectory.
Before writing, find the Profiles that govern the bundle:
wayfinder validate knowledge --output json | jq -r '.profile.chain[].id'
The chain is root first. It is present whenever a Profile was selected,
including when OKF fails and the Profile state is BLOCKED BY OKF, so you
can load the Profile skills before you repair an OKF error. For each id,
read .claude/skills/<id>/SKILL.md, or
.agents/skills/<id>/SKILL.md when only that copy exists, in chain order. A
later Profile adds to an earlier one and never relaxes it. Follow each skill's
routing for the write at hand.
Read profile.state for the assessment state: without a chain, it can be
NOT ASSESSED or BLOCKED BY OKF when OKF fails without a selected Profile.
Never guess a Profile or its rules. Diagnose:
| Diagnostic | Action |
|---|---|
config-missing, bundle-unbound, config-invalid | Report unusable binding; contextual review cannot run. |
profile-unresolved | During authorized authoring, run get and include lock/skills; otherwise report. Validation never fetches. |
profile-invalid, profile-unsupported, profile-timeout, profile-composition | No rule ran. Report; unsupported needs a matching engine or package migration, composition may need project additions repaired, invalid/timeout needs the Profile author. |
profile-skill-stale, missing installed skill from a package shipping one | Run get to install the locked skill; never edit installed copies. |
IDs above have the wayfinder/ prefix. A Profile with no skill contributes rules
but no judgment. See operations for
troubleshooting. Profile/release changes are migration: do them only when asked,
using its changelog/guidance. upgrade intentionally advances mutable refs.
Read the routed material before making the write. One write often touches several rows.
| Doing | Read first |
|---|---|
| Creating or editing a concept: frontmatter, sources, links | references/okf-authoring.md, then each Profile skill's routing |
| Creating a directory, placing, naming, moving, deprecating, deleting, mirroring | each Profile skill's routing |
Creating or regenerating an index.md | references/okf-authoring.md, then each Profile skill's routing |
| Profile Review, after any write or when asked | references/profile-assessment.md |
| Seeding a new bundle | the adopt-knowledge-bundle skill |
| Preparing a reusable bundle for installation | references/bundle-distribution.md |
| Anything no Profile skill covers | references/OKF-0.2.md |
A write is complete only when all of these exist:
index.md. If a Profile in the chain requires generated
indexes, run wayfinder validate <bundle> --fix. It writes them, then
validates. Never edit a generated index by hand. Without such a Profile,
--fix writes nothing and reports wayfinder/fix-not-applied. Update
each index.md the bundle keeps yourself, per OKF §8. A fix that writes
leaves okf's lock file, .okf.lock, at the bundle root; never commit it,
and add it to the project's .gitignore if it is missing.log.md entry for a lifecycle event, under today's ## YYYY-MM-DD
heading, newest first, as * **<Lead word>**: <what changed>. The Profile
skills say which events to log. A formatting-only change needs no entry.wayfinder validate <bundle> over the whole bundle. Repair
deterministic failures before finishing.If your host offers write tools built on Wayfinder's authoring library
(KnowledgeWriter in package:wayfinder/authoring.dart), such as create,
update, link and deprecate, prefer them to editing files. One call does steps
1 to 3 as one write: it writes the concept, rewrites only the generated
indexes the change affects, and records the log entry you pass exactly as
given. It judges the result before writing and refuses a write that adds an
error, naming the finding; repair what it names rather than editing around
it. It does not refuse an error the bundle already had, or a bundle no
Profile judged, so step 4 still applies: run wayfinder validate <bundle>,
or confirm the tool reports the candidate's gate as PASS. You still choose
the content and the log entry from each Profile skill, and you still run the
Profile Review in step 5.
Follow pinned OKF 0.2. Silence is neither prohibition
of its mechanisms nor permission to invent conventions. Useful lookups: Attested
Computation (§10), source usage/lineage (§5.1), body headings (§4.2), canonical
resource (§§4.1/6.2), tag views (§3.1) and v0.1 fallbacks (§13).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub btwld/wayfinder --plugin wayfinder5 skills in this plugin
/adopt-knowledge-bundleInitialize the knowledge bundle in this repository. Bind it to a Profile in wayfinder.json, install that Profile's skill with wayfinder get, seed the root files under knowledge/, and write the AGENTS.md blocks that point agents into the bundle. Use for each new bundle./assess-knowledge-bundleRun a deliberate whole-bundle Profile assessment of knowledge/, automated validation plus every judgment check of each Profile in the bundle's chain, and emit the standard Profile Review Report. Use for audits, adoption checks, and structural reorganizations./create-profileCreate, revise, or maintain a wayfinder Profile package for OKF knowledge bundles. Grounds in the author's corpus, asks first what a machine must enforce and what is judgment, writes the package's rules with tests and its agent skill, proves both against a synthetic Git source, releases it, and keeps it current. Use for /create-profile, "make a Profile for our bundles", "turn our conventions into a Profile", or changing an existing Profile's rules or judgment./use-wayfinderFind and verify recorded project knowledge with Wayfinder semantic search, or index, validate, and inspect an OKF bundle. Use when questions depend on recorded decisions, requirements, ownership, or rationale. Use direct reads for known paths and enumeration for exact counts.