Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

beadboard-driver珠板驱动器

Agent Skill

beadboard-driver 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

654

周安装

27

GitHub Stars

31

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:beadboard-driver(珠板驱动器)
来源仓库:https://github.com/zenchantlive/beadboard
仓库路径:skills/beadboard-driver
安装命令:
npx skills add https://github.com/zenchantlive/beadboard --skill beadboard-driver
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zenchantlive/beadboard --skill beadboard-driver

简介

beadboard-driver 是 BeadBoard 控制面板的操作手册,负责 Agent 执行状态信号发射。

  • 通过心跳、状态转换与消息传递驱动实时仪表盘显示,供人类观察协调。
  • Agent 几乎不在内部 repo 工作,而是向外发送事件维持外部可见性。
  • 使用前需熟悉 BeadBoard UI 布局与信号协议,确保状态描述准确。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

BeadBoard Driver

Overview

This skill is the operator runbook for agent execution in external repos with BeadBoard as control plane.

Core principle: explicit state + explicit assignment + explicit evidence.

What is BeadBoard

BeadBoard is a real-time dashboard for bd-backed agent work — it surfaces agent liveness, state transitions, swarm progress, and inter-agent mail in a live UI. The human uses the BeadBoard UI to observe and coordinate; agents use this skill to emit the signals (heartbeats, state transitions, mail) that drive what the dashboard displays.

Agents almost never work inside the BeadBoard repo. You work in your own project repo. bb and bd are globally available on PATH. Scripts used by this skill (preflight, mail shim, etc.) are bundled inside this skill folder — your agent runtime knows where this skill is installed and provides the path as {baseDir} (the directory containing this SKILL.md).

The Iron Law

No bead claims, handoffs, or completion statements without:
1) assignee set,
2) coordination checked,
3) evidence recorded.

Requirements

  • bd must be installed and available on PATH.
  • bb or beadboard must be installed globally and available on PATH.
  • Work from the target repository root.
  • Install bd: npm install -g beads-cli
  • Install bb: clone from GitHub and install globally — see Step 0 bootstrap for the exact commands

Session Runbook (Do Not Skip Steps)

Step 0: Read project.md — Cache-First Decision

ls project.md 2>/dev/null && echo "EXISTS" || echo "MISSING"

MISSING → you are the first agent in this project. Run the Bootstrap Checklist below, then return here.

EXISTS → read the Environment Status Cache table at the top of project.md.

  • All rows passskip Step 1 entirely, go straight to Step 2. The environment is verified.
  • Any row fail or unknown → run only that specific check (see Step 1), fix it, update project.md, continue.
project.md is the token budget. Trust it when it's green. Only spend checks on what's actually broken.

Bootstrap Checklist

{baseDir} is the absolute path to the directory containing this SKILL.md, injected automatically by your agent runtime (Claude Code, Codex, etc.). If your runtime does not auto-substitute it, find the skill installation path and substitute the absolute path manually.

Run once, in order, when project.md is missing.

A. Check bd (beads-cli)

which bd 2>/dev/null || where bd 2>/dev/null

If missing:

npm install -g beads-cli

B. Initialize beads database (if not already present)

ls .beads 2>/dev/null && echo "EXISTS — skip" || bd init

Required before any bd config commands. Skip if .beads already exists.

C. Check bb (BeadBoard)

which bb 2>/dev/null || where bb 2>/dev/null

If missing — bb is required for coordination. Ask the user:

"BeadBoard is not installed. It is required for agent coordination. Would you like me to install it now? I'll clone the repo and install it globally."

If the user agrees:

git clone https://github.com/zenchantlive/beadboard.git ~/beadboard
cd ~/beadboard && npm install && npm install -g .

D. Configure mail delegate

node {baseDir}/scripts/setup-mail-delegate.mjs

Self-resolves the shim absolute path and runs bd config set mail.delegate automatically.

E. Run session preflight

node {baseDir}/scripts/session-preflight.mjs

Must pass before continuing. Checks bd, bb, and confirms delegate is set.

F. Create project.md

cp {baseDir}/project.template.md ./project.md

Fill in every field in the Environment Status Cache table and Project Identity section. Set each verified row to pass with today's date. This is what saves the next agent from re-running all of the above.

Append to the Session Log:

| YYYY-MM-DD | `<your-agent-bead-id>` | Initial project.md created, all checks pass |

Step 1: Environment Check (Skip If project.md All Green)

Only run this step if project.md has a fail or unknown row.

Run only the failing check:

Row failedCommand to fix
bd on PATHnpm install -g beads-cli
bb on PATHclone + npm install -g. (see Bootstrap C)
.beads dbbd init (see Bootstrap B)
mail.delegatenode {baseDir}/scripts/setup-mail-delegate.mjs
session-preflightnode {baseDir}/scripts/session-preflight.mjs — fix what it reports

{baseDir} is the directory containing this SKILL.md. Your agent runtime substitutes it automatically.

After fixing: update that row in project.md to pass with today's date.

See Platform Notes if running on Windows native or WSL2.

Step 2: Create Agent Bead Identity + Verify Mail

bd create --title="Agent: bb-<role-name>" --description="<scope>" --type=task --priority=0 --label="gt:agent,role:<orchestrator|ui|graph|backend|infra>"
# Register in bb coordination system and set identity
bb agent register --name <role-name> --role <orchestrator|ui|graph|backend|infra>
export BB_AGENT=<role-name>
Naming convention: Name your bd bead bb-<role-name> (e.g. bb-silver-scribe). Register the same name in bb as <role-name> (e.g. silver-scribe). Set BB_AGENT=<role-name>. This bridges both identity systems: bd agent state bb-silver-scribe... uses the bead ID; bd mail send uses BB_AGENT automatically.
TermExampleUsed where
<role-name>silver-scribebb agent register --name, BB_AGENT, bd mail --to
Bead titlebb-silver-scribebd create --title
<agent-bead-id>beadboard-0m9bd agent state, bd slot set, bd update --assignee
BB_AGENT valuesilver-scribeSet via export; auto-injected into all bd mail calls

Now that BB_AGENT is set, verify the full mail stack:

node {baseDir}/scripts/ensure-bb-mail-configured.mjs

Expected: ok: true with matching delegate and actor. If it fails, see Failure Modes.

Check inbox before proceeding:

bd mail inbox
Read and ack any pending messages before claiming work. Unacked HANDOFF or DECISION messages may affect your tasks downstream.

Then set lifecycle state:

bd agent state <agent-bead-id> spawning
bd agent state <agent-bead-id> running

Step 3: Note Any Environment Changes in project.md

project.md was already read in Step 0. Only update it now if something changed this session — new package installed, delegate reconfigured, new platform quirk discovered. If nothing changed, skip this step entirely.

If you fixed a fail/unknown row in Step 1, update that row to pass with today's date now.

Step 4: Read Hard Memory and Task Context

# Select your primary domain first:
# memory-arch | memory-workflow | memory-agent | memory-ux | memory-reliability
bd query "label=memory AND label=mem-canonical AND label=<domain> AND status=closed" --sort updated --reverse
bd ready
bd show <target-bead-id>
Pick the domain matching your task: memory-arch (architecture decisions), memory-workflow (session protocol), memory-agent (agent setup/identity), memory-ux (UI/UX), memory-reliability (errors/recovery). Domain anchor IDs are in references/memory-system.md.
bd ready lists all unblocked, unassigned tasks ready for pickup. Review the output and select a <target-bead-id> to pass to bd show.

Minimum: read task contract, dependencies, success criteria, and blockers.

Step 5: Claim Work with Assignee + Hook Slot

bd update <target-bead-id> --status in_progress --assignee <agent-bead-id>
bd slot set <agent-bead-id> hook <target-bead-id>
bd agent state <agent-bead-id> working

Never use --claim. Use explicit --assignee.

Step 6: Execute + Heartbeat + Coordinate via Mail

During execution:

bd agent heartbeat <agent-bead-id>
LLM agents (Claude Code): Heartbeat at turn start and immediately before long-running commands (builds, tests). Inter-turn silence is expected — do not treat it as a health failure. The every-5-minutes cadence applies to persistent daemon-backed agents only. Note: The Witness enforcement layer that automatically marks agents dead on missed heartbeats is not yet running. Heartbeats are recorded and visible in the BeadBoard dashboard but not currently enforced. Daemon implementation is a future epic.

Coordinate through delegated mail:

bd mail vs bb agent: bd mail inbox/send/read/ack are thin wrappers that delegate to bb agent inbox/send/read/ack via the configured shim, injecting BB_AGENT as your sender identity automatically. Always use bd mail in this skill. Raw bb agent commands appear in some reference docs as lower-level equivalents — use them only when the shim is not configured or for direct bb-level debugging.
bd mail inbox
bd mail send --to <agent-or-role> --bead <bead-id> --category <HANDOFF|BLOCKED|DECISION|INFO> --subject "<short>" --body "<details>"
bd mail read <message-id>
bd mail ack <message-id>

When blocked:

  • send BLOCKED
  • set bd agent state <agent-bead-id> stuck
  • resume only after intervention/response
See references/coordination-system.md → Inbox Polling Protocol for minimum polling moments and cadence.

Step 7: Verification Gates (Code Changes)

npm run typecheck
npm run lint
npm run test

Do not claim fixed/done without fresh command output from this session.

Step 8: Publish Evidence, Close, and Update Cache

bd update <target-bead-id> --notes "<commands run + key outputs + files changed>"
bd close <target-bead-id> --reason "<what was completed>"
bd slot clear <agent-bead-id> hook
bd agent state <agent-bead-id> done

Update project.md Environment Status Cache:

  • If you ran tests: set Tests last run row to pass/fail + today's date
  • If you ran preflight: update session-preflight row
  • If you ran bb agent register this session: update bb agent registered row to pass | BB_AGENT=<name> + today's date
  • Append one line to the Session Log: | YYYY-MM-DD | <agent-bead-id> | <what you verified/changed> |

This update is what saves the next agent from re-running your checks.

Step 9: Memory Review

If reusable lesson exists:

  • create/supersede canonical memory decision bead

If no reusable lesson:

  • record: Memory review: no new reusable memory.

Red Flags

Stop and correct if you are about to:

  • close without --assignee history
  • skip bd mail checks at session start/claim/close
  • claim completion without gate output
  • write project context inside skill folder instead of repo project.md
  • use deprecated direct command patterns from old docs

Use-The-Right-Doc Map

  • references/session-lifecycle.md: Full end-to-end session choreography.
  • references/agent-state-liveness.md: Agent states, heartbeat cadence, liveness interpretation.
  • references/coordination-system.md: Canonical bb-mail command surface and category semantics.
  • references/coord-events-sessions-ack.md: Trigger map, inbox polling protocol, blocked-to-resume walkthrough.
  • references/command-matrix.md: Exact command inventory for day-to-day operation.
  • references/failure-modes.md: Deterministic diagnosis and recovery paths.
  • references/memory-system.md: Memory anchors, injection protocol, promotion/supersede rules.
  • references/archetypes-templates-swarms.md: Swarm composition, molecule operations, worker dispatch patterns.
  • references/missions-realtime.md: Real-time/watcher/event troubleshooting.
  • references/creating-beads.md: Creating epics, tasks, subtasks with proper naming, dependencies, and workflow.

Bottom Line

If you follow this runbook exactly, any agent can enter cold, coordinate safely, and deliver auditable completion without drift.

Platform Notes

Environment Variable Syntax

ShellCommand
bash / zsh (WSL2, Linux, macOS)export BB_AGENT=<name>
PowerShell (Windows native)$env:BB_AGENT = "<name>"
cmd.exe (Windows native)set BB_AGENT=<name>

Mail Delegate Path Format

When configuring bd config set mail.delegate "node <path>/bb-mail-shim.mjs":

EnvironmentPath format example
WSL2node /home/<you>/<project-path>/skills/beadboard-driver/scripts/bb-mail-shim.mjs
Windows nativenode C:\Users\<you>\<project-path>\skills\beadboard-driver\scripts\bb-mail-shim.mjs

Binary Detection

The preflight script checks bd and bb are on PATH. On native Windows, the system uses where instead of which. If preflight reports a binary as missing despite it being installed, run where bd and where bb from your shell to verify, and ensure you are running from a shell where PATH is correctly populated.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.8%
按下载量换算83

Claude

29.73%
按下载量换算64

Cursor

17.77%
按下载量换算38

Gemini CLI

9.4%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills