Skip to main content
This page is about skills generated by Reflect — not skills for integrating Reflect.Reflect can distill your reviewed traces into a single project-level guide, retrievable via client.get_skill(). That’s what this page covers.If you’re looking for the installable workflow skill that walks a coding agent through adding Reflect to your project (e.g. npx skills add StarlightSearch/reflect-skills@integrate-reflect), go to For AI Agents instead.

Overview

A Reflect 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 — auto-generated by Reflect once you have enough reviewed runs. Skills are built using hierarchical consolidation inspired by the Trace2Skill paper:
  1. Level 1 (automatic): each reviewed trace generates a per-task reflection (a memory)
  2. Level 2: the top passed and failed reflections are consolidated separately into “proven strategies” and “pitfalls to avoid”
  3. Level 3: both summaries are synthesized into a unified skill guide
The output follows the Anthropic skill standard with YAML frontmatter and structured markdown.

Skills vs Memories

Use memories when your tasks are diverse and need targeted context. Use skills when you want a consistent baseline of project knowledge injected into every run. You can also use both together.

Creating a skill

From the dashboard

  1. Navigate to the Memories tab for your project
  2. Once you have at least 5 reviewed memories, a Create Skill button appears
  3. Click Settings to configure how many passed/failed reflections to sample (default: 5 each)
  4. Click Create Skill
The skill appears with its frontmatter metadata rendered as fields. You can:
  • 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:
Claude Code will automatically load the skill when it matches the task context.

Skill format

Skills follow the Anthropic skill standard with YAML frontmatter:

Frontmatter fields

Configuration

The skill generation can be configured in config.toml:
These defaults are used when the API request doesn’t specify n_passed or n_failed. The dashboard Settings panel lets you override these per-request.

Best practices

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.
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.
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.
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:
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.