dl
SkillProductivityDelegate a sub-task to a new Cockpit session in any project on any engine, without waiting; check on it later.
Use dl in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add dl and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the dl skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by surething-io/cockpit in skills/dl/SKILL.md and read by Ahel’s review.
Hand a sub-task to a brand-new session that runs on its own — in another project directory and/or on another engine (codex, deepseek, kimi, glm, ollama, claude). You do NOT wait for it. You get a receipt back at once; the child notifies the user when it finishes.
Use it when the work belongs in another directory, suits another engine, or simply should not block this conversation. For parallel work inside this same repository, your own subagents are usually the better tool.
1. Delegate
Decide: target cwd (absolute project directory), engine, a short title, and the task. Write the task as a self-contained brief — the child sees none of this conversation. Put anything longer than a line or two in a brief file, so no JSON escaping is involved:
BRIEF=$(mktemp /tmp/cockpit-brief.XXXXXX)
cat > "$BRIEF" <<'EOF_BRIEF'
<goal, context the child needs, constraints, what "done" looks like>
EOF_BRIEF
curl -sS --fail-with-body -X POST "{{BASE_URL}}/api/sessions/delegate" \
-H "Content-Type: application/json" \
-H "x-cockpit-run-id: $COCKPIT_RUN_ID" \
--data-binary @- <<EOF_JSON
{"cwd": "/abs/target/project", "engine": "codex", "title": "<short label>", "briefPath": "$BRIEF"}
EOF_JSON
engineis inherited from the session you are running in when omitted — that is what thex-cockpit-run-idheader above is for, so always send it. Spellengineout only when the task should run somewhere else, which for/dlit often should. Claude when the calling session's engine cannot be determined.modelis optional and never inherited- For a one-liner you may send
"prompt": "..."instead ofbriefPath(escape"and\) - Do not delete the brief file — the child reads it after you return
- A 400 names the problem (missing directory, unconfigured engine, too many delegated sessions running) — report it, do not retry blindly
The receipt: { cwd, engine, model?, sessionId, link, title, createdAt, parent? }.
2. Reply — always restate the receipt
The receipt is the ONLY record of this delegation. Tool output is not searchable later, so repeat it in your reply text:
Delegated **<title>** to <engine> in `<cwd>` — [open session](<link>)
Use the link exactly as returned.
3. When the user asks how it went
- Find the receipt: first in this conversation; otherwise search past sessions with the
/ssflow (query the title or topic — your earlier reply and the child session itself are both indexed) - Check it:
curl -sS --fail-with-body --get "{{BASE_URL}}/api/sessions/status" \
--data-urlencode "cwd=<cwd>" --data-urlencode "sessionId=<sessionId>"
- Report
status—running,done(the last turn finished normally),failed(the engine recorded an error) orincomplete(stopped, interrupted or never finished; the user can open it and continue) — summarizelastReply, and give thelink.lastReplyis cut to 4000 characters; whenlastReplyTruncatedis true and you need all of it, repeat the call with--data-urlencode "full=1".
Signals
- GitHub stars
- 39
- Forks
- 12
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
dl- Source
- github.com/surething-io/cockpit
github.com/surething-io/cockpit
More in Productivity
Skill · coreyhaines31
More in Productivitygws-calendar
Skill · googleworkspace
More in Productivitylark-minutes
Skill · larksuite
More in Productivitylark-workflow-standup-report
Skill · larksuite
More in Productivityenergy-procurement
Skill · affaan-m
More in Productivityhomelab-pihole-dns
Skill · affaan-m
More in Productivity