lac5q/beastmode/langgraph
Claude Code and agent skill by lac5q/beastmode
- community
Checking that the SKILL.md file is still in the repository.
LangGraph binding for the universal Beastmode orchestration contract
Install
npx vskill@latest install lac5q/beastmode/langgraphSKILL.md
The same SKILL.md was published earlier as lac5q/beastmode/langgraph.
Beastmode LangGraph — runtime adapter
This adapter supplies the LangGraph mechanics for the canonical beastmode skill (v2.5.0). Install beastmode[langgraph] (plus [studio] for langgraph dev); the shell lane remains install-free and is unchanged for users who do not select this harness.
Primitive map
| Beastmode concept | LangGraph implementation | |
|---|---|---|
| Loop | StateGraph from beastmode.langgraph.graphs.pipeline | |
| ACN fan-out | Send with same-lane batches and a join before validation | |
| Gate | interrupt() with Command(resume=...) below high autonomy | |
| Persistence | SqliteSaver, thread_id equal to the goal id | |
| Executor | Existing coding-agent subprocess in an isolated worktree | |
| Provenance | beastmode.core.provenance delegates to scripts/lib/acn_meta.py; parent-keyed run/result MACs prevent attestation substitution and replay | |
| Direct model | beastmode.langgraph.as_chat_model(seat) exposes a configured BaseChatModel | |
| Observability | Custom stream events plus OTel-shaped trace_metadata and child spans |
Set LANGSMITH_TRACING=true, LANGSMITH_API_KEY, and optionally LANGSMITH_PROJECT to enable LangGraph/LangSmith tracing. LangGraph provides its in-process node trace tree; run scripts/acn-trace after a completed run to project canonical child receipts as sanitized beastmode.child runs. Tracing is best-effort and never participates in a gate decision; see references/observability.md for privacy and the receipt projection path.
Gates are blocking below high. MODEL DRIFT and unverifiable are always surfaced and never count as validated. No watcher, no validated. A provider that does not prove actual_model is unsupported for direct-call judgment seats and must use the subprocess fallback.
Interview mapping
The upfront interview is a checkpointed interrupt() before the design node. Gate open questions ride the existing interrupt() gates; low and medium wait for answers or explicit deferrals, while high folds them into the final report after its upfront interview.
Usage
The executor, run_dir, attestation key, and attestation run ID are trusted runtime configuration. WorktreeSubprocessExecutor creates the credentials; pass its attestation_key and attestation_run_id to run_pipeline with its attestation directory. Omitting them causes authenticated provenance to block; graph state cannot select its own provenance target or credentials.
Resume the same thread with graph.invoke(Command(resume="approved"), ...). Use graph.get_graph().draw_mermaid() for the living topology. Import provenance_gate, autonomy_gate, and route_by_verification_cost directly when embedding only the primitives you need in a foreign graph. Use build_fanout(executor) for lane-grouped Send execution without the full pipeline; all four copy-paste patterns are executable-tested in references/langgraph-templates.md.
For an async caller, use arun_pipeline with the same goal id. SQLite is the safe local default; install beastmode[postgres] and inject postgres_checkpointer for a shared production database. The native AsyncSqliteSaver path is available with BEASTMODE_NATIVE_ASYNC_SQLITE=1; restricted hosts use a non-hanging compatibility fallback.
The real CLI driver requires an explicit child command:
The driver receives BEASTMODE_META_DIR, BEASTMODE_TASK_ID, and BEASTMODE_REQUESTED_MODEL (and the goal in BEASTMODE_TASK_GOAL). It must write meta.json there. The subprocess environment excludes ambient credentials and a git shim blocks worker commit/push. The default worktree executor additionally requires Linux bubblewrap, mounting the shared checkout and Git metadata read-only. Missing metadata remains an unverifiable gate failure. Other platforms must inject a different executor with an equivalent isolation boundary.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingadapters/langgraph/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lac5q/beastmode/langgraph)