ox-cli-pr-header

ox-cli-pr-header is a skill for Claude Code, Codex from sageox/ox. It costs 138 tokens per session (530 once invoked), scanned A, original, MIT.

A command that creates a credit line for a GitHub pull request, linking the change to the SageOx sessions and plans that influenced it. A pull request is a proposed code change for review.

In plain words
What is it for?
Use it when creating a pull request that was materially shaped by SageOx team context, then place the generated line at the top of the description.
Why use it?
It avoids hand-writing markup that GitHub may display incorrectly and keeps human-readable credit separate from the machine-readable session record.

Skill for Claude CodeCodex

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

Good fit Use it when creating a pull request that was materially shaped by SageOx team context, then place the generated line at the top of the description.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sageox/ox/ox-cli-pr-header
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.

Any agent
npx skills add sageox/ox --skill ox-cli-pr-header
Clone the repo
git clone --depth 1 https://github.com/sageox/ox

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 ox-cli-pr-header

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sageox/ox/ox-cli-pr-header"><img src="https://agentmods.dev/badge/skills/sageox/ox/ox-cli-pr-header.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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.00138 $0.00530
Opus 5 $0.00069 $0.00265
Sonnet 5 $0.00028 $0.00106
Haiku 4.5 $0.00014 $0.00053

Measured 2d ago against content hash 1d9b73386372, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ox-cli-pr-header 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

extensions/skills/ox-cli-pr-header/SKILL.md · 49 lines

What it actually says

Run the command and follow the guidance field it returns. This skill is a thin relay: the behavioral rules ship in ox pr header --json, so every AI coworker gets them from the live binary — not just the ones that install skills.

ox pr header --json

Add what the PR credits (the current session is auto-linked):

  • --plan pln_… — a plan you saved this session. Repeatable.
  • --discussion cnv_… — a recorded discussion the PR came directly out of. Rare, and never auto-discovered: only you can judge direct relevance. Ids come from ox conversation list.
  • --session <url|ses_id> — adds or overrides sessions.
  • --allow-unconfirmed — accept links that may not resolve yet.

Then write the body via a file, never a heredoc — a heredoc mangles the markup:

ox pr header > body.md
printf '\n' >> body.md
cat description.md >> body.md   # your written summary
# ...keep the SageOx-Session: trailer as the last line...
gh pr create --body-file body.md

When nothing is emitted

The header renders only when it can link at least one artifact a reviewer can open. With no session, plan, or discussion, ox pr header prints nothing on stdout and says why on stderr — a team name alone is not a credit. That is the correct outcome, not an error: paste nothing and move on.

It also no-ops when pr_visuals.header is off (a team or user opt-out). Don't force a header in that case.

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 Changed · -32 lines · -4 tokens per session 1d9b73386372
  2. 3d ago First seen · 81 lines · 142 tokens per session scan A 2a57f4496d1b

Subscribe to this mod's changes

ox-cli-pr-header is a skill published in the GitHub repository sageox/ox (53 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 530 once invoked, about $0.0007 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-08.

Related

Other skills, from other repositories

intuitive-squash

Squash local GSD or agent-generated commit history into a clean, reviewable story while preserving important fixes. Use when the user asks to squash commits, clean git history, compress phase commits, prepare a branch before PR, compare aggressive vs moderate squash options, or preserve hotfix/security commits during…

MiaoDX/intuitive-flow · 73 tokens

create-pr

Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

agent-skills-hub/agent-skills-hub · 36 tokens

commit

Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

agent-skills-hub/agent-skills-hub · 36 tokens

codex-review

Professional code review with auto CHANGELOG generation, integrated with Codex AI.

agent-skills-hub/agent-skills-hub · 18 tokens

chinese-commit-conventions

A Chinese-language convention for writing Git commit messages, based on Conventional Commits, a standard format that tools can use to classify changes and build changelogs.

Leodorareluctant259/superpowers-zh · 28 tokens

commit

Creates conventional git commits enriched with a Context section that logs AI-layer changes (.wisci/, CLAUDE.md, skills, rules), turning git history into queryable long-term memory. Use to commit changes, optionally pushing afterward.

ph3on1x/wisci · 48 tokens