working-in-scratch-areas

working-in-scratch-areas is a skill for Claude Code from technicalpickles/pickled-claude-plugins. It costs 42 tokens per session (597 once invoked), scanned A, original, MIT.

A set of rules for storing temporary scripts, investigation tools and short-lived reports in a documented .scratch area.

In plain words
What is it for?
Use it when creating debug scripts, analysis reports, quick tests, data-extraction utilities or monitoring tools.
Why use it?
It keeps one-off work organized and persistent instead of scattering it through the project or putting it in temporary system folders.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the dev-tools plugin — 8 skills, 2 commands shipped together

Good fit Use it when creating debug scripts, analysis reports, quick tests, data-extraction utilities or monitoring tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas
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 technicalpickles/pickled-claude-plugins --skill working-in-scratch-areas
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code.

Or install dev-tools, the plugin that ships this one along with the rest of its 8 skills, 2 commands.

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 working-in-scratch-areas

README.md
[![agentmods](https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas/github.svg)](https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas)
Your own site
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas/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 working-in-scratch-areas

Your own site · 80×15
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/working-in-scratch-areas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 597 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.
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.00042 $0.00597
Opus 5.5 $0.00017 $0.00239
Sonnet 5.5 $0.00008 $0.00119
Haiku 4.5 $0.00004 $0.00060

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

Security

Grade A, and why

working-in-scratch-areas 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup-scratch-area.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/dev-tools/skills/working-in-scratch-areas/SKILL.md · 27 lines

How it starts

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

Working in Scratch Areas

One-off scripts, debug tools, analysis notes, and reports worth keeping go in the repo's .scratch/ area, not in the repo tree or a temp dir. .scratch is a symlink from the repo root to a per-repo directory under a central scratch-areas root, so the files outlive the checkout and never get committed. (The session scratchpad the harness provides is still the place for throwaway intermediates nobody will look at again.)

Setup

test -L .scratch tells you whether the repo has one. If not:

  1. Find the areas root: a "Scratch Areas" line in ~/.claude/CLAUDE.md (the setup script reads it), else ask the user. Suggest ~/workspace/scratch-areas, or a scratch-areas/ dir next to the repo.
  2. From the repo root, run this skill's scripts/setup-scratch-area.sh [--areas-root PATH] [--save-to-claude-md]. It creates the repo's area, the .scratch symlink, and a README from the template. Skip --save-to-claude-md when ~/.claude/CLAUDE.md is generated from dotfiles; add the line to its source instead.
  3. Make sure .scratch is gitignored, globally (git config --global core.excludesfile) or in the project .gitignore.

Rules

  • Always a topic subdirectory (.scratch/database-debug/), never the .scratch/ root. Reuse a relevant existing subdirectory if there is one (ask if unsure). Each subdirectory gets a README.md: what's in it, what investigation spawned it, how the files relate.
  • Every file starts with a header: purpose, date created, and what it was used for. Scripts also need a shebang.
  • Make scripts executable with this skill's scripts/make-executable <file> (checks for a shebang; approved once instead of per-file chmod), then run them directly (./.scratch/sub/script.sh), not through an interpreter, so allow-lists match.
  • Never delete; document instead. When a file is done, add a [RESOLVED - <date>] header: how it was used, what it found, why it's kept.
  • Never commit scratch files. Stage explicit paths, never git add . or git add -A.

Read the full file on GitHub · 27 lines

Files

What ships with it

3 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. 1mo ago Changed · -601 lines scan B → A 00b505405487
  2. 3mo ago First seen · 628 lines · 42 tokens per session scan B 82f980673622

Subscribe to this mod's changes

working-in-scratch-areas is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (13 stars, last pushed 9d ago), licensed MIT. It adds 42 tokens to every session and 597 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-31.

Related

working-in-scratch-areas compared with skills from other repositories

working-in-scratch-areas next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
working-in-scratch-areastechnicalpickles/pickled-claude-pluginsSkill139d agoMITA42Claude Code
create-pubsub-dotnetdiagrid-labs/dapr-skillsSkill136d agoMITA79Claude Code
create-pubsub-javadiagrid-labs/dapr-skillsSkill136d agoMITA61Claude Code
create-agent-dotnetdiagrid-labs/dapr-skillsSkill136d agoMITA52Claude Code
create-workflow-from-diagramdiagrid-labs/dapr-skillsSkill136d agoMITA93Claude Code
create-workflow-typescriptdiagrid-labs/dapr-skillsSkill136d agoMITA52Claude Code
create-pubsub-pythondiagrid-labs/dapr-skillsSkill136d agoMITA70Claude Code