Agent skill

Scratch Work

by pellegre in 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…

MITAuto-check passedDevelopment

Install Scratch Work

skills CLI
$ npx skills add pellegre/libcrafter --skill scratch-work -a claude-code

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

GitHub CLI
$ gh skill install pellegre/libcrafter scratch-work --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/scratch-work .claude/skills/scratch-work && 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
scratch-work
GitHub stars
312
Token cost
~669 tokens
SKILL.md length
328 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 6 steps: Ensure .scratch/ is ignored in the… → Create one workspace per experiment → Add a README.md in the scratch workspace… → …
  • Development work in your project
  • SKILL.md covers Workflow, Network Experiments, Script Rules and Promotion
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Scratch Work is an agent skill from 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 until promoted.

Its SKILL.md is about 670 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. 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

  • “/scratch-work”

Workflow steps

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

  1. Ensure .scratch/ is ignored in the repository before creating scratch
  2. Create one workspace per experiment
  3. Add a README.md in the scratch workspace with
  4. Keep ad hoc code under scripts/, src/, guest/, or similarly explicit
  5. Keep artifacts under artifacts/, state/, pcaps/, or logs/ inside the
  6. Do not commit scratch files directly. Promote only hardened pieces by moving

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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Scratch Work loads about 669 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 328 words of instructions outside code blocks.

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

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). 328 words, ~669 tokens.

Download SKILL.mdSave it as .claude/skills/scratch-work/SKILL.md (or your agent's skills folder).
name
scratch-work
description
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 until promoted.

Scratch Work

Use this skill when work should be explored locally without immediately adding prototype code, logs, captures, generated files, or one-off scripts to tracked repo paths.

Workflow

  1. Ensure .scratch/ is ignored in the repository before creating scratch files. Add the ignore rule if it is missing.
  2. Create one workspace per experiment: .scratch/<short-topic-slug>/.
  3. Add a README.md in the scratch workspace with:
    • goal and date
    • host or execution assumptions
    • exact commands run
    • observed outputs worth preserving
    • cleanup notes
    • candidates for later promotion into docs/, tools/, or tests
  4. Keep ad hoc code under scripts/, src/, guest/, or similarly explicit subdirectories inside that workspace.
  5. Keep artifacts under artifacts/, state/, pcaps/, or logs/ inside the scratch workspace.
  6. Do not commit scratch files directly. Promote only hardened pieces by moving them into tracked repo locations and adding tests or docs appropriate for the promoted behavior.

Network Experiments

For USB dongle, wire-level packet, or LAN probing work:

  • Keep host mutation in documented setup steps. Do not hide root-requiring changes inside casual scratch scripts.
  • Use only an authorized execution environment for raw packet work.
  • Record interface names, USB IDs, driver assumptions, and observed MAC/IP addresses in the workspace README.
  • Put captures and logs in scratch artifacts. Redact secrets before promoting any output.
  • Keep machine selection and hardware lifecycle in operator-supplied tooling outside this repository.

Script Rules

  • Make scratch scripts small, direct, and parameterized with environment variables or flags.
  • Print commands and paths clearly enough that the user can rerun them.
  • Avoid embedding credentials, Wi-Fi passphrases, service tokens, or private network secrets in files.
  • Add timeouts to sniffing, scanning, packet generation, or remote commands.
  • Treat scratch results as evidence, not final implementation. Summarize what worked and what should be promoted.

Promotion

When a scratch experiment stabilizes, move the durable pieces out of .scratch/ and update the repo normally. Typical destinations are tools/ for reusable scripts, docs/ for workflow documentation, tests/ for fixtures or checks, and .agents/skills/ for reusable agent procedure.

© 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/scratch-work of pellegre/libcrafter.

Open the folder on GitHubat commit f9ef000

Compare with similar skills

Scratch Work 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.

Scratch Work compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scratch Work this skillpellegre/libcrafter312—~669Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    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 4 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 4 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 4 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 4 days ago
    Auto-check passed
  • Packet Validation

    pellegre/libcrafter

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

    312 GitHub stars~418 tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Scratch Work

What does Scratch Work do?

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…. Scratch Work is an agent skill from pellegre/libcrafter.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 until promoted.

When should I use Scratch Work?

Scratch Work fits situations like: development work in your project.

How do I install Scratch Work in Claude Code?

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

How do I install Scratch Work in Codex?

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

Can I use Scratch Work 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 scratch-work -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scratch-work, .gemini/skills/scratch-work, .github/skills/scratch-work and .opencode/skills/scratch-work in your project.

What does Scratch Work need to run?

SKILL.md names no scripts, command-line tools or credentials: Scratch Work is instructions for the agent only.

Does Scratch Work 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 Scratch Work 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 Scratch Work use?

Scratch Work 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 Scratch Work use?

About 669 tokens (SKILL.md is roughly 2.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 Scratch Work?

Skills that share tags, products or a category with Scratch Work: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scratch Work?

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.