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
mdr add qwenlm/qwen-code/agent-delegation@git:20260922.c650a3emdr add qwenlm/qwen-code/agent-delegation@sha256:e8c396feb979b0c3Pin 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.
[](https://markdownregistry.com/a/art_ibo3h5notjcplfoe)
1 badge views in 30 days
Versions
Audit of the latest version
- 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
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
Every file in qwenlm/qwen-code