syncmeta

syncmeta is a skill for Claude Code, Codex from pawurb/hotpath-rs. It costs 43 tokens per session (804 once invoked), scanned A, original, MIT.

A workflow for keeping Rust “meta” crates—copies used to profile the profiler itself—in sync with their original crates.

In plain words
What is it for?
Applying the meaning of recent changes from hotpath and hotpath-macros to hotpath-meta and hotpath-macros-meta.
Why use it?
It avoids inaccurate copy-and-replace updates when names, feature flags, environment variables, and self-instrumentation differ between the crates.

Skill for Claude CodeCodex

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/pawurb/hotpath-rs/syncmeta
Any agent
npx skills add pawurb/hotpath-rs --skill syncmeta
Clone the repo
git clone --depth 1 https://github.com/pawurb/hotpath-rs

Made for: Claude Code, Codex.

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 syncmeta

README.md
[![agentmods](https://agentmods.dev/badge/skills/pawurb/hotpath-rs/syncmeta.svg)](https://agentmods.dev/skills/pawurb/hotpath-rs/syncmeta)
Your own site
<a href="https://agentmods.dev/skills/pawurb/hotpath-rs/syncmeta"><img src="https://agentmods.dev/badge/skills/pawurb/hotpath-rs/syncmeta.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 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.00043 $0.00804
Opus 5 $0.00022 $0.00402
Sonnet 5 $0.00009 $0.00161
Haiku 4.5 $0.00004 $0.00080

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

Security

Grade A, and why

syncmeta 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.

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.

skills/syncmeta/SKILL.md · 65 lines

How it starts

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

Sync Meta Crates

Sync recent changes from hotpathhotpath-meta and hotpath-macroshotpath-macros-meta.

The meta crates are copies of the main crates used to profile the profiler itself. They must stay in sync with the source crates.

Effective Approach

DO NOT copy entire files from hotpath to hotpath-meta and then sed-replace. This approach fails because the meta crates have many naming differences beyond simple hotpath::hotpath_meta:: substitution:

  • Feature flags: hotpathhotpath-meta, hotpath-allochotpath-alloc-meta
  • Crate imports: hotpath_macroshotpath_macros_meta
  • Environment variables: HOTPATH_FOCUSHOTPATH_META_FOCUS, HOTPATH_EXCLUDE_WRAPPERHOTPATH_META_EXCLUDE_WRAPPER, HOTPATH_OUTPUT_PATHHOTPATH_META_OUTPUT_PATH
  • Self-instrumentation: lines like #[cfg_attr(feature = "hotpath-meta", hotpath_meta::measure_all)] exist in hotpath but must NOT exist in hotpath-meta

Instead, apply diffs to the existing meta files:

  1. Get the actual diff for each changed file: git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs
  2. Read the corresponding meta file
  3. Apply the equivalent semantic changes, preserving all meta-specific naming

Steps

  1. Check the last N commits (default 1, user can specify more) for changes to crates/hotpath/ and crates/hotpath-macros/:
git log --oneline -N
git diff HEAD~N..HEAD --name-only -- crates/hotpath/src/ crates/hotpath-macros/src/
  1. For each changed file, get the hotpath diff:
git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs
  1. Read the corresponding meta file and apply the equivalent changes using Edit tool. The meta files are at:

    • crates/hotpath/src/**crates/hotpath-meta/src/**
    • crates/hotpath-macros/src/**crates/hotpath-macros-meta/src/**
  2. Verify the meta crates compile:

cargo check -p hotpath-meta --features hotpath-meta
cargo check -p hotpath-macros-meta --features hotpath-meta
cargo check -p hotpath-meta --features hotpath-meta,hotpath-alloc-meta

Read the full file on GitHub · 65 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. 4d ago First seen · 65 lines · 43 tokens per session scan A ee48ac16cac2

Subscribe to this mod's changes

syncmeta is a skill published in the GitHub repository pawurb/hotpath-rs (1,708 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 804 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.

Related

Other skills, from other repositories

http-load-profiler

Run stepped HTTP load tests with ab/wrk, ramping concurrency levels to collect p50/p90/p99 latency, detect performance inflection points, and recommend optimal concurrency. Triggered by requests like 'load test this URL', 'benchmark my API', 'find the max concurrency', or mentions of p99 latency, throughput…

zebbern/claude-code-guide · 76 tokens

codspeed-optimize

Autonomously optimize code for performance using CodSpeed benchmarks, flamegraph analysis, and iterative improvement. Use this skill whenever the user wants to make code faster, reduce CPU usage, optimize memory, improve throughput, find performance bottlenecks, or asks to 'optimize', 'speed up', 'make faster'…

CodSpeedHQ/codspeed · 113 tokens

codspeed-setup-harness

Set up performance benchmarks and CodSpeed harness for a project. Use this skill whenever the user wants to create benchmarks, add performance tests, set up CodSpeed, configure codspeed.yml, integrate a benchmarking framework (criterion, divan, pytest-benchmark, vitest bench, go test -bench, google benchmark), or when…

CodSpeedHQ/codspeed · 120 tokens

performant-code

Writing efficient code that handles large data and tight constraints.

vstorm-co/pydantic-deepagents · 14 tokens

verify

Run Chimeraforge's canonical verification gate end-to-end and report the real output before claiming work done or committing. Failing output gets pasted, fixed, and re-run — never summarized away.

Sahil170595/Chimeraforge · 42 tokens

benchmarking

Skill "benchmarking" from chaterm/terminal-skills, covering 性能基准测试, 概述, sysbench, 安装 and debian/ubuntu.

chaterm/terminal-skills · 7 tokens