sfp-hive
Chooses which SFP skills to use for a task, in what order, and learns from feedback. Use at the start of any substantial build, fix, test, review, security or…
от siddu1004★ 43 звезды на GitHub
Установить sfp-hive в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SFP hive
SFP has hundreds of skills. Loading many at once costs context and blurs the instructions. The hive works like a honeybee colony choosing a nest: five scouts (task words, project files, phase of work, category, history) each vote, a skill is chosen only when enough of them agree (quorum), similar skills are silenced once one is chosen (stop signals), and each job (plan, build, test, secure, ship) goes to the skill that suits it best. It returns the few skills that fit this task in this project, and the order to use them in. It learns: feedback on each decision strengthens skills that helped and weakens ones that did not, for the words of that kind of task.
1. Select
Run the hive from this skill's folder with the user's own words and the project folder. It takes a few milliseconds and runs on this machine:
python3 scripts/select_skills.py select "<the user's task>" --project <project folder> --map
Add what you know:
--goal "<end goal>"when the user wants more than the task, for example "ship it today".--after skill-a,skill-bwith the skills already used, most recent last.--budget 6000to keep the loaded instructions small for a quick task.--jsonfor every signal and the full detail.
If the SFP MCP server is connected, call its select_skills tool instead, with task and project_path.
Call it once at the start, and again when the work moves to a new phase (from building to testing, or to shipping). Do not call it for every message: the list holds until the job changes. Keep the decision id it returns: you need it for feedback.
The city map under the list holds the next best skills, grouped in towers, tallest first. You know the task better than the scores do: if a pick does not fit it, leave it and take a better one from the map, or none. Take one or two, not more, and report the one you needed as --missing so the hive learns.
2. Apply the list in order
| Layer | Its job | How to use it |
|---|---|---|
base |
Does the work: research, plan, design, build, debug | Read it first and follow it while you work |
check |
Verifies the work: tests, security, review | Apply it once the base work exists |
finish |
Gets it out: performance, docs, release | Apply it last, if the task goes that far |
Read each skill only when you reach its layer. Its file is at <SFP>/<path from the list>, where <SFP> is the folder written in ~/.sfp/root. Installed skills can be invoked by name instead. Tell the user, in one line, which skills you are using and why.
"No skill took: test" means the task needs that job and no skill was strong enough for it. Do that part with your own judgement, or select again with clearer words for it.
3. Give feedback when the task ends
This is how the hive learns from its mistakes. When the task is done, report how the decision went. Ask the user one short question if you are not sure: "Were these skills useful? Was one missing?"
python3 scripts/select_skills.py feedback last --helped django-tdd --unhelpful django-celery --missing python-testing
With the MCP server, call give_feedback with the same lists.
| Verdict | Use it when | What it teaches |
|---|---|---|
--helped |
A chosen skill clearly made the work better | Favour it for tasks with these words |
--unhelpful |
A chosen skill misled you or added nothing | Avoid it for tasks with these words |
--ignored |
A chosen skill was never opened or used | A weak signal against it |
--missing |
You needed a skill that was not chosen | Favour it for these words, and find it even when search misses it |
Only report what you actually observed. Do not mark a skill helped just because the task finished. A wrong report teaches the wrong thing, though no single report can ban a skill: the effect is strongly damped and fades over months.
Mention once, the first time, what is stored: skill names, verdicts, times, the project's main technologies and the stems of the task's main words (for example test, order, view), in ~/.sfp on this machine. No sentences, no file contents, nothing leaves the machine. python3 scripts/select_skills.py status shows what it has learned; forget deletes it all. SFP_LEARN_WORDS=0 stops recording words, and SFP_NO_LEARNING=1 stops recording and learning altogether.
4. Without Python
If you cannot run the script, apply the same rules yourself, using the sfp skill's index to find candidates:
- Agreement. Consider a skill only if the task's words name what it is for, and it suits the project's technology. Never take a skill for another framework than the project's.
- One per job. Decide which jobs the task needs. Give each needed job its single best skill; add a second only if it does a clearly different part of that job.
- No overlap. Drop any skill that repeats one already chosen.
- Order. Apply the skills from planning and building, to checking, to shipping.
- **Stop
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/select_skills.py
FAQ
Что делает скилл sfp-hive?
Chooses which SFP skills to use for a task, in what order, and learns from feedback. Use at the start of any substantial build, fix, test, review, security or deploy task, and again when the work moves to a new phase. It reads the task, the project's files and the skills used so far, returns a short ordered list of skills to load instead of many, and improves when you tell it what helped and what did not.
Как установить скилл sfp-hive?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sfp-hive запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…