workflow-jit-optimization-analysis

workflow-jit-optimization-analysis is a skill for Claude Code from sisibeloved/cpython-optimize-skill. It costs 44 tokens per session (534 once invoked), scanned A, original, MIT.

A workflow for analysing whether a CinderX Python benchmark runs through the JIT compiler or through the normal interpreter. JIT means just-in-time compilation, where code is compiled while it runs.

In plain words
What is it for?
Use it to choose the correct analysis path, inspect JIT intermediate and machine-level output, analyse interpreter cases, and prepare evidence for a performance report.
Why use it?
It prevents conclusions about low-level JIT optimisations when the benchmark never entered the JIT path.

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

Good fit Use it to choose the correct analysis path, inspect JIT intermediate and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sisibeloved/cpython-optimize-skill/workflow-jit-optimization-analysis
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 sisibeloved/cpython-optimize-skill --skill workflow-jit-optimization-analysis
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 workflow-jit-optimization-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/workflow-jit-optimization-analysis.svg)](https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/workflow-jit-optimization-analysis)
Your own site
<a href="https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/workflow-jit-optimization-analysis"><img src="https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/workflow-jit-optimization-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 534 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.00044 $0.00534
Opus 5 $0.00022 $0.00267
Sonnet 5 $0.00009 $0.00107
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

workflow-jit-optimization-analysis 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/workflow-jit-optimization-analysis/SKILL.md · 31 lines

What it actually says

JIT / Interpreter Case Analysis Workflow

定位

Supporting Workflow:单 benchmark 用例分析分支。端到端任务中由主 Workflow 在 L2 阶段调用,先判定 JIT / 非 JIT,再分流。

Agent 分派

阶段 Agent 技能
环境确认 cinderx-environment-verifier cinderx-smoke-check
worker 运行 cinderx-jit-analyst pyperformance-worker-run
进入 JIT 判定 cinderx-jit-analyst cinderx-jit-entry-check
JIT 用例 cinderx-jit-analyst cinderx-hir-dumpcinderx-hir-lir-analyze
解释执行用例 / 非 JIT cinderx-jit-analyst cinderx-interpreter-case-analyze
报告 cinderx-jit-analyst cinderx-optimization-report

Gate

未证明 benchmark 本体进入 CinderX JIT,不进入 HIR/LIR 优化结论。必须先由 cinderx-jit-entry-check 分流:

  • entered_cinderx_jit=true:进入 JIT 用例路径,查看 HIR、排查 deopt、分析 LIR / uop / 机器码和平台差异。
  • entered_cinderx_jit=false 或目标热函数不进入 gate:进入解释执行用例路径,使用 cinderx-interpreter-case-analyze 输出穿刺证据、分阶段平铺表、函数形状表和 gate 策略。

进入 JIT 和 HIR dump 前必须复用 ../using-cpython-optimize/references/pyperformance-env-contract.md,确认真实 worker 继承了目标 PYTHONPATH、JIT flags、hook 和非 debug/diagnostic 口径,并提供 .pthpyvenv.cfg / include-system-site-packagescinderx.is_initialized() 等 worker 内 CinderX JIT 证据。

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 · 31 lines · 44 tokens per session scan A aca8a475a997

Subscribe to this mod's changes

workflow-jit-optimization-analysis is a skill published in the GitHub repository sisibeloved/cpython-optimize-skill (2 stars, last pushed 8d ago), licensed MIT. It adds 44 tokens to every session and 534 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-31.

Related

Other skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

K-Dense-AI/scientific-agent-skills · 98 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens