Skip to content
Back to skills

Episode Start

ASecurity

Start a new learning episode in the self-learning memory system with proper context. Use this skill when beginning a new task that should be tracked for learning from execution patterns.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsrusttestingdebuggingrefactoringbackend

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill episode-start --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Episode Start?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Episode Start
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-episode-start/badge)](https://www.skillsdirectory.com/skills/majiayu000-episode-start)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: episode-start
description: Start a new learning episode in the self-learning memory system with proper context. Use this skill when beginning a new task that should be tracked for learning from execution patterns.
---

# Episode Start

Start a new learning episode in the self-learning memory system.

## Purpose
Create a new episode record with proper context for the memory backend to learn from execution patterns.

## Steps

1. **Understand the task**: Parse the task description and identify:
   - Task type (implementation, debugging, refactoring, testing)
   - Domain (storage, patterns, retrieval, testing, etc.)
   - Language context (Rust/Tokio/async patterns)

2. **Prepare TaskContext**: Ensure you have:
   - `language`: "rust"
   - `domain`: One of [storage, patterns, retrieval, embedding, testing, ci]
   - `tags`: Array of relevant tags (e.g., ["turso", "async", "tokio"])

3. **Create episode**: Call `SelfLearningMemory::start_episode(task_description, context)`
   - Task description should be clear and concise (1-2 sentences)
   - Include relevant context from the user's request

4. **Store episode_id**: Keep the episode ID for logging subsequent steps

5. **Initialize step logging**: Prepare to log execution steps with:
   - Tool used
   - Action taken
   - Latency/tokens (if applicable)
   - Success status
   - Observations

## Storage Requirements
- Persist to Turso (durable storage)
- Cache in redb (fast access)
- Store context as JSON blob

## Example

```rust
let context = TaskContext {
    language: "rust".to_string(),
    domain: "storage".to_string(),
    tags: vec!["turso".to_string(), "async".to_string()],
};

let episode_id = memory
    .start_episode(
        "Implement async batch pattern updates",
        context
    )
    .await?;
```

## Notes
- Always validate that both Turso and redb connections are healthy
- Use anyhow::Result for error handling
- Log any initialization failures with context

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.