/openwiki:generate [optional focus, e.g. 'emphasize the billing domain']from openwiki
Generates an OpenWiki-format documentation wiki for a repository using Claude Code's own inference without an API key. Use to create, initialize, or bootstrap repo documentation.
Ships in openwiki. 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.
None: SKILL.md is the whole skill.
Build a first-pass OpenWiki-format wiki for the current repository, doing the work yourself with
your own tools (Read, Grep, Glob, Write, Edit, Bash for git). Do not call the openwiki CLI and
do not require any API key — you are the inference engine, which is what the user already pays
for.
First, read the format spec: ${CLAUDE_PLUGIN_ROOT}/reference/openwiki-format.md. It is the
source of truth for layout, the metadata file, the exact AGENTS.md/CLAUDE.md reference block,
writing principles, section rules, and security rules. Follow it precisely so output is compatible
with the OpenWiki CLI.
openwiki/ already exists with real content, tell the user
and switch to the update behavior (/openwiki:update) instead of overwriting. Never clobber an
existing wiki.git rev-parse HEAD (capture for
metadata) and skim recent history (git log --oneline -20) for high-signal context. If it's not
a git repo, proceed and use an empty gitHead.rg --files with excludes (.git, node_modules, dist, build, caches, openwiki/) and
short targeted reads. Do not read every file. For a large repo with several independent domains,
you may dispatch 1–2 read-only Explore subagents to summarize domains in parallel — they must
only inspect and report, never write.openwiki/_plan.md listing intended pages, the source evidence for
each, and open questions. You will delete it in step 7.openwiki/quickstart.md first (overview + links to every section),
then the smallest set of linked section pages that explains the repo well. Respect the init cap
(~8 pages max; tiny repos: quickstart + 1–2 pages). Ground every claim in evidence with inline
source references. Capture both technical detail and business/product logic, and change-oriented
guidance for future agents.AGENTS.md/CLAUDE.md per the rules there.openwiki/_plan.md. Review the openwiki/ tree and merge/remove any thin
or single-file-directory pages.openwiki/.last-update.json with command: "init", updatedAt from
date -u +%Y-%m-%dT%H:%M:%S.000Z (run it — don't guess the time), the gitHead from step 2, and
model set to your Claude Code model id (or "claude-code").Keep everything under openwiki/ except the top-level agent instruction files. Never document
secrets or read .env files.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/askOpenWiki: askAnswer a question about this repository using the maintained OpenWiki wiki (the openwiki/ directory) as the primary source. Use when the user asks a "how does X work / where is Y / explain Z" question about the codebase and an openwiki/ wiki exists, or says /openwiki:ask./scheduleOpenWiki: schedule automatic updatesSet up automatic recurring (e.g. daily) updates of the OpenWiki wiki, running on Claude Code's own inference with no API key. Use when the user wants the wiki to refresh itself on a schedule / daily / automatically, or says /openwiki:schedule./updatenpx claudepluginhub jatinmayekar/openwiki-for-claude-code --plugin openwikiOther plugins' skills for the same job