Home / qwenlm / qwen-code · packages/core/src/skills/bundled/agent-delegation/SKILL.md · GitHub

agent-delegation skillA

agent-delegation is agent-read markdown (skill) from qwenlm/qwen-code: Reference for briefing a subagent or a fork — what to put in the prompt, what not to delegate, and a worked example. Load before writing a delegation prompt; the Agent tool's own description carries the launch rules and the background-agent rules..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Delegation prompt reference

Everything below is about _writing_ the prompt. Whether to delegate at all, how
a background agent reports back, and the rules for running agents concurrently
stay in the Agent tool's description — this reference does not repeat them.

## Writing the prompt

Brief the agent like a smart colleague: make the delegated task, boundaries, and expected output explicit. Regular subagents have not seen this conversation; forks inherit all or the selected recent window.

- Explain what you're trying to accomplish and why.
- Describe what you've already learned or ruled out.
- Give enough context about the surrounding problem that the agent can make judgment calls rather than just following a narrow instruction.
- If you need a short response, say so explicitly.
- For lookups, provide the exact target. For investigations, provide the actual question rather than an over-prescribed sequence of steps.
- Provide clear, detailed prompts so the agent can work autonomously and return exactly the information you need.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add qwenlm/qwen-code/agent-delegation@git:20260922.c650a3e
Exact content
mdr add qwenlm/qwen-code/agent-delegation@sha256:e8c396feb979b0c3

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ibo3h5notjcplfoe.svg)](https://markdownregistry.com/a/art_ibo3h5notjcplfoe)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.c650a3e latest2026-09-22 c650a3e 3,393 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3393 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

qwenlm/qwen-code · 28,110 stars · license Apache-2.0 · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ibo3h5notjcplfoe
GET https://markdownregistry.com/api/v1/resolve?ref=qwenlm/qwen-code/agent-delegation
GET https://markdownregistry.com/api/v1/blob/e8c396feb979b0c35b9aea8b22f68b5b6d0ca04873283b47f3b10a13e7f5fc89

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from qwenlm/qwen-code

agent-reproduce-align skill
qwenlm/qwen-code · .qwen/skills/agent-reproduce-align/SKILL.md · Use after a Codex or Claude Code feature has been implemented in Qwen Code to run the selected reference agent and Qwen…
git:20260602.bec97f4 · audit A · 28,110 stars
agent-reproduce-feature skill
qwenlm/qwen-code · .qwen/skills/agent-reproduce-feature/SKILL.md · Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference…
git:20260602.bec97f4 · audit A · 28,110 stars
autofix skill
qwenlm/qwen-code · .qwen/skills/autofix/SKILL.md · Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from…
git:20260910.67fe20a · audit A · 28,110 stars
bugfix skill
qwenlm/qwen-code · .qwen/skills/bugfix/SKILL.md · Fix a bug from a GitHub issue, following the reproduce-first
git:20260711.909f0fe · audit A · 28,110 stars
ci-flaky-patrol skill
qwenlm/qwen-code · .qwen/skills/ci-flaky-patrol/SKILL.md · Classify a bounded batch of stale PR CI failures and choose the safest response.
git:20260719.0764276 · audit A · 28,110 stars
codegraph skill
qwenlm/qwen-code · .qwen/skills/codegraph/SKILL.md · Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead…
git:20260513.fd53527 · audit A · 28,110 stars
create-issue skill
qwenlm/qwen-code · .qwen/skills/create-issue/SKILL.md · Draft and submit a GitHub issue from a user idea or bug description, with bilingual body and correct labels.
git:20260611.4f1203b · audit A · 28,110 stars
deflake skill
qwenlm/qwen-code · .qwen/skills/deflake/SKILL.md · Stabilize a flaky test with a minimal, assertion-preserving fix — never by weakening or deleting the check.
git:20260719.0764276 · audit A · 28,110 stars
docs-audit-and-refresh skill
qwenlm/qwen-code · .qwen/skills/docs-audit-and-refresh/SKILL.md · Audit the repository's docs/ content against the current codebase,
git:20260609.30b52ec · audit A · 28,110 stars
docs-update-from-diff skill
qwenlm/qwen-code · .qwen/skills/docs-update-from-diff/SKILL.md · Review local code changes with git diff and update the official
git:20260609.30b52ec · audit A · 28,110 stars
e2e-testing skill
qwenlm/qwen-code · .qwen/skills/e2e-testing/SKILL.md · Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic…
git:20260611.4f1203b · audit A · 28,110 stars
feat-dev skill
qwenlm/qwen-code · .qwen/skills/feat-dev/SKILL.md · End-to-end workflow for implementing a non-trivial qwen-code
git:20260711.909f0fe · audit A · 28,110 stars

Every file in qwenlm/qwen-code

Other files named agent-delegation

agent-delegation skill
yeisonrestrepo/code-conductor · skills/agent-delegation/SKILL.md · Rules for when and how to spawn sub-agents: Explore for 3+ file reads, parallel agents for independent tasks, summaries…
git:20260922.8fd811c · audit A · 7 stars

Browse by kind, by grade A, or by owner.