lading: Skill for Claude Code

.claude/skills/lading-preflight/SKILL.md

lading-preflight is a skill for Claude Code from DataDog/lading. It costs 55 tokens per session (453 once invoked), scanned C, original, MIT.

An environment checklist for optimization work on Rust projects. It checks development tools, build and test scripts, benchmarks, profilers, memory tools, and Git settings before work begins.

In plain words
What is it for?
Use it at the start of an optimization session to verify Rust, benchmarking and profiling tools, project checks, build support, Git configuration, and the repository state.
Why use it?
It finds missing tools or setup problems early, so optimization results are not affected by an incomplete environment.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is DataDog/lading's own configuration. It tells Claude Code how to work on lading itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lading configures →

About the project

lading is a data-generation and load-testing tool that measures the performance and resource behavior of long-running programs by sending them repeatable synthetic workloads. Developers and performance engineers use it to test daemons and other complex programs across different protocols, including in Datadog Agent regression testing. The catalogue skills and instruction support working with lading.

DataDog/lading · 101 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to DataDog/lading. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DataDog/lading/main/.claude/skills/lading-preflight/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DataDog/lading

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 lading-preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/datadog/lading/lading-preflight/github.svg)](https://agentmods.dev/skills/datadog/lading/lading-preflight)
Your own site
<a href="https://agentmods.dev/skills/datadog/lading/lading-preflight"><img src="https://agentmods.dev/badge/skills/datadog/lading/lading-preflight/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 lading-preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/datadog/lading/lading-preflight"><img src="https://agentmods.dev/badge/skills/datadog/lading/lading-preflight.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 453 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00055 $0.00453
Opus 5.5 $0.00022 $0.00181
Sonnet 5.5 $0.00011 $0.00091
Haiku 4.5 $0.00006 $0.00045

Measured 2mo ago against content hash 46afbe689934, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

lading-preflight scanned grade C with 2 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 2mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| rustc not found | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| rustc not found | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh` |
.claude/skills/lading-preflight/SKILL.md · 37 lines

How it starts

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

Run preflight script

.claude/skills/lading-preflight/scripts/preflight

STOP on any failure. Use the table below to suggest fixes for [X] items.

Offer suggestions then ask before proceeding

For each failed check, show the user the suggested fix from the table below and ask if they want you to run it. Do NOT automatically execute fixes — wait for user confirmation before taking action.

Failed Check Fix
rustc not found curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo not found Reinstall rustup
cargo-nextest not found cargo install cargo-nextest
ci/* not executable chmod +x ci/*
ci/check failed cargo update, check dependency issues
payloadtool build failed Check Rust version and dependencies
hyperfine not found brew install hyperfine
cargo-criterion not found cargo install cargo-criterion
criterion benchmarks missing Check lading_payload/benches/ and Cargo.toml
payloadtool --memory-stats not supported Rebuild payloadtool from current branch
git user.name not set git config user.name "Your Name"
git user.email not set git config user.email "[email protected]"
gh not found brew install gh
aws CLI not found brew install awscli
smp not found .claude/skills/lading-preflight/scripts/install_smp

Read the full file on GitHub · 37 lines

Files

What ships with it

2 files 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. 2mo ago First seen · 37 lines · 55 tokens per session scan C 46afbe689934

Subscribe to this mod's changes

lading-preflight is a skill published in the GitHub repository DataDog/lading (101 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 453 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.