askill
bv-integration

bv-integrationSafety 90Repository

Beads Viewer (BV) integration for visual task management and smart task selection. Use for Kanban views, dependency graphs, and the robot-plan API for auto-selecting next tasks. Keywords: beads, viewer, kanban, dependency graph, robot-plan, task selection, bottleneck

0 stars
1.2k downloads
Updated 3/8/2026

Package Files

Loading files...
SKILL.md

Beads Viewer Integration

BV is a TUI for visualizing Beads issues with graph analysis and a robot protocol for agents.

Quick Reference

CommandHuman UseAgent Use
bvInteractive TUIN/A (requires TTY)
bv --robot-planN/AGet next highest-impact task
bv --robot-insightsN/AGet graph metrics JSON
bv --export-graphExport HTML graphN/A

Auto-Select Next Task (Robot Mode)

Instead of bd list --status open, use BV for smarter task selection:

bv --robot-plan

Returns JSON with the highest-impact unblocked task:

{
  "next": "bd-xyz",
  "unblocks": 5,
  "impact_score": 0.87,
  "reason": "Critical path task, unblocks 5 downstream dependencies",
  "alternatives": ["bd-abc", "bd-def"]
}

Using in Agent Workflow

# Get next task ID
NEXT_TASK=$(bv --robot-plan | jq -r .next)

# If valid, show details
if [ -n "$NEXT_TASK" ] && [ "$NEXT_TASK" != "null" ]; then
    bd show "$NEXT_TASK"
fi

Graph Insights (Robot Mode)

Get graph analysis metrics:

bv --robot-insights

Returns:

{
  "bottlenecks": ["bd-xyz"],
  "critical_path": ["bd-a", "bd-b", "bd-c"],
  "cycles": [],
  "density": 0.42,
  "pagerank": {"bd-xyz": 0.15, "bd-abc": 0.12}
}

Installation

curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh | bash

Verification

# Check installed
which bv && bv --version

# Robot protocol works in a normal repo checkout (with canonical Beads available)
cd ~/affordabot && bv --robot-plan | jq .

# Optional: Interactive TUI (human only)
bv

Interactive TUI Keys (Human Reference)

KeyAction
bKanban board view
gDependency graph
iInsights dashboard
hHistory view
tTime-travel (compare git revisions)
/Fuzzy search
j/kNavigate up/down
EnterView details
qQuit

Integration with lib/fleet (Compatibility Layer)

Note: lib/fleet is a compatibility layer used by the deprecated dx-dispatch shim. For canonical dispatch, use dx-runner directly.

FleetDispatcher can use BV for smart task selection:

from lib.fleet import FleetDispatcher  # Legacy - prefer dx-runner

dispatcher = FleetDispatcher()

# Auto-select highest-impact task
next_task = dispatcher.auto_select_task(repo="affordabot")
if next_task:
    dispatcher.dispatch(beads_id=next_task, ...)

Migration: For new dispatch workflows, use dx-runner start --provider opencode instead of lib/fleet.

When to Use BV vs bd CLI

ScenarioUse
Create/update issuesbd create, bd update
Find next task (smart)bv --robot-plan
Find any ready taskbd ready
Visualize dependenciesbv (interactive) or bv --robot-insights
Graph bottleneck analysisbv --robot-insights

Fallback

If BV is not installed or fails, fall back to bd:

NEXT=$(bv --robot-plan 2>/dev/null | jq -r .next)
if [ -z "$NEXT" ] || [ "$NEXT" = "null" ]; then
    NEXT=$(bd ready --limit 1 --json | jq -r '.[0].id')
fi

Last Updated: 2026-01-14 Repository: https://github.com/Dicklesworthstone/beads_viewer Related Skills: beads-workflow

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

79/100Analyzed 3/8/2026

Well-structured skill document for Beads Viewer integration with clear command examples, installation instructions, and usage patterns. Provides valuable robot-mode APIs for intelligent task selection and graph analysis. The when-to-use comparison table and fallback mechanism are strong points. Slightly reduced score due to project-specific references (lib/fleet, affordabot) and tags that don't match content. Could benefit from troubleshooting section and error handling details."

90
85
55
72
85

Metadata

Licenseunknown
Version-
Updated3/8/2026
Publisherstars-end

Tags

ci-cdgithubgithub-actionsobservability