Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

lev-builder列弗建设者

Agent Skill

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

总安装

220

周安装

9

GitHub Stars

2

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lev-os/agents --skill lev-builder

简介

lev-builder 是 lev 生态中的核心路由技能,负责分派与评估其他 lev-* 技能。

  • 适用于存在多个子技能协同工作的复杂任务分解与执行流程。
  • 通过 GitHub 安装并使用 npx skills add 命令添加该技能。
  • 需熟悉 lev 框架的工作流定义方式才能正确配置依赖关系。
  • 输出结果高度结构化,便于后续自动化处理与日志追踪。

SKILL.md

lev-builder: POC → Formalize → Migrate

Core principle: Build in a workspace POC, prove it works, migrate to ~/lev canonical paths.

Why This Exists

PROBLEM:
- Work happens across mixed workspaces (project-local, workshop, plugins)
- BD issues are in lev (lev-* prefix)
- Need to know WHERE to put things in Leviathan
- Need prior art check before creating new

SOLUTION:
- lev-builder orchestrates the full workflow
- POC in `~/lev/workshop/poc` (or project-local skills) → migrate to `~/lev/core` when proven
- Uses graph operations for decisioning, then applies explicit filesystem patches during migration

The Builder Workflow

┌─────────────────────────────────────────────────────────────────┐
│                    LEV-BUILDER WORKFLOW                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  1️⃣ ASSESS (What exists?)                                       │
│  ├─ lev get "topic" --indexes codebase,docs,skills            │
│  ├─ Check ~/lev/core/* for existing modules                    │
│  ├─ Check ~/lev/workshop/poc/* for prior POCs                  │
│  └─ Output: Related code, docs, skills found                   │
│                                                                 │
│  2️⃣ PRIOR ART CHECK (Duplicate prevention)                      │
│  ├─ ./scripts/prior-art-check.sh "topic"                       │
│  ├─ bd search "topic"                                          │
│  ├─ Skill lookup: ~/lev/workshop/poc/lookup/                   │
│  └─ Output: Existing work to patch vs. new work to create      │
│                                                                 │
│  3️⃣ PLACEMENT DECISION (Where does it go?)                      │
│  ├─ Escalate to user if ambiguous                              │
│  │   "Should this be in core/auth or core/vault?"              │
│  ├─ Consult LEVIATHAN_PATHS.md                                 │
│  └─ Output: Target path confirmed                              │
│                                                                 │
│  4️⃣ GRAPH PLAN + FILE PATCH                                     │
│  ├─ Generate graph mutation plan from design doc              │
│  ├─ Materialize approved changes as filesystem patch          │
│  ├─ Apply to target location                                  │
│  └─ Output: Files created/modified                            │
│                                                                 │
│  5️⃣ E2E VALIDATION (Confirm it works)                           │
│  ├─ Run relevant tests                                         │
│  ├─ Typecheck: bun run typecheck                               │
│  ├─ Integration test if applicable                             │
│  └─ Output: Validation results                                 │
│                                                                 │
│  6️⃣ MIGRATE (POC → Production)                                  │
│  ├─ If POC in workshop/project skills: move to lev/core        │
│  ├─ Update skill registry                                      │
│  ├─ Create migration PR/commit                                 │
│  └─ Output: Migration complete                                 │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Leviathan Paths Reference

# Where things go in Leviathan

~/lev/core/
├── harness/          # Agent execution, adapters, Ralph
├── auth/             # Fleet RBAC, permissions (NEW)
├── cdo/              # Graph runtime, state machines
├── commands/         # CLI commands
├── config/            # Configuration system
├── daemons/          # Background services
├── graph/            # Graph primitives
├── lifecycle/        # Entity lifecycle, state transitions
├── memory/           # Memory layer
├── vault/            # Data vault, leases (NEW)
└── ...

~/lev/workshop/
├── intake/           # Ingested external projects
├── poc/              # Proof of concepts
│   └── lookup/       # Skill discovery system
└── ...

Quick Commands

1. Assess Topic

# If `lev get` is not available yet in your CLI build, substitute `lev find`.
# Full assessment
lev get "fleet authorization" --indexes codebase,docs,skills,tasks

# Check core modules
ls ~/lev/core/ | grep -i auth

# Check POCs
ls ~/lev/workshop/poc/ | grep -i auth

# Check skills
ls ~/.agents/skills/ | grep -i auth

2. Prior Art Check

# Deterministic check
./scripts/prior-art-check.sh "data vault leases"

# BD search
bd search "vault" --root-path ~/lev
bd search "lease" --root-path ~/lev

# Skill lookup
node ~/lev/workshop/poc/lookup/cli.js search "authorization"

3. Escalate Decision

# In agent context
escalate({
  type: "PLACEMENT_DECISION",
  question: "Should fleet-rbac.ts go in core/auth or core/permissions?",
  options: [
    { path: "core/auth/fleet-rbac.ts", reason: "Auth is about identity" },
    { path: "core/permissions/fleet-rbac.ts", reason: "RBAC is permissions" }
  ],
  context: "Fleet auth controls who can spawn agents and access data"
})

4. Graph Plan + File Patch

# Generate patch plan from design doc
cat pm/designs/fleet-swarm-authorization.md | \
  ./scripts/design-to-patch.sh > patches/fleet-auth.patch

# Apply patch (preview)
./scripts/apply-patch.sh patches/fleet-auth.patch --dry-run

# Apply patch (execute)
./scripts/apply-patch.sh patches/fleet-auth.patch --target ~/lev/core/auth/

5. Validate E2E

# Typecheck
cd ~/lev && bun run typecheck

# Run tests for module
bun test core/auth/

# Integration test
bun test:integration --filter "fleet"

6. Migrate POC

# Move skill from workshop POC to lev
./scripts/migrate-skill.sh ~/lev/workshop/poc/lev-builder ~/lev/core/builder

# Update registry
./scripts/update-skill-registry.sh

# Commit
cd ~/lev && git add . && git commit -m "feat: migrate lev-builder from POC"

Integration with Other Skills

SkillRole in Builder
lev getAssessment - search across indexes
lev-patchPrior art - check before creating
planningSpec authoring backend - CDO graph to execution
ralphExecution - run tasks with validation
lev-cdoGraph operations - state machines

Common Workflows

Workflow 1: New Feature

USER: "Add fleet authorization to Leviathan"

BUILDER:
1. ASSESS: lev get "fleet\|authorization\|rbac"
   → Found: core/config has some auth, no fleet module

2. PRIOR ART: bd search "authorization"
   → Found: lev-qtpq.7 task exists for this

3. PLACEMENT: Escalate "core/auth vs core/permissions?"
   → User: "core/auth"

4. PATCH: Generate fleet-rbac.ts from design doc
   → Created: ~/lev/core/auth/fleet-rbac.ts

5. VALIDATE: bun run typecheck && bun test core/auth/
   → Passed

6. MIGRATE: N/A (already in lev/core)

Workflow 2: POC to Production

USER: "Migrate lev-builder skill to production"

BUILDER:
1. ASSESS: ls ~/lev/workshop/poc/lev-builder/
   → Found: SKILL.md, scripts/

2. PRIOR ART: ls ~/lev/core/builder/
   → Not found (new module)

3. PLACEMENT: "core/builder" (builder is core infra)
   → Confirmed

4. PATCH: Copy + adapt for lev structure
   → Created: ~/lev/core/builder/

5. VALIDATE: bun test core/builder/
   → Passed

6. MIGRATE: git commit, update registry
   → Done

Workflow 3: Assess & Consolidate

USER: "What exists for caching in Leviathan?"

BUILDER:
1. ASSESS:
   lev get "cache\|caching" --indexes codebase,docs
   → Found:
     - core/config/cache.ts (config caching)
     - workshop/poc/redis-cache/ (POC)
     - docs/adr/ADR-045-caching.md (decision)

2. REPORT:
   "Caching exists in 3 places:
    - Config cache: production (core/config)
    - Redis POC: not migrated (workshop/poc)
    - ADR-045: recommends unified cache layer

    Recommend: Consolidate into core/cache/"

3. ESCALATE: "Proceed with consolidation?"

Escalation Patterns

// Decision types that trigger escalation
const ESCALATION_TRIGGERS = [
  "PLACEMENT_DECISION",      // Where to put code
  "CONSOLIDATION_DECISION",  // Merge vs keep separate
  "ARCHITECTURE_DECISION",   // Significant design choice
  "MIGRATION_APPROVAL",      // Moving POC to production
  "DEPENDENCY_ADDITION",     // Adding new dependencies
];

// Escalate via Telegram (approval buttons)
await escalate({
  type: "PLACEMENT_DECISION",
  question: "...",
  options: [...],
  buttons: [
    { text: "Option A", callback_data: "placement:core/auth" },
    { text: "Option B", callback_data: "placement:core/permissions" },
    { text: "Discuss", callback_data: "placement:discuss" },
  ]
});

State Tracking

# .lev/builder/state.jsonl
{"ts":"...","action":"assess","topic":"fleet auth","results":["core/auth","lev-qtpq.7"]}
{"ts":"...","action":"prior_art","topic":"fleet auth","found":true,"matches":1}
{"ts":"...","action":"escalate","type":"PLACEMENT_DECISION","resolved":true,"choice":"core/auth"}
{"ts":"...","action":"patch","target":"core/auth/fleet-rbac.ts","status":"created"}
{"ts":"...","action":"validate","target":"core/auth/","passed":true}

Summary

lev-builder answers:

  1. What exists? → Assess with lev get
  2. Is there prior art? → Check with lev-patch
  3. Where does it go? → Escalate placement decisions
  4. How to apply? → Graph plan + explicit filesystem patch
  5. Does it work? → E2E validation
  6. Ready for production? → Migrate POC to lev/core

Relates

Master Router

  • Lev Master Router (lev/SKILL.md) - Routes all lev-* skills Parent skill that dispatches to this skill based on keywords/context

Technique Map

  • Role definition - Clarifies operating scope and prevents ambiguous execution.
  • Context enrichment - Captures required inputs before actions.
  • Output structuring - Standardizes deliverables for consistent reuse.
  • Step-by-step workflow - Reduces errors by making execution order explicit.
  • Edge-case handling - Documents safe fallbacks when assumptions fail.

Technique Notes

These techniques improve reliability by making intent, inputs, outputs, and fallback paths explicit. Keep this section concise and additive so existing domain guidance remains primary.

Prompt Architect Overlay

Role Definition

You are the prompt-architect-enhanced specialist for lev-builder, responsible for deterministic execution of this skill's guidance while preserving existing workflow and constraints.

Input Contract

  • Required: clear user intent and relevant context for this skill.
  • Preferred: repository/project constraints, existing artifacts, and success criteria.
  • If context is missing, ask focused questions before proceeding.

Output Contract

  • Provide structured, actionable outputs aligned to this skill's existing format.
  • Include assumptions and next steps when appropriate.
  • Preserve compatibility with existing sections and related skills.

Edge Cases & Fallbacks

  • If prerequisites are missing, provide a minimal safe path and request missing inputs.
  • If scope is ambiguous, narrow to the highest-confidence sub-task.
  • If a requested action conflicts with existing constraints, explain and offer compliant alternatives.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37%
按下载量换算26

Claude

28.22%
按下载量换算20

Cursor

17.47%
按下载量换算12

Gemini CLI

8.64%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/lev-os/agents --skill lev-builder 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills