Sw Triage logo

Sw Triage

Community
mhmtsrfglu
sw-triage

Use when the user reports a bug, failure, error, regression, incident or unexpected behavior in a Superwiki project and wants to know whether it happened before, what was learned, or what the likely causes are, or invokes sw-triage.

Overview

Publishermhmtsrfglu
Repositorysuperwiki
Skill namesw-triage
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 Triage 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-triage
  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-triage .claude/skills/sw-triage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sw Triage 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 Triage 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 Triage 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-triage

Answers "have we seen this before, and what does the vault say about it?" before anyone starts debugging. It searches the vault with a script, reads only the best matches, and reports. It does not fix anything and does not change files unless the user accepts an offer at the end.

Run commands from the project root.

Steps

  1. State the problem in one line: the symptom, where it shows, since when. If the user gave no symptom, ask for it. If "since when" is missing, go on and say in the report that recent changes cannot be matched to the problem's start.

  2. Search the vault, two or three times with different words: the error text or code, the component or feature name, the symptom in plain words. Search in the language the vault is written in (look at the lines of docs/index.md), whatever language the user wrote in; translate their words.

    bash
    node docs/.sw/sw.mjs search <three to six distinctive words>

    Each result has the page's type and summary and the first matching line; matching log entries follow, with their first line. A page is listed when any word matches, best match first, so the tail of the list is often noise.

    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, and say that the skill cannot run it.

  3. Look at what changed recently: tail -40 docs/log.md and node docs/.sw/sw.mjs ready (the "in progress" part). Work finished or under way in the same area just before the problem appeared is a suspect.

  4. Read at most four files, plans included, in this order of preference: lesson pages, decision pages, tasks that touched the same area (done or in progress), then the rest. Read a task's plan only if steps 2 and 3 point at that task as the cause.

  5. Report in the user's language, under these headings. Give the source of each claim: a page as [[page]], a log entry as "log, ".

    • Seen before: earlier occurrences, what the cause was, how it was fixed. If no page records this problem, say plainly that the vault has no record of it; do not stretch a weak match. If a recorded fix exists and the problem is back, say so: it is a regression.
    • Lessons that apply: rules or warnings from lesson and decision pages that bear on this problem.
    • Likely causes: ranked, each with the evidence for it and one concrete check that would confirm or rule it out. Where the vault records no cause, these are hypotheses drawn from what the pages say about the area: label them as hypotheses.
    • Recent changes in the area: tasks and log entries from step 3.
    • Gaps: what the vault does not cover and would have helped.
  6. Offer, and act only on a yes to that offer:

    • a task for the fix. Say which area you would file it under and let the user correct it; then the id comes from node docs/.sw/sw.mjs next-id <AREA>, the file from docs/.sw/templates/task.md, with the related pages under "Sources" and the confirming check as the first "Done when" item;
    • running the top check now, if it is one you can run from this session (a command, a test, reading code). Otherwise say who can run it and what to look for.

After the problem is solved

When the cause is known and fixed (in this session or a later one), offer to save a lesson: docs/wiki/<slug>.md with type: lesson, a one-line summary: that names the symptom, and the sections Symptom, Cause, Fix, How to notice it earlier; linked from the task that fixed it and listed in index.md. This page is what the next triage finds.

Common mistakes

  • Reading code or reproducing the bug before searching. Triage is the lookup; debugging comes after, with the report in hand.
  • Opening every search result. Summaries and matching lines decide which four are worth reading.
  • Presenting a guess as history. "Seen before" is only for what a page actually records.

Frequently asked questions

What does the Sw Triage AI skill do?

Use when the user reports a bug, failure, error, regression, incident or unexpected behavior in a Superwiki project and wants to know whether it happened before, what was learned, or what the likely causes are, or invokes sw-triage.

Why use Sw Triage on TypingMind?

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

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

Which AI models can use Sw Triage?

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 Triage?

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

Is the Sw Triage 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 👇