create-draft-pr

create-draft-pr is a skill for Claude Code, Codex from microsoft/vscode. It costs 31 tokens per session (184 once invoked), scanned A, original, MIT.

A workflow for opening a draft pull request on GitHub from the current coding session. It checks the code, commits uncommitted changes, reviews the session's work, and prepares the pull request text.

In plain words
What is it for?
Use it to turn the current session's code changes into a GitHub draft pull request with a clear title and description.
Why use it?
It brings the checks, commit, review, and draft pull request steps into one process, so changes are ready for teammates to review.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn the current session's code changes into a GitHub draft pull request with a clear title and description.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/vscode/create-draft-pr
About the project

Visual Studio Code is a code editor that supports editing, navigating, understanding, debugging, and extending software projects. Developers use it for the edit-build-debug cycle, and the catalogue add-ons provide skills, instructions, and agents for working within the editor.

microsoft/vscode · 194,191 stars · on GitHub · code.visualstudio.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/vscode --skill create-draft-pr
Clone the repo
git clone --depth 1 https://github.com/microsoft/vscode

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-draft-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/vscode/create-draft-pr/github.svg)](https://agentmods.dev/skills/microsoft/vscode/create-draft-pr)
Your own site
<a href="https://agentmods.dev/skills/microsoft/vscode/create-draft-pr"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/create-draft-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-draft-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/vscode/create-draft-pr"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/create-draft-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00184
Opus 5.5 $0.00012 $0.00074
Sonnet 5.5 $0.00006 $0.00037
Haiku 4.5 $0.00003 $0.00018

Measured 1mo ago against content hash 56ba0a34db1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-draft-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/vs/sessions/skills/create-draft-pr/SKILL.md · 17 lines

What it actually says

Create Draft Pull Request

Use the GitHub MCP server to create a draft pull request if available, otherwise use gh CLI.

  1. Run the compile task (fixing any errors)
  2. If there are any uncommitted changes, use the /commit skill to commit them
  3. Review all changes in the current session
  4. Write a clear, concise PR title with a short area prefix (e.g. "sessions: …", "editor: …")
  5. Write a description covering what changed, why, and anything reviewers should know
  6. Create the draft pull request
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 56ba0a34db1a
  2. 1mo ago First seen · 17 lines · 31 tokens per session scan A 084fb0a07a77

Subscribe to this mod's changes

create-draft-pr is a skill published in the GitHub repository microsoft/vscode (194,191 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 184 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

draft-release-notes

Author the committed release-notes file for a Prisma 8 release (stable or 8.0.0-rc.N) by enumerating the merged PRs since the previous release v tag (stable or -rc.N), resolving opaque TML-NNNN: titles via Linear context (never copied verbatim), triaging public-worthiness, and writing categorized notes — breaking…

prisma/orm · 174 tokens

publish-npm-version

Cuts the next release of Prisma 8: bumps the root package.json version (on the v8 RC line: 8.0.0-rc.N → rc.N+1), propagates it to every workspace package, and opens a PR titled "chore(release): bump to ". When the maintainer merges the PR, the Publish to npm workflow runs automatically and ships the new version to npm…

prisma/orm · 182 tokens

update-changelog

Update the CHANGELOG.md files of C# projects. Parameters: csroot C# SDK repository root.

Azure/azure-sdk-for-net · 25 tokens

release-version

Steps to cut a VNote version release (e.g. v4.3.0) — bump the version with scripts/updateversion.py, refresh and fill zhCN/ja translations via lupdate, write the changes.md changelog, and trigger the CI [Release] build. Use when asked to "release", "cut a release", "bump the version", or "prepare vX.Y.Z".

vnotex/vnote · 86 tokens

release-process

Pre-release validation, npm publish procedures, and post-publish verification.

github/gh-aw · 16 tokens

pi-package-sandbox-test

Use when verifying that published Pi packages install and load for normal users, including pi.dev package compatibility checks, release validation, Daytona sandbox tests, and package installability audits.

spences10/my-pi · 40 tokens