syncmeta

syncmeta is a skill for Claude Code from pawurb/hotpath-rs. It costs 55 tokens per session (1,268 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 Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Applying the meaning of recent changes from hotpath and hotpath-macros to hotpath-meta and hotpath-macros-meta.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pawurb/hotpath-rs/syncmeta
About the project

hotpath-rs is a Rust profiler that measures where programs spend time, use CPU and memory, wait on I/O, and perform database, HTTP, or asynchronous operations. Rust developers use it to locate performance bottlenecks and inspect timing, allocation, and async-flow data.

pawurb/hotpath-rs · 1,895 stars · on GitHub · hotpath.rs

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

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for syncmeta

Your own site · 80×15
<a href="https://agentmods.dev/skills/pawurb/hotpath-rs/syncmeta"><img src="https://agentmods.dev/badge/skills/pawurb/hotpath-rs/syncmeta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,268 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.01268
Opus 5.5 $0.00022 $0.00507
Sonnet 5.5 $0.00011 $0.00254
Haiku 4.5 $0.00006 $0.00127

Measured 1mo ago against content hash 11249ce8101f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 73 lines

How it starts

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

Sync Meta Crates

Sync recent changes from hotpath → hotpath-meta, hotpath-macros → hotpath-macros-meta and hotpath-drain → hotpath-drain-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: hotpath → hotpath-meta, hotpath-alloc → hotpath-alloc-meta, hotpath-cpu → hotpath-cpu-meta, hotpath-cloud → hotpath-cloud-meta, hotpath-prometheus → hotpath-prometheus-meta, hotpath-mcp → hotpath-mcp-meta
  • Crate imports: hotpath_macros → hotpath_macros_meta, hotpath_drain → hotpath_drain_meta
  • Environment variables: HOTPATH_FOCUS → HOTPATH_META_FOCUS, HOTPATH_EXCLUDE_WRAPPER → HOTPATH_META_EXCLUDE_WRAPPER, HOTPATH_OUTPUT_PATH → HOTPATH_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
  • hotpath-drain-meta is the simplest mirror: it has no features and no dependencies, so syncing hotpath-drain means applying the diff and dropping the #[cfg_attr(feature = "hotpath-meta", hotpath_meta::measure(...))] lines. Nothing else is renamed - there is no hotpath-drain-meta feature flag.

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/, crates/hotpath-macros/ and crates/hotpath-drain/:
git log --oneline -N
git diff HEAD~N..HEAD --name-only -- crates/hotpath/src/ crates/hotpath-macros/src/ crates/hotpath-drain/src/

Read the full file on GitHub · 73 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. 1mo ago Changed · +4 lines · +12 tokens per session 11249ce8101f
  2. 1mo ago Changed · +4 lines 4f510180783e
  3. 1mo 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,895 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,268 once invoked, about $0.0002 per session on Opus 5.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.