cinderx-hir-dump

cinderx-hir-dump is a skill for Claude Code from sisibeloved/cpython-optimize-skill. It costs 50 tokens per session (275 once invoked), scanned A, original, MIT.

A procedure for collecting CinderX HIR, or high-level intermediate representation, from the real pyperformance worker command. HIR is the compiler’s structured form of code before it is lowered toward machine instructions.

In plain words
What is it for?
Use it to add compiler-dump settings, save HIR and JIT logs, record the actual command and environment, and identify the last function compiled.
Why use it?
It avoids drawing conclusions from a simplified command that behaves differently from the real benchmark worker. It also keeps diagnostic dumps separate from formal performance measurements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cpython-optimize-skill plugin — 35 skills, 2 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/sisibeloved/cpython-optimize-skill/cinderx-hir-dump
Any agent
npx skills add sisibeloved/cpython-optimize-skill --skill cinderx-hir-dump
Clone the repo
git clone --depth 1 https://github.com/sisibeloved/cpython-optimize-skill

Made for: Claude Code.

Or install cpython-optimize-skill, the plugin that ships this one along with the rest of its 35 skills, 2 hooks, 1 MCP server.

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 cinderx-hir-dump

README.md
[![agentmods](https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/cinderx-hir-dump.svg)](https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/cinderx-hir-dump)
Your own site
<a href="https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/cinderx-hir-dump"><img src="https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/cinderx-hir-dump.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 275 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.00050 $0.00275
Opus 5 $0.00025 $0.00138
Sonnet 5 $0.00010 $0.00055
Haiku 4.5 $0.00005 $0.00028

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

Security

Grade A, and why

cinderx-hir-dump 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.

plugins/cpython-optimize-skill/skills/cinderx-hir-dump/SKILL.md · 21 lines

What it actually says

CinderX HIR Dump

HIR dump 必须贴近真实 worker 命令,不另造失真的简化命令。

规则

  • pyperformance-worker-run 返回的真实 worker 命令为基线。
  • 先读取 ../using-cpython-optimize/references/pyperformance-env-contract.md,确认 debug 变量只是在真实 worker 环境契约上增量叠加,并保留 .pth、worker venv 和 cinderx.is_initialized() 证据。
  • 只增减 PYTHONJITDUMPFINALHIRPYTHONJITLOGFILEPYTHONJITDUMPSTATS 等 debug 变量。
  • 保存 HIR dump、jit.log、stdout/stderr、exit status。
  • 正式性能数据不能使用开启大量 dump 的结果。

输出

真实 worker 命令、debug 变量差异、HIR 路径、jit.log 路径、最后编译函数和无法采集原因。

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 · 21 lines · 50 tokens per session scan A c016bb744f3f

Subscribe to this mod's changes

cinderx-hir-dump is a skill published in the GitHub repository sisibeloved/cpython-optimize-skill (2 stars, last pushed 8d ago), licensed MIT. It adds 50 tokens to every session and 275 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

plugin-architecture-patterns

Design, implement, or diagnose Xberg plugin traits, typed registries, priority collisions, lifecycle, native extractors, and Alef-generated Python plugin bridges. Load for plugin-system work, not ordinary extractor parsing.

xberg-io/xberg · 49 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 72 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

stack-trace-python-probe

Internal helper for meta-stack-trace-investigator. Use when a Python traceback needs Python-specific root-cause checks, pytest reproducer guidance, and defensive patch targets.

opensquilla/opensquilla · 40 tokens

python-debug-execution-911f17

Debug Python script execution failures by capturing full tracebacks and verifying working directory.

HKUDS/OpenSpace · 23 tokens