cinderx-fast-validation

cinderx-fast-validation is a skill for Claude Code, Codex from sisibeloved/cpython-optimize-skill. It costs 61 tokens per session (1,067 once invoked), scanned A, original, MIT.

A build-cache setup for repeated CinderX validation and wheel builds. It uses an external ccache wrapper, where ccache reuses earlier compiler output to shorten later builds.

In plain words
What is it for?
Use it for repeated release checks, wheel builds, and selected CinderX gates when explicit opt-in environment settings enable the cache.
Why use it?
It reduces repeated compilation time without changing the CinderX source tree or affecting unrelated builds by default.

Skill for Claude CodeCodex

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 skills/sisibeloved/cpython-optimize-skill/cinderx-fast-validation
Any agent
npx skills add sisibeloved/cpython-optimize-skill --skill cinderx-fast-validation
Clone the repo
git clone --depth 1 https://github.com/sisibeloved/cpython-optimize-skill

Made for: Claude Code, Codex.

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-fast-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/cinderx-fast-validation.svg)](https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/cinderx-fast-validation)
Your own site
<a href="https://agentmods.dev/skills/sisibeloved/cpython-optimize-skill/cinderx-fast-validation"><img src="https://agentmods.dev/badge/skills/sisibeloved/cpython-optimize-skill/cinderx-fast-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 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.00061 $0.01067
Opus 5 $0.00030 $0.00534
Sonnet 5 $0.00012 $0.00213
Haiku 4.5 $0.00006 $0.00107

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

Security

Grade A, and why

cinderx-fast-validation 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/install-ccache-prelude.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-fast-validation/SKILL.md · 109 lines

How it starts

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

CinderX Fast Validation

用 repo 外部的 ccache compiler wrapper 加速重复的 CinderX release / wheel / gate 验证。目标是缩短调试循环,不改变 CinderX 源码树、不把缓存配置写进项目文件。

适用场景

  • ci_pipeline/run_gate.py --suite cinderx_local
  • ci_pipeline/run_gate.py pr --coverage 中的 cinderx_local.setup_release
  • test_cinderx_releasesetup.py bdist_wheelpython -m build --wheel
  • pyperformance candidate wheel 反复构建

不默认用于 runtime_tests 或无关 CMake 构建;这些路径可能有独立的 build dir、测试数据路径或环境约束。

核心规则

先安装或刷新外部 prelude,再显式 source 它。prelude 只在以下条件之一满足时启用 compiler wrapper:

CINDERX_INCLUDE_TEST_PACKAGE_DATA=1  # cinderx_local.setup_release
CINDERX_CCACHE_FORCE=1               # 手动 wheel build 显式 opt-in

如果没有这些信号,prelude 应保持 inert,避免污染其它验证任务。

安装 Prelude

在目标机器或容器中运行 bundled script:

bash skills/cinderx-fast-validation/scripts/install-ccache-prelude.sh

默认写入:

$HOME/cinderx-setup-release-ccache-prelude.sh

需要固定路径时:

CINDERX_CCACHE_PRELUDE_PATH=/opt/cinderx-setup-release-ccache-prelude.sh \
  bash skills/cinderx-fast-validation/scripts/install-ccache-prelude.sh

ccache 不存在时脚本不会失败;prelude 会保持 inert。正式使用前应通过系统包管理器或容器模板安装 ccache

Gate 用法

把 prelude 传给 gate,让它只在 setup_release job 的环境变量出现时生效:

python ci_pipeline/run_gate.py \
  --suite cinderx_local \
  --prelude "source $HOME/cinderx-setup-release-ccache-prelude.sh"

PR gate 也可以使用同一个 prelude,因为 prelude 会自我门控:

python ci_pipeline/run_gate.py \
  pr --coverage \
  --prelude "source $HOME/cinderx-setup-release-ccache-prelude.sh"

手动 Wheel 构建

手动构建必须显式 opt-in:

export CINDERX_CCACHE_FORCE=1
export CINDERX_CCACHE_BASEDIR="$PWD"
export CINDERX_CCACHE_DIR="${CINDERX_CCACHE_DIR:-$HOME/.cache/ccache-cinderx}"
source "$HOME/cinderx-setup-release-ccache-prelude.sh"

python setup.py bdist_wheel -d "$WHEELHOUSE"

如果已有 build dir 是用真实 compiler 配置的,首次切到 wrapper compiler 时可能需要清理对应 CMake build dir,让 CMakeCache.txt 重新生成。

验证收益

围绕两次重复构建检查 ccache stats:

CCACHE_DIR="$HOME/.cache/ccache-cinderx" ccache -z

export CINDERX_CCACHE_FORCE=1
export CINDERX_CCACHE_BASEDIR="$PWD"
source "$HOME/cinderx-setup-release-ccache-prelude.sh"
python setup.py bdist_wheel -d "$WHEELHOUSE"

CCACHE_DIR="$HOME/.cache/ccache-cinderx" ccache -s

Read the full file on GitHub · 109 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 109 lines · 61 tokens per session scan A 59138ebdaa40

Subscribe to this mod's changes

cinderx-fast-validation is a skill published in the GitHub repository sisibeloved/cpython-optimize-skill (2 stars, last pushed 6d ago), licensed MIT. It adds 61 tokens to every session and 1,067 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

bump-dependency

Bumps a Python package dependency across Home Assistant Core integrations, regenerates core requirement files, runs verification tests and prek lint, and prepares a pull request with proper release/compare links.

home-assistant/core · 42 tokens

mem0-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

complete-partial-pr

Evaluate and complete an issue or PR where the submitted patch fixes only a narrow symptom of the reported pain point. Use when a contribution may miss adjacent integration surfaces, provider/spec semantics, roundtrip behavior, tests, docs, or historical maintainer decisions.

pydantic/pydantic-ai · 55 tokens

analyze-market

Perform a market analysis for a product category or segment. Trigger on: market analysis, market size, TAM SAM SOM, market opportunity, industry analysis.

langchain-ai/deepagents · 34 tokens