Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By agentx-teamv0.2.0MITIn 1 marketplace
Start-from-scratch session utilities: /scratch:fresh rescans ~/.claude (skills, plugins, agents, commands, MCP) so a new session in the current directory knows everything available; /scratch:takeover finds another directory's Claude session, absorbs its history into the current context, moves its files here, and continues the work.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Start-from-scratch session utilities for Claude Code, packaged as a plugin
named scratch. Modeled on the layout conventions of
agent-team-scaffold: plugin manifest in
.claude-plugin/, thin markdown commands, ${CLAUDE_PLUGIN_ROOT} hooks.
Add the AgentX marketplace (once) and install:
claude plugin marketplace add agentx-team/claude-plugins
claude plugin install scratch@agentx-plugins
Or, working from a local checkout:
claude plugin marketplace add /path/to/claude-plugins # repo root (the marketplace)
claude plugin install scratch@agentx-plugins
Requirements: bash + git + python3 (stdlib only). No Node, no credentials.
The plugin is read-only toward ~/.claude — it scans, never writes.
/scratch:fresh # rescan ~/.claude, orient in the cwd
/scratch:fresh https://github.com/me/api # clone into ./projects/api, then orient there
/scratch:takeover ~/work/old-project # absorb history + mv into ./projects/old-project
A SessionStart hook also injects a brief capability snapshot at every session
start; if you'd rather opt in per-session, disable the hook and use the
commands directly.
Two capabilities, both of which always rescan ~/.claude/skills and
~/.claude/plugins first so the session knows every capability available:
| Command | What it does |
|---|---|
/scratch:fresh | Start a new session with full awareness of ~/.claude — skills, plugins, user agents/commands, MCP servers — clone the target git project into ./projects/<name>, then orient there. |
/scratch:takeover <dir> | Find another directory's Claude session, absorb its conversation history into the current context, mv all its files into ./projects/<name>, and continue the work from there. |
Workspace convention: both commands keep work under a
./projects/subdirectory —freshclones into./projects/<repo>andtakeovermoves the source into./projects/<name>— so the cwd root stays clean and multiple projects can coexist../projects/is git-ignored.
/scratch:freshBootstraps a session and clones the target project into ./projects/:
scripts/scan-claude-home.sh, which enumerates (read-only):
~/.claude/skills/*/SKILL.md — every user skill with its description~/.claude/plugins/installed_plugins.json — installed plugins + versions~/.claude/agents/*.md · ~/.claude/commands/*.md — user-level agents/commands~/.claude/settings.json → mcpServers — user-registered MCP servers./projects/<repo> (git clone <url> ./projects/$(basename <url> .git)) and cds into it — never the cwd root.
If no repo is named, it skips cloning and orients in the current directory.git status, CLAUDE.md/AGENT.md/README.md).A SessionStart hook also injects a brief version of the same inventory at
every session start, so even without running the command the session begins
knowing what skills and plugins exist.
/scratch:takeover <source-dir>Migrates a project — history and files — into the current directory:
~/.claude scan as Feature 1, so the continued
work can use every installed skill/plugin.scripts/find-session.sh <dir> locates the
source directory's transcripts under ~/.claude/projects/<encoded-path>/*.jsonl
(the absolute path with non-alphanumerics replaced by -), newest first.
scripts/extract-session.py then distills the newest transcript into a
readable digest — user prompts, assistant conclusions, tools touched — capped
at a context-friendly size (oldest turns elided first). Claude reads the
digest so the prior conversation becomes part of the current context.AskUserQuestion), the whole source directory (files, dotfiles, and its own
.git) is moved into ./projects/<name> via mv src ./projects/$(basename src), and all paths from the old session are re-anchored under
./projects/<name>/.CLAUDE.md → AGENT.md → README.md, supplemented by git log and a
scan of the tree.It finishes by reporting where the history came from, the state of the work, and the next action — then continues that work from the current directory.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub agentx-team/claude-plugins --plugin scratchPlugins from other owners that cover similar ground