delegate-with-codedeck
Skill1 starsChanged 4 months agoMITView on GitHub
Delegate a coding or research task to a Codex or Claude Code CLI managed by a local CodeDeck Profile. Use when the user asks to consult, invoke, compare, or hand work to a third-party Codex/Claude profile through CodeDeck, or asks to continue or inspect an existing CodeDeck delegated session.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-continueSkill
- trellis-finish-workSkill
- trellis-metaSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-startSkill
- trellis-update-specSkill
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-metaSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-update-specSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use scripts/invoke-codedeck.ps1 for every operation.
- Very specific: line 13
Stop if CODEDECK_DELEGATED=1.
- Very specific: line 14
Run profiles when the user did not provide an exact Profile key.
- Very specific: line 17
Run the task with the selected Profile.
- Very specific: line 38
Add -ShowTerminal to run only when the user requests visibility or manual takeover.
- Distinctive: line 42
Read references/protocol.md only when handling errors or integrating a new host.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Delegate With CodeDeck
Use scripts/invoke-codedeck.ps1 for every operation. Do not reconstruct the
pipe protocol or read CodeDeck configuration files directly.
Workflow
- Stop if
CODEDECK_DELEGATED=1; delegated agents must not delegate again. - Run
profileswhen the user did not provide an exact Profile key. Present only the returned safe summaries and select a Profile based on the user's request. - Run the task with the selected Profile. Pass the prompt through
-Prompt; use-Cwdonly when the task needs a specific existing project directory. - Interpret the returned
status:completed: useassistant_textas the delegated answer.startingorrunning: retainsession_idand callwait.awaiting_input: surfacequestion; never guess or auto-approve a permission request. Usecontinueonly with an explicit answer.failed: report the structured error and relevantterminal_tail.
- Retain
session_idfor follow-up requests in the same conversation.
Commands
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command profiles
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command run -Profile "codex::name" -Cwd "C:\repo" -Prompt $task
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command wait -Session $sessionId
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command continue -Session $sessionId -Prompt $answer
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command status -Session $sessionId
& "<skill-dir>/scripts/invoke-codedeck.ps1" -Command cancel -Session $sessionIdAdd -ShowTerminal to run only when the user requests visibility or manual
takeover. The default wait is ten minutes; use -WaitMs when the host tool has
a shorter deadline.
Read references/protocol.md only when handling errors or integrating a new host.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

