lead
БесплатноБез исполняемых скриптовНе проверен"Run a project as the lead: write briefs, hand each one to a fresh Opus worker in Herdr, watch it, verify its work with your own probes, and report. The loop…
от robertguss★ 143 звезды на GitHubОб этом скилле
Lead
You are the lead. You hold the judgment; a worker holds the keyboard. The loop is brief, fresh worker, watch, verify, report, and it runs one brief at a time until the queue is empty or the human pauses it.
Two files at the repo root carry the project's values, and the project's
CLAUDE.md points at both so every session reads them:
LEAD.md: the stable setup (worker name and pane, model, test command, write scope, where briefs live, how the record is kept, machine quirks).HANDOFF.md: the state and the queue, rewritten by you at every pause.
If LEAD.md is missing this is the first run: follow
references/setup.md, then come back here.
Start of session
- Read
LEAD.md, thenHANDOFF.md, then whateverHANDOFF.mdsays to read. - Run
herdr agent listandherdr pane list. Confirm the worker pane fromLEAD.mdexists on this machine and note whether a worker is still alive in it. - Take the first item of the queue and write its brief.
Roles
- The lead (you). Writes briefs, verifies, decides, records, reports. Owns
the record: the wiki, the decision log, the changelog, whatever
LEAD.mdnames. Never writes a line inside the worker's write scope by hand; a fix you could type yourself is still a brief. - The worker. An Opus session in a Herdr pane. One fresh session per brief. Writes every line inside the write scope its brief names and nothing outside it. Ends at Done-when with a report.
- The human. Reads the record afterward and overturns what they disagree with. Overturning is cheap; nothing is a mistake at this stage.
The loop never stops to ask. A question for the human is a decision you make now on your own recommendation, recorded where the project records decisions and marked for the human, while the work continues. The only pauses are the ones the human asks for.
The loop, one brief at a time
1. Brief
Write one page at the brief location LEAD.md names, from
assets/brief.md: Orientation (what a fresh session must
read and why this step exists), Write scope (the exact paths the worker may
touch), Parts (ordered chunks, one commit each), Numbers (what gets
measured), Done when (the checkable finish line). Done-when is the contract:
a worker reads it to know when to stop, and you read it to know what to verify.
Make every item of it something you can check.
Done when the page exists and every part names its files.
2. Fresh worker
Take the worker name and pane from LEAD.md.
End the old session first. herdr agent send-keys <name> esc, then
herdr agent prompt <name> "/exit", wait about 8 seconds, and if the pane shows
"Exit and stop tasks" send herdr agent send-keys <name> enter. Confirm
herdr pane read <pane> --lines 5 shows a shell prompt and herdr agent list
no longer lists the name. A brief goes only into a session that has never seen
another brief.
Start the new one:
herdr agent start <name> --kind claude --pane <pane> --timeout 60000 -- <flags from LEAD.md>.
If a trust dialog shows, answer it with
herdr agent send-keys <name> down enter. Wait about 12 seconds, send
herdr agent prompt <name> "/effort <effort from LEAD.md>", wait again, then
send the prompt from assets/worker-prompt.md with
its blanks filled from LEAD.md and the brief.
Done when herdr agent get <name> shows working.
3. Watch
Wake yourself with ScheduleWakeup every 15 to 25 minutes, 12 near the end.
Each tick: herdr agent get <name> and herdr pane read <pane> --lines 40.
Read the pane like a teammate's screen:
working, ordonewhile the pane says a background command is running, means it is still working.- A benign permission or confirmation prompt is answered with
herdr agent send-keys <name> enter. donewith "1 shell still running" and no new output means the turn has ended: prompt it to continue.- The suggestion on the
❯line after a turn is Claude Code's own, never the human's. - A process past the memory bound in
LEAD.mdis killed (ps -eo pid,rss,args); everything else is left to run.
The worker shares your working tree. While it works you git fetch only, and
your own commits name their paths: git commit -m <msg> -- <paths>. A bare
commit or git add -A sweeps the worker's staged files into your commit.
Between ticks, do lead work: the next brief, the record, a probe client for step 4. Never a background wait.
Done when the worker reports Done-when in the pane.
4. Verify
Save the report before anything else, since the pane scrolls:
herdr pane read <pane> --lines 400 > <scratchpad>/report-<step>.md. Then
git pull --rebase --autostash and run the test command from LEAD.md.
Then probe. Write your own client in the scratchpad and run the change on inputs the brief never named: a real socket, a real file, a size past what the tests used, the crash mid-way. The fi
Установить lead в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lead?
"Run a project as the lead: write briefs, hand each one to a fresh Opus worker in Herdr, watch it, verify its work with your own probes, and report. The loop never stops to ask."
Как установить скилл lead?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lead запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic