Sw Config logo

Sw Config

Community
mhmtsrfglu
sw-config

Use when the user wants to choose or change which model plans, implements or reviews Superwiki tasks (opus, sonnet, gpt and so on), write the agent files Codex and Copilot need for the planner, implementer and reviewer roles, add task areas, see the Superwiki configuration, or invokes sw-config.

Overview

Publishermhmtsrfglu
Repositorysuperwiki
Skill namesw-config
Stars
31
Forks
3
Bundled files
1
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.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Sw Config 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-config
  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-config .claude/skills/sw-config
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sw Config 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 Config 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 Config 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-config

Settings live in docs/.sw/config.json. Change them with the script, from the project root; it also writes the agent files that make a model choice take effect, and that Codex and Copilot need before they can run a role at all. <skill-dir> is this skill's directory.

bash
node <skill-dir>/scripts/config.mjs show
node <skill-dir>/scripts/config.mjs model plan claude opus
node <skill-dir>/scripts/config.mjs model implement claude sonnet
node <skill-dir>/scripts/config.mjs model review codex gpt-6
node <skill-dir>/scripts/config.mjs model plan copilot --unset
node <skill-dir>/scripts/config.mjs areas "M=Mobile,B=Backend"
node <skill-dir>/scripts/config.mjs peak 400k
node <skill-dir>/scripts/config.mjs sync --tools claude,codex,copilot

Models

A model is chosen per role and per tool, because each tool can only run its own models.

RoleDoesUsed by
planwrites the plan file for a tasksw-plan
implementdoes the work of a tasksw-implement
reviewreviews the implementation from a clean context, for tasks whose frontmatter has review: or on requestsw-implement, sw-review

Keep review on a mid-tier model or better. In the measurement the audit relies on, small models used as reviewers flagged none of ten planted defects at the right severity, and a review that finds nothing costs a dispatch and lends false confidence. The Claude Code reviewer file lists tools: Read, Grep, Glob, Bash, which removes the editing tools; the shell can still write a file, so the instruction in reviewer.md is what keeps the reviewer from writing.

No tool lets a skill change the model of the running session, so the skills hand the work to a subagent, and the subagent's file carries the model. The script writes one file per role, with the role's instructions as its body (planner.md from the sw-plan skill, implementer.md and reviewer.md from the sw-implement skill, each under that skill's assets/):

ToolFolderFiles
Claude Code.claude/agents/sw-planner.md, sw-implementer.md, sw-reviewer.md
Codex.codex/agents/sw-planner.toml, sw-implementer.toml, sw-reviewer.toml; the agents are named sw_planner, sw_implementer, sw_reviewer inside
Copilot CLI and VS Code Copilot Chat.github/agents/ (both hosts read it)sw-planner.agent.md, sw-implementer.agent.md, sw-reviewer.agent.md

Every host knows a role only through its file, and the files come from sync (or a model command), once per project: nothing else writes them, the installer copies no agents, and .claude/agents/ is git-ignored, so a fresh clone has none. Run sync --tools claude, codex, copilot or several, with or without a model choice, before the first sw-plan or sw-implement in a project. Without the files, Claude Code falls back to a general-purpose agent that reads the role file (the Claude Code row of sw-plan and sw-implement), and Codex and Copilot fall back to the main session following the role file.

When the user asks to set a model:

  1. See what is set: show.
  2. Settle role, tool and model. Ask only for what is missing. If they name a model without a tool, infer the tool from the model family and say which you chose. Use the model name exactly as that tool spells it; do not translate names between tools.
  3. Change only what differs. If the role already runs that model, change nothing and say so. A tool's short name and the full name of its current version (opus and the newest Opus) are the same model: do not rewrite one into the other.
  4. Run the model command and show its output.
  5. Say when it takes effect: a tool picks up new agent files when its next session starts.

After Superwiki itself is updated, run sync once: the roles' instructions are part of the agent files.

Do not edit the generated agent files or config.json by hand; the next sync overwrites agent files.

Areas

areas adds prefixes or renames them. It never removes one: tasks keep their ids forever.

Autopilot peak

peak sets autopilot.peak: the size of the orchestrating session, in tokens, above which sw-autopilot stops between tasks (its main row in node docs/.sw/sw.mjs usage). Unset, the limit is 200000. One small task grows that session by about 120k tokens, so a session that starts at 60k reaches the default after one task; a project that wants a run to take several tasks raises the limit, as far as the model's context window allows with room to spare: the host summarizes a session that fills its window, and that loses the reports the run decides from. peak --unset goes back to the default; show prints the current value.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sw Config AI skill do?

Use when the user wants to choose or change which model plans, implements or reviews Superwiki tasks (opus, sonnet, gpt and so on), write the agent files Codex and Copilot need for the planner, implementer and reviewer roles, add task areas, see the Superwiki configuration, or invokes sw-config.

Why use Sw Config on TypingMind?

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

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

Which AI models can use Sw Config?

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

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

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