CLAUDE CODE MARKETPLACES

beads-bv

>-

npx skills add https://github.com/boshu2/agentops --skill beads-bv
SKILL.md

beads-bv — Graph-Aware Triage

<!-- TOC: Robot Mode | Commands | Workflow | Scoping | Metrics | br | Troubleshooting | References -->

Core Insight: Your backlog is a directed graph. PageRank finds what everything depends on. Betweenness finds bottlenecks. The math knows your priorities better than your gut.

CRITICAL: Robot Mode Only

bv                    # WRONG — launches TUI, blocks terminal
bv --robot-triage     # CORRECT — JSON output for agents

NEVER run bare bv in agent contexts.


Commands

Core (Start Here)

CommandReturnsUse When
--robot-triageTHE MEGA-COMMAND: recommendations + blockers + healthWhat should I work on?
--robot-nextSingle top pick + claim commandJust the one thing
--robot-planParallel execution tracks with unblocksWhat can run concurrently?
--robot-insightsAll metrics + cycles + density + k-core + slackDeep analysis
--robot-priorityPriority misalignments with confidenceAm I prioritizing wrong?

Labels & Health

CommandReturnsUse When
--robot-label-healthPer-label: health_level, velocity, stalenessWhich domain is struggling?
--robot-label-flowCross-label dependencies, bottleneck_labelsInter-team blockers
--robot-label-attentionAttention-ranked labelsWhere to focus?
--robot-alertsStale issues, blocking cascades, priority mismatchesWhat's rotting?
--robot-suggestDuplicates, missing deps, cycle breaksHygiene

History & Correlation

CommandReturnsUse When
--robot-historyBead-to-commit correlationsChange tracking
--robot-causality <id>Timeline, blockers, insightsWhy did this take so long?
--robot-related <id>File/commit overlap, clustersWhat's connected?
--robot-file-beads <path>Beads that touched a fileCode ownership

Time-Travel & Search

CommandReturnsUse When
--robot-diff --diff-since <ref>New/closed/modified since refWhat changed?
--as-of <ref>Historical point-in-timeTime-travel
--robot-searchSearch results as JSONFind beads
--search-mode hybridText + graph rankingSmart search

Full command reference: COMMANDS.md


Workflow

# 1. What should I work on?
bv --robot-triage | jq '.recommendations[0]'

# 2. Claim it
br update bd-123 --status in_progress

# 3. Do the work...

# 4. Done
br close bd-123 --reason "Implemented in abc123"

# 5. Next
bv --robot-triage

Scoping & Filtering

bv --robot-plan --label backend              # Scope to label's subgraph
bv --robot-insights --as-of HEAD~30          # Historical point-in-time
bv --recipe actionable --robot-plan          # Only unblocked items
bv --recipe high-impact --robot-triage       # Top PageRank scores
bv --robot-triage --robot-triage-by-track    # Group by parallel streams
bv --robot-triage --robot-triage-by-label    # Group by domain
bv --robot-alerts --severity=critical        # Filter alerts

Key Metrics

MetricHigh Score Means
PageRankEverything depends on this — fix first
BetweennessBottleneck — blocks multiple paths
CyclesBroken graph — fix immediately
K-CoreStructural strength (core membership)
ArticulationCut vertex — removal disconnects graph

Decision Matrix

PatternMeaningAction
High PageRank + High BetweennessCritical bottleneckDrop everything, fix this
High PageRank + Low BetweennessFoundation pieceImportant but not blocking
Low PageRank + High BetweennessUnexpected chokepointInvestigate why

Full metrics: METRICS.md


br Essentials

br ready --json                              # What's unblocked?
br create "Title" -d "desc"                  # New issue
br update bd-123 --status in_progress        # Working on this
br close bd-123 --reason "Done"              # Done
br dep add bd-123 bd-456                      # Add dependency
br dep remove bd-123 bd-456                   # Break cycle

Troubleshooting

ProblemCauseFix
bv hangsTUI launchedUse --robot-* flags
Cycles detectedCircular dependencybr dep remove to break
Phase 2 timeoutLarge graph (>500 nodes)Check status field
Empty metric mapsPhase 2 still runningCheck status flags
Inconsistent outputsDifferent dataCompare data_hash

Validation

# Tools working?
bv --robot-triage >/dev/null && br list >/dev/null && echo "OK"

# Graph healthy?
bv --robot-insights | jq '{cycles: .Cycles, density: .density}'
# cycles must be [], density < 0.3 is healthy

References

NeedRead
All robot commands + flagsCOMMANDS.md
All metrics explainedMETRICS.md
jq recipes, morning triageRECIPES.md