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.
npx agentmods add skills/fradser/dotclaude/create-prnpx skills add FradSer/dotclaude --skill create-prgit clone --depth 1 https://github.com/FradSer/dotclaudeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00067 | $0.01789 |
| Opus 5 | $0.00034 | $0.00894 |
| Sonnet 5 | $0.00013 | $0.00358 |
| Haiku 4.5 | $0.00007 | $0.00179 |
Grade A, and why
create-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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create GitHub Pull Request
Execute automated PR creation workflow with comprehensive quality validation and security scanning.
Context
- Current git status: !
git status - Current branch: !
git branch --show-current - Unpushed commits: !
git log --oneline -5 - GitHub authentication: !
gh auth status - Repository changes: !
git diff --stat HEAD~1..HEAD
Requirements Summary
Ensure repository readiness with clean state and authentication. Complete all quality checks (lint, test, build, security) before PR creation. Link related issues with auto-closing keywords and apply accurate labels. See references/requirements.md for complete checklist.
Phase 1: Validation and Analysis
Goal: Validate repository state, analyze changes, detect templates, and identify blockers.
Actions:
- Verify GitHub authentication from context
- Check branch status and unpushed commits
- Analyze commit history for conventional commit compliance
- Identify changed files and determine PR scope
- Check for contributing guidelines (
CONTRIBUTING.md) and follow its requirements - Detect PR templates (
.github/PULL_REQUEST_TEMPLATE.mdor root/docs locations) - Detect potential blockers (merge conflicts, missing tests, etc.)
See references/repository-templates.md for template detection and compliance details.
Phase 2: Quality and Security Checks
Goal: Execute comprehensive quality validation and security scanning.
Actions:
- Run project-specific quality checks (see
references/quality-validation.mdfor commands) - Execute security scanning for sensitive files and hardcoded secrets
- Validate commit message format against standards
- If checks fail: follow failure resolution process in
references/failure-resolution.md - Re-run all checks until passing
Phase 3: PR Assembly and Creation
Goal: Create pull request with proper structure, metadata, and links.
Actions:
- Consume
$ARGUMENTSbefore deriving anything. It may carry, in any combination:- An issue reference (
Closes #456,Fixes #12, or a bare#456) — use it verbatim as the auto-closing keyword in the PR body; do not re-derive or second-guess it./github:resolve-issuesdelegates here and passes the issue it just resolved this way. - A free-text description — use it as the basis for the PR title and the What/Why section.
--draft— pass through togh pr createin step 6.--no-monitor— a Phase 4 opt-out only; never treat it as description text.--auto-merge— pass through to/github:review-prin Phase 4; turns on auto-merge on green in the review loop. Never treat it as description text. Strip the flags before using the remainder as description/issue text.
- An issue reference (
- Identify and link any further related issues using GitHub CLI (in addition to any reference from
$ARGUMENTS) - Generate PR title (≤70 chars, imperative, no emojis)
- Assemble PR body following template in
references/pr-structure.md - Apply automated labels based on file changes
- CRITICAL: auto-closing keywords only fire when the PR merges into the repository's default branch. If targeting a non-default branch (e.g.
develop), explicitly warn the user that linked issues will NOT close automatically on merge and must be closed manually — seereferences/auto-closing-keywords.mdfor the full rule and keyword table. - Create PR using
gh pr createwith all metadata- Use
--draftif$ARGUMENTSrequested it, or if the PR requires early feedback or is not fully complete - Set reviewers with
--reviewerand assignees with--assigneewhen requested - Fill title/body automatically using
--fillfor simple changes
- Use
- Report final PR URL and status to user. Do NOT run a foreground
gh pr checks --watchhere — Phase 4 hands off to/github:review-pr, which owns the persistent CI watch; a blocking--watchwould stall the turn and duplicate that watch. - CRITICAL: Proceed to Phase 4. Creating the PR is not the end of this skill. Skip Phase 4 only if
$ARGUMENTScontains--no-monitoror the user explicitly opts out — never because CI looks green, no reviewers are assigned, or the change looks trivial.
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/auto-closing-keywords.md 41 B
- references/commit-standards.md 36 B
- references/examples.md 28 B
- references/failure-resolution.md 839 B
- references/pr-creation-handoff.md 39 B
- references/pr-structure.md 1.3 KB
- references/quality-validation.md 38 B
- references/repository-templates.md 40 B
- references/requirements.md 659 B
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.
- 2d ago First seen · 97 lines · 67 tokens per session scan A 62010d93302d
create-pr is a skill published in the GitHub repository FradSer/dotclaude (588 stars, last pushed 21d ago), licensed MIT. It adds 67 tokens to every session and 1,789 once invoked, about $0.0003 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-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
agent-host-chat-contributions
Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.