prompts-meta-harness
Ready-to-paste prompts for extending and operating the AI harness itself — prompt refinement, skill selection, decision-native routing, portable subagents…
от Andersonlimahw★ 19 звёзд на GitHub
Установить prompts-meta-harness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Prompts — Meta-harness (extending the hub itself)
Recipes to run the hub's decision-native pipeline, create skills/plugins, automate the harness with hooks, orchestrate portable subagents, and save tokens. Generator choice: skill-creator (guided new skill) × create-plugin / plugin-creator / plugin-generator (overlapping plugin generators) — pick ONE generator per artifact; in this repo, follow the canonical layout validated by scripts/validate_plugins.py.
R1 — Create a new skill
Skills: skill-creator + skill-authoring
When: one of your recurring flows deserves to become a reusable skill.
Create with skill-creator the skill <name> that <capability>.
Apply skill-authoring: description with explicit triggers ("Use
when..."), lean body, multishot examples only where they
disambiguate. Expected trigger: <phrases that should activate it>.
Success: SKILL.md with valid frontmatter; the trigger phrases
activate the skill in testing; no instruction redundant with the
harness.
R2 — Automate with hooks
Skills: hookify
When: "whenever X happens, do Y" — behavior that needs to live in the harness, not in memory.
Create with hookify a hook that <behavior — e.g. run the linter
after every Edit on *.ts; block commit if validate_plugins.py
fails>. Event: <PreToolUse/PostToolUse/SessionStart/...>.
Success: hook registered in settings.json; trigger demonstrated
with one positive and one negative case; easy to disable.
R3 — Multi-agent orchestration
Skills: orchestrate + subagent-driven-development
When: fan-out work (many files/fronts) that a single session can't hold.
Orchestrate <work> with orchestrate: break it into independent
subtasks, one subagent per front with a model/effort matched to
that front's complexity (subagent-driven-development), and a final
integration + review pass.
Success: every subagent with a verifiable deliverable; integration
with no conflicts; cost/model per subagent justified in one line.
R4 — Migrate/mirror to another harness
Skills: migrate-to-codex + opencode-subagent
When: porting skills/flows from Claude Code to Codex/OpenCode, or delegating between CLIs.
Migrate <skill/flow> to <Codex/OpenCode> with migrate-to-codex: map
what's portable, adjust frontmatter/paths per harness, and keep
Claude Code as the canonical source (symlinks). For a one-off
delegation, use opencode-subagent.
Success: skill visible and functional in the target harness;
single source preserved (no divergent fork).
R5 — Token economy
Skills: token-saver + caveman
When: sessions blowing through context or cost; responses too verbose.
Apply token-saver on session/project <target>: identify the
biggest consumers (CLI outputs, re-read files, verbosity) and
propose cuts. Turn on caveman <lite|full|ultra> for response
compression.
Success: estimated savings per source with a number; technical
content preserved (no code information lost).
R6 — Turn an ambiguous request into an executable contract
Skills: senior-prompt-engineer
When: the request is multi-step or underspecified and downstream routing needs one authoritative interpretation.
Use senior-prompt-engineer to refine this request without executing
it: <request>. Resolve the expected artifact, constraints, explicit
non-goals, and verification checks. Emit the definitive prompt plus
EXEC-MAP v1 using only declared intent/executor values. Preserve the
decision envelope: router, router_mode, router_confidence, and
router_fallback.
Success: one unambiguous prompt and one schema-valid EXEC-MAP; every
implementation step has a verification check; unknown facts are
asked before the map instead of encoded as invalid enum values.
R7 — Select the smallest adequate skill set
Skills: skills-selector
When: a refined request or EXEC-MAP v1 exists and you want bounded, auditable skill activation.
Use skills-selector on this request: <request or EXEC-MAP v1>.
Consume the existing map instead of reclassifying it. Select at most
two skills, reject unavailable or overlapping candidates, and
preserve router, router_mode, router_confidence, and router_fallback
losslessly in the selection block.
Success: exactly one SKILLS block; MAP is consumed when supplied;
every selected identifier exists; no heavy skill lacks an explicit
task signal.
R8 — Route by cost, confidence, and validation
Skills: smart-dispatch
When: implementation needs the cheapest adequate worker with an explicit escalation path.
Use smart-dispatch for <task>. Start from <EXEC-MAP v1 or task
description>, choose the cheapest tier likely to pass <validation
command>, and record requested versus effective route. Use the
static route when scoring adds no value. If a typed scorer is
enabled, use <shadow|advisory|enforce>; an explicit user route wins,
uncertainty fails open to balanced, and the safe
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prompts-meta-harness?
Ready-to-paste prompts for extending and operating the AI harness itself — prompt refinement, skill selection, decision-native routing, portable subagents, authoring skills and plugins, hooks, migration, and token economy.
Как установить скилл prompts-meta-harness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompts-meta-harness запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…