Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 79
  • 663 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-wiki

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sage-wiki in Claude Code

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

A

No 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 →

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.

sage-wiki Install

Add to stack

Loading.