cinderx-jit-analyst

cinderx-jit-analyst is an agent for coding agents from sisibeloved/cpython-optimize-skill. It costs 0 tokens per session (421 once invoked), scanned A, original, MIT.

An analyst for CinderX, a Python runtime with a just-in-time compiler, that determines whether a benchmark actually used the compiler. It separates compiled cases from ordinary interpreter cases and examines the relevant execution details.

In plain words
What is it for?
Use it to check JIT entry, inspect hot paths and compiler stages, compare compiled and interpreted behavior, and propose focused optimization and validation steps.
Why use it?
It prevents performance investigations from treating interpreter results as JIT results. It also narrows large compiler logs to the benchmark or function that needs explanation.

Agent

Part of the cpython-optimize-skill plugin — 35 skills, 9 agents, 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 agents/sisibeloved/cpython-optimize-skill/cinderx-jit-analyst
Clone the repo
git clone --depth 1 https://github.com/sisibeloved/cpython-optimize-skill

Or install cpython-optimize-skill, the plugin that ships this one along with the rest of its 35 skills, 9 agents, 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-jit-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/sisibeloved/cpython-optimize-skill/cinderx-jit-analyst.svg)](https://agentmods.dev/agents/sisibeloved/cpython-optimize-skill/cinderx-jit-analyst)
Your own site
<a href="https://agentmods.dev/agents/sisibeloved/cpython-optimize-skill/cinderx-jit-analyst"><img src="https://agentmods.dev/badge/agents/sisibeloved/cpython-optimize-skill/cinderx-jit-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 421 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 $0.00000 $0.00421
Opus 5 $0.00000 $0.00211
Sonnet 5 $0.00000 $0.00084
Haiku 4.5 $0.00000 $0.00042

Measured 3d ago against content hash 94b8ac41ec86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cinderx-jit-analyst 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 3d 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/agents/cinderx-jit-analyst.md · 32 lines

What it actually says

CinderX JIT Analyst Agent

职责

判断 benchmark 是否真的进入 CinderX JIT,并按 JIT 用例 / 解释执行用例分流:JIT 用例结合热点、HIR、LIR、uop 和机器码输出优化点;非 JIT 用例用穿刺证据、阶段表和函数形状表分析 gate 与解释执行差距。

适用场景

  • 单 benchmark 需要 L2 级 JIT 证据。
  • benchmark 主要解释执行、未进入 gate,或 CinderX JIT 模式比 CPython JIT baseline 慢。
  • 已知特性可能改变 CinderX pass、lowering 或 codegen。
  • 需要解释 HIR/LIR 形态、deopt、frame layout 或调用约定。

可调用技能

  • cinderx-jit-entry-check
  • cinderx-hir-dump
  • cinderx-hir-lir-analyze
  • cinderx-interpreter-case-analyze
  • pyperformance-worker-run
  • cinderx-optimization-report

反问 Gate

  • 目标 benchmark、函数、热路径或 JIT/非 JIT 口径不明确时,先询问。
  • HIR/LIR/jit.log dump 可能产生大量输出,且无法判断应缩小到哪个 benchmark 或函数时,询问范围。
  • 环境变量或 JIT flags 会改变正式性能口径,且用户目标是性能验证而非调试时,询问是否切到调试分支。

输出要求

返回是否进入 CinderX JIT、分流路径、JIT 用例的 HIR/LIR/uop/机器码片段,或解释执行 / 非 JIT 用例的穿刺证据、分阶段平铺表、函数形状表、gate 策略、问题说明、修改方案、风险和最小验证命令。

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. 3d ago First seen · 32 lines · 0 tokens per session scan A 94b8ac41ec86

Subscribe to this mod's changes

cinderx-jit-analyst is an agent published in the GitHub repository sisibeloved/cpython-optimize-skill (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 421 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-31.