A temporary markdown workspace for tracking multi-step logic and complex research.

Install

mkdir -p .claude/skills/scratch-pad && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6411" && unzip -o skill.zip -d .claude/skills/scratch-pad && rm skill.zip

Installs to .claude/skills/scratch-pad

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Markdown-based working memory for complex tasks. Use when: 5+ tool calls needed, researching multiple sources, analyzing/comparing items, multi-step workflows. Record process → Reference for response → Delete after use
218 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Initialize and manage temporary markdown scratch files
  • Log tool calls and execution results
  • Track task progress with checkpoints and TODOs
  • Store findings and comparative analysis
  • Clean up temporary files after task completion

How it works

It maintains a volatile markdown file to record tool outputs and findings, serving as a working memory that is deleted once the task is finished.

Inputs & outputs

You give it
Task name and ongoing research content
You get back
Organized markdown reference file

When to use scratch-pad

  • Plan multi-step refactoring
  • Research and summarize multiple sources
  • Draft complex code logic
  • Compare architectural options

About this skill

Scratch Pad - Markdown-Based Task Memory

Simple markdown file for tracking progress during complex tasks. All content is directly written to a .md file for immediate use.

Quick Start

# Initialize scratch pad
python scripts/scratch_pad.py init "Task Name"

# Add content
python scripts/scratch_pad.py append "Finding: The analysis shows..."

# Log tool calls
python scripts/scratch_pad.py log-tool "web_search" '{"query": "AI trends"}' "Found 10 results"

# Read current content
python scripts/scratch_pad.py read

Core Commands

Basic Operations

# Start new task
python scripts/scratch_pad.py --file /path/to/scratch.md init "Task Name"

# Add any content
python scripts/scratch_pad.py append "Content to add..."

# Add section header
python scripts/scratch_pad.py section "Research Findings"

# Read entire pad
python scripts/scratch_pad.py read

Structured Logging

# Log tool execution
python scripts/scratch_pad.py log-tool "tool_name" '{"param": "value"}' "result text"

# Add finding
python scripts/scratch_pad.py finding "Important discovery" --category "Analysis"  

# Add checkpoint
python scripts/scratch_pad.py checkpoint "Phase 1 Complete"

# Add TODO
python scripts/scratch_pad.py todo "Follow up on this"
python scripts/scratch_pad.py todo "Completed task" --done

# Mark complete
python scripts/scratch_pad.py complete

When to Use

ALWAYS use for:

  • Tasks with 5+ tool calls
  • Multi-source research ("조사해줘")
  • Comparative analysis ("비교해줘")
  • Information synthesis ("정리해줘")
  • Step-by-step processing

Integration Pattern

# 1. Initialize at task start
SCRATCH_FILE="FILESYSTEM_BASE_DIR/files/{channel_id}/tmp/scratch_{timestamp}.md"
python scripts/scratch_pad.py --file $SCRATCH_FILE init "User request summary"

# 2. Log each tool call
python scripts/scratch_pad.py --file $SCRATCH_FILE log-tool "mcp__perplexity__search" '{"query": "..."}'
# Execute tool...
python scripts/scratch_pad.py --file $SCRATCH_FILE append "Result: Found X relevant items"

# 3. Add findings
python scripts/scratch_pad.py --file $SCRATCH_FILE finding "Key insight from research"

# 4. Read content for reference (DO NOT include raw content in response)
CONTENT=$(python scripts/scratch_pad.py --file $SCRATCH_FILE read)
# Use $CONTENT as reference to write organized response in mcp__slack__answer

# 5. Clean up (REQUIRED)
rm $SCRATCH_FILE

Important:

  • The scratch pad is for YOUR reference only
  • DO NOT copy/paste the raw markdown into responses
  • USE it to organize and write a proper answer
  • ALWAYS delete the scratch file after use

Output Format

The markdown file is structured for easy reading:

# 📋 Task Name

**Created:** 2025-11-05 10:00:00
**Status:** 🔄 In Progress

---

## 📝 Task Overview
Task: Research competitor products
Started: 2025-11-05 10:00:00

---

## Research Findings (10:05:23)

[10:05:30] Found 3 main competitors...

### 🔧 [10:06:15] Tool: web_search

**Parameters:**
```json
{
  "query": "competitor analysis"
}

Result:

Found 10 relevant results

✅ Checkpoint: Initial Research Complete

Time: 10:15:00 Gathered basic information on all competitors



## Best Practices

1. **Use descriptive section headers** - Makes content easy to navigate
2. **Log tools immediately** - Capture parameters before execution
3. **Add findings as you go** - Don't wait until the end
4. **Use checkpoints** - Mark major milestones
5. **Reference, don't copy** - Use scratch pad as reference for organized response
6. **Always clean up** - Delete scratch files after task completion
7. **Keep it concise** - Focus on key information for YOUR reference

## Module Usage

```python
from scripts.scratch_pad import ScratchPadManager

# Initialize
manager = ScratchPadManager('/tmp/task.md')
manager.init("Complex Analysis Task")

# Add content
manager.add_section("Research Phase")
manager.append("Starting research on topic X...")

# Log tool
manager.log_tool("web_search", {"query": "topic X"}, "10 results found")

# Add finding
manager.add_finding("Topic X is growing 50% annually", "Market Trends")

# Read content
content = manager.read()

# Mark complete
manager.complete()

File Management

  • Location: Always in FILESYSTEM_BASE_DIR/files/{channel_id}/tmp/
  • Naming: scratch_{timestamp}.md or scratch_{task_id}.md
  • Cleanup: Delete after task completion
  • Size limit: Keep under 1MB for performance

Why Markdown?

  • ✅ Human-readable format
  • ✅ No JSON parsing overhead
  • ✅ Direct append operations
  • ✅ Easy to include in responses
  • ✅ Can be viewed/edited manually
  • ✅ Natural structure for documentation

When not to use it

  • For simple, single-step tasks
  • For tasks requiring permanent documentation

Prerequisites

Python runtime

Limitations

  • File size must remain under 1MB
  • Requires manual cleanup if the process is interrupted

How it compares

It provides a structured, temporary workspace for complex multi-step tasks, preventing the cluttering of final responses with raw research data.

Compared to similar skills

scratch-pad side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
scratch-pad (this skill)15moReviewBeginner
vault-org02moReviewBeginner
thought-recording04moNo flagsIntermediate
article-add07moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by krafton-ai

View all by krafton-ai

confluence-deep-reader

krafton-ai

Read a Confluence page and recursively explore its child pages up to 3 levels deep. Use when users want to comprehensively read a Confluence page tree, understand hierarchical documentation, or analyze content across parent and child pages.

16

email-action-extractor

krafton-ai

Extract actionable tasks assigned to the user from email text. Filters out informational emails (announcements, newsletters, ads, automated reports) and only processes emails with clear action requests. Handles group emails by identifying user-specific assignments.

16

slack-memory-cleanup

krafton-ai

Memory cleanup and organization skill for AI employees. Provides guidelines for detecting duplicates, fixing misclassified files, and removing stale information from memory storage.

14

slack-memory-retrieval

krafton-ai

Retrieve and utilize stored memories for AI employees in Slack environments. Efficiently searches and loads relevant context (channels, users, projects, decisions, meetings) from organized memory storage to inform responses. Use this when answering questions that require historical context, user preferences, project status, or any previously stored information. Works with slack-memory-store storage system.

12

slack-memory-store

krafton-ai

Comprehensive memory storage system for AI employees in IT companies who communicate via Slack. Automatically classifies and stores diverse information types (Slack messages, Confluence docs, emails, meetings, projects, decisions, feedback) in an organized folder structure with efficient indexing and retrieval. Use when managing or searching employee memory, storing conversations, documenting decisions, tracking projects, or organizing any work-related information.

13

slack-proactive-intervention-patterns

krafton-ai

메모리에서 7가지 개입 기회 패턴을 감지하는 지식 베이스. 조사 제안, 스케줄링, 문서화, 초안 작성, 연결 조율, 예측적 제안, 루틴 자동화 패턴의 시그널과 점수 계산 방법.

13

Search skills

Search the agent skills registry