Claude
Skills
Sign in
Back

Running Log

Included with Lifetime
$97 forever

Persistent schema-driven running log with three-component architecture - quick-capture ideas, AI auto-detection, and backlog review librarian

Design

What this skill does



**Name**: running-log
**Version**: 2.0
**Domain**: Process Memory, Decision Tracking, Cross-Session Learning
**Status**: Redesigned based on Phase 2 validation findings

---

## Purpose

Maintain a persistent, schema-driven running log that captures:
- **Ideas** (human quick-capture backlog)
- **Consultations** (AI-detected external sources)
- **Process Memory** (AI-detected reasoning patterns)

Creates searchable, auto-organized entry backlog across sessions through **three distinct workflows**:
1. Human quick-capture (`/idea`)
2. AI auto-detection (Consultation, Process Memory)
3. Post-processing librarian (`/review-backlog`)

**Critical Design Insight**: Human entry workflows differ fundamentally from AI auto-detection workflows. v2.0 separates these cleanly.

---

## Architecture: Three-Component System

### Component 1: `/idea` Command (Human Territory)

**Purpose**: Ultra-minimal quick capture while working

**Workflow**:
```
User: /idea Local copies of Anthropic docs in AI-optimized format
→ Entry created immediately with defaults
→ User continues work
```

**What AI fills automatically**:
- Entry ID: `#ID-YYYYMMDD-NNN` (auto-incremented)
- Timestamp: ISO 8601
- Confidence/Priority: `TBD` (To Be Determined - evaluated during backlog review)
- Status: `Backlog` (default for all ideas)
- Tags: AI-generated from description + existing tag taxonomy
- Type: `Idea/Note`
- Profile: Active profile (e.g., `DEVELOPER`)

**Entry Schema (Ideas)**:
```markdown
## Idea/Note | #ID-YYYYMMDD-NNN | [ISO 8601 Timestamp]

**Description**: [User-provided 1-line description]
**Confidence/Priority**: TBD
**Status**: Backlog
**Type**: Idea/Note
**Profile**: [Active Profile]
**Tags**: [AI-generated tags]

---
```

**Why this works**:
- Zero friction: User types one line, gets back to work
- No nonsensical prompts for confidence (ideas are captured, not evaluated)
- No status guessing (all ideas start as backlog)
- Consistent tags (AI prevents million inconsistent human tags)
- Evaluation happens later during `/review-backlog`

---

### Component 2: AI Auto-Detection (AI Territory)

**Purpose**: Monitor Claude's responses for reasoning patterns worth capturing

**Entry Types**:

#### Consultation (External Sources)
AI detects when referencing external knowledge:
- Documentation lookups
- Perplexity/research queries
- User-provided references
- Framework/library citations

**Auto-generates**:
```markdown
## Consultation | #ID-YYYYMMDD-NNN | [Timestamp]

**Description**: [What was consulted]
**Source**: [Citation/URL]
**Confidence**: [AI's confidence in source quality: High/Med/Low]
**Status**: Reviewed
**Type**: Consultation
**Profile**: [Active Profile]
**Tags**: [domain, source-type, framework]

---
```

#### Process Memory (AI Reasoning Patterns)
AI detects loggable reasoning patterns in its own responses:

**Pattern 1: Uncertainty**
```regex
/uncertainty\s+(on|about|regarding|around)\s+([^.!?]+)/i
```
→ Logs: What's uncertain, confidence level

**Pattern 2: Assumption**
```regex
/assum(e|ing|ption)\s+(that|about|the)\s+([^.!?]+)/i
```
→ Logs: Assumption made, validation status

**Pattern 3: Confidence Threshold**
```regex
/confidence\s+(less\s+than|below|<)\s*(\d+)%?/i
```
→ Logs: Low-confidence item needing validation

**Pattern 4: Decision/Fork**
```regex
/(fork|branch|decision\s+point|chose|decided|rejected)\s+(in|on)?\s*([^.!?]+)/i
```
→ Logs: Decision made, alternatives considered, rationale

**Pattern 5: Critical Signal**
```regex
/critical|blocker|blocking|must\s+(clarify|understand|verify)/i
```
→ Logs: Critical issue flagged, requires attention

**Auto-generates**:
```markdown
## Process Memory | #ID-YYYYMMDD-NNN | [Timestamp]

**Description**: [Reasoning pattern detected]
**Confidence**: [AI's certainty about this pattern: 0-100%]
**Status**: [Assumed/Validated/Rejected]
**Type**: Process Memory
**Profile**: [Active Profile]
**Tags**: [pattern-type, domain, criticality]
**Pattern Detected**: [Which regex matched]
**Raw Output**: [Exact phrase from Claude's response]

**Extended Context**:
[Why this pattern matters, implications, next steps]

---
```

**Cadence**: 3 automatic checks per session
1. **Session Start**: Continuity from previous session
2. **Mid-Toolchain**: After `floor(tool_count / 3)` tools executed
3. **Session End**: Archive session learnings

**Confidence Thresholds** (Auto-log only if >= threshold):
- DEVELOPER: 75%
- RESEARCHER: 60%
- ENGINEER: 70%
- DEFAULT: 70%

**Noise Filtering**:
1. Confidence threshold (above)
2. Entry cap per session (DEVELOPER: 8, RESEARCHER: 12, ENGINEER: 10)
3. Deduplication (Levenshtein 85% similarity suppresses duplicates)

---

### Component 3: `/review-backlog` Command (Librarian Function)

**Purpose**: Post-process entries to organize, prioritize, and link

**What it does**:
1. **Relationship Identification**: AI analyzes all entries and identifies connections
2. **Tag Refinement**: Harmonizes tags across entries, suggests taxonomy improvements
3. **Prioritization**: Reviews `TBD` priorities, suggests High/Med/Low based on context
4. **Linking**: Populates `Linked To` field by finding related entries
5. **Auto-Section Generation**: Regenerates High-Priority Ideas, Open Risks, Linked Insights

**Usage**:
```
/review-backlog                 # Review all entries, suggest actions
/review-backlog --ideas         # Review only ideas (prioritize, link)
/review-backlog --risks         # Review low-confidence items
/review-backlog --link #ID-001  # Find and link entries related to #ID-001
```

**Example Output**:
```
🔍 Backlog Review Results

Ideas Requiring Prioritization (5):
- #ID-20251222-001: Local AI-optimized docs → Suggested: High (aligns with knowledge-base work)
- #ID-20251221-003: Plugin permission system → Suggested: Med (dependent on architecture)

Suggested Links (3):
- #ID-20251222-001 ← #ID-20251221-008 (both reference documentation workflows)
- #ID-20251221-005 → #ID-20251221-003 (decision impacts idea)

Tag Harmonization:
- Rename "docs" → "documentation" (4 entries)
- Merge "anthropic-api" + "anthropic" (2 entries)

Apply changes? [Y/n]
```

**Why separate from capture**:
- Humans can't know relationships while capturing ideas mid-work
- Requires full-backlog context to identify patterns
- Deliberate activity, not real-time capture
- AI analyzes relationships humans can't see

---

## File Structure

```
project/
├── .claude/
│   ├── RUNNING_LOG.md              # Main log (auto-sections + chronological)
│   ├── LAST_ENTRIES.md             # Dedup tracking (20 most recent)
│   └── skills/
│       └── running-log/
│           └── SKILL.md            # This specification
└── [project files]
```

### RUNNING_LOG.md Structure

```markdown
# Running Log - DEVELOPER Profile

**Created**: [ISO 8601]
**Last Updated**: [ISO 8601]

---

## Auto-Generated Sections

### 🔥 High-Priority Ideas
[Auto-populated from ideas tagged High, status ≠ Done]

### ⚠️ Open Risks / Low-Confidence Items
[Auto-populated from Process Memory with confidence < 60%]

### 🔗 Linked Process Insights
[Auto-populated from entries with Linked To populated]

---

## Entry Backlog

[Entries in reverse chronological order]

---
```

---

## Commands Summary

### `/idea [DESCRIPTION]`
Quick-capture idea while working. AI fills all other fields with defaults.

```
/idea Local copies of Anthropic docs in AI-optimized format
```

### `/review-backlog [OPTIONS]`
Post-process entries: prioritize, link, harmonize tags.

```
/review-backlog                 # Full review
/review-backlog --ideas         # Ideas only
/review-backlog --risks         # Low-confidence items
/review-backlog --link #ID-001  # Link related entries
```

### `/running-log --show [N]`
Display last N entries (default: 10).

```
/running-log --show 5
```

### `/running-log --debug`
Show last 5 entries with full details including regex detection.

```
/running-log --debug
```

---

## Configuration

```yaml
running_log:
  enabled: true
  file_path: ".claude/RUNNING_LOG.md

Related in Design