원클릭으로
delegate-task
// Delegate a task by forking a terminal session to a new terminal window. Use this when the user requests 'delegate' or 'create a new terminal' or 'new terminal: <command>' or 'fork session: <command>'.
// Delegate a task by forking a terminal session to a new terminal window. Use this when the user requests 'delegate' or 'create a new terminal' or 'new terminal: <command>' or 'fork session: <command>'.
| name | delegate-task |
| description | Delegate a task by forking a terminal session to a new terminal window. Use this when the user requests 'delegate' or 'create a new terminal' or 'new terminal: <command>' or 'fork session: <command>'. |
Fork a new terminal session to a new terminal window using one Claude Code.
Follow the Instructions, execute the Workflow.
DEFAULT_MODEL: opus HEAVY_MODEL: opus BASE_MODEL: sonnet FAST_MODEL: haiku
If user specifies "delegate to ", read .claude/reference/employees.json to get the repo path.
claude --help to understand the command and its options.--dangerously-skip-permissionsWhen delegating to a different repo (employee), the agent operates in THEIR directory, not yours. Before crafting the prompt:
Capture source repo path: Run pwd to get current working directory (SOURCE_REPO)
Use absolute paths in prompt for all source repo references:
{SOURCE_REPO}/tasks/...{SOURCE_REPO}/context/...{SOURCE_REPO}/outputs/Instruct agent to use its skills: Include in prompt: "First, check your available skills at .claude/skills/ and use any relevant ones for this task."
Specify output location explicitly: "Save deliverables to {SOURCE_REPO}/outputs/YYYY-MM-DD-.md"
outputs/YYYY-MM-DD-<slug>.<ext> using absolute path## Outputs using the obsidian [[slug]] schemaWhen delegating work related to an existing task or project:
tasks/next-weeks-video-idea.md).claude/skills/delegate/references/fork_summary_user_prompt.md with the history of the conversation between you and the user so far.Next User Request section.claude --model <MODEL> --dangerously-skip-permissions "<PROMPT>"
.claude/skills/delegate/scripts/fork_terminal.py '<full command>'.claude/skills/delegate/scripts/fork_terminal.py '<full command>' --repo '<employee_path>'User says: "delegate research on X"
Execute: .claude/skills/delegate/scripts/fork_terminal.py 'claude --model opus --dangerously-skip-permissions "Research X and summarize findings"'
User says: "fork terminal to build feature Y"
Execute: .claude/skills/delegate/scripts/fork_terminal.py 'claude --model opus --dangerously-skip-permissions "Implement feature Y in this codebase"'
User says: "delegate to head-of-content: research video ideas"
-> Run pwd to capture SOURCE_REPO
-> Read employees.json, get path for "head-of-content"
-> Craft prompt with: (1) instruction to use .claude/skills/, (2) absolute paths to SOURCE_REPO files
Execute: .claude/skills/delegate/scripts/fork_terminal.py 'claude --model opus --dangerously-skip-permissions "First check .claude/skills/ for relevant skills. Research video ideas. Context: {SOURCE_REPO}/context/... Output to: {SOURCE_REPO}/outputs/..."' --repo '<employee_path>'
Create or schedule a context farmer. Checks existing farmers and offers to build new ones or schedule existing ones.
End of day review - compare planned vs actual, update task statuses. Part of chief-of-staff system.
Manually trigger a context farmer subagent. Usage - /farm <name> (e.g., /farm slack)
Quick capture - classify and file natural language input into the vault. Part of chief-of-staff system. Use for capturing tasks, ideas, project notes, or people notes.
Initialize a new Second Brain vault from a template repo — validate privacy, create folders, push, and onboard the user.
Generate daily plan from due tasks and active projects. Part of chief-of-staff vault system.