Agent skill
Running Log
Persistent schema-driven running log with three-component architecture - quick-capture ideas, AI auto-detection, and backlog review librarian
Install this agent skill to your Project
npx add-skill https://github.com/jcmrs/jcmrs-plugins/tree/main/plugins/running-log/skills/running-log
SKILL.md
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:
- Human quick-capture (
/idea) - AI auto-detection (Consultation, Process Memory)
- 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):
## 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:
## 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
/uncertainty\s+(on|about|regarding|around)\s+([^.!?]+)/i
→ Logs: What's uncertain, confidence level
Pattern 2: Assumption
/assum(e|ing|ption)\s+(that|about|the)\s+([^.!?]+)/i
→ Logs: Assumption made, validation status
Pattern 3: Confidence Threshold
/confidence\s+(less\s+than|below|<)\s*(\d+)%?/i
→ Logs: Low-confidence item needing validation
Pattern 4: Decision/Fork
/(fork|branch|decision\s+point|chose|decided|rejected)\s+(in|on)?\s*([^.!?]+)/i
→ Logs: Decision made, alternatives considered, rationale
Pattern 5: Critical Signal
/critical|blocker|blocking|must\s+(clarify|understand|verify)/i
→ Logs: Critical issue flagged, requires attention
Auto-generates:
## 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
- Session Start: Continuity from previous session
- Mid-Toolchain: After
floor(tool_count / 3)tools executed - Session End: Archive session learnings
Confidence Thresholds (Auto-log only if >= threshold):
- DEVELOPER: 75%
- RESEARCHER: 60%
- ENGINEER: 70%
- DEFAULT: 70%
Noise Filtering:
- Confidence threshold (above)
- Entry cap per session (DEVELOPER: 8, RESEARCHER: 12, ENGINEER: 10)
- 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:
- Relationship Identification: AI analyzes all entries and identifies connections
- Tag Refinement: Harmonizes tags across entries, suggests taxonomy improvements
- Prioritization: Reviews
TBDpriorities, suggests High/Med/Low based on context - Linking: Populates
Linked Tofield by finding related entries - 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
# 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
running_log:
enabled: true
file_path: ".claude/RUNNING_LOG.md"
state_file: ".claude/LAST_ENTRIES.md"
profiles:
DEVELOPER:
threshold: 75
entry_cap: 8
RESEARCHER:
threshold: 60
entry_cap: 12
ENGINEER:
threshold: 70
entry_cap: 10
DEFAULT:
threshold: 70
entry_cap: 8
deduplication:
enabled: true
levenshtein_threshold: 0.85
cross_session: true
idea_defaults:
confidence: "TBD"
status: "Backlog"
auto_tag: true # AI generates tags from description
Migration from v1.0
Changes:
/logcommand removed → Use/idea [description]instead- Interactive prompting removed →
/ideais one-line only - Confidence/Status for ideas → Now defaults (TBD/Backlog)
- Tags → AI-generated, not human-entered
- Linked To → Post-processing via
/review-backlog, not capture-time /reviewcommand → Renamed to/review-backlogwith expanded functions
Existing logs compatible: v1.0 entries remain valid, new entries use v2.0 schema
Design Rationale (Phase 2 Learnings)
Problem 1: Nonsensical Fields for Ideas
v1.0: Asked humans for confidence/priority when capturing ideas
Issue: Ideas are captured for later evaluation, not evaluated at capture time
v2.0 Fix: Defaults to TBD/Backlog, evaluation happens during /review-backlog
Problem 2: Inconsistent Human Tags
v1.0: Asked humans to enter free-form tags Issue: Million inconsistent tags, none relevant v2.0 Fix: AI auto-generates tags from description + existing taxonomy
Problem 3: Impossible "Linked To" Field
v1.0: Asked humans to provide entry IDs while capturing
Issue: Humans don't memorize IDs mid-work
v2.0 Fix: AI identifies relationships during /review-backlog post-processing
Problem 4: Monolithic Command
v1.0: Single /log command tried to handle all entry types
Issue: Human quick-capture ≠ AI auto-detection workflows
v2.0 Fix: Split into /idea (human), auto-detection (AI), /review-backlog (librarian)
Version & Maintenance
Current: v2.0 (Redesigned based on Phase 2 validation) Previous: v1.0 (Phase 1 spec-only)
Expected Updates:
- v2.1: Post-deployment tuning based on real usage
- v3.0: Multi-repository support, cross-project insights
Schema Stability: Core schema stable. Thresholds may adjust based on empirical data.
Next Steps
- Implement
/ideacommand (minimal quick-capture) - Implement
/review-backlogcommand (librarian functions) - Update existing
/running-logcommand for display-only modes - Test with real workflows across 5+ sessions
- Collect usage data, tune thresholds
End of SKILL.md Specification v2.0
This specification reflects critical design learnings from Phase 2 validation. The three-component architecture (quick-capture, auto-detection, post-processing) separates human and AI workflows appropriately.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Procedural Memory System
This skill should be used when the user asks to "reflect on patterns", "generate rules from sessions", "consolidate memory", "analyze session patterns", "learn procedures and workflows", "create procedural knowledge", or mentions memory consolidation, process learning, or long-term knowledge retention. Provides systematic extraction of procedures, processes, and workflows from conversational history with automatic rule generation.
Semantic Translation
This skill should be used when the user uses ambiguous terminology like "make it talk", "we need an api", "make it portable", "check for gaps", asks meta-questions like "am I making sense?", "does this make sense?", mentions being a "non-technical user", uses vague action verbs ("make it work", "do the thing"), mixes domain languages, uses invented terms, or when detecting semantic drift between human natural language and technical precision. Provides semantic translation, disambiguation, and domain knowledge mapping across Autogen, Langroid, MCP (Model Context Protocol), UTCP (Universal Tool Calling Protocol), FastAPI, Git/Gitflow, SRE (Site Reliability Engineering), and Memory Graphs domains. Bridges the gap between user intent and technical specificity through ontological translation.
gemini-consult
documentation-query
Access official collaboration platform documentation organized by platform components, protocols, and core competencies. Use when user asks about platform capabilities, how the framework works, or when Claude Code needs to reference architecture, implementation patterns, or best practices to answer questions accurately.
Profile Creator
Knowledge engineering pipeline that transforms messy human intent and repository analysis into living operational domain profiles
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?