b00t-interface-library
БесплатноБез исполняемых скриптовНе проверенDesign and implement a Rust interface library in l3dg3rr that acts as a feature-configurable lifecycle manager for b00t processes. The library compliantly…
от elasticdotventures★ 15 звёзд на GitHubОб этом скилле
Overview
The b00t interface library (crates/b00t-iface/) is the Rust analog of
train.py in karpathy/autoresearch. It is the single file the agent modifies
and improves. The "research loop" is:
program.md (this skill) ──→ agent
↓ iterates on
b00t-iface/src/lib.rs (single-file interface library)
↓ tested by
cargo test -p b00t-iface (5-minute eval budget)
↓ keep/discard based on
test results + coverage + lint pass
Core Trait: ProcessSurface
The library provides one primary trait and one lifecycle manager:
/// A process surface is any executable that can be started, checked,
/// and stopped by the b00t hive. Examples: MCP servers, sidecars,
/// daemons, one-shot scripts.
pub trait ProcessSurface {
type Config: Deserialize;
type Error: std::error::Error;
type Handle;
/// Declare what this surface needs before it can run.
fn requirements(&self) -> Vec<Requirement>;
/// Init: validate config, resolve dependencies, acquire resources.
fn init(&mut self, config: Self::Config) -> Result<(), Self::Error>;
/// Operate: start the process, return a handle for lifecycle control.
fn operate(&self) -> Result<Self::Handle, Self::Error>;
/// Terminate: graceful shutdown, resource release, audit record.
fn terminate(handle: Self::Handle) -> Result<AuditRecord, Self::Error>;
/// Lifecycle maintenance: health check, restart policy, log rotation.
fn maintain(&self) -> MaintenanceAction;
}
Governance Controls
Each surface declares a GovernancePolicy:
pub struct GovernancePolicy {
/// Which agents/roles are allowed to start this surface.
pub allowed_starters: Vec<AgentRole>,
/// Maximum runtime before forced re-evaluation.
pub max_ttl: Duration,
/// Whether this surface can be restarted automatically.
pub auto_restart: bool,
/// Crash threshold before surface is quarantined.
pub crash_budget: u32,
}
Autoresearch Loop
The agent follows this loop autonomously:
- Read this skill and the current
crates/b00t-iface/src/lib.rs - Modify
lib.rs— add a new surface impl, improve governance, fix invariant - Run
cargo test -p b00t-iface 2>&1 | tail -20(the 5-minute eval) - Keep if tests pass AND new coverage > 80%
- Discard if tests fail — revert with
git checkout -- crates/b00t-iface/ - Log the experiment outcome in
EXPERIMENTS.md - Repeat until user halts or 100 experiments reached
First Experiment
The first surface to implement: the datum file watcher — a daemon that
watches _b00t_/datums/ for changes and re-validates the invariant schema.
This proves the init → operate → terminate → maintain cycle with a real b00t
resource.
Interfaces
The library decomposes into:
| Module | Purpose | Status |
|---|---|---|
surface |
ProcessSurface trait + LifecycleManager |
Design |
governance |
GovernancePolicy, agent roles, crash budget |
Design |
datum_watcher |
Datum file watcher surface | First target |
audit |
AuditRecord type for termination events |
Design |
Установить b00t-interface-library в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBashTaskFAQ
Что делает скилл b00t-interface-library?
Design and implement a Rust interface library in l3dg3rr that acts as a feature-configurable lifecycle manager for b00t processes. The library compliantly implements init → operate → terminate → lifecycle maintenance of miscellaneous process surfaces (MCP servers, daemons, sidecars) with deterministic governance controls. Uses the autoresearch pattern (karpathy/autoresearch): agent reads program.md, iterates on the library, experiments autonomously.
Как установить скилл b00t-interface-library?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b00t-interface-library запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic