episode-log-steps

Log execution steps with tool, action, latency, tokens, and success.

11|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill episode-log-steps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: episode-log-steps
Source: https://github.com/d-o-hub/rust-self-learning-memory/tree/main/.claude/skills/episode-log-steps
Command: npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill episode-log-steps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes logging of execution steps within episodes to build a complete, searchable record for learning and pattern extraction.

Core Features & Use Cases

  • Structured step records: store tool, action, latency, tokens, success, and observations.
  • Batching guidance: log related steps together for clarity.
  • Observability: generate insights from logs for debugging and optimization.

Quick Start

Create an ExecutionStep with tool, action, latency, and observation; log_step to attach it to the episode.

Frequently Asked Questions about episode-log-steps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log execution steps to track tool usage and decisions during episodes?

Logging execution steps captures detailed records of tool invocations, actions, latency, token usage, and outcomes. Create an ExecutionStep with tool, action, latency_ms, tokens, success, and observation fields, then attach it to the episode using log_step to build a searchable execution history for learning and debugging.

What should I include in an execution step log for observability?

Execution step logs should record the tool used, the action performed, latency in milliseconds, token count, success status, and observations about the result. This structured schema enables pattern extraction, performance analysis, and error tracking across builds, tests, code generation, and other tasks.

Can I batch multiple execution steps together for clarity?

Yes, batching guidance in the Skill allows you to log related steps together to organize your episode logs meaningfully. Group steps by logical phase—such as decision points, tool chains, or error sequences—to make your logs easier to search and analyze.

How do I extract insights from episode logs for debugging and optimization?

Episode logs stored in JSON-encoded memory provide a complete, queryable record of execution steps. Use latency, token, and success metrics alongside observations to identify bottlenecks, error patterns, and inefficiencies across your recorded episodes.

What formats do execution step logs support for downstream analysis?

Execution step logs conform to a structured ExecutionStep schema stored in batch-friendly JSON format within episode memory. This standardized structure supports parsing, filtering, and analysis of tool usage, decision points, errors, and milestones across your tasks.