/boshu2:goalsfrom boshu2
Maintain GOALS.yaml and GOALS.md fitness specifications. Measure fitness, manage directives, track drift, add/prune goals. Triggers: "goals", "goal status", "show goals", "add goals", "prune goals", "clean goals", "goal drift", "goal history", "export goals", "meta goals", "migrate goals".
Ships in boshu2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Maintain GOALS.yaml and GOALS.md fitness specifications. Use
ao goalsCLI for all operations.
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
/goals # Measure fitness (default)
/goals init # Bootstrap GOALS.md interactively
/goals steer # Manage directives
/goals add # Add a new goal
/goals drift # Compare snapshots for regressions
/goals history # Show measurement history
/goals export # Export snapshot as JSON for CI
/goals meta # Run meta-goals only
/goals validate # Validate structure
/goals prune # Remove stale gates
/goals migrate # Migrate YAML to Markdown
| Format | File | Version | Features |
|---|---|---|---|
| YAML | GOALS.yaml | 1-3 | Goals with checks, weights, pillars |
| Markdown | GOALS.md | 4 | Goals + mission + north/anti stars + directives |
When both files exist, GOALS.md takes precedence.
Parse the user's input:
| Input | Mode | CLI Command |
|---|---|---|
/goals, /goals measure, "goal status" | measure | ao goals measure |
/goals init, "bootstrap goals" | init | ao goals init |
/goals steer, "manage directives" | steer | ao goals steer |
/goals add, "add goal" | add | ao goals add |
/goals drift, "goal drift" | drift | ao goals drift |
/goals history, "goal history" | history | ao goals history |
/goals export, "export goals" | export | ao goals export |
/goals meta, "meta goals" | meta | ao goals meta |
/goals validate, "validate goals" | validate | ao goals validate |
/goals prune, "prune goals", "clean goals" | prune | ao goals prune |
/goals migrate, "migrate goals" | migrate | ao goals migrate |
ao goals measure --json
Parse the JSON output. Extract per-goal pass/fail, overall fitness score.
If the goals file is GOALS.md format:
ao goals measure --directives
For each directive, assess whether recent work has addressed it:
Present fitness dashboard:
Fitness: 5/7 passing (71%)
Gates:
[PASS] build-passing (weight 8)
[FAIL] test-passing (weight 7)
└─ 3 test failures in pool_test.go
Directives:
1. Expand Test Coverage — gap (no recent test additions)
2. Reduce Complexity — partially-addressed (2 refactors this week)
ao goals init
Or with defaults:
ao goals init --non-interactive
Creates a new GOALS.md with mission, north/anti stars, first directive, and auto-detected gates. Error if file already exists.
Run measure mode first to show current fitness and directive status.
Based on measurement:
Use CLI commands:
ao goals steer add "Title" --description="..." --steer=increase
ao goals steer remove 3
ao goals steer prioritize 2 1
Add a single goal to the goals file. Format-aware — writes to GOALS.yaml or GOALS.md depending on which format is detected.
ao goals add <id> <check-command> --weight=5 --description="..." --type=health
| Flag | Default | Description |
|---|---|---|
--weight | 5 | Goal weight (1-10) |
--description | — | Human-readable description |
--type | — | Goal type (health, architecture, quality, meta) |
Example:
ao goals add go-coverage-floor "bash scripts/check-coverage.sh" --weight=3 --description="Go test coverage above 60%"
Compare the latest measurement snapshot against a previous one to detect regressions.
ao goals drift # Compare latest vs previous snapshot
Reports which goals improved, regressed, or stayed unchanged.
Show measurement history over time for all goals or a specific goal.
ao goals history # All goals, all time
ao goals history --goal go-coverage # Single goal
ao goals history --since 2026-02-01 # Since a specific date
ao goals history --goal go-coverage --since 2026-02-01 # Combined
Useful for spotting trends and identifying oscillating goals.
Export the latest fitness snapshot as JSON for CI consumption or external tooling.
ao goals export
Outputs the snapshot to stdout in the fitness snapshot schema (see references/goals-schema.md).
Run only meta-goals (goals that validate the validation system itself). Useful for checking allowlist hygiene, skip-list freshness, and other self-referential checks.
ao goals meta --json
See references/goals-schema.md for the meta-goal pattern.
ao goals validate --json
Reports: goal count, version, format, directive count, any structural errors or warnings.
ao goals prune --dry-run # List stale gates
ao goals prune # Remove stale gates
Identifies gates whose check commands reference nonexistent paths. Removes them and re-renders the file.
Convert between goal file formats.
ao goals migrate --to-md # Convert GOALS.yaml → GOALS.md
ao goals migrate # Migrate GOALS.yaml to latest YAML version
The --to-md flag creates a GOALS.md with mission, north/anti stars sections, and converts existing goals into the Gates table format. The original YAML file is backed up.
User says: /goals
What happens:
ao goals measure --json to get gate resultsao goals measure --directives to get directive listResult: Dashboard showing gate pass rates and directive progress.
User says: /goals init
What happens:
ao goals init which prompts for mission, stars, directives, and auto-detects gatesResult: New GOALS.md ready for /evolve consumption.
User says: /goals add go-parser-fuzz "cd cli && go test -fuzz=. ./internal/goals/ -fuzztime=10s" --weight=3 --description="Markdown parser survives fuzz testing"
What happens:
ao goals add with the provided argumentsResult: New goal added, measurable on next /goals run.
| Problem | Cause | Solution |
|---|---|---|
| "goals file already exists" | Init called on existing project | Use /goals to measure, or delete file to re-init |
| "directives require GOALS.md format" | Tried steer on YAML file | Run ao goals migrate --to-md first |
| No directives in measure output | GOALS.yaml doesn't support directives | Migrate to GOALS.md with ao goals migrate --to-md |
| Gates referencing deleted scripts | Scripts were renamed or removed | Run /goals prune to clean up |
| Drift shows no history | No prior snapshots saved | Run ao goals measure at least twice first |
| Export returns empty | No snapshot file exists | Run ao goals measure to create initial snapshot |
/evolve — consumes goals for fitness-scored improvement loopsreferences/goals-schema.md — schema definition for both formatsreferences/generation-heuristics.md — goal quality criteriaWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ulpi-io/plugin-marketplace --plugin boshu250 skills in this plugin
/beadsGit-backed issue tracker for multi-session work with dependencies and persistent memory across conversation compaction. Use when work spans sessions, has blockers, or needs context recovery after compaction.
/brainstormCollaborative discovery and design framing for ambiguous or high-risk work. Use when requirements are unclear, multiple approaches are possible, or you need to turn an idea into a validated design brief before planning or coding./bug-huntInvestigate suspected bugs or run proactive code audits. Triggers: "bug", "broken", "doesn't work", "failing", "investigate bug", "debug", "find the bug", "troubleshoot", "audit code", "find bugs in", "code audit", "hunt bugs".Other plugins' skills for the same job