scratchpad
The agent's working memory — its own notes during long tasks + detection of user corrections + propagation to the right memory layer.
Skill by Ignvvcio254
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ignvvcio254-scratchpad
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/scratchpad
What's inside
- Skill name
scratchpad- Description
- The agent's working memory — its own notes during long tasks + detection of user corrections + propagation to the right memory layer. Fixes fragmentation (knowledge that lives in only one place). Activate on multi-phase tasks, when the user corrects you, or when closing a significant session.
- License
- MIT
- Instructions
- 78 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# scratchpad — Own notes + correction detection + propagation > Jarvis harness. Replicates the "improves its outputs using its own notes" capability (a reported 3× gain) > and ports correction detection from prax-agent. Fixes memory fragmentation at the root. ## The three functions ### 1. Task scratchpad (own notes during long work) On every multi-phase task keep a living notes file at `.scratch/task.md` in the project. It is not for the user — it is the agent's working memory. What to record (append, never rewrite): - Decisions taken and why - What was tried and failed (so it isn't repeated in the same task) - Current state: what's done, what's left - Context findings (key files, project patterns) Why: on long tasks the model re-derives context it already knew → wastes tokens and makes mistakes. Re-reading its own notes avoids both. When resuming after an interruption, read `.scratch/task.md` FIRST (the `session_boot` hook injects it automatically). ### 2. Correction detection (when the user corrects you) Triggers — the user says something like: - "no, actually…", "that's wrong", "not like that", "you got it wrong" - "I already told you…", "the same thing again", "remember that…" - "don't do X", "always do Y", "I prefer Z" - corrects an output, reverts something, repeats an earlier instruction (The `correction_detector` hook flags these in English and Spanish.) On a correction: 1. Extract the **problem → solution** pattern (what I did wrong, what I should have done) 2. Classify its scope (table below) and save it in the right layer 3. Confirm briefly, in the user's language: "Noted: [rule]." NEVER leave a correction only in the conversation. Conversation = dead knowledge. ### 3. Propagation (the fix for fragmentation) Each kind of knowledge has ONE home layer. Don't write everywhere; write to the right one: | Kind of knowledge | Home layer | How | |---|---|---| | Working notes of the current task | `.scratch/task.md` | append | | Behaviour correction (how to work) | auto-memory, type `feedback` | new memory + index line | | Anti-pattern of a model/worker | `agent-uplift/antipatterns/` | append to that model's file | | Decision/output of a significant session | `cerebro/` via `/memoria ingest` | session node + index | | Durable entity/relation (system, skill, project) | knowledge-graph MCP, if installed | entities + relations | | Project fact not derivable from the code | auto-memory, type `project` | new memory + index line | | An engineering law learned the hard way | `field-lessons` skill | one law + one-line incident | Golden rule: **when closing a significant session, walk the matrix** and make sure every new piece of knowledge reached its home layer. ## Degradation If a memory MCP is down → write to the file layers (`.scratch`, auto-memory, `cerebro/`), which never fail. Never block on a dead MCP. Note in the session node which layer is pending. ## Integration with verify-repair The scratchpad records the [[verify-repair]] result per task: model level used ([[token-router]]), first-try gate pass, number of repair attempts. That feeds the economy metric (tokens per successful task) and the anti-patterns (a model repeatedly failing the same check → anti-pattern). ## Verifying this skill - Create `.scratch/task.md`, append 2 notes, confirm they persist and `session_boot` injects them next session. - Simulate a correction → check a `feedback` memory is created and indexed. ## Related Closes the harness with [[verify-repair]] and [[token-router]]. Its output feeds `agent-uplift` (anti-patterns) and `jarvis-evolve` (self-improvement). Uses the existing `/memoria` system for the cerebro layer.
From Ignvvcio254/Jarvis-254-Agent, MIT.
More from Ignvvcio254/Jarvis-254-Agent
- 0.604score
agent-uplift
Ignvvcio254
System that makes cheap/free models deliver frontier-class TASK RESULTS through a harness (compiled specs, generate→verify→repair loop, decomposition…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
bucle-agentico
Ignvvcio254
Agentic loop: execute complex features in phases, mapping the real context BEFORE each phase.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
field-lessons
Ignvvcio254
Field-tested engineering laws distilled from real production incidents of an AI agent working 24/7 (verification, silent failures, deploys, migrations, hooks…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
jarvis-evolve
Ignvvcio254
Permanent self-improvement loop — audits signals (project logs, anti-patterns, memory, session failures, local skills, eval bench), diagnoses gaps, proposes…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
multi-cli
Ignvvcio254
Orchestrate external agent CLIs (Antigravity/AGY, OpenCode, Codex…) in visible terminals with a human supervising.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
prp
Ignvvcio254
Plan a complex feature before implementing it.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
subagent-orchestration
Ignvvcio254
Orchestrate subagents (Agent/Task) with a context firewall, the fan-out→synthesize pattern and a rubric grader (Performance Outcomes).
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
token-router
Ignvvcio254
Decide the MINIMUM sufficient model for each task/subtask before executing or delegating.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
verify-repair
Ignvvcio254
OBJECTIVE verdict gate before reporting any delivery.
SkillAFreshness: A★ 3Claude Code +9 - 0.328score
long-run-harness
Ignvvcio254
No description from the publisher yet.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (14 days ago)
- Last release
- Oct 15, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Ignvvcio254/Jarvis-254-Agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Ignvvcio254
- 0.604score
agent-uplift
Ignvvcio254
System that makes cheap/free models deliver frontier-class TASK RESULTS through a harness (compiled specs, generate→verify→repair loop, decomposition…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
bucle-agentico
Ignvvcio254
Agentic loop: execute complex features in phases, mapping the real context BEFORE each phase.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
field-lessons
Ignvvcio254
Field-tested engineering laws distilled from real production incidents of an AI agent working 24/7 (verification, silent failures, deploys, migrations, hooks…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
jarvis-evolve
Ignvvcio254
Permanent self-improvement loop — audits signals (project logs, anti-patterns, memory, session failures, local skills, eval bench), diagnoses gaps, proposes…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
multi-cli
Ignvvcio254
Orchestrate external agent CLIs (Antigravity/AGY, OpenCode, Codex…) in visible terminals with a human supervising.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
prp
Ignvvcio254
Plan a complex feature before implementing it.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
scratchpad skill. Agent Mart. https://agentmart.dev/skills/ignvvcio254-scratchpad (last updated 2026-10-24)