Install agwiki, the agent-based wiki CLI, via Homebrew.
agwiki helps you manage markdown wikis: init scaffolding, agent-driven ingest via aikit, validate (wikilinks + orphan pages), and export a wiki slice as an Agent Skill.
- macOS (Apple Silicon arm64, Intel x86_64)
- Linux (x86_64; formula may select GNU or musl builds per glibc)
brew install goagwiki/cli/agwikiHomebrew installs the binary for your host architecture.
ingest,validate, andexport-skillaccept-C/--wiki-root(content repo withwiki/); if omitted, the current working directory is used.ingestreads<wiki-root>/ingest.md; the file must exist or the command fails. Copy the default from agwikiprompts/ingest.mdtoingest.mdin your wiki if needed. The template may use{{INGEST_PATH}}and{{WIKI_ROOT}}(filled byagwiki).ingestrequiresaikitonPATH. It runsaikit run --eventsso NDJSON event lines print on stdout for progress.-a/--agentis required (no default); optional-mand--streamlikeaikit run.
agwiki --version
# New wiki root (agwiki.toml, dirs, ingest.md)
agwiki init ~/my-wiki
# Agent ingest (requires ~/my-wiki/ingest.md and -a); stdout is aikit --events NDJSON
agwiki ingest -C ~/my-wiki -a opencode ~/my-wiki/raw/article.md
cd ~/my-wiki && agwiki ingest -a opencode ./raw/article.md
# Broken links + orphan pages (exit 1 if any); optional --format json
agwiki validate -C ~/my-wiki
agwiki validate --format json
# Build skill/ from wiki (template + index-driven section list)
agwiki export-skill -C ~/my-wiki --pruneUse agwiki <subcommand> --help for flags (including after_help examples).
brew upgrade agwikibrew uninstall agwiki
brew untap goagwiki/cli