Agent skill

Delegation Principle

by tzachbon in tzachbon/smart-ralph

Core principle that the main agent is a coordinator, not an implementer.

MITAuto-check passedAgent Workflows

Install Delegation Principle

skills CLI
$ npx skills add tzachbon/smart-ralph --skill delegation-principle -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tzachbon/smart-ralph delegation-principle --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tzachbon/smart-ralph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ralph-speckit/skills/delegation-principle .claude/skills/delegation-principle && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
delegation-principle
GitHub stars
559
Token cost
~630 tokens
SKILL.md length
243 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Core principle that the main agent is a coordinator, not an implementer.

  • Works in 4 steps: Parse user input, determine intent → Read state files for context → Delegate ALL work to subagents via Task… → …
  • Tasks that involve Subagents
  • SKILL.md covers Core Rule, Your ONLY Role, NEVER Do and ALWAYS Do, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Delegation Principle is an agent skill from tzachbon/smart-ralph. Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Subagents and Spec-driven development. The repository describes itself as: Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow. The licence is MIT.

When your agent uses it

  • Tasks that involve Subagents
  • Tasks that involve Spec-driven development

Example prompts

  • “/delegation-principle”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Parse user input, determine intent
  2. Read state files for context
  3. Delegate ALL work to subagents via Task tool
  4. Report results to user

What it can do on your machine

Read from SKILL.md and the folder at commit ac7251a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Delegation Principle loads about 630 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 243 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~630

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tzachbon/smart-ralph at commit ac7251a, republished under its MIT licence (© tzachbon). 243 words, ~630 tokens.

Download SKILL.mdSave it as .claude/skills/delegation-principle/SKILL.md (or your agent's skills folder).
name
delegation-principle
description
Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.
version
0.1.0

Delegation Principle

Core Rule

YOU MUST NEVER IMPLEMENT ANYTHING YOURSELF

The main agent (you) is a coordinator, not an implementer.

Your ONLY Role

  1. Parse user input, determine intent
  2. Read state files for context
  3. Delegate ALL work to subagents via Task tool
  4. Report results to user

NEVER Do

  • Write code, create files, modify source directly
  • Run implementation commands (npm, git commit, file edits)
  • Perform research, analysis, or design yourself
  • Execute task steps from tasks.md yourself
  • "Help out" by doing small parts directly
  • Generate spec artifacts (spec.md, plan.md, tasks.md) yourself

ALWAYS Do

  • Use Task tool with appropriate subagent_type
  • Pass complete context to subagent
  • Wait for subagent completion before proceeding
  • Let subagent handle ALL implementation details

SpecKit Subagent Types

Work TypeSubagent
Constitutionconstitution-architect
Specificationspec-analyst
Technical Designplan-architect
Task Planningtask-planner
Task Executionspec-executor
Verificationqa-engineer

Why This Matters

ReasonBenefit
Fresh contextSubagents get clean context windows
SpecializationEach subagent has specific expertise
AuditabilityClear separation of responsibilities
ConsistencySame behavior regardless of mode
Constitution alignmentAgents enforce principles

Quick Mode Exception?

NO. Even in --quick mode, you MUST delegate:

  • Artifact generation → appropriate specialist subagent
  • Task execution → spec-executor subagent

Quick mode skips interactive phases. Does NOT change delegation requirement.

Coordinator Pattern

text
User runs command
       ↓
Coordinator parses args
       ↓
Coordinator reads state
       ↓
Coordinator delegates via Task tool
       ↓
Subagent does ALL work
       ↓
Subagent returns result
       ↓
Coordinator reports to user
       ↓
Coordinator STOPS (unless quick mode)

Phase Transitions

After each phase completes:

  1. Subagent sets awaitingApproval: true in state
  2. Coordinator outputs status with next command
  3. Coordinator STOPS immediately
  4. User must run next command explicitly

Exception: --quick mode runs all phases without stopping.

© tzachbon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ralph-speckit/skills/delegation-principle of tzachbon/smart-ralph.

Open the folder on GitHubat commit ac7251a

Compare with similar skills

Delegation Principle next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Delegation Principle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Delegation Principle this skilltzachbon/smart-ralph559—~630Automated safety check: PassMIT
MoAI Foundation Coremodu-ai/moai-adk1.2k—~5kAutomated safety check: PassApache-2.0
Cc Dev Agentsangrokjung/claude-forge852—~771Automated safety check: PassMIT
Extracting Requirementsprime-radiant-inc/iterative-development181—~2.7kAutomated safety check: PassApache-2.0
Spec-Driven Development v2LichAmnesia/lich-skills234—~3.1kAutomated safety check: PassMIT
Sagawarpdotdev/common-skills610—~4.1kAutomated safety check: PassMIT

Similar skills

  • MoAI Foundation Core

    modu-ai/moai-adk

    Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

    1.2k GitHub stars~5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Cc Dev Agent

    sangrokjung/claude-forge

    A skill your agent uses when starting Claude Code projects, writing CLAUDE.md/spec.md, dispatching subagents, or requesting Agent Teams parallel development.

    852 GitHub stars~771 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Extracting Requirements

    prime-radiant-inc/iterative-development

    Reads human-written spec documents and produces per-epic requirement files with proof obligations plus behavior scenarios with stable IDs, using parallel chunked extraction.

    181 GitHub stars~2.7k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Spec-Driven Development v2

    LichAmnesia/lich-skills

    Organizes long-running agent work into a Project, Sprint and Task hierarchy with per-task state files, isolated worktrees, review loops and script-checked rules.

    234 GitHub stars~3.1k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Saga

    warpdotdev/common-skills

    Run an autonomous, spec-driven development "saga" for medium-to-large features using an orchestrator agent and a fleet of worker subagents.

    610 GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Tapd Story Plan

    TencentBlueKing/bk-bcs

    迭代执行流水线开发计划阶段。基于 spec.md 调用 /speckit.plan 以测试驱动开发模式构建 开发计划、技术调研与数据模型,并在同一 subagent 内就地做文档级合规自检,产出 plan-report.md。

    840 GitHub stars~886 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from tzachbon/smart-ralph

All 26 skills in this repo
  • Communication Style

    tzachbon/smart-ralph

    This skill should be used when generating spec artifacts (research.md, requirements.md, design.md, tasks.md), formatting agent output, structuring phase results, or when any Ralph agent needs…

    559 GitHub stars~551 tokensUpdated 24 days ago
    Auto-check passed
  • Interview Framework

    tzachbon/smart-ralph

    This skill should be used when a Ralph phase must identify critical user decisions, run a layered grill, persist partial answers, obtain explicit approval, or resume an interrupted phase interview…

    559 GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Reality Verification

    tzachbon/smart-ralph

    This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only…

    559 GitHub stars~877 tokensUpdated 24 days ago
    Auto-check passed
  • Spec Workflow

    tzachbon/smart-ralph

    This skill should be used when the user asks to "build a feature", "create a spec", "start spec-driven development", "run research phase", "generate requirements", "create design", "plan tasks"…

    559 GitHub stars~1.1k tokensUpdated 24 days ago
    Auto-check passed
  • Ralph Specum Design

    tzachbon/smart-ralph

    This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

    559 GitHub stars~1.5k tokensUpdated 24 days ago
    Auto-check passed
  • Ralph Specum Tasks

    tzachbon/smart-ralph

    This skill should be used only when the user explicitly asks to use $ralph-specum-tasks, or explicitly asks Ralph Specum in Codex to run the tasks phase.

    559 GitHub stars~1.6k tokensUpdated 24 days ago
    Auto-check passed

Categories

Questions about Delegation Principle

What does Delegation Principle do?

Core principle that the main agent is a coordinator, not an implementer. Delegation Principle is an agent skill from tzachbon/smart-ralph. Core principle that the main agent is a coordinator, not an implementer.

When should I use Delegation Principle?

Delegation Principle fits situations like: tasks that involve Subagents; tasks that involve Spec-driven development.

How do I install Delegation Principle in Claude Code?

Run `npx skills add tzachbon/smart-ralph --skill delegation-principle -a claude-code`. Or copy the skill folder (plugins/ralph-speckit/skills/delegation-principle in tzachbon/smart-ralph) into .claude/skills/delegation-principle in your project. Claude Code loads it when a task matches its description.

How do I install Delegation Principle in Codex?

Run `npx skills add tzachbon/smart-ralph --skill delegation-principle -a codex`. Or copy the skill folder (plugins/ralph-speckit/skills/delegation-principle in tzachbon/smart-ralph) into .agents/skills/delegation-principle in your project. Codex loads it when a task matches its description.

Can I use Delegation Principle in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tzachbon/smart-ralph --skill delegation-principle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/delegation-principle, .gemini/skills/delegation-principle, .github/skills/delegation-principle and .opencode/skills/delegation-principle in your project.

What does Delegation Principle need to run?

SKILL.md names no scripts, command-line tools or credentials: Delegation Principle is instructions for the agent only.

Does Delegation Principle access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Delegation Principle safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Delegation Principle use?

Delegation Principle is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Delegation Principle use?

About 630 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Delegation Principle?

Skills that share tags, products or a category with Delegation Principle: MoAI Foundation Core (modu-ai/moai-adk, 1.2k stars), Cc Dev Agent (sangrokjung/claude-forge, 852 stars), Extracting Requirements (prime-radiant-inc/iterative-development, 181 stars) and Spec-Driven Development v2 (LichAmnesia/lich-skills, 234 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Delegation Principle?

tzachbon (a GitHub user) maintains it in tzachbon/smart-ralph, which has 559 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on September 16, 2026.

Source: tzachbon/smart-ralph on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.