@manti-by/openwikiOpenCode plugin that scaffolds a per-project session wiki (commands, templates, and the wiki/ directory). Install-only — no background agent, no event hooks.
1
780
43 in 7 days
40.0
Multi-signal model
10 days ago
2026-08-09
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@manti-by/openwiki@0.4.1-a"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@manti-by/openwiki@0.4.1-a"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @manti-by/openwikiopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
An OpenCode plugin that scaffolds a per-project session wiki.
On plugin load OpenWiki copies the bundled /wiki-* slash commands into your
project's .opencode/commands/ and writes the wiki/ scaffold
(README.md, TEMPLATE.md, INDEX.md, QUESTIONS.md) from the bundled
templates with <PROJECT_NAME> substituted to the directory name. That's the
whole plugin — no background agent, no event hooks, no automatic page creation.
Fill in the wiki by hand or wire your own process up to the templates.
Install
Add the package to your project's opencode.json:
{
"plugin": ["@manti-by/openwiki"]
}
(Until published, point OpenCode at this directory directly — copy or symlink it
into .opencode/plugins/openwiki.)
Restart OpenCode. On first load the plugin writes its commands into
.opencode/commands/ and scaffolds wiki/. Re-running OpenCode is a no-op for
files the user has already customised.
Configuration
None. The plugin performs only file copies on disk; it does not read any other config files, does not talk to providers, and does not register any background work.
Layout
src/ TypeScript plugin source (compiled to dist/ by bun build)
templates/ wiki/ scaffold: README.md, TEMPLATE.md, INDEX.md, QUESTIONS.md
commands/ /wiki-consistency, /wiki-dedup, /wiki-update command definitions
dist/ Compiled plugin output (generated, not committed)
Development
Built with Bun and TypeScript.
bun install # install dependencies
bun run build # compile src/ to dist/
bun test # run tests
bun run typecheck # type-check without emitting
bun run lint # lint & format-check with Biome
bun run format # auto-fix with Biome