cite-citadel: Skill for Claude Code

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

open-pr is a skill for Claude Code from MarkusNeusinger/cite-citadel. It costs 130 tokens per session (1,977 once invoked), scanned A, original, MIT.

A procedure for finishing a code change and opening a GitHub pull request, which is a review request for proposed changes. It checks the work locally, creates a feature branch, commits the changes, and pushes the branch.

In plain words
What is it for?
Use it when committing and pushing a change, opening a pull request, or preparing work for review in the specified repository.
Why use it?
It gives the agent one defined path from completed code to a reviewable pull request. The checks help catch test, formatting, lint, and project-specific verification failures before publishing the branch.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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/markusneusinger/cite-citadel/open-pr/github.svg)](https://agentmods.dev/skills/markusneusinger/cite-citadel/open-pr)
Your own site
<a href="https://agentmods.dev/skills/markusneusinger/cite-citadel/open-pr"><img src="https://agentmods.dev/badge/skills/markusneusinger/cite-citadel/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/markusneusinger/cite-citadel/open-pr"><img src="https://agentmods.dev/badge/skills/markusneusinger/cite-citadel/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,977 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.00130 $0.01977
Opus 5.5 $0.00052 $0.00791
Sonnet 5.5 $0.00026 $0.00395
Haiku 4.5 $0.00013 $0.00198

Measured 2mo ago against content hash fc1b445c2c8a, 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 2mo 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 · 182 lines

How it starts

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

Open a PR

The one path from "the change is done" to "a green PR waiting on the human". Gate locally first, then push once. Every step below is runnable bash with an Expected: baseline so the first line that does not match names what broke. You never merge — you stop at green + resolved and hand the URL back.

0. Preconditions

  • Work from the repo checkout on a feature branch (never commit to main).
  • gh is authenticated (gh auth status) and uv sync has been run.
  • Know the one-line topic of the change — it becomes the branch slug and the PR title.

1. Branch off main

Branch name is claude/<topic>-<slug> (kebab-case, no spaces). If you are already on such a branch with your work, skip the checkout.

git fetch origin
git checkout -b claude/doctor-billing-warning origin/main   # <topic>-<slug>, based on fresh main

Expected: Switched to a new branch 'claude/doctor-billing-warning'.

2. Route the diff (verify-corpus BEFORE the gates)

Look at what the diff touches — git diff --name-only origin/main...HEAD — and run the matching corpus verification before the local gates, because the offline suite does NOT exercise a real ingest:

The diff touches… Run first
citadel/ingest.py, citadel/llm.py, or citadel/rules/** /verify-corpus <affected-corpus> — minimally the corpus that stresses the change (see the table in that skill); all for a broad rules/ingest change
anything else (cli, store, viewer, docs, tests) nothing extra — the offline suite covers it

verify-corpus spends a real ingest (minutes, your subscription), so scope it to the affected corpus, not all, unless the change is broad. A hard-gate failure there is a finding — fix it before pushing.

Expected: verify-corpus ends with a per-corpus PASS verdict (its hard gates hold).

3. Local gates (all four must pass)

Run them one at a time so a red one stops you immediately. Do not pipe pytest through tail inside an && chain — the pipe swallows pytest's exit code and a failing run looks green.

Read the full file on GitHub · 182 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. 2mo ago First seen · 182 lines · 130 tokens per session scan A fc1b445c2c8a

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository MarkusNeusinger/cite-citadel (3 stars, last pushed 15d ago), licensed MIT. It adds 130 tokens to every session and 1,977 once invoked, about $0.0005 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-08-31.

Related

open-pr compared with skills from other repositories

open-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-prMarkusNeusinger/cite-citadelSkill315d agoMITA130Claude Code
git-flow-prsoulcodex/agenticSkill107d agoMITA103Claude Code, Codex
monorepo-managementsoulcodex/agenticSkill107d agoMITA63Claude Code, Codex
new-gh-issue-orchestrationsoulcodex/agenticSkill107d agoMITA54Claude Code, Codex
pull-request-automationsoulcodex/agenticSkill107d agoMITA65Claude Code, Codex
git-worktree-workspacessoulcodex/agenticSkill107d agoMITA58Claude Code, Codex
write-changelogsoulcodex/agenticSkill107d agoMITA73Claude Code, Codex