Overview
A skill is a project-level guide distilled from your reviewed traces. While memories are per-task reflections retrieved by semantic similarity, a skill is a single, consolidated document that captures the proven strategies and pitfalls for an entire project. Skills are built using hierarchical consolidation inspired by the Trace2Skill paper:- Level 1 (automatic): each reviewed trace generates a per-task reflection (a memory)
- Level 2: the top passed and failed reflections are consolidated separately into “proven strategies” and “pitfalls to avoid”
- Level 3: both summaries are synthesized into a unified skill guide
Skills vs Memories
| Memories | Skills | |
|---|---|---|
| Scope | Per-task: retrieved by similarity to the current task | Per-project: same guide for every task |
| Count | Many per project (one per reviewed trace) | One per project |
| Retrieval | Automatic via query_memories or augment_with_memories | Explicit via get_skill() |
| Creation | Automatic on trace review | On-demand (dashboard button or API call) |
| Best for | Task-specific context (“last time I tried this exact thing…”) | Project-wide patterns (“on this project, always check for pagination…”) |
Creating a skill
From the dashboard
- Navigate to the Memories tab for your project
- Once you have at least 5 reviewed memories, a Create Skill button appears
- Click Settings to configure how many passed/failed reflections to sample (default: 5 each)
- Click Create Skill
- Refine Skill: regenerate with the latest memories (version increments)
- Download .md: save as a markdown file to use in your agent’s prompt or as a Claude Code skill
From the API
From the SDK
Using a skill
Inject into your agent’s prompt
The simplest approach: prepend the skill to your system prompt or task:Use with the trace context manager
When using skills, you typically skip per-task memory retrieval since the skill already provides project-wide context:Download and use as a Claude Code skill
Click Download .md in the dashboard to save the skill file. Place it in your Claude Code skills directory:Skill format
Skills follow the Anthropic skill standard with YAML frontmatter:Frontmatter fields
| Field | Description |
|---|---|
name | Project identifier |
description | What the skill covers and how many traces it was built from |
project | Project ID |
source_memories | Total number of reflections sampled |
passed_sampled | Number of successful reflections used |
failed_sampled | Number of failed reflections used |
generated_at | ISO 8601 timestamp of when the skill was generated |
Configuration
The skill generation can be configured inconfig.toml:
n_passed or n_failed. The dashboard Settings panel lets you override these per-request.
Best practices
Create the skill after enough diverse traces
Create the skill after enough diverse traces
A skill built from 3 very similar traces will be narrow. Wait until you have at least 5-10 reviewed traces covering different task types within the project. The more diverse the traces, the more generalizable the skill.
Refine after adding new traces
Refine after adding new traces
Skills are a snapshot. After reviewing more traces (especially failures that reveal new pitfalls), click Refine Skill to regenerate with the latest data. The version number increments so you can track changes.
Sample more reflections for mature projects
Sample more reflections for mature projects
The default of 5 passed + 5 failed works for most projects. For mature projects with 50+ traces, increase to 10-15 per category via the Settings panel to capture more patterns.
Use skills and memories together for complex projects
Use skills and memories together for complex projects
Skills provide a broad baseline (“on this project, always do X”). Memories provide task-specific context (“last time I tried this exact query…”). For complex projects, inject the skill into the system prompt and use memory augmentation for the task:
Download for offline or cross-tool use
Download for offline or cross-tool use
The downloaded
.md file works as a Claude Code skill, a system prompt snippet, or documentation for your team. The frontmatter is valid YAML and can be parsed by any tool that understands the Anthropic skill format.