Sage Wiki Integrate logo

Sage Wiki Integrate

Community
xoai
sage-wiki-integrate

Pipeline skill that wires sage-wiki into an existing project — detects language, installs the client, runs a smoke test, and reports.

Overview

Publisherxoai
Repositorysage-wiki
Skill namesage-wiki-integrate
Stars
624
Forks
102
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by xoai on GitHub. Read the source before you install it.

Installation

Install the Sage Wiki Integrate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/xoai/sage-wiki/tree/main/skills/sage-wiki-integrate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xoai/sage-wiki.git /tmp/sage-wiki
mkdir -p .claude/skills
cp -r /tmp/sage-wiki/skills/sage-wiki-integrate .claude/skills/sage-wiki-integrate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sage Wiki Integrate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sage Wiki Integrate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sage Wiki Integrate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

sage-wiki-integrate

Wires sage-wiki into an existing repository so the coding assistant can store and retrieve knowledge with provenance. Test-first — every step is verified before proceeding.

Step 1: Detect language

Check the project root for language markers:

MarkerLanguageIntegration path
pyproject.tomlPythonpip install sagewiki (Python client, P4-3)
package.jsonTypeScript / JavaScriptnpm install sagewiki (TypeScript client, P4-4)
NeitherAnyMCP stdio config

Step 2: Choose integration path

Python (pyproject.toml found)

bash
pip install sagewiki
python
from sagewiki import Client

client = Client(base_url="http://localhost:3333/v1")
# If token-protected:
# client = Client(base_url="http://localhost:3333/v1", token="s3cret")

TypeScript (package.json found)

bash
npm install sagewiki
typescript
import { Client } from "sagewiki";

const client = new Client({ baseUrl: "http://localhost:3333/v1" });
// If token-protected:
// const client = new Client({ baseUrl: "http://localhost:3333/v1", token: "s3cret" });

Neither (MCP stdio)

Add to the project's MCP config:

json
{
  "mcpServers": {
    "sage-wiki": {
      "command": "sage-wiki",
      "args": ["serve", "--transport", "stdio", "--project", "."]
    }
  }
}

Step 3: Write a smoke test

Store a fact, search for it, verify it comes back:

Python smoke test:

python
# Store a fact via capture
resp = client.capture(content="smoke-test: sage-wiki integration works at {now}")
assert resp.status == "ok"

# Search for it
results = client.search(query="smoke-test sage-wiki integration")
assert len(results) > 0, "smoke test failed: no results for stored fact"
print("PASS: smoke test")

TypeScript smoke test:

typescript
const resp = await client.capture({ content: "smoke-test: sage-wiki integration works" });
const results = await client.search({ query: "smoke-test sage-wiki integration" });
console.assert(results.length > 0, "smoke test failed");
console.log("PASS: smoke test");

MCP smoke test (call wiki_capture then wiki_search via your MCP client):

Tool: wiki_capture
Args: { content: "smoke-test: sage-wiki integration works at {timestamp}" }
Expected: confirmation text, no error

Tool: wiki_search
Args: { query: "smoke-test sage-wiki integration" }
Expected: at least one result, no error

Step 4: Run the smoke test

Execute the chosen smoke test. If it fails:

  • Check the server is running (sage-wiki serve --ui)
  • Verify the token is correct (if auth is enabled)
  • Check the server logs for errors

Step 5: Report

After a successful smoke test, confirm:

  • sage-wiki is connected and reachable
  • The chosen integration path works
  • Store → search → verify cycle completes

Then refer to the sage-wiki reference skill for the full tool catalog, error codes, and opt-in features.

Pre-1.0 notice: Every surface here is experimental. Tool semantics, argument names, and REST routes may change between versions. Pin the version you depend on.

Generated by tools/skillgen — reference skill covers 19 tools.

Frequently asked questions

What does the Sage Wiki Integrate AI skill do?

Pipeline skill that wires sage-wiki into an existing project — detects language, installs the client, runs a smoke test, and reports.

Why use Sage Wiki Integrate on TypingMind?

Because you install it once and use it with any model. Sage Wiki Integrate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sage Wiki Integrate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/xoai/sage-wiki/tree/main/skills/sage-wiki-integrate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sage Wiki Integrate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sage Wiki Integrate?

As many as you like. As long as a model supports skills, you can use Sage Wiki Integrate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sage Wiki Integrate AI skill free?

Yes. It is published on GitHub by xoai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇