/nimbalyst-wiki:setupfrom nimbalyst-wiki
Sets up a project wiki with a Home page, starter pages, and a writing guide. Checks existing content, creates missing pages, and preserves user content.
Ships in nimbalyst-wiki. 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.
Leave the person with a wiki they can read and navigate: a populated Home, useful starter pages, and a writing guide. Types and relations are optional; defining them alone is not setup. For a request limited to checking setup or adding a type or relation, do only that work.
Check what exists first. Create missing pages, fill empty bodies, and add missing context or links with small edits that preserve existing prose. Never delete, rename, archive, or replace a person's content without their approval. Re-running setup must not duplicate pages, sections, or links.
The base guide is references/wiki-guide.md next to this file. Example relations are in ../update/references/relations.yaml.
On a local wiki, follow "On a local wiki" at the end of this skill instead of this step.
Setup works on a team project's pages on the Nimbalyst server. Follow the connect skill first: pages_status must report bound, and every call below takes the same repo and project arguments. A project created with pages_create_project already has its Home page. Types defined here are always the team's.
Read only; change nothing in this step.
listPages and readCollabDoc. Follow the project's guide and the update skill (/nimbalyst-wiki:update) for all page writing, marks, citations, and links.searchPages before deciding a page is missing; reuse equivalent pages even when their titles differ. If a listing is truncated, follow its continuation before concluding something does not exist. Keep all reads and writes in the chosen project and section.tracker_list_types: the types that exist, any extends, and the relations (predicates) that exist.entity, claim, question, finding, investigation, ontology-proposal, project types that held decisions (keystone, decision-exploration), .nimbalyst/labels.yaml, predicates whose only subjectKinds is entity, and an entity titled "How we write this wiki". Report them as "earlier model, left in place". Do not edit or remove them, do not add labels or vocabulary packs, and never pass labels to tracker_define_type. Offer the move into pages as a separate job the person starts (../update/references/migrating-v1.md).For a new wiki or a substantial setup repair, have a short discovery conversation before writing. Use what the person already said and what the project contains; ask about the remaining choices that would change the result. Do not treat a repository's contents as proof of the person's intended audience or purpose. Skip this step for a narrow type/relation change or a check-only request unless a missing answer blocks that task.
The default is a strategic project wiki (references/strategic-wiki.md): Home as a dashboard of the big picture that a reader drills into, with Product and its Modules, Initiatives, Decisions, Team, and Strategy behind it. Propose it unless the brief or the answers call for something else; a research notebook or a personal reference may need only Home and a few pages.
Use the host's interactive question tool, in one prompt with a few fields. Pre-fill every field from what you found in step 1, so the person corrects a draft instead of inventing one; where the tool cannot edit a draft, show it and offer "use as drafted" with room for corrections. Cover:
Ask about sources and boundaries (which material should inform it, what stays out) and depth only when they are unclear.
Wait for the answers before making dependent choices. Ask a follow-up only when an answer leaves a consequential ambiguity; do not turn setup into a questionnaire or repeatedly confirm settled choices. If the brief already answers these questions, proceed. If the person explicitly delegates the choices, use project-grounded defaults, leave unknown owners, health and positions empty, and state the assumptions.
Use the answers to choose the pages, their depth, and the types. Reflect the intended audience and purpose in Home. A research wiki need not inherit a software project's sections. Once the direction is clear, build the wiki; do not require a separate approval for each ordinary page creation.
references/wiki-guide.md, unchanged; its last line names the version.pages_status returns its guideLink when the project has one; listPages gives its uri, which you read with readCollabDoc.createSharedDoc (section, title: How we write this wiki, no parent, after the Home page's node when there is one, initialContent = the base text). Read it back at the returned uri and confirm the text is there.entity titled "How we write this wiki"): leave it. Offer to create the new page and carry over the team's own edits that still apply; create it only after the person approves the merged text.If the guide page exists, never overwrite it. Compare it with the base, ignoring whitespace:
When it differs, offer a diff and a merge that keeps every team edit and proposes only the base changes that do not conflict. A section or table the base added (version 7 added "Our visual defaults") does not conflict: propose it whole, at the base's position. If the team already wrote a section on the same subject, keep theirs and propose only the rows or points it lacks; a row the team changed stays as they wrote it. Update the version line only as part of the approved merge. Write it with applyCollabDocEdit only after the person approves the merged text. A team that rewrote the guide on purpose may decline; that is final until they ask again.
Do this as part of setup, without handing the person a second command to run. Read references/strategic-wiki.md first: it has the page tree, the skeleton of every page, the three types, and what changes on each kind of wiki. Draw each visual with what the guide's "Our visual defaults" table names for that need (the update skill's "Choosing a visual" says what to do when the guide has no table, or picks something this host cannot make). For the syntax of each block, read its entry in the update skill's ../update/references/components.md and ../update/references/editor-pages.md; do not write a component from memory.
link, viewLink, uri and ids the tools return; never guess identifiers.createSharedDoc. Make it the dashboard from the reference: what the project is and who it serves, the product map, the initiatives with their status and health, open questions and recent decisions, and start-here links. A new Home holds starter text that Nimbalyst wrote ("This is your personal home page...", the team Home's welcome and how-to-add-a-page lines, or "This is the project's local wiki, a folder of markdown pages that Nimbalyst, nim and agents read and edit." with its tip and two lists); replace that starter text rather than adding below it. A Home a person wrote keeps its wording and layout: add the dashboard parts it lacks below what they wrote, or propose the dashboard and ask before rearranging it.summary, a status (current for what is true now, draft while it is thin), and an owner when the person told you who keeps it current, with setPageFields.initialContent and the appropriate parentFolderId, in the reference's tree, or the existing layout when there is one. Home links the guide and every section. Link related pages in their prose: modules to the modules they depend on, initiatives to the modules they touch, owners to what they own. Do not leave empty section shells or disconnected pages and call setup complete.applyCollabDocEdit. Fill empty pages and add only missing material; leave established wording and custom navigation intact. If a change would replace them, ask first. A failed or ambiguous write needs a read-back before retrying creation.Define types only when the person asks or agrees, including during discovery; do not ask again about an agreed type. Agreeing to the default sections agrees to the types they use: Module (Product), Initiative (Initiatives) and Competitor (Strategy), as references/strategic-wiki.md defines them. Beyond those, ask what the team keeps several of and would want in a table. Suggest from what the project already discusses (technology, customer, person are common); the team decides. A type for a single page is not a type.
Reuse first. Match on id and display name in tracker_list_types. If the project already has a fitting type (for example a competitor type), use it.
Define with tracker_define_type and schema. Keep it small: title plus two to four single-valued fields (select, string, number, boolean, user, date); Initiative is the one exception, for its status line. Only single-valued fields show in a page header. No labels, kind or qualifier fields. Do not name a field activity, comments, source, content, origin, created, updated, type or id: Nimbalyst keeps these for an item's own data, so such a field saves but never shows. Pick a more specific name (activityLevel, sourceUrl).
List the table columns in tableView.defaultColumns: the fields the team wants to scan in the type's table, in order. A field that is not listed there is not a column until someone adds it.
{
"type": "technology",
"displayName": "Technology",
"displayNamePlural": "Technologies",
"icon": "memory",
"color": "#7c3aed",
"modes": { "inline": true, "fullDocument": true },
"idPrefix": "tech",
"idFormat": "ulid",
"fields": [
{ "name": "title", "type": "string", "required": true },
{ "name": "maturity", "type": "select", "options": [
{ "value": "ga", "label": "Generally available" },
{ "value": "beta", "label": "Beta" },
{ "value": "deprecated", "label": "Deprecated" }
] },
{ "name": "inStack", "type": "boolean" }
],
"roles": { "title": "title" },
"tableView": { "defaultColumns": ["maturity", "inStack"] }
}
Subtypes set extends: <base type> and declare only what they add ({ "type": "library", "extends": "technology", "displayName": "Library", "displayNamePlural": "Libraries" }). A subtype's pages show in its base type's table and nest inside it in the tree.
Existing types: never pass overwrite without the person's approval, and then keep every existing field and option. Never pass confirmDestructive on your own.
Place each new type where the person wants it with moveSharedItem (kind: type, itemId = the type id, newParentFolderId = the parent page, or none for the top of the section). A subtype is not placed; it shows inside its base. Write two or three sentences on an empty type page saying what belongs in it, and link it from the relevant overview. Do not create sample items just to fill its table.
Check one type table after creating types: open it and confirm the columns the team wanted are there. Checking the type definitions alone does not show what the table shows.
Add a relation when the team links two of its types often and the link means one specific thing ("built on", "competes with"). Each one is a predicate with:
id (kebab-case), label, and inverseLabel (how it reads from the other page; the same as label when direction: symmetric)subjectKinds: the types a link can be written on; objectKinds: the types it can point at. Use the project's type ids; subtypes are covered through extends.valueShape: entity and direction: directed or symmetric. No qualifiers.Copy the shape from ../update/references/relations.yaml, renamed to the project's types, and send only new ids with tracker_define_type (predicates: [...]; it merges by id and keeps the rest). Do not add generic relations ("related to", "depends on"): a plain link says that already.
objectKinds to an existing predicate narrows it and counts as destructive. Propose it to the person; only with their approval pass confirmDestructive.removePredicates.Read back every created or edited page and check its content, tree placement, and links against the person's intended use. Setup is complete only when Home introduces the project and shows its dashboard parts (or their "Not filled in yet" notes), links to the guide and every section, and those pages address the agreed priorities with grounded content or clearly stated gaps. Open Home and one section where the host can show them, and check that every embed, view and block renders rather than showing as text or a link. Report blocked writes or missing context as incomplete; successful type creation is not a substitute.
Lead the report with a link to Home and the pages created or filled. Briefly note any types or relations added, earlier-model content left in place, conflicts, and the parts left "Not filled in yet" with what would fill them. When a part could not be built here (the product map, from a terminal), say where it can be. Tell the person that the guide's "Our visual defaults" table is where the team changes which visual the wiki uses for each need. For a check-only request, report these findings without making changes.
When the connect skill chose the local wiki (or the person asked for one), set it up with the nimbalyst-local server's tools. Everything above applies, with these differences:
Create it first if there is none: initLocalWiki, after asking where it should live as the connect skill describes (default nimbalyst-local/wiki, kept out of git; or a checked-in folder such as docs/wiki). It creates the Home page.
No project or pages_status. Find the guide and Home with listPages.
Links in Home and every page are relative paths carrying the target's id, as the update skill's "On a local wiki" says, never console links.
Types are files, not a tool call: there is no tracker_define_type here. Write .nimbalyst/trackers/<type>.yaml with the same fields as the JSON above, in YAML, plus storage: pages (one markdown page per item, with a body and child pages). Use storage: table (one CSV of rows: fields only, no body, no children) only when the person asks for a table; a list that later needs notes has to be converted. To convert a table type, call convertTypeStorage (storage: pages); it keeps item ids and field values, so never move the CSV or edit storage: by hand. Leave out sharing. If tracker_list_types reports problems for a type, fix the type file. Check tracker_list_types first and never overwrite an existing type file without the person's approval. Place a table type under a page with moveSharedItem (kind: type).
Relations, placed views and marks lists are team-wiki features; skip step 6 on a local wiki. The reference's "Local wiki" part says what stands in for each view on Home and the sections.
Paths. When you draft a page from sources, a Module from its folder or a section from part of the code, record the folders it summarized in its paths field: setPageFields for a plain page, tracker_update fields for a typed one. Keep the globs coarse, a folder (src/sync/**) rather than a list of files. pagesForFiles then finds the page when that code changes. A page drawn from people's answers, not code, has no paths.
The instruction file, once: offer to add these lines to the repository's CLAUDE.md, or AGENTS.md when that is the file the repository uses, with the wiki folder filled in. Those files are the person's and teammates without the plugin read them too, so write only on a yes, and leave a file that already mentions the wiki alone. For a wiki under the gitignored nimbalyst-local/, teammates do not have the folder: offer CLAUDE.local.md (Claude Code's uncommitted personal file) instead, and with only AGENTS.md, say the lines would point teammates at a folder they lack.
## Project wiki
Decisions and context for this project are in the wiki at `<wiki folder>/` (start at `Home.md`). Before changing an area, read the pages that cover it; a page's `paths` field names the code it explains.
After deciding something, record it in the page it affects with the nimbalyst-wiki plugin's `/nimbalyst-wiki:capture` skill.
When you finish, offer to open the wiki in the browser with openWikiInBrowser.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wiki-setup, project-wiki, knowledge-base, documentation-setup
npx claudepluginhub nimbalyst/nimbalyst-wiki --plugin nimbalyst-wiki7 skills in this plugin
/captureRecord what people decided in this session in the wiki pages it affects (team or local wiki). Use when the user asks to capture or record what the session decided, or when a wiki reminder asks you to./connectChoose which wiki this session uses, the team project's pages on the Nimbalyst server or the project's local wiki of files, and connect a repository to its team project. Use at the start of a task before any wiki tool, when a wiki tool returns repo_not_bound, ambiguous_project, pin_mismatch, project_not_accessible, admin_required or "No local wiki", or when the user asks to connect a repository or start a wiki. How to write pages is in the update skill./recallAnswer from the project's wiki what was decided, why, and what it says about an area. Use when the user asks "why did we", "what did we decide", "is there a decision on" or "what does the wiki say", and before starting design or a non-trivial change in an area the wiki may cover./startStart using Nimbalyst Wiki: show how agents build a local wiki, capture decisions, track typed pages, open the local browser view, and optionally use a team wiki. Use when the user asks what this plugin does, which skills it has, or how to begin./teamPut this project's wiki on Nimbalyst Teams: sign in, create or choose the team project, move the local wiki into it in one step or publish it there for review while the files stay the source, open it in the browser, and invite teammates or reviewers. Use when the user asks to move the local wiki to Teams, share the wiki with their team or with reviewers, publish it for feedback, create a team, or invite people to the wiki./updateWrite and maintain project wiki pages, decisions, and links. Use for any wiki page, including architecture or product maps, diagrams, HTML pages and other visuals, and before changing code a page covers.2 plugins ship this exact skill · first indexed Oct 15, 2026
Other plugins' skills for the same job