Agent skill

Packet Validation

by pellegre in pellegre/libcrafter

Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

MITAuto-check passedDevelopment

Install Packet Validation

skills CLI
$ npx skills add pellegre/libcrafter --skill packet-validation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pellegre/libcrafter packet-validation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pellegre/libcrafter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/packet-validation .claude/skills/packet-validation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
packet-validation
GitHub stars
312
Token cost
~418 tokens
SKILL.md length
148 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

  • Works in 8 steps: Update the relevant tools/oracle/specs/… → Keep independent implementation logic… → Update backend materialization and… → …
  • Development work in your project
  • Calls cargo

What it does

Packet Validation is an agent skill from pellegre/libcrafter. Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Rust. The repository describes itself as: A Rust library for constructing, sending, capturing, and decoding network packets. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/packet-validation”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Update the relevant tools/oracle/specs/ contract first.
  2. Keep independent implementation logic inside
  3. Update backend materialization and normalization for the new case.
  4. Run strict spec validation and focused offline validation.
  5. Run pcap validation when framing, link types, capture files, or persisted
  6. Generate the relevant deterministic probe plan when peer behavior matters.
  7. Run Rust unit and adapter tests for any bounded executor changes.
  8. Record intentional mismatches and unsupported behavior in tracked specs or

What it can do on your machine

Read from SKILL.md and the folder at commit f9ef000. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Packet Validation loads about 418 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 148 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~418

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pellegre/libcrafter at commit f9ef000, republished under its MIT licence (© pellegre). 148 words, ~418 tokens.

Download SKILL.mdSave it as .claude/skills/packet-validation/SKILL.md (or your agent's skills folder).
name
packet-validation
description
Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

Packet validation

Use this skill whenever packet construction, decode, checksums, framing, options, malformed behavior, or response matching changes.

Required workflow

  1. Update the relevant tools/oracle/specs/ contract first.
  2. Keep independent implementation logic inside tools/oracle/engine/backends/.
  3. Update backend materialization and normalization for the new case.
  4. Run strict spec validation and focused offline validation.
  5. Run pcap validation when framing, link types, capture files, or persisted bytes are affected.
  6. Generate the relevant deterministic probe plan when peer behavior matters.
  7. Run Rust unit and adapter tests for any bounded executor changes.
  8. Record intentional mismatches and unsupported behavior in tracked specs or nearby documentation.

Typical commands:

sh
tools/oracle/run specs validate --strict
tools/oracle/run offline --profile PROFILE --seed SEED --count COUNT
tools/oracle/run pcap --profile PROFILE --seed SEED --count COUNT
tools/probe/run --profile PROFILE --seed SEED --count COUNT --out target/probe/plan
cargo test -p probe-adapters

This repository does not own machine selection, credentials, remote access, machine lifecycle, peer preparation, hardware leases, or execution topology. When hardware-backed qualification is necessary, use only operator-supplied untracked tooling, after the deterministic gate passes, and preserve evidence for the exact candidate revision.

© pellegre, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/packet-validation of pellegre/libcrafter.

Open the folder on GitHubat commit f9ef000

Compare with similar skills

Packet Validation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Packet Validation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Packet Validation this skillpellegre/libcrafter312—~418Automated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
RTK Rust Design Patternsrtk-ai/rtk83k—~1.9kAutomated safety check: PassApache-2.0
Release Skillsnexmoe/eve4213 repos~3.3kAutomated safety check: PassNone

Similar skills

  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release Skills

    nexmoe/eve

    Universal release workflow. An agent skill from nexmoe/eve.

    421 GitHub starsUsed in 3 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from pellegre/libcrafter

  • Agent Cargo Publish

    pellegre/libcrafter

    Publish the libcrafter crafter crate to crates.io only after the local release gate, cargo publish dry-run, package summary, ask-tool confirmation, and crates.io/docs.rs verification.

    312 GitHub stars~651 tokensUpdated 5 days ago
    Auto-check passed
  • Commit Changes

    pellegre/libcrafter

    Create, amend, reword, split, squash, or prepare libcrafter commits with the repository's Conventional Commits policy and scoped staging discipline.

    312 GitHub stars~496 tokensUpdated 5 days ago
    Auto-check passed
  • Prepare PR

    pellegre/libcrafter

    Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

    312 GitHub stars~482 tokensUpdated 5 days ago
    Auto-check passed
  • Create Branch

    pellegre/libcrafter

    Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

    312 GitHub stars~412 tokensUpdated 5 days ago
    Auto-check passed
  • Scratch Work

    pellegre/libcrafter

    Use ignored .scratch workspaces for experiments, disposable prototypes, network probes, hardware exploration, generated code, and any task where the user asks for work that should not be committed…

    312 GitHub stars~669 tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Packet Validation

What does Packet Validation do?

Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts. Packet Validation is an agent skill from pellegre/libcrafter. Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

When should I use Packet Validation?

Packet Validation fits situations like: development work in your project.

How do I install Packet Validation in Claude Code?

Run `npx skills add pellegre/libcrafter --skill packet-validation -a claude-code`. Or copy the skill folder (.agents/skills/packet-validation in pellegre/libcrafter) into .claude/skills/packet-validation in your project. Claude Code loads it when a task matches its description.

How do I install Packet Validation in Codex?

Run `npx skills add pellegre/libcrafter --skill packet-validation -a codex`. Or copy the skill folder (.agents/skills/packet-validation in pellegre/libcrafter) into .agents/skills/packet-validation in your project. Codex loads it when a task matches its description.

Can I use Packet Validation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pellegre/libcrafter --skill packet-validation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/packet-validation, .gemini/skills/packet-validation, .github/skills/packet-validation and .opencode/skills/packet-validation in your project.

What does Packet Validation need to run?

Going by SKILL.md and its folder, Packet Validation needs the command-line tools its instructions call (cargo).

Does Packet Validation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Packet Validation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Packet Validation use?

Packet Validation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Packet Validation use?

About 418 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Packet Validation?

Skills that share tags, products or a category with Packet Validation: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars) and RTK Rust Design Patterns (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Packet Validation?

pellegre (a GitHub user) maintains it in pellegre/libcrafter, which has 312 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: pellegre/libcrafter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.