Sw Search logo

Sw Search

Community
mhmtsrfglu
sw-search

Use when the user asks the Superwiki vault a question in plain words, such as what the wiki says about something, whether anything is recorded on a topic, or what was decided and where it is written down, or invokes sw-search. Not for a reported bug or failure (sw-triage) or a question about one task (sw-explain).

Overview

Publishermhmtsrfglu
Repositorysuperwiki
Skill namesw-search
Stars
31
Forks
3
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 mhmtsrfglu on GitHub. Read the source before you install it.

Installation

Install the Sw Search 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/mhmtsrfglu/superwiki/tree/main/skills/sw-search
  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/mhmtsrfglu/superwiki.git /tmp/superwiki
mkdir -p .claude/skills
cp -r /tmp/superwiki/skills/sw-search .claude/skills/sw-search
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sw Search 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 Sw Search 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 Sw Search 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.

sw-search

Answers a question from the vault, every claim with its reference. Changes no file.

Run commands from the project root.

Steps

  1. Turn the question into two to five content words and any ids it names, in the language the vault is written in, and run node docs/.sw/sw.mjs search <terms>. It lists the pages, raw sources and log entries that mention the words, best match first, each with the matching line and the heading it sits under. No page: run it once more with synonyms or fewer terms. The vault is the only record of earlier sessions this skill can read; on Copilot the user can run /chronicle search <words> (Copilot CLI) or /chronicle:search <words> (VS Code Copilot Chat), which searches Copilot's own session store, to find an earlier session of the project and resume it. Name it when the vault has no record of the topic, and say that the skill cannot run it.

  2. Read the catalog lines of docs/index.md that mention the terms. A page the catalog describes as the topic belongs in the answer even when the search ranked it low.

  3. Open at most four hits, in this order: lessons and decisions, other wiki pages, tasks and plans, and of a raw source only the section the heading names. Log entries are used as the search printed them, not opened.

  4. Answer in the user's language. Each claim carries its reference:

    • a wiki page, task or plan: [[page]], [[T-12]], [[T-12-plan]];
    • a raw source: [title](docs/raw/<file>), naming the section;
    • a log entry: log <date> <kind> | <title>.

    A claim no page supports is said to be not recorded in the vault. It is not taken from the code or from memory; looking in the code is offered as a separate step. No hit at all: say so and name the pages nearest the question.

The answer is given in chat and nothing is written to the vault: no page, no log entry, no offer to save the answer.

Frequently asked questions

What does the Sw Search AI skill do?

Use when the user asks the Superwiki vault a question in plain words, such as what the wiki says about something, whether anything is recorded on a topic, or what was decided and where it is written down, or invokes sw-search. Not for a reported bug or failure (sw-triage) or a question about one task (sw-explain).

Why use Sw Search on TypingMind?

Because you install it once and use it with any model. Sw Search 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 Sw Search in TypingMind?

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

Which AI models can use Sw Search?

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 Sw Search?

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

Is the Sw Search AI skill free?

Yes. It is published on GitHub by mhmtsrfglu 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 👇