explaingit

vikingmute/shifu

Analysis updated 2026-05-18

35Audience · developerComplexity · 3/5LicenseSetup · easy

TLDR

An agent skill that breaks a big coding task into self-contained written specs so a cheaper AI model can do the actual implementation.

Mindmap

mindmap
  root((shifu))
    What it does
      Decomposes tasks
      Writes self-contained specs
      Dispatches cheap model workers
      Reviews worker output
    Tech stack
      Agent Skills format
      Markdown specs
    Use cases
      Plan a big feature
      Cut model cost on execution
      Hand off specs to any agent
    Audience
      Developers
      AI power users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Break a large feature request into ordered, dependency-aware sub-task specs.

USE CASE 2

Dispatch a cheaper AI model to implement each spec while a capable model plans and reviews.

USE CASE 3

Hand off self-contained markdown specs to a separate agent session with no subagent support.

USE CASE 4

Review and tighten an existing spec before execution.

What is it built with?

Agent SkillsMarkdown

How does it compare?

vikingmute/shifuaayusharyan/fake-iisagentrhq/webcmd
Stars353535
LanguageHTMLJavaScript
Setup difficultyeasyeasyeasy
Complexity3/52/53/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires a host coding agent that supports the Agent Skills format to install into.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Shifu is an agent skill for coding assistants that splits a big task into small, self-contained written specs so that cheaper AI models can carry out the actual work. The idea behind it is to save your most capable, most expensive model for the part that benefits most from intelligence: understanding the whole task, deciding how to break it apart, and writing instructions that leave no room for confusion. Once those specs exist, a cheaper model does the implementing, testing, and shipping. Shifu itself never writes application code. The specification document it produces is the actual output. You install it with a command line tool called skills, and it works in any coding agent that supports the Agent Skills format, such as Cursor, Codex, or Claude Code. You interact with it through commands like asking it to analyze and plan a task, asking it to execute a specific plan with a chosen model, asking it to review an existing spec, or asking it to check the status of everything in progress. Shifu works in two ways. In agents that can spawn their own subagents, it can run the whole plan, dispatch, and review cycle automatically without you leaving your session, picking cheap workers for each piece and reporting a verdict on each one when they finish. In agents without that support, it writes plain markdown spec files into a plans folder that you can hand to a separate, cheaper session yourself. When breaking a task apart, each sub-task is assigned one of three strategies: a direct approach for straightforward sequential changes, an isolated git worktree for higher risk work like large refactors, or a read only exploration mode for research and analysis. Every spec written this way includes all the necessary context inline, a list of what is explicitly in and out of scope, and verification steps with expected results so that completion can be checked mechanically rather than by judgment call. Shifu enforces a few hard rules on itself: it never edits your source code directly, it never runs commands that change your working tree, and it never repeats secret values it comes across, only their type and location. Shifu is released under the MIT License.

Copy-paste prompts

Prompt 1
Use shifu to decompose adding JWT authentication to my Express app into specs.
Prompt 2
Explain the difference between shifu's direct, worktree, and explore execution strategies.
Prompt 3
Show me how to run shifu execute all with a specific cheap model.
Prompt 4
How does shifu verify a worker's output before marking a spec done?
Prompt 5
Walk me through installing shifu with npx skills add.

Frequently asked questions

What is shifu?

An agent skill that breaks a big coding task into self-contained written specs so a cheaper AI model can do the actual implementation.

What license does shifu use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is shifu to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is shifu for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.