skill-refinement

Attribute PostToolUse feedback to skills and generate refinement insights.

10|1|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/zenbase-ai/code-voyager --skill skill-refinement-zenbase-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-refinement
Source: https://github.com/zenbase-ai/code-voyager/tree/main/.claude/skills/skill-refinement
Command: npx skills add https://github.com/zenbase-ai/code-voyager --skill skill-refinement-zenbase-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transforms tool-execution feedback into actionable improvements for Claude skills, reducing recurring errors and improving reliability.

Core Features & Use Cases

  • Attribute tool executions to specific skills using a cascade of strategies
  • Generate insights on errors, tool usage, and improvement recommendations
  • Provide concrete steps to refine SKILL.md and references

Quick Start

Run voyager feedback insights to view improvements. For per-skill insights, use voyager feedback insights --skill <skill-name> --errors.

Frequently Asked Questions about skill-refinement

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

FAQPage Schema
How do I collect feedback from tool executions to improve my Claude skills?

Skill refinement collects PostToolUse feedback across Claude sessions and tool contexts (Read, Grep, Glob, Bash) to attribute outcomes to specific skills. Set up a SQLite feedback database at .claude/voyager/feedback.db and a PostToolUse hook at .claude/hooks/post_tool_use_feedback.py, then run voyager feedback insights to surface performance data and improvement recommendations.

What's the best way to reduce recurring tool errors and identify skill gaps?

Skill refinement semantically attributes tool execution errors and outcomes to skills using a cascade strategy (Transcript, Learned Associations, ColBERT) and optional LLM inference. Run voyager feedback insights --skill <skill-name> --errors to pinpoint error hotspots and get concrete steps to refine SKILL.md and references.

Can I track tool performance across multiple Claude sessions?

Yes. Skill refinement applies across Claude sessions and tool contexts, storing execution data in schemas for tool_executions, session_summaries, and learned_associations. This persistence enables feedback-driven refinement over time as patterns emerge from repeated tool use.

What setup is required to enable feedback-driven skill refinement?

You need a SQLite feedback database at .claude/voyager/feedback.db, a PostToolUse hook at .claude/hooks/post_tool_use_feedback.py, an insights CLI, and database schemas for tool_executions, session_summaries, and learned_associations. The attribution cascade handles the rest.

How does skill refinement attribute tool outcomes to specific skills?

Skill refinement uses a three-layer attribution cascade: first checks Transcript context, then Learned Associations from prior feedback, then applies ColBERT semantic matching. Optional LLM-based inference refines attribution when confidence is low, ensuring accurate feedback routing to the responsible skill.

What actionable insights does the feedback system generate?

Skill refinement generates insights on error patterns, tool usage frequency, and improvement opportunities tied to specific skills. Output includes concrete steps to update SKILL.md definitions and references, reducing recurring errors and improving tool reliability.