goal-draft SKILL.md skillA

goal-draft from qwenlm/qwen-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qwenlm/qwen-code/goal-draft@git:20261008.2d4bec8

Pins git:20261008.2d4bec8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qwenlm/qwen-code
Path
packages/core/src/skills/bundled/goal-draft/SKILL.md
Versions recorded
8
Latest version
git:20261008.2d4bec8, committed Oct 8, 2026
First version recorded
Aug 26, 2026
Size
14,009 bytes
Repository stars
29,081
License
Apache-2.0

Turn a fuzzy intention into a /goal objective the Goal verifier can actually judge - one outcome, numbered binary "Done when" checks that leave evidence in the transcript, guardrails, a budget, and a block protocol. Use when the user wants to set or define a goal, asks whether a goal is good enough, or says "keep going until X". Usage - /goal-draft <what you want done>, or /goal-draft <existing goal> to tighten it. This skill only writes the objective; it never starts the work.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# /goal-draft — write a Goal the verifier can judge

You are already inside the loaded `goal-draft` skill — do not call the `skill` tool to invoke it again; start with Step 0.

You are drafting the text for `/goal set`. You are NOT doing the work the goal describes. Do not edit files, do not run the checks, do not start on the task. Deliver a concise objective for approval or a command the user can run; if essential information is missing, deliver only a draft marked "Needs clarification".

## How Goals are judged (why the format below matters)

An active Goal is re-fed to the model every turn, and its completion is judged by an independent verifier that sees ONLY transcript evidence, read from the most recent record backwards until its request is full:

- Visible assistant output, tool results, and the user's own messages recorded for the Goal count as evidence; a user message proves only what the user said, chose, or approved. The objective itself and hidden reasoning do not, and in a long Goal the oldest records no longer reach the verifier.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qwenlm/qwen-code/goal-draft@sha256:903669b518d850f2

The line at the top of this page pins the label git:20261008.2d4bec8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Aug 26, 2026 and Oct 8, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20261008.2d4bec8 latest2026-10-08 2d4bec8 14,009 BA view · diff
git:20260917.fa2be322026-09-17 fa2be32 13,934 BA view · diff
git:20260917.2984af62026-09-17 2984af6 13,566 BA view · diff
git:20260911.5a9c9b32026-09-11 5a9c9b3 13,437 BA view · diff
git:20260910.48159412026-09-10 4815941 12,957 BA view · diff
git:20260907.bc13d162026-09-07 bc13d16 12,956 BA view · diff
git:20260901.56f92c82026-09-01 56f92c8 9,799 BA view · diff
git:20260826.4c51f8c2026-08-26 4c51f8c 9,278 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (14009 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 · 29,081 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hcpnzpgpch7zdnon
GET https://markdownregistry.com/api/v1/resolve?ref=qwenlm/qwen-code/goal-draft
GET https://markdownregistry.com/api/v1/blob/903669b518d850f23ac09a661392291916a2fcc733902c7f49868aa94726b124

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qwenlm/qwen-code

agent-reproduce-align SKILL.md 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 · 29,081 stars
agent-reproduce-feature SKILL.md 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 · 29,081 stars
autofix SKILL.md 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 · 29,081 stars
bugfix SKILL.md 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 · 29,081 stars
ci-flaky-patrol SKILL.md 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:20261106.478c2f8 · audit A · 29,081 stars
codegraph SKILL.md 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 · 29,081 stars
create-issue SKILL.md 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 · 29,081 stars
deflake SKILL.md 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 · 29,081 stars
docs-audit-and-refresh SKILL.md 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 · 29,081 stars
docs-update-from-diff SKILL.md 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 · 29,081 stars
e2e-testing SKILL.md 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 · 29,081 stars
feat-dev SKILL.md 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 · 29,081 stars

Every file in qwenlm/qwen-code

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