Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

build-pipeline建立管道

Agent Skill

build-pipeline 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,663

周安装

310

GitHub Stars

公开资料未说明

下载量

2,406
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:build-pipeline(建立管道)
来源仓库:https://github.com/dweikanas/build-pipeline
安装命令:
openclaw skills install build-pipeline
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install build-pipeline

简介

编排代理构建工作流程。您处理解析和研究,然后将完整的构建委托给构建器。用于新构建和错误处理。

SKILL.md

name
build-pipeline
description
Orchestrate agent build workflow. you handle parse and research, then delegates the full build to Builder. Use for new builds and error handling.

Build Pipeline Skill

Your build orchestration workflow: parse → spawn research workers + Builder in parallel → wait for research → feed research to Builder → wait for result → report.


Pipeline Overview

  1. Create Build — Initialize build record (shared/builds/{build-id}/build.yaml)
  2. Parse — Extract domain, classify complexity, apply smart defaults, write parse-report.yaml
  3. Parallel Spawn — Spawn all research workers AND Builder simultaneously
  4. Wait for Research — Poll until all expected research partials exist in research-partials/
  5. Feed Research to Builder — Send Builder phase 2 task with research findings via sessions_send
  6. Wait for Builder — Poll for shared/builds/{build-id}/builder-result.yaml
  7. Report — Read builder-result.yaml and report success or failure to the user

User-Facing Progress Contract (Required)

You must communicate pipeline progress with structured stepper events, not technical narration.

Event rules

  1. At start: emit status.changed = running.
  2. For each pipeline step, emit progress.step.started.
  3. When moving to the next step, emit progress.step.completed for the previous step first.
  4. Then emit progress.step.started for the next step.
  5. Do not emit phase.changed for new builds.
  6. Do not send repetitive assistant text on each transition; rely on stepper events.

Step IDs + friendly copy

Pipeline stepstep_idtitledescription
Create Build Recordbuild_recordStarting your buildI'm setting up your build session.
ParseparseUnderstanding your requestI'm reading your request and mapping the plan.
ResearchresearchGathering what we needI'm collecting the tools and references for your build.
BuildingbuildingBuilding your agentI'm designing, assembling, and testing your agent now.
Final reportfinalizeFinalizingI'm wrapping up and preparing your result.

Prohibited user-facing language

Do not output internal-engineering narration such as:

  • "Now I'll spawn all research workers."
  • "Spawning the Builder agent now."
  • "Waiting for Builder to complete."

Always translate internal work into friendly progress copy from the table above.


Spawning Rules

  1. Research workers MUST read their SKILL.md — Don't summarize instructions in the task. Tell them to read the file.
  2. Research workers use agentId: null — they have no workspace, just task prompts.
  3. Builder uses agentId: "builder" — it has a workspace at workspace_builder/.
  4. Never pass streamTo="parent" for any subagent.
  5. Parallel spawn: Research workers and Builder are spawned in the same function call block; do not wait between spawns.
  6. Use stronger models for complex workers — gpt-4o for api-scout, tools-catalog, skills-finder. Haiku for domain-researcher.
  7. Add readable labels — Format: {worker-type}-{build-id} (e.g., api-scout-8bc5666a).

Critical Sub-Agent Pattern

Sub-agents must:

  1. Read their SKILL.md file first
  2. Follow ALL instructions in the file
  3. Write output to YAML file (not chat back)
  4. Exit silently after writing

If a sub-agent reports findings in chat instead of writing the file, it failed.

Task Prompt Template

## FIRST: Read Your Instructions

Before doing anything, read your SKILL.md file:
~/.openclaw-factory/workspace/skills/research-workers/{worker_name}/SKILL.md

Follow ALL instructions in that file exactly. Pay special attention to:
- The "CRITICAL: Your Output is the FILE" section
- Minimum output requirements (you MUST meet these)
- Writing the YAML file at the end (MANDATORY)

## Build Context

- domain: {domain}
- archetypes: {archetypes}
- build_id: {build_id}
- output_path: ~/.openclaw-factory/shared/builds/{build_id}/research-partials/{output_file}

## Execute

Read SKILL.md → Research → Write YAML file → Exit silently.

Step 1: Create Build Record

Write to: shared/builds/{build-id}/build.yaml

Set status: "initiated".

Build Record Schema

build:
  id: "{build-id}" # UUID
  status: "initiated"  # or: parsed, researching, building, complete, failed
  user_prompt: "build me a flight booking agent"
  current_phase: null
  domain: "flight booking"        # filled after parse
  complexity: "medium"            # simple|medium|complex|system
  started_at: "2026-03-09T14:30:00Z"
  completed_at: null
  phase_history: []
  error: null                      # or {phase: "...", message: "...", retries: 0}
  builder_session_key: null        # filled after Builder spawn

Step 2: Parse

Analyze user prompt. Write parse report to: shared/builds/{build-id}/parse-report.yaml

If confidence < 0.20, ask user for clarity. Do not proceed. Confidence >= 0.7 to proceed normally.

Channel Connection Policy (v1)

  • Default all builds to channel_type: local.
  • Do not ask users which channel to connect during parse.
  • Only capture channel intent if the prompt explicitly requests it (e.g. Telegram/WhatsApp/Discord).

Parse Report Schema

parse_report:
  id: [uuid or timestamp]
  timestamp: [ISO 8601]
  raw_prompt: [exact user input, verbatim]

  classification:
    domain: [primary domain]
    sub_domains: [list]
    archetypes: [primary, secondary, ...]
    complexity_tier: [simple | medium | complex | system]
    clarity: [high | medium | low]

  inferred:
    end_user_type: [consumer | business | internal | self]
    interaction_mode: [chat | command | scheduled | event-driven]
    persistence: [one-shot | session | always-on]
    approval_needed: [true | false]
    memory_needed: [true | false]
    channel_type: local
    channel_intent: [none | telegram | whatsapp | discord | signal | other]

  architecture_recommendation:
    pattern: [single-agent | spawn-workers | agent-teams | lobster-workflow]
    estimated_skills: [count or "TBD"]

  research_targets:
    - query: "How do real [domain] agents work?"
      priority: critical
    - query: "What APIs exist for [domain]?"
      priority: critical
    - query: "What OpenClaw skills cover [domain]?"
      priority: high

  friction:
    must_ask: []
    smart_defaults: []

  confidence: [0.0 - 1.0]

Step 3: Parallel Spawn (Research Workers + Builder)

After successful parse, spawn all research workers and Builder simultaneously in a single spawn block.

3a. Create Research Partials Directory

mkdir -p ~/.openclaw-factory/shared/builds/{build-id}/research-partials/

3b. Spawn All Research Workers + Builder

Use a single sessions_spawn block with multiple calls. Do not wait between spawns.

Research Worker Registry (Updated):

WorkerSKILL.md pathWritesAlways?Model
Domain Researcherskills/research-workers/domain-researcher/SKILL.mddomain_model.yamlYesanthropic/claude-haiku-4-5
API Scoutskills/research-workers/api-scout/SKILL.mdapi_research.yamlYesopenai/gpt-5.2
Tools Catalogskills/research-workers/tools-catalog-worker/SKILL.mdtools_catalog.yamlYesopenai/gpt-4o
Skills Finderskills/research-workers/skills-finder-worker/SKILL.mdskills_research.yamlYesanthropic/claude-haiku-4-5
Regulation Scannerskills/research-workers/regulation-scanner/SKILL.mdregulation_research.yamlIf neededanthropic/claude-sonnet-4-6
Edge Case Scannerskills/research-workers/edge-case-scanner/SKILL.mdedge_case_research.yamlIf neededanthropic/claude-sonnet-4-6

Note: Use gpt-4o (not mini) for complex evaluation tasks (api-scout, tools-catalog, skills-finder).

Spawn pattern — tell workers to read their SKILL.md:

sessions_spawn:
  runtime: subagent
  mode: run
  label: "domain-researcher-{build_id}"
  model: anthropic/claude-haiku-4-5
  runTimeoutSeconds: 300
  task: |
    ## FIRST: Read Your Instructions
    
    Before doing anything, read your SKILL.md file:
    ~/.openclaw-factory/workspace/skills/research-workers/domain-researcher/SKILL.md
    
    Follow ALL instructions in that file exactly. Pay special attention to:
    - The "CRITICAL: Your Output is the FILE" section
    - Minimum output requirements
    - Writing the YAML file at the end (MANDATORY)
    
    ## Build Context
    
    - domain: {domain}
    - archetypes: {archetypes}
    - build_id: {build_id}
    - output_path: ~/.openclaw-factory/shared/builds/{build_id}/research-partials/domain_model.yaml
    
    ## Execute
    
    Read SKILL.md → Research → Write YAML file → Exit silently.

# Repeat for each worker with appropriate SKILL.md path and output file

Spawn Builder in the same block:

sessions_spawn (Builder):
  agentId: "builder"
  runTimeoutSeconds: 700
  model: [no override; use system default]
  task: |
    Build ID: {build-id}
    Shared builds path: ~/.openclaw-factory/shared/builds/
    
    Phase 1: Initialize Isolated Profile
    ────────────────────────────────────
    Task: Initialize a new isolated profile at ~/.openclaw-factory/workspace_builder/{build-id}/
    
    Steps:
    1. Create the profile directory structure
    2. Set up minimal metadata and configuration placeholders
    3. Ensure the profile is ready for agent design/build in phase 2
    
    Output: When profile initialization is complete, write the marker:
    PROFILE_INITIALIZED
    
    Then wait for Phase 2 instructions. Do NOT start building yet.

Rules:

  • All research workers spawn simultaneously
  • Builder spawns in the same block as workers
  • Do not wait for workers or Builder init to complete before proceeding to Step 4
  • Store Builder's sessionKey for later use in Step 5

Step 4: Wait for Research Workers to Complete

Poll the research-partials/ directory until all expected partial files exist.

Expected files:

  • domain_model.yaml
  • api_research.yaml
  • skill_research.yaml
  • regulation_research.yaml (if spawned) ✓
  • edge_case_research.yaml (if spawned) ✓

Poll behavior:

  • Check every 5 seconds
  • Timeout per worker: 300 seconds
  • If a worker times out: continue with partial research; Builder will design with what exists
  • User message if timeout: "I'll proceed with the research we have so far."

Step 5: Feed Research to Builder (Phase 2 Task)

Once all expected research partials exist, send Phase 2 task to Builder via sessions_send:

sessions_send:
  sessionKey: {builder_session_key}
  message: |
    Phase 2: Design & Build Agent
    ─────────────────────────────
    
    Research is complete. Here's what we found:
    
    **Domain:** {domain}
    **Complexity:** {complexity}
    **Interaction Mode:** {interaction_mode}
    
    **Research Summary:**
    
    Domain Model:
    {domain_model.yaml excerpt or summary}
    
    Available APIs:
    {api_research.yaml excerpt or summary}
    
    Applicable OpenClaw Skills:
    {skill_research.yaml excerpt or summary}
    
    {if regulation_research.yaml exists:}
    Regulatory Considerations:
    {regulation_research.yaml excerpt or summary}
    
    {if edge_case_research.yaml exists:}
    Edge Cases & Gotchas:
    {edge_case_research.yaml excerpt or summary}
    
    **Your Task:**
    Design and build the agent using this research. Follow your standard assembly pipeline:
    1. Apply architecture recommendations from research
    2. Design the agent (prompts, tools, skills)
    3. Assemble the agent with selected skills
    4. Set up the isolated profile
    5. Validate and test
    6. Write builder-result.yaml with final status, agent name, profile path, and any notes
    
    When complete, write: BUILDER_COMPLETE

Step 6: Wait for Builder Result

Poll for: shared/builds/{build-id}/builder-result.yaml

Poll behavior:

  • Check every 10 seconds
  • Timeout: 700 seconds
  • If file appears: read it and proceed to Step 7
  • If timeout: report failure to user with last known status from build.yaml

Step 7: Report

Read builder-result.yaml.

Success Path

If status: complete:

✓ Agent built successfully.

Agent Name: {agent_name}
Profile: {profile_path}
Port: {port}
Ready to use.

Failure Path

If status: failed:

The build encountered an issue:

Error: {builder_result.error.message}
Phase: {builder_result.error.phase}

Would you like to:
1. Retry the build
2. Start fresh with a new idea
3. Adjust the scope and try again

Multiple Builds

Each build gets its own {build-id} directory with independent research and builder outputs.

If a build is in progress: "You have a build in progress ([domain]). Start a new one, or finish that first?"


Error Handling

Research worker timeout (>300s):

  • Continue with partial research found so far
  • User message: "I'll proceed with the research we have so far."

Builder timeout (>700s):

  • User message: "The build is taking longer than expected. Let me check what happened."
  • Read build.yaml for last known status
  • Report to user with context
  • Offer retry or fresh start

Builder reports failure:

  • Read builder_result.error field
  • Translate to user-friendly message
  • Offer to retry or start fresh

Retry Strategy

  1. First failure → Tell user. Retry automatically (resend phase 2 task).
  2. Second failure → Tell user exactly what happened. Offer options.
  3. Third attempt → Give up. Report to user. No more retries.

Builder Result Schema (builder-result.yaml)

builder_result:
  status: "complete" | "failed"
  timestamp: "2026-03-14T15:50:00Z"
  
  # On success:
  agent:
    name: "flight-booking-agent"
    profile_path: "~/.openclaw-factory/workspace_builder/{build-id}/"
    port: 8080
    entry_point: "agent.py"
  
  notes: "Agent ready for deployment"
  
  # On failure:
  error:
    phase: "design" | "assembly" | "validation" | "etc"
    message: "Clear error description"
    retries: 0

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

77.65%
按下载量换算1,868

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install build-pipeline 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills