Skip to content
Skills Library
AI & agents · Analysis

agent-scratchpad-intermediate-reasoning-curation

/agent-scratchpad-intermediate-reasoning-curation

Use this skill when maintaining structured working scratchpads, tracking intermediate hypotheses and data during multi-stage problem solving.

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill when maintaining structured working scratchpads, tracking intermediate hypotheses and data during multi-stage problem solving.

Original author description

Use this skill when maintaining structured working scratchpads, tracking intermediate hypotheses and data during multi-stage problem solving.

How it works

  1. When to use
  2. Core principles
  3. Step-by-step workflow
  4. Behavioral guidelines & dialogue examples
  5. Common mistakes & pitfalls
  6. Verification checklist
  7. Related skills
Original SKILL.md headings · 59 lines, 410 words
SKILL.md preview
---
name: agent-scratchpad-intermediate-reasoning-curation
description: Use this skill when maintaining structured working scratchpads, tracking intermediate hypotheses and data during multi-stage problem solving.
---
# Agent Scratchpad & Intermediate Reasoning Curation

## When to use
Use this skill when conducting multi-hour investigations, tracking numerous variables across multiple files, comparing competing architectural options, or debugging complex state machines.

## Core principles
- **Externalizing Working Memory**: Humans use whiteboards and scratchpads because working memory saturates quickly; agents must externalize state into structured scratchpads to maintain analytical clarity.
- **Separation of Reasoning from Final Deliverables**: Intermediate notes, hypotheses, and scratch calculations belong in a designated workspace scratchpad, keeping final user responses clean and focused.
- **The Living Hypothesis Ledger**: Maintain an explicit list of:
  - Active Hypotheses.
  - Confirmed Facts (with line number evidence).
  - Disproven Theories (and why they failed).
  - Open Questions.
- **Continuous Pruning**: Update and overwrite scratchpad files as discoveries are made to prevent visual noise.

## Step-by-step workflow
1. **Initialize project scratchpad**: Create `.agent/scratchpad.md` or a conversation artifact when tackling complex tasks.
2. **Record initial conditions & constraints**: Document known error strings, environment variables, and reproduction steps.
3. **Log discoveries with evidence anchors**: Add findings paired with exact file paths and line ranges (`file.py:L45-L60`).
4. **Update hypothesis ledger after each tool call**: Cross off disproven theories immediately to prevent repeating identical tests.
5. **Synthesize final deliverable**: Extract confirmed insights into the final response and clean up obsolete scratch notes.

## Behavioral guidelines & dialogue examples
- **Scratchpad Structure Pattern**:
  ```markdown
  # Incident Scratchpad: Worker Memory Spike
  
  ## Confirmed Facts
  - Memory climbs 50MB every 10 minutes (`telemetry.log:L120`).
  - Worker processes batch payloads of 500 records.
  
  ## Ruled Out
  - [x] Database connection leak: Connection pool size is stable at 10 (`db_pool.go:L34`).
  - [x] Goroutine leak: `runtime.NumGoroutine()` remains steady at 24.
  
  ## Active Hypothesis
  - [ ] Unclosed response body in `client.Do(req)` inside HTTP webhook worker (`webhook.go:L88`).
  
  ## Next Action
  - Inspect `webhook.go` lines 80-110 for `resp.Body.Close()`.
  ```

## Common mistakes & pitfalls
- Keeping scratchpad notes purely in transient model thoughts where they can be lost during context truncation.
- Dumping messy, raw scratchpad notes directly into the user-facing response.
- Failing to update the scratchpad as new facts contradict earlier theories.

## Verification checklist
- [ ] Scratchpad explicitly separates confirmed facts from active hypotheses.
- [ ] Findings cite specific file paths and line numbers.
- [ ] Disproven theories are recorded to prevent circular testing.
- [ ] User-facing response presents synthesized conclusions rather than raw scratch dumps.

## Related skills
- agent-task-decomposition-hierarchical-planning
- agent-context-budget-management-strategies
- debugging-and-troubleshooting
- engineering-craft

Versions

The database has no other skills named agent-scratchpad-intermediate-reasoning-curation.

Database snapshot: 13.11.2026 · package version d63aa89eb7f8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100scratch
    Organize knowledge from an agent session into a scratchpad — a folder of files plus a scratchpad.json manifest. Use when a task generates notes, snippets, command output, diagrams, or artifacts worth keeping together for a session/activity.
  • 100scratch
    Organize knowledge from an agent session into a scratchpad — a folder of files plus a scratchpad.json manifest. Use when a task generates notes, snippets, command output, diagrams, or artifacts worth keeping together for a session/activity.
  • 100agent-memory-curation-episodic-pruning
    Use this skill when maintaining agent memory graphs and episodic stores, consolidating learnings and pruning obsolete context.
  • 91make_plan
    当任务需要多步拆解或不确定执行路径时,向更强 Agent 请求一份分步可落地的执行计划,由当前 Agent 自己执行。
  • 100subagent-delegation
    Delegate discovery, planning, and scoped edits to a `subagent` (agent types `explore` / `plan` / `general-purpose`) whenever the next steps would pollute the parent's context with intermediate tool output you won't reuse. Use `modelOverride` to push grunt work to cheaper /…
  • 100mcp-code-execution
    Scaffold the code execution pattern for MCP-based agents. Use when agents call many MCP tools, intermediate data exceeds context, you need loops, or PII must stay out of context.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.