
Specstory Yak
Ever started to fix a button and ended up rewriting your entire CI/CD pipeline? This analyzer digs through your SpecStory session history and scores each one from 0 to 100 based on how far you drifted from your original goal. It tracks domain shifts, tool escalation patterns, and goal completion to identify your worst yak shaving offenders. The output is genuinely useful: it'll tell you that your UI tasks average a 58/100 yak shave score while your code reviews stay focused at 12/100, or that your 11pm sessions are where things go off the rails. Run it with "/specstory-yak last 30 days" and get a personalized roast of your most epic scope creep moments.
- skills.sh installs
- 253
- GitHub stars
- 35
- last updated
- Aug 21, 2026
Install
$ npx -y skills add specstoryai/agent-skills --skill specstory-yak --agent claude-codeInstalls into .claude/skills of the current project.
Files
Specstory Yak Shave Analyzer
Analyzes your .specstory/history to detect when coding sessions drifted off track from their original goal. Produces a "yak shave score" for each session.
How It Works
- Parses specstory history files from a date range (or all recent sessions)
- Extracts the initial user intent from the first message
- Tracks domain shifts: file references, tool call patterns, goal changes
- Scores each session from 0 (laser focused) to 100 (maximum yak shave)
- Summarizes your worst offenders and patterns
What Is Yak Shaving?
"I need to deploy my app, but first I need to fix CI, but first I need to update Node, but first I need to fix my shell config..."
Yak shaving is when you start with Goal A but end up deep in unrelated Task Z. This skill detects that pattern in your AI coding sessions.
Usage
Slash Command
When invoked via /specstory-yak, interpret the user's natural language:
Sponsors
Details
- Repository
- github.com/specstoryai/agent-skills
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026