TitanX: Skill for Claude Code

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

oss-pr is a skill for Claude Code from CES-Ltd/TitanX. It costs 37 tokens per session (1,020 once invoked), scanned A, original, Apache-2.0.

A workflow for preparing an open-source pull request after changes have been committed. A pull request is a request to review and merge changes into a shared codebase.

In plain words
What is it for?
Use it after making changes to manage the branch, run checks and tests, create a commit, push it, and open the pull request.
Why use it?
It organizes branch creation, quality checks, tests, commits, pushing, and pull-request creation into one repeatable process.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/check-i18n.js.

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ces-ltd/titanx/oss-pr.svg)](https://agentmods.dev/skills/ces-ltd/titanx/oss-pr)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/titanx/oss-pr"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/oss-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.01020
Opus 5 $0.00018 $0.00510
Sonnet 5 $0.00007 $0.00204
Haiku 4.5 $0.00004 $0.00102

Measured 6d ago against content hash ce6d628ec1f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

oss-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 6d 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/oss-pr/SKILL.md · 146 lines

How it starts

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

OSS PR

Smart commit + PR workflow: branch management → quality checks → tests → commit → push → PR.

Announce at start: "Using oss-pr skill to commit and open a pull request."

Workflow

Step 0: Gather Info

git branch --show-current
git diff --name-only HEAD
git status --short
git config user.name

Branch rules:

  • If already on a feature branch: proceed directly
  • If on main or master: auto-generate a branch name, create and switch immediately — no confirmation needed

Auto-generating a branch name:

Analyze the changed files from git diff --name-only HEAD to infer:

  1. type — pick one: feat / fix / refactor / chore
    • feat: new user-facing functionality
    • fix: bug fix
    • refactor: restructuring without behavior change
    • chore: config, scripts, skills, docs, deps
  2. slug — 2–3 lowercase words derived from the most relevant changed paths, joined by hyphens. Keep it short and specific.

Create branch {username}/{type}/{slug} directly and announce the name chosen.

Branch naming reference:

Type Example
feat {prefix}/feat/dark-mode
fix {prefix}/fix/crash-on-open
refactor {prefix}/refactor/settings
chore {prefix}/chore/update-deps

Step 1: Quality Checks

bun run lint
bun run format
bunx tsc --noEmit
  • lint fails → Stop, report errors. Do not proceed.
  • format → Auto-fixes silently.
  • tsc fails → Stop, report errors. Do not proceed.
  • All pass → Proceed to i18n check below.

i18n check (run if any src/renderer/, locales/, or src/common/config/i18n files are modified):

bun run i18n:types
node scripts/check-i18n.js
  • i18n:types fails → Stop, report errors. Do not proceed.
  • check-i18n exits 1 (errors) → Stop, report errors. Do not proceed.
  • check-i18n exits 0 (warnings only) → Continue silently.
  • No i18n-sensitive files changed → Skip both commands.

Read the full file on GitHub · 146 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. 6d ago First seen · 146 lines · 37 tokens per session scan A ce6d628ec1f3

Subscribe to this mod's changes

oss-pr is a skill published in the GitHub repository CES-Ltd/TitanX (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,020 once invoked, about $0.0002 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.