agentleFS
lfake2320-collablfake2320-collab/agentdesk/skills/subagent-delegation/SKILL.md

subagent-delegation

Skill0 starsChanged 5 months agoMITView on GitHub

Delegate coding tasks to user-configured DevSpace subagents.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. shinpr/codex-workflows★ 38same name
    2. PracticalSwan/agent-skills★ 18same name
    3. buildpad-ai/skills★ 1same name
    4. rmkr/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user explicitly asks to delegate work to another coding agent, use a named subagent, get a second opinion, compare …

    line 8
  2. Distinctive:

    Do not use subagents silently.

    line 12
  3. Distinctive:

    Use only these commands for normal delegation:

    line 17
  4. Very specific:

    Do not run provider CLIs such as codex, claude, opencode, pi, cursor-agent, or copilot directly unless you are explicitly debugging …

    line 40
  5. Very specific:

    Use --thinking only when the user asks for a specific reasoning depth or when the task clearly needs a different effort than the configured …

    line 60
  6. Distinctive:

    Do not delegate ordinary coding work just because a profile exists.

    line 72
  7. Distinctive:

    Read-only investigation prompt shape:

    line 102
  8. Distinctive:

    Always review the result before presenting it as verified.

    line 119
  9. Distinctive:

    Never hide that a subagent was used.

    line 132

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Subagent Delegation

Use this skill when the user explicitly asks to delegate work to another coding agent, use a named subagent, get a second opinion, compare approaches, or run a subagent-like workflow.

Do not use subagents silently. Tell the user when another subagent is being used.

Core commands

Use only these commands for normal delegation:

devspace agents ls
devspace agents run <profile-or-provider-or-id> "<prompt>"
devspace agents show <id>

ls shows existing subagent sessions for the current workspace. DevSpace scopes it automatically from the shell environment injected by the workspace tool.

run <profile> "<prompt>" starts a new configured profile and prints a DevSpace agent id.

run <provider> "<prompt>" starts a raw built-in provider when no configured profile is needed. Built-in providers are listed by open_workspace.

run <id> "<prompt>" sends a follow-up to an existing agent.

show <id> prints status and the latest response. If the agent is still running, show waits briefly. If there is still no final response, call show again later.

Do not run provider CLIs such as codex, claude, opencode, pi, cursor-agent, or copilot directly unless you are explicitly debugging DevSpace agent integration.

Choosing a profile

Choose profiles from the compact subagent profile catalog returned by open_workspace. Use the profile name with devspace agents run. If no profile fits and delegation is still appropriate, use a built-in provider name from open_workspace.

Profiles may declare a model and optional thinking level. To override the configured/default provider model or thinking level for a run, pass --model or --thinking:

devspace agents run <profile-or-provider> --model <model> "<prompt>"
devspace agents run <profile-or-provider> --thinking <level> "<prompt>"

Use --thinking only when the user asks for a specific reasoning depth or when the task clearly needs a different effort than the configured profile default. Thinking values are provider-specific passthrough values. Use names supported by the selected local agent harness; DevSpace does not translate values between providers.

Good delegation targets:

  • reviewer: second opinion, bug risk, security risk, test gaps.
  • explorer: read-only codebase investigation.
  • implementer: focused implementation when the user asked for delegation.

Do not delegate ordinary coding work just because a profile exists. Use normal DevSpace tools unless the user asked for delegation, another agent's opinion, parallel work, or a named subagent.

Worker prompts

Agents start with only the prompt you send plus their configured profile instructions. Make prompts self-contained.

Implementation prompt shape:

Goal:
<clear goal>

Context:
<repo/module/user constraints>

Relevant files:
<paths and why they matter>

Acceptance criteria:
- <criterion>

Rules:
- Keep changes focused.
- Do not perform unrelated refactors.
- Report blockers clearly.

Read-only investigation prompt shape:

Question:
<specific question>

Scope:
<files/directories/modules to inspect>

Rules:
- Do not modify files.
- Cite relevant file paths and symbols.
- Separate facts from guesses.

After the worker responds

Always review the result before presenting it as verified.

For write-capable tasks, inspect changed files and run or explain relevant tests. For read-only tasks, verify that important claims are supported by repo evidence.

Be transparent in the final response:

I used <profile>. It reported <summary>. I verified <checks>. Remaining risk:
<risk or none>.

Never hide that a subagent was used.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.