dancing-bear: Skill for Claude Code

.claude/skills/open-pr/SKILL.md

open-pr is a skill for Claude Code from dancing-bear-show/dancing-bear. It costs 53 tokens per session (879 once invoked), scanned A, original, MIT.

A pre-pull-request workflow that checks code before creating a pull request, which is a request for teammates to review changes. It runs type checks, linting, tests, and coverage checks, then prepares and opens the pull request.

In plain words
What is it for?
Use it when a feature branch is ready for review. It checks the changed area, applies the project's test and coverage rules, and creates the pull request when validation is complete.
Why use it?
It removes the manual steps of validating a feature branch and writing a pull-request description. This helps catch basic problems before other developers review the changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is dancing-bear-show/dancing-bear's own configuration. It tells Claude Code how to work on dancing-bear itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dancing-bear configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dancing-bear-show/dancing-bear. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/skills/open-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dancing-bear-show/dancing-bear

Made for: Claude Code.

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 open-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/open-pr/github.svg)](https://agentmods.dev/skills/dancing-bear-show/dancing-bear/open-pr)
Your own site
<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/open-pr"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/open-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 open-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/open-pr"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 879 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.
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.00053 $0.00879
Opus 5.5 $0.00021 $0.00352
Sonnet 5.5 $0.00011 $0.00176
Haiku 4.5 $0.00005 $0.00088

Measured yesterday against content hash a5be7ac48c91, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-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 yesterday.

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.

.claude/skills/open-pr/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Open PR

Delegates to workflows/code/open-pr.yaml via the /workflow skill.

When to Use

  • User says "create PR", "open PR", "/open-pr", or similar
  • After completing work on a feature branch
  • Runs 6-stage comprehensive validation before PR creation

How to Run

Derive the params from context before invoking:

  • pr_title: use the conventional-commit format — read recent commits with git log origin/main..HEAD --oneline to determine type and scope
  • test_cmd: check the project's test runner — use PYTHONPATH="$PWD/src" python3 -m unittest discover -s tests/<domain>_tests/ -t . -q scoped to the changed domain
  • source_root: the source directory being changed, e.g. src/mail/
  • test_path: the corresponding test directory, e.g. tests/mail_tests/
  • min_coverage: default 80 unless the project specifies otherwise
  • auth_domains: default github,qlty

IMPORTANT: Use the /workflow skill — do NOT call ./bin/workflow run --execute directly. ./bin/workflow run --execute only writes dispatch files and exits immediately (status=pending). The /workflow skill is what actually spawns agents, waits for results, and handles human gates.

Skill(skill="workflow", args="--workflow workflows/code/open-pr.yaml --params pr_title=<VALUE> --params test_cmd=<VALUE> --params source_root=<VALUE> --params test_path=<VALUE> --params min_coverage=80 --params auth_domains=github,qlty")

Workflow Params

Param Default Description
pr_title "" Required: conventional-commit title e.g. "feat(mail): add label sync"
test_cmd "" Test suite command e.g. PYTHONPATH="$PWD/src" python3 -m unittest discover -s tests/mail_tests/ -t . -q
source_root "" Source root for mypy + qlty scoping e.g. "src/mail/"
test_path "" Test directory path e.g. "tests/mail_tests/"
min_coverage "80" Minimum coverage threshold (percent)
auth_domains "github,qlty" Comma-separated services for pre-flight auth check

Read the full file on GitHub · 58 lines

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. yesterday First seen · 58 lines · 53 tokens per session scan A a5be7ac48c91

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 879 once invoked, about $0.0002 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-11-07.

Related

open-pr compared with skills from other repositories

open-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-prdancing-bear-show/dancing-bearSkill7yesterdayMITA53Claude Code
gogolafkfreund/nixos_configSkill32yesterdayGPL-3.0A125Claude Code, Codex
google-workspace-authbobmatnyc/claude-mpmSkill1582mo agononeA22Claude Code
rea-changelog-updatemorluto/reaSkill443ktodayMITA33Claude Code, Codex
repo-hygieneQwenLM/qwen-codeSkill29ktodayApache-2.0A48Claude Code, Codex
gh-skillcli/cliSkill47kyesterdayMITA41Claude Code, Codex
atmos-hookscloudposse/atmosSkill1.4ktodayApache-2.0A46Claude Code