bstack skill
エージェント主導のワークスペースを、一般的な失敗モードを解消することで自律運用システムへと変革するための20の自動化プリミティブを提供します。
- GitHubスター
- 5
- ファイル
- 1
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
bstack skillは何をしますか
bstackはAgent Skillsです。 エージェント主導のワークスペースを、一般的な失敗モードを解消することで自律運用システムへと変革するための20の自動化プリミティブを提供します。.
skillのSKILL.mdから生成された要約。
bstack skill について
Broomva Stackの主な目標は、エージェント主導のワークスペースを自律運用システムへと変革することです。このSKILLは、監視のないエージェントセッションにおけるエントロピーや失敗モードを防ぐために設計された、P1からP20までのラベルが付いた20の不可欠な自動化プリミティブのプライマーを提供します。開発者はこれらのプリミティブを使用してガバナンスのメタレイヤーを確立し、自律的なタスクが信頼性と状態管理のための厳格な契約に従うようにします。
エージェントはこのプライマーをロードすることで、セッションデータをキャプチャするBridge (P1) や、破壊的な操作を承認するGate (P2) といった特定の運用パターンについて推論します。これはコマンドラインツールではなく、概念的なハーネスとして機能します。このプライマーはBookkeeping (P6) やSnapshot (P15) といったタスクのロジックを定義しますが、実際の実行には、git cloneとbootstrapを介してインストールされた個別のbstack CLIおよびガバナンス基盤が必要です。この区別により、エージェントは衛生状態の維持、Dep-Chain (P14) を介した依存関係の管理、およびCross-Review (P20) を介したモデル間レビューの実行に関する基礎的なルールを理解することができます。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
bstack skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにbstack skillをインストールする
~/.claude/skills/bstack/SKILL.md
$ npx degit broomva/skills/skills/governance/bstack ~/.claude/skills/bstackClaude Code (project)にbstack skillをインストールする
.claude/skills/bstack/SKILL.md
$ npx degit broomva/skills/skills/governance/bstack .claude/skills/bstackCodexにbstack skillをインストールする
~/.agents/skills/bstack/SKILL.md
$ npx degit broomva/skills/skills/governance/bstack ~/.agents/skills/bstackGemini CLIにbstack skillをインストールする
~/.gemini/skills/bstack/SKILL.md
$ npx degit broomva/skills/skills/governance/bstack ~/.gemini/skills/bstackClaude.aiにbstack skillをインストールする
npx degit broomva/skills/skills/governance/bstack bstack && zip -r bstack.zip bstack # claude.ai → Customize → Skills → + → Create skill → Upload a skill → bstack.zip
SKILL.md
GitHubで表示bstack — the Broomva Stack (primitives primer)
A portable harness metalayer for AI-native development. Twenty irreducible primitives that turn any agent-driven workspace into a self-operating system. Each primitive closes one failure mode that otherwise drifts into entropy in unsupervised agent sessions.
This file is the agent-readable primer, not the CLI. It teaches you the primitive contract so you can reason with it. The bstack CLI + governance substrate (the
bstackbinary,doctor, templates, hooks, schemas) is a separate product:git clone https://github.com/broomva/bstack.git cd bstack && ./bin/bstack bootstrapDo not
npx skills add broomva/bstack— bstack has a repo-rootSKILL.mdbesidebin/, so skills.sh copies only that file and drops the CLI (vercel-labs/skills#1523).bstack bootstrapinstalls the companion-skill roster from this monorepo:npx skills add broomva/skills --skill <name>per entry.
Referencing primitives
Use the Name (Pn) form in prose — "applying Snapshot (P15)", "via Dep-Chain
(P14)", "running Bookkeeping (P6)". The number is the canonical id; the name is
the human handle.
Short-name index: Bridge (P1) · Gate (P2) · Tickets (P3) · Pipeline (P4) · Fanout (P5) · Bookkeeping (P6) · Freshness (P7) · Janitor (P8) · Wait (P9) · Hygiene (P10) · Empirical (P11) · Persist (P12) · Dream (P13) · Dep-Chain (P14) · Snapshot (P15) · Crystallize (P16) · Lens (P17) · Audience (P18) · Orchestrate (P19) · Cross-Review (P20).
The twenty primitives
| # | Primitive | Closes / does |
|---|---|---|
| P1 | Bridge — Conversation Bridge | Session amnesia. Stop hook → JSONL → docs → vault; capture is automatic. |
| P2 | Gate — Control Gate | Destructive ops the model didn't authorize. PreToolUse hook → .control/policy.yaml; G1–G4 never bypassed. |
| P3 | Tickets — Linear Tickets | Invisible work. Every unit tracked Backlog → Done; no significant work without a ticket. |
| P4 | Pipeline — PR Pipeline | Merging unreviewed code. Branch → PR → CI → merge → deploy; never merge on red. |
| P5 | Fanout — Parallel Agents | Serial bottlenecks. Concurrent isolated agents via worktrees; no shared mutable file writes. |
| P6 | Bookkeeping — Knowledge Bookkeeping | Lost knowledge. Score → promote → entity pages → synthesize. Capture is a reflex, never a question — file it, report after. |
| P7 | Freshness — Skill Freshness Check | Silent skill rot. SessionStart nudge when installed skills are ≥7d stale. Never blocks. |
| P8 | Janitor — Branch + Worktree Janitor | Dead branches/worktrees. make janitor removes squash-merged + orphaned safely; default dry-run. |
| P9 | Wait — Productive Wait | Sleeping on CI. gh pr checks --watch via background; drain a work-queue while blocked. Never sleep. |
| P10 | Hygiene — Worktree Hygiene | Dirty trees. Decide worktree-or-not before the first file; a clean git status is the only reliable reset point. |
| P11 | Empirical — Empirical Feedback | Reasoning mistaken for validation. Validate by interacting — log-tails, E2E, screenshots, deploy verification. |
| P12 | Persist — Persistent Loop | Work that must outlive one session losing its state. State lives in the filesystem; each iteration spawns a fresh context. |
| P13 | Dream — Dream Cycle | Dense low-tier signal corrupting sparse high-tier rules. Cross-tier consolidation replays against a frozen substrate (stop-gradient). |
| P14 | Dep-Chain — Dependency-Chain Reasoning | "Think deeply" as ritual. Enumerate upstream + downstream (concrete file paths, function names) in the response — not in your head. |
| P15 | Snapshot — State-Snapshot Before Action | Plans built on stale state. Surface git status + branch + ahead/behind + open PRs + CI/deploy state before planning. |
| P16 | Crystallize — Crystallization (the engine) | Patterns staying in the operator's head. Recurs ≥3× → promote to skill / rule / gate. The meta-primitive that produces the others. |
| P17 | Lens — Lens-Routed Articulation | act as X persona theater. Route input through a lens registry that loads substantive context, not a persona rewrite. |
| P18 | Audience — Format-Follows-Audience | Wrong format by habit. Agent-read → markdown; human-read (specs, reports) → rich HTML. Format follows audience. |
| P19 | Orchestrate — Mechanism Selection | "Continue please" handoffs. Pick the autonomous-continuation mechanism by the 2×2×2 cube before substantive work. |
| P20 | Cross-Review — Cross-Model Adversarial Gate | Single-model echo chambers. The writer cannot be the final judge; fire a cross-model gate (≥7/10) before merging substantive PRs. |
When to use this primer
- You're operating in a bstack-governed workspace and need the primitive contract to reason with.
- Someone references
Pn/ a primitive short-name and you need its meaning + invariant. - You're deciding how to install bstack (answer: clone +
bstack bootstrap, not skills.sh). - You want the discipline without the CLI (this primer is enough to apply the primitives by hand).
The full mechanism specs, the bstack doctor primitive-contract linter, the RCS
control-loop math, and the governance templates all live in the CLI repo
(github.com/broomva/bstack). This primer is the entry point; the substrate is the product.
このスキルのファイル
1bstack skillに関する質問
Claude Codeにbstack skillをインストールするには
npx degit broomva/skills/skills/governance/bstack ~/.claude/skills/bstackを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
bstack skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
このプライマーとCLIの違いは何ですか?
このファイルは、推論のためのプリミティブな契約を教えるエージェント読み取り用のプライマーです。一方、CLIはバイナリ、doctor、テンプレートを含む実際の機能製品です。
bstackプリミティブとは何ですか?
このスタックは、エージェントセッションにおけるエントロピーを防ぐために設計された、Bridge (P1)、Gate (P2)、Tickets (P3)、Pipeline (P4)などを含む20のプリミティブ (P1–P20) で構成されています。