sage-wiki SKILL.md skillA
sage-wiki from xoai/sage-wiki is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xoai/sage-wiki/sage-wiki@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xoai/sage-wiki
- Path
skills/sage-wiki/SKILL.md- Versions recorded
- 3
- Latest version
- v0.1.0, committed Aug 1, 2026
- First version recorded
- Jul 30, 2026
- Size
- 9,784 bytes
- Repository stars
- 650
- License
- MIT
Reference skill for sage-wiki — local-first knowledge graph with MCP server, REST API, compiled wiki, and Obsidian-compatible output.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# sage-wiki
Local-first knowledge graph that compiles documents into an interlinked, human-readable wiki with provenance. Exposes 19 MCP tools over stdio/SSE and a versioned REST API under `/v1/`. Output is Obsidian-compatible markdown.
## How to connect
**MCP (primary):** The server runs as a subprocess over stdio, or over SSE/HTTP:
```json
{
"mcpServers": {
"sage-wiki": {
"command": "sage-wiki",
"args": ["serve", "--transport", "stdio", "--project", "/path/to/wiki"]
}
}
}
```
**REST (`/v1/`):** When the server is running with `--ui`, the REST facade is at `/v1/`. Auth is Bearer-token (same as `SAGE_WIKI_TOKEN`); loopback is zero-config. All errors use a fixed `{error: {code, message, details}}` envelope.
## The 19 MCP Tools
### `wiki_add_ontology` (write)
Create an ontology entity or relation.
- **REST:** POST /v1/ontology/entities / POST /v1/ontology/relations
| Argument | Type | Required | Default |
|----------|------|----------|---------|
| `entity_id` | string | no | — |
| `entity_name` | string | no | — |
| `entity_type` | string | no | — |
| `relation` | string | no | — |
| `source_id` | string | no | — |
| `target_id` | string | no | — |
…Read the whole file at its exact version.
How to install
mdr add xoai/sage-wiki/sage-wiki@sha256:edb7aa8691a63e03The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hobaehrjegnsarpp)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 30, 2026 and Aug 1, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-08-01 | dd5b1b6 | 9,784 B | A | view · diff |
| v0.1.0 | 2026-07-31 | e99e460 | 9,760 B | A | view · diff |
| v0.1.0 | 2026-07-30 | d3c43ee | 9,286 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9784 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xoai/sage-wiki · 650 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hobaehrjegnsarpp GET https://markdownregistry.com/api/v1/resolve?ref=xoai/sage-wiki/sage-wiki GET https://markdownregistry.com/api/v1/blob/edb7aa8691a63e038bfd254290f6371e2497cc91047ca7a9a7c2009a5f0397b2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.