create-draft-pr

create-draft-pr is a skill for Claude Code, Codex from microsoft/vscode. It costs 31 tokens per session (186 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

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

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 · 190,919 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.

agentmods
npx agentmods add skills/microsoft/vscode/create-draft-pr
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.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.svg" alt="Measured on agentmods" 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 186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00186
Opus 5 $0.00015 $0.00093
Sonnet 5 $0.00006 $0.00037
Haiku 4.5 $0.00003 $0.00019

Measured 2d ago against content hash 084fb0a07a77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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 and hygiene tasks (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. 2d 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 (190,919 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 186 once invoked, about $0.0002 per session on Opus 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

update-changelog

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

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

azsdk-common-prepare-release-plan

Create, get, update, abandon, and link SDK PRs to release plan work items for Azure SDK releases. UTILITY SKILL. USE FOR: "create release plan", "get release plan", "update release plan", "update API spec in release plan", "update SDK details in release plan", "abandon release plan", "link SDK PR to plan", "namespace…

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

refresh-arm-sdk-release

WORKFLOW SKILL — Prepares Azure.ResourceManager SDK refresh pull requests in azure-sdk-for-net. WHEN: "prepare sdk refresh", "refresh Azure.ResourceManager package", "update ARM SDK from autorest tag", "refresh changelog dependencies". INVOKES: git and GitHub pull request tools for branch, commit, push, and PR…

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

azsdk-common-sdk-release

Check release readiness and trigger the release pipeline for Azure SDK packages. UTILITY SKILL. USE FOR: "release SDK", "trigger release", "check release readiness", "release pipeline", "publish package", "ship SDK". DO NOT USE FOR: SDK development, code generation, pipeline debugging, release plan creation. INVOKES…

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

changelog-generation

WORKFLOW SKILL — Generates release changelog entries and bumps versions for azd core or azd extensions. Identifies merged PRs since the last release, fetches PR details via GitHub MCP, classifies changes, and writes user-facing changelog entries with proper formatting, attribution, and spell checking. INVOKES: GitHub…

Azure/azure-dev · 167 tokens

cyrene-plan-mode

当 Cyrene 处于 Plan Mode(计划模式),正在讨论、调查、细化或准备代码/文件改动的实施计划时使用。.

Playa-0v0/Cyrene-Agent · 37 tokens