⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v0.2.7

sw-autopilot

mhmtsrfglu@mhmtsrfglu⭐ 31 stars· last commit 23d ago· 0 open issues

Use when the user wants several Superwiki tasks worked through one after another without being asked at each step (run the backlog, do all tasks of an area, keep going until done or blocked, act as orchestrator), or invokes sw-autopilot.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 31 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Superwiki

Agent skills that turn a project's docs/ folder into an LLM-maintained wiki and task tracker. Your coding agent writes it and keeps it current; you read it as an Obsidian vault or in a built-in viewer. Works with Claude Code, Codex CLI and GitHub Copilot CLI.

Live demo · Install · Use · Design notes

Quick start

Requires Node 18 or newer.

npx superwiki install claude        # or: codex, copilot, all

Start a new agent session in your project and run /sw-init. It sets up docs/ and asks whether you want the task tracker. From then on, ask for what you need in plain words, or use a command.

What you get

docs/
  index.md       the open tasks, then the catalog of the wiki, one line per page
  log.md         append-only history
  raw/           your sources, never modified
  wiki/          pages the agent writes
  tasks/         one file per task (optional)
  plans/         one plan per task
  viewer.html    the task board and the wiki in a browser

sw-init also adds a short block of rules to AGENTS.md, so the agent maintains the vault in every session, with or without a command.

Everything is plain markdown. docs/ keeps working as an Obsidian vault without Superwiki.

The wiki

Superwiki follows the LLM Wiki pattern described by Andrej Karpathy: you curate raw sources, the agent owns the wiki, and a short set of rules tells it how to maintain it. Hand the agent an article, a transcript or your notes, and it files a summary and links it into the catalog.

The tasks

A task is one file with a goal, a "Done when" list and its dependencies. The agent will not start a task whose dependencies are open. A task is done only when every "Done when" item has been checked by a command run in the closing session, one that would have failed if the item did not hold. The evidence is written into the task file, so you can read later how each item was proven.

index.md opens with the task list, so you can follow the work without the viewer:

## Tasks

ready 9 · in progress 1 · blocked 18 · done 20

**In progress**

- [[B-20]] Portfolio sync · M5

**Ready**

- [[F-01]] Frontend skeleton and guards · M0
- [[B-18]] Valuation · M4

**Blocked**

- [[B-21]] Journal and thesis gates · M5 · waits on B-20

**Done (20)** [[B-01]] [[B-02]] [[B-03]] ...

The list is generated from the task files. Do not edit it by hand: change the task file, and the agent (or /sw-index) rewrites the list.

Built to be cheap for the agent

  • Little to read. One small index, one file per task, and a script that answers "what is ready?" or "what blocks this?" without the agent reading the vault.
  • Work in clean contexts. Planning, implementing and reviewing run in subagents, each on the model you choose. The main session only tracks the task's status and checks the result, so it stays small.
  • Cost you can see. sw-usage shows what a session used, per agent; sw-doctor shows what every session carries before it starts.

Measured on a real project with 165 tasks, converted from a single markdown index:

BeforeAfter
Read at the start of every session197 KB index7.7 KB index + 2.7 KB of rules
Read to start one taskthe index, then the task's sectionone file, 2 KB at the median
Marking a task donea status cell, plus a ✅ at every reference to it (median 12 places)one frontmatter line

A pilot run on 2026-10-06 compared Superwiki with a single-session workflow on two backend tasks of one project, two runs each, with a blind review of the results. On the small task Superwiki cost $2.79 and $3.23 against $4.18 and $4.81. On the medium task the two overlapped, and the review scored quality a tie. Two tasks, one project, one day: read it as a direction. DESIGN.md has the figures and the limits.

Status: early. Not every skill has been run in every agent. DESIGN.md lists what has been proven and what has not.

Install

npx superwiki install <target>...
TargetAgentWhat is installedInvoke a skill with
claudeClaude Codea copy of each skill/sw-<name>, or the skill named in a sentence
codexCodex CLIa copy of each skill$sw-<name>, or the skill named in a sentence
copilotGitHub Copilot CLIa copy of each skill/sw-<name>, or the skill named in a sentence
allthe three above

The skills are named sw-<name> in every agent: sw-plan, sw-implement, sw-plan-implement. Each is a folder of that name, and every install is a copy of those folders, or a link to them.

If you installed an earlier version for Claude Code, install claude also removes its plugin sw@superwiki and the marketplace superwiki at the same scope, so the skills are not listed twice. That needs the claude command on your PATH; without it, remove them with claude plugin uninstall sw@superwiki and claude plugin marketplace remove superwiki.

Start a new agent session after installing: a running session does not pick up new skills.

Home folder or project

The installer asks where the skills should go:

  • Your home folder. They serve every project on this machine. This is the usual choice.
  • This project, the directory you run the command in. They are committed with the repository, so teammates and cloud agents have them too.

A flag answers in advance. Without a terminal (a script, CI) nothing is asked and the home folder is used.

npx superwiki install --global claude            # home folder, no question
npx superwiki install --project . claude codex   # this project, no question
TargetIn your home folderIn a project
claude~/.claude/skills.claude/skills
codex~/.agents/skills.agents/skills
copilot~/.copilot/skills.agents/skills

A skill folder of the same name that Superwiki did not install is kept and reported; --force replaces it.

The install also registers the test guard, a PreToolUse hook, at the same scope: in the home folder, ~/.claude/settings.json and ~/.codex/hooks.json run the installed copy, <skills folder>/sw-init/assets/sw.mjs, by absolute path on the vault in the current directory (a project without docs/.sw is skipped); in a project, .claude/settings.json, .codex/hooks.json and .github/hooks/superwiki.json run the project's own docs/.sw/sw.mjs. Copilot reads hooks from the repository only, so a home-folder install leaves its hook to sw-init.

Skills kept in a project are markdown and scripts inside your repository, so the project's own linter and formatter may pick them up. If they report on .claude/skills or .agents/skills, add those folders to their ignore lists.

Cloud agents

A cloud agent (Claude Code on the web, Codex cloud, the GitHub Copilot coding agent) starts from a clone of your repository and never sees your home folder. It has the Superwiki skills only if they are in the repository.

  1. Put the skills in the project: npx superwiki install --project . claude codex, or answer "this project" in the installer. On a new vault, /sw-init also asks whether to keep the skills in the repository, and for which agents.
  2. Commit and push .claude/skills and .agents/skills.
Cloud agentTargetReads the skills from
Claude Code on the webclaude.claude/skills
Codex cloudcodex.agents/skills
GitHub Copilot coding agent

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • skills/sw-autopilot/SKILL.md7.8 KBupstream ↗
    ---
    name: sw-autopilot
    description: Use when the user wants several Superwiki tasks worked through one after another without being asked at each step (run the backlog, do all tasks of an area, keep going until done or blocked, act as orchestrator), or invokes sw-autopilot.
    ---
    
    # sw-autopilot
    
    Works through tasks in order, unattended, each one as the single-task skills run it. You are the orchestrator: subagents with clean contexts do the work; your session holds the queue, the reports and the decisions.
    
    Run commands from the project root.
    
    ## The skills a run follows
    
    Load each once and follow it for every task:
    
    - **sw-plan-implement**: step 1's `check` table, steps 2 and 3 (the rubric, the `Route:` line) and step 4's medium route (the Approach note);
    - **sw-plan**: steps 4 to 6 and "An agreed split", on the large route;
    - **sw-implement**: steps 2 to 10 and "Dispatching";
    - **sw-verify**: all of it, as sw-implement step 8 calls it.
    
    This skill takes the place of their other steps.
    
    ## Before the first task
    
    1. **Scope**, from the user's message: an area, a list of ids, or everything that becomes ready. An area is a task id prefix; `areas` in `docs/.sw/config.json` maps each prefix to its name, so "the backend area" is the prefix named Backend. Its tasks are the ids with that prefix that `node docs/.sw/sw.mjs ready` lists at the start, in its order; tasks that become ready later join only when the message asks for them. No prefix matches: ask, or, when questions are ruled out, stop and say so.
    2. **Standing answers**, settled now, since the user will not be asked again:
    
       | Question | If the message does not answer it |
       | --- | --- |
       | May plans and proposed splits be approved without them? | yes |
       | Which checks that start a service, need a running stack or change data may run? | none |
       | Commit after each task? Push? | no commit, no push |
       | Go on with other tasks when one stops? | no; stop the run |
    
       A question is answered only where the message speaks to it: "finish them all" sets the scope and "don't ask me" rules out questions, and neither answers one; "don't commit" answers commit, not push. Ask for the open ones in one question. When the message rules out questions, ask nothing: write one line that starts `Standing answers:` and gives all four, the user's where given and the default otherwise, and start.
    3. **Check that the run can do what was agreed**, before any task is touched:
       - `node docs/.sw/sw.mjs lint`: errors are fixed or reported first.
       - Commits were agreed: run one harmless git command. Refused by the project's settings or the tool: say so now, and neither start the run nor work around the refusal.
       - Changes in the working tree that belong to no task of this run: say what they are and ask once whether to leave them or commit them first. Questions ruled out: leave them.
    
    ## Each task
    
    1. **Next task**: `node docs/.sw/sw.mjs ready`. A task in scope that is in progress comes first, then the first ready one in scope. None left: go to "The report".
    2. **Gate**: sw-implement step 2, with sw-plan-implement's `check` table. A task whose plan is approved goes to step 5; one already in progress skips step 3.
    3. **Mark it started** (sw-implement step 3), before routing.
    4. **Route it** with sw-plan-implement's rubric, from the task file alone, and say sw-plan-implement step 3's `Route:` line; a standing answer is no waiver by the user. A draft plan means large.
       - Small: step 5.
       - Medium: the `Approach (sw-plan-implement, <date>):` note into "Notes", as sw-plan-implement writes it, unless one is there; then step 5.
       - Large: sw-plan steps 4 to 6; step 6 runs whole, so the plan is `approved`.
    5. **Implement**: sw-implement steps 4 to 10, with the differences below. Step 10 keeps the area guide for every task.
    6. **Close the task**, also one that stops the run:
       - `node docs/.sw/sw.mjs lint`. An error stops the run.
       - Commit, if agreed and the task is `done`: the files under its Summary's `### Changes` plus its bookkeeping (task file, plan, `docs/log.md`, `docs/index.md`, the area guide if changed), message `<ID>: <title>`. Push only if agreed. A refused commit or push stops the run.
    7. **Check your own size**: `node docs/.sw/sw.mjs usage`, row `main`. A `peak` above 200k tokens stops the run here, between tasks.
    
    ### What differs in a run
    
    | In the single-task skills | In a run |
    | --- | --- |
    | sw-implement step 2: a draft plan stops; a task that is not small and has no plan goes to the user | step 4's route decides |
    | sw-plan step 5: the user sees the plan, answers its questions, approves it and any split | nothing is presented. Each question gets the assumed answer, unless the task file, a wiki page or a lesson says otherwise (`sw.mjs search`); the plan and any split are approved under the standing answer. A split's new task joins the queue only if it is in scope |
    | sw-plan step 6: the answers go into "Notes"; the `plan` log entry | the answers go into "Notes" once, as decisions made without the user; the log entry gets the body line `Approved under the run's standing answer.` |
    | sw-implement steps 4 and 6: the user allows checks that need the environment | the `Standing answers:` line is the first message's standing answer, its defaults included; no question |
    | sw-implement step 6: a `differs` or `preferred` item is the user's call | one fix round, its entry the item in the task's wording |
    | sw-implement steps 11 and 12: offers, and the report | offers, open decisions and open findings go into the run's report; the rest is in each task's Summary |
    
    ### Decisions made without the user
    
    Every answer you give in the user's place, recorded where it was made:
    
    - on a task (a planner question answered, a plan or split approved under the standing answer, a `differs` or `preferred` item sent back): in its "Notes" as `- <date>, decided without the user: ...`, and in the report with its id;
    - for the run (each default in the `Standing answers:` line, working-tree changes left alone): in the report under `run` only. A check a default disallows adds no line.
    
    ## When to stop
    
    A stop on a task fires once the task is closed (step 6), with its summary and outcome recorded; a summary with an `unverified` or `failed` item takes step 9's `blocked: <n> unverified, <m> failed` row. Then stop and report, also on the last task in scope. Take the next task instead only if agreed and independent of this one.
    
    - A requirement is `not met`, or a fix round reports an entry `not fixed`. A `differs` or `preferred` item not fixed is a difference the user has not decided: `unverified` in the summary.
    - The review after the second fix round still says `changes needed`.
    - The summary leaves an item `failed` or `unverified`, also one whose check was not allowed: that stop too fires after the summary, never before the work, with the task built and reviewed where required.
    - `lint` reports an error, or an agreed commit or push is refused.
    - A large task, when plans may not be approved without the user: stop before its planner.
    - Your `peak` is above 200k.
    
    ## Keeping the run cheap
    
    - **A fresh subagent for every task and role.** Only a fix round continues one: the implementer of the same task.
    - **Prompts exactly as sw-plan step 4 and sw-implement's "Dispatching" give them.** No reading lists, no project summary, no word on commits: the role files say changes stay uncommitted and committing is yours.
    - **Reports, not files.** You read no other task's files, and code only as sw-verify's steps need it. Of a plan you read what sw-verify reads, `## Approach` and `## Verification`, and its frontmatter when sw-plan step 6 approves it.
    - **Edit frontmatter with your edit tool**: a `sed` pattern that does not match fails silently.
    
    ## The report
    
    At the end or on a stop:
    
    1. A table, one row per task in scope (`not reached` for the rest): task, route, outcome, the last review verdict with the number of reviews, commit; `-` where no
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/mhmtsrfglu-superwiki-skills-sw-autopilot.md

// REPO STATS

31 stars
0 open issues
Last commit: 23d ago