Agent Scratch
Shared scratchpad memory for parallel Claude Code agents and subagents: CLI, MCP server and optional hooks, local SQLite.
$5
Works with the AI Agents you already use
Agent Scratch
Example session with this skill installed
Subagent A finishes reviewing the auth module. Subagent B starts on the API layer.
- Read your context and instructions
- Compiled the agent scratch
B's starting context includes: "- (reviewer/auth) Token expiry check uses < instead of <=; refresh path untested." B reads A's finding without the main agent relaying it.
Connects securely to your tools. The creator never sees your data.
About this skill
Parallel agents and subagents lose each other's findings. Agent Scratch gives them one shared, local notebook.
What you get
agent_scratch.py, a single stdlib-only Python file (SQLite, WAL mode so concurrent subagents can write safely).- CLI:
post,read,recent. - MCP stdio server exposing
post_noteandread_notestools, so any MCP-capable agent can use it. Works with mcp 1.x and 2.x. - Optional hooks:
hook-startinjects recent notes into a starting subagent,hook-stoprecords a subagent's final message. - Search is semantic if
sentence-transformersis installed (all-MiniLM-L6-v2), otherwise keyword matching ranked by hits then recency. SetAGENT_SCRATCH_EMBED=0to skip embeddings entirely.
Everything stays on your machine. No accounts, no network calls (the embedding model downloads once if you opt in).
Tested: CLI post/read/topic filter/recent, hook JSON output, MCP server over stdio on mcp 1.30 and 2.3.
Hooks depend on SubagentStart/SubagentStop payload fields (session_id, cwd, agent_type, last_assistant_message) that may differ by Claude Code version; they exit 0 silently if fields are missing. Semantic search loads all notes into memory, so it suits thousands of notes, not millions. No cross-machine sync.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 13 days ago
Requires
Permissions
File Scopes
No network access. Optional embedding model download from Hugging Face if sentence-transformers is installed.