work
БесплатноЗапускает вложенные скриптыНе проверенUse when the user says "work this", "run a work loop", "do this properly", "take this through clarify plan and verify", "run it through the gate", "/work", or…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
work — clarify → plan → goal → workflow → human review
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
A structured loop for tasks worth doing properly: clarify with the user, draft a plan they
edit and approve, self-set a goal, run workflow.js — dispatched through farm-out — to implement
and independently verify, then put the result in front of the human in tuicr. Human rejection
routes back to CLARIFY.
CLARIFY ─► PLAN ─► GOAL ─► workflow.js ──PASS──► HUMAN REVIEW (tuicr)
▲ ▲ │ │
└── human REJECT ────────────┼────┼──────────────┤
└─fix┘ FAIL └─ findings → fix → re-run
work-round.sh (agents only where judgement is needed; every exit code is a script):
dispatch: red-before + red-suite hashes (work-dispatch.sh, no agent)
─► workflow.js AGENTS: IMPLEMENT waves ─► [VERIFY (no-acceptanceCmd tasks) ∥ RULE ∥ SCORED ∥ ATTEMPTS]
─► work-checks.sh: red-after ∥ acceptanceCmds ∥ mechanicalChecks ∥ red-suite re-hash
─► work-stage.mjs digest ─► ONE lens = one farm.sh --tasks row, kind review ─► workflow.js gate
RED: diagnose and route; GREEN: open-ended pass
FAIL selectors: tasksThatFlagged + mechanicalThatFailed + rulesThatFailed + lensesThatFlagged + planFindings
No agent runs a command. The red probes, every acceptanceCmd (which replaces that task's verifier)
and every mechanical check are exit codes recorded by scripts; a red-suite file whose hash moved
between dispatch and the checks is a CRITICAL owned by the task whose writablePaths reach it, else
plan. The lens reads a digest — failures first with command, exit, tail and owner; green checks
marked settled and never re-run; a per-task git diff --stat; out-of-scope paths pre-flagged — and
runs as ONE farm.sh --tasks row of kind review on the routed provider and lens.model. RED means a
task flagged or a check failed: the lens diagnoses each failure into routes, naming its
owner task or "plan". GREEN means those checks passed: the lens makes one open-ended pass. Both
modes rule on carried findings. Scored results are advisory; they do not choose the mode or decide
the gate. There is no refuter leg.
Plan review is computed and happens before dispatch, not inside it — plan-lint.ts over the
built args and plan-preflight.ts executing their commands at baseline, enforced by
work-dispatch.sh while the run is still armed. No agent reads the plan markdown for defects
(see Plan review).
Everything lives in this skill directory — workflow.js, scripts/work-dispatch.sh (Phase 3+4 in
one call), scripts/work-pending.sh (is a dispatch owed?), scripts/compose-goal.sh (the objective
and its ceiling), scripts/human-review-gate.sh, scripts/work-result.sh.
Nothing here depends on any plugin.
The gate has a test suite; run it after touching workflow.js — node --check proves only that
the file parses. scripts/workflow-harness.mjs executes the script for real against stubbed hooks,
and scripts/workflow.test.ts asserts the invariants that decide PASS/FAIL: fail-closed on every
dead agent, the three redCommand verdicts, overallPass === false implying a non-empty selector,
the readOnly n/a dimensions. scripts/plan-review.test.ts guards the computed plan-review rules
and the absence of the judged layer. Add both to mechanicalChecks on a run that edits the spine:
${CLAUDE_PLUGIN_ROOT}/scripts/test.sh ${CLAUDE_PLUGIN_ROOT}/skills/work/scripts/ # absolute path:
# a bare relative path is read as a NAME FILTER and exits 1 having matched nothing
${CLAUDE_PLUGIN_ROOT}/scripts/test.sh runs test files in parallel with a per-run TMPDIR; with no argument it runs the
whole suite (~1 min).
State
Two locations, one owner each:
| Path | Holds | Owner |
|---|---|---|
<plansDirectory>/<slug>.md |
the approved plan — the run's authority, the file that gets hashed | plan mode (native); work only reads and hashes it |
.work/<run-id>/ |
args, verdict JSON, and plan-<hash12>.md — the archived bytes each round ran under |
work |
plansDirectory decides where that plan lives, and work honours whatever it is set to —
"./.claude/plans" and "./.planning" (what the domain workflows use) are
equally valid. The value is resolved relative to the project root, so the plan is project-local and
work hashes it in place — no copy. Unset at every tier, the default is .claude/plans. run-id is
a short date-slug like 0806-fix-auth. Both .work/ and the plans directory want to be
gitignored — add them before
Установить work в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadEditWriteGrepGlobAskUserQuestionEnterPlanModeExitPlanModeAgentMonitorPushNotificationВложенные файлы
FAQ
Что делает скилл work?
Use when the user says "work this", "run a work loop", "do this properly", "take this through clarify plan and verify", "run it through the gate", "/work", or hands over a substantial change that has no domain workflow of its own and should be planned, approved and independently verified before it lands. NEGATIVE ROUTING: a code change or bug fix is /dev; a dataset, table, figure or number is /ds; long-form prose is /writing; a talk built from a research paper is /workshop; lecture notes or course slides are teaching:notes and teaching:slides; a skill, workflow or plugin in this repo is skill-creator, workflow-creator or plugin-creator. Each of those is this loop plus a domain gate, and work is only the fallback when none of them fits.
Как установить скилл work?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл work запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic