sapiom-js: Skill for Claude Code

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

open-pr is a skill for Claude Code from sapiom/sapiom-js. It costs 0 tokens per session (1,657 once invoked), scanned A, original, MIT.

A set of instructions for opening pull requests in a repository whose automated checker requires a specific template. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
It is for creating or repairing pull requests, including changes to the required description, change-type selection, validation details, and checklist.
Why use it?
It helps prevent the checker from marking a pull request as incomplete because its sections, checkboxes, or required wording are missing.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sapiom/sapiom-js's own configuration. It tells Claude Code how to work on sapiom-js 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 sapiom-js configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sapiom/sapiom-js. 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/sapiom/sapiom-js/main/.claude/skills/open-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sapiom/sapiom-js

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/sapiom/sapiom-js/open-pr/github.svg)](https://agentmods.dev/skills/sapiom/sapiom-js/open-pr)
Your own site
<a href="https://agentmods.dev/skills/sapiom/sapiom-js/open-pr"><img src="https://agentmods.dev/badge/skills/sapiom/sapiom-js/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/sapiom/sapiom-js/open-pr"><img src="https://agentmods.dev/badge/skills/sapiom/sapiom-js/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,657 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
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00000 $0.01657
Opus 5.5 $0.00000 $0.00663
Sonnet 5.5 $0.00000 $0.00331
Haiku 4.5 $0.00000 $0.00166

Measured 1mo ago against content hash 5d54a55e0d07, 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 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.

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

How it starts

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

Opening a pull request that passes the labeler

Every PR to main, including each layer of a native GitHub stack targeting main, is classified by .github/workflows/pr-labeler.yml running scripts/pr-label-classifier.mjs against the PR body. A body that doesn't follow .github/pull_request_template.md gets the contribution: incomplete label (the workflow logs say which check failed). The classifier re-runs on edited/synchronize, so the fix is always: repair the body, never close the PR.

Draft first

Every new PR opens as a draft (gh pr create --draft), including each layer of a native stack — never open one ready-for-review. The labeler still runs on drafts: its triggers include opened, synchronize, edited, ready_for_review, and converted_to_draft, so you get the body verdict without leaving draft. Mark a PR ready (gh pr ready <num>) only when all of these hold: CI is green, the body passes the local classifier (step 3), a changeset exists if a published package changed, and the user explicitly asks. Agents never flip a draft to ready on their own.

The contract (what the classifier actually checks)

Start from .github/pull_request_template.md verbatim and fill it in. The checker is prefix-matching and structural, so keep the template's own wording:

  1. All nine ## sections present (heading text must match): Problem and motivation · Summary and scope · Related work · Validation · Tests and documentation (a ### under Validation counts) · Compatibility and release impact · Security · AI assistance · Checklist.
  2. Primary change type: all six checkboxes present, exactly one checked ([x]). This also drives the type label (Feature → enhancement, …).
  3. Prose sections non-empty after comments are stripped: Problem and motivation, Summary and scope. HTML comments don't count as content.
  4. Related work: the line after Related issue or discussion: must be non-empty; a bare N/A is allowed for a direct PR.
  5. Validation: must contain real commands/results — the untouched ```text block with only the # command — result placeholder counts as empty.
  6. Tests and documentation: non-empty, or N/A with a reason.
  7. Compatibility and release impact: both bullets must have a value after the colon — - Breaking or externally visible changes: <something> and - Changeset: <Added …> (or N/A with a reason). A changed published package really does need a .changeset/*.md (see #599's for the format).
  8. Security: both checkboxes present and both checked.
  9. AI assistance: both checkboxes present, exactly one checked. If "I used AI assistance" is the one, there must be a non-empty description below the checkboxes (tool, what it did, how you verified).
  10. Checklist: all seven checkboxes present and all checked — check them honestly, which means the repo gates below actually ran.

The flow

Read the full file on GitHub · 118 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. 1mo ago Changed · +19 lines 5d54a55e0d07
  2. 1mo ago Changed · +5 lines 1df1ffb3606d
  3. 2mo ago First seen · 94 lines · 0 tokens per session scan A a336712f76a5

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository sapiom/sapiom-js (22 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,657 tokens. 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.

Related

open-pr compared with skills from other repositories

open-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-prsapiom/sapiom-jsSkill22yesterdayMITA0Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6kyesterdayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code