conduct
БесплатноЗапускает вложенные скриптыНе проверенCoordinate registered Claude and Codex sessions for bounded reviews, design questions, and task handoffs. One Conductor, one shared protocol and helper on…
от BaseInfinity★ 54 звезды на GitHubОб этом скилле
Conduct — Claude adapter
This is the Claude-side adapter for Conduct protocol v1. The Codex wizard ships the Codex-side adapter. Both use the same envelope and the same helper:
references/protocol.md: the protocol. Read it before dispatching.scripts/conduct.cjs: the only writer of.brain/state.
Both files are vendored byte-identical from codex-sdlc-wizard, and
tests/test-conduct.sh pins their hashes. Never edit them here. Change them
upstream, then re-vendor.
<skill-root> below means the directory that holds this SKILL.md.
Envelope
There are exactly eight keys. The receiver owns model, effort, permissions and escalation, so those never go in the envelope.
{
"v": 1,
"id": "req-001",
"from": "claude:<session-uuid>",
"to": "codex:<thread-uuid>",
"type": "review",
"prompt": "Review the proposed change.",
"cwd": "/absolute/repo/path",
"ref": null
}
- Request types are
task,review,designandquestion, withref: null. - A response has
type: resultandref: <request id>.
Addresses
Use stable IDs, never display names.
| Session | Address |
|---|---|
| This Claude session in iTerm2 | claude:<uuid>, the part of $ITERM_SESSION_ID after the colon |
Claude session listed by ListAgents |
claude:<name exactly as ListAgents prints it> |
| Codex session | codex:<thread uuid> |
If two targets share a name, ask for the UUID. Do not guess.
A sender may address this session by another stable ID, such as its Claude
session ID. Accept it. When you reply, copy the request's to verbatim into
--from.
Commands
conduct list
Discover targets from every surface, then merge the results by stable ID:
- Run the
ListAgentstool. It lists local, Desktop, cloud and Remote Control Claude sessions. - Run
it2api list-sessions. It lists visible iTerm2 panes, which can hold either agent. - Use any Codex thread UUID the user or a Codex envelope supplied.
Report each target as address | kind | transport | status. A target with no
verified send route is visible, not reachable.
conduct send <target> <message>
Never put message text in a shell command. Some of these commands run with
the sandbox off, so a $(...), backtick, quote or heredoc terminator inside a
message would execute. Put the text in a file without a shell, then pass the
file as "$(cat FILE)"; the shell does not parse its output again.
Message files: seed, Read, Edit. Some installs deny the Write tool on any
brand-new non-test file, which includes $SCRATCH/msg.txt. So create the file
from a fixed literal, printf 'CONDUCT_PLACEHOLDER\n' > "$SCRATCH/msg.txt",
which holds no message text. Read it, then use the Edit tool to replace
CONDUCT_PLACEHOLDER with the message. An edit to an existing file passes that
gate, and the text never touches a shell.
Pick one run ID per conversation thread and reuse it, for example
live-002. Give each send or reply its own private scratch directory, so concurrent runs never collide and no other user can pre-create the path:mktemp -d "${TMPDIR:-/tmp}/conduct.XXXXXX". Use the absolute directory it prints as$SCRATCHbelow.Put the message in
$SCRATCH/msg.txtby seed, Read, Edit. Then record the request before you deliver it:node <skill-root>/scripts/conduct.cjs emit \ --root <repo> --run <run-id> --box outbox --id <req-id> \ --from <my-address> --to <target-address> \ --type <task|review|design|question> \ --prompt "$(cat "$SCRATCH/msg.txt")" --cwd <repo> --transport <route>Build the delivery file
$SCRATCH/delivery.txt. Its first line is the run header, and the rest is the unchanged contents of<repo>/.brain/runs/<run-id>/outbox/<req-id>.json. The command holds only IDs and paths, never message text:{ printf 'conduct run=%s root=%s request=outbox/%s.json\n' \ "<run-id>" "<repo>" "<req-id>" cat "<repo>/.brain/runs/<run-id>/outbox/<req-id>.json" } > "$SCRATCH/delivery.txt"The header tells the receiver where to record its result. It is transport metadata, so the envelope stays exactly eight keys. Helper stdout is a wrapper object, so never send stdout.
Record what the transport observed, without touching the envelope:
node <skill-root>/scripts/conduct.cjs mark \ --root <repo> --run <run-id> --id <req-id> --status <sent|delivered|failed>Transport acceptance is
sent. It does not prove the receiver ran anything.Wait for exactly one response. Before you write a result, reread the ledger and validate any result in
inboxthat references the request. If a valid correlated result already exists, reuse it, even when the courier exited nonzero, and emit no duplicate. Report that exit as a transport note, not as a request failure. An invalid existing result is never trusted, overwritten or markedanswered. Otherwise r
Установить conduct в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл conduct?
Coordinate registered Claude and Codex sessions for bounded reviews, design questions, and task handoffs. One Conductor, one shared protocol and helper on both ends. Use when the user asks to consult, dispatch to, review with, or coordinate another Claude or Codex session (CLI now; desktop once an adapter exposes it).
Как установить скилл conduct?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл conduct запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic