sage-wiki
Skill by xoai
sage-wiki is a local-first knowledge graph that compiles documents into an interlinked, Obsidian-compatible wiki. It exposes 19 MCP tools over stdio or SSE and a versioned REST API. The source describes it as a reference skill for sage-wiki.
Install sage-wiki
Built from the published package, never by AI.
git clone --depth 1 https://github.com/xoai/sage-wiki /tmp/sage-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/sage-wiki/skills/sage-wiki ~/.claude/skills/sage-wikiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/xoai/sage-wiki /tmp/sage-wiki && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sage-wiki/skills/sage-wiki ~/.gemini/antigravity-cli/skills/sage-wikiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
sage-wiki is a local-first knowledge graph that compiles documents into an interlinked, human-readable wiki with provenance. Its output is Obsidian-compatible markdown. The skill exposes 19 MCP tools over stdio or SSE, and a versioned REST API under /v1/ when the server runs with --ui.
Documents move through a compile pipeline (diff, summarize, extract concepts, write articles) and can be searched with hybrid BM25 and vector retrieval, plus graph queries over ontology edges. Compile and lint run as async jobs. Sources are assigned tier 0, 1 or 3, which sets how deep the compile goes. The source describes it as a reference skill for the project, aimed at connecting a local wiki to an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- wiki_searchSearches the wiki with hybrid BM25 and vector retrieval, fused with ontology-graph proximity.
- wiki_queryAsks a free-form question and returns a cited answer, filed to wiki/under_review/ by default.
- wiki_graph_queryAnswers relational questions by traversing the graph, with source_doc and confidence citations.
- wiki_compileRuns the full compile pipeline as an async job: diff, summarize, extract concepts, write articles.
- wiki_captureCaptures knowledge from a conversation or text into the wiki.
- wiki_add_sourceAdds a source file to a source folder and updates the manifest.
- wiki_readReads the full content of a wiki article by path.
- wiki_provenanceShows source-article provenance for an article or source.
- wiki_lintRuns linting passes on the wiki, optionally with fixes, as an async job.
- wiki_statusShows wiki stats: sources, concepts, entries, vectors, entities and relations.
What you need
- The sage-wiki command-line tool installed
- A wiki project folder passed with --project
- A Bearer token (SAGE_WIKI_TOKEN) for non-loopback REST access
- LLM access for compile and query operations, which spend LLM budget
Try asking
- Search my sage-wiki for notes about our onboarding process
- Ask the wiki what we decided about the billing migration, with citations
- Show the compile diff and run a compile on my new sources
Good to know
- Pre-1.0 and experimental: tool names, arguments and REST routes may change.
- Tier 3 full compile takes about 5 to 8 minutes per document.
- Capture content over 100 KB is rejected with payload_too_large.
- Triples, entity resolution and communities are off by default and must be enabled in config.yaml.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/sage-wiki/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sage-wiki
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
sage-wiki: common questions
Does sage-wiki run locally?
The source describes it as local-first. The MCP server runs as a subprocess over stdio, and loopback REST access needs no extra config.
What output does sage-wiki produce?
It produces Obsidian-compatible markdown, compiled into an interlinked wiki with provenance.
Is sage-wiki stable enough to depend on?
The source calls every surface experimental before 1.0. Tool semantics and routes may change between versions, so pin the version you use.
How do I install sage-wiki?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sage-wiki free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sage-wiki safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sage-wiki?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
