Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

beddelbeddel 搜索

Agent Skill

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

总安装

2,769

周安装

112

GitHub Stars

公开资料未说明

下载量

869
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install beddel

简介

beddel 用于执行声明式 YAML 配置的 AI 工作流程,支持多提供商 LLM 和 OpenTelemetry 跟踪。

  • 适用于复杂分支、重试机制和护栏策略的自动化任务编排场景。
  • 通过 clawhub 安装,命令为 openclaw skills install beddel,需准备符合规范的 YAML 文件。
  • 安装前建议确认 YAML 语法正确性和外部服务可用性,避免流程中断。
  • beddel 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
beddel
description
>-
metadata
clawdbot
emoji
🔄
tags
[workflow, yaml, llm, python, automation, pipeline, observability, guardrail]
requires
bins
[python3, pip, beddel]
env
[GEMINI_API_KEY]
primaryEnv
GEMINI_API_KEY

Beddel

Declarative YAML workflow engine for AI pipelines — run multi-step LLM chains with branching, guardrails, retry, and observability out of the box.

Prerequisites

  • Python 3.11+ (python3.11 --version)
  • pip for Python 3.11 (python3.11 -m pip --version)
  • An LLM API key — any LiteLLM-supported provider works. Gemini recommended:
export GEMINI_API_KEY="your-key"

Installation

python3.11 -m pip install "beddel[all]"
beddel version
Note: System Python may be 3.10. Always use python3.11 explicitly.

Quick Start

  1. Write a workflow file hello.yaml:
id: hello
name: Hello World
input_schema:
  topic: { type: str, required: true }
steps:
  - id: greet
    primitive: llm
    config:
      model: gemini/gemini-2.0-flash
      prompt: "Write a one-sentence greeting about $input.topic"
      max_tokens: 50
  1. Run it:
beddel run hello.yaml -i topic="AI agents" --json-output

Tool Integration (OpenClaw Plugin)

The beddel tool is available via the OpenClaw plugin @botanarede/beddel:

openclaw plugins install @botanarede/beddel

Once installed, the agent can invoke beddel with actions: run, validate, list-primitives.

The bundled example examples/setup-beddel.yaml automates this installation — see Bundled Example below.

CLI Reference

CommandDescription
beddel run <file> [-i key=val] [--json-output]Execute a workflow
beddel validate <file>Validate YAML syntax and schema
beddel list-primitivesShow available primitives
beddel serve -w <file> [--port 8000]Serve workflow as HTTP endpoint
beddel versionPrint installed version

Core Concepts

A workflow is a YAML file with an id, name, optional input_schema, and a list of steps. Each step declares a primitive (the unit of work) and a config (primitive-specific parameters).

Steps execute sequentially. Each step's output is available to subsequent steps via $stepResult.<step_id>.<path>.

See references/ for full schema documentation.

Primitives

PrimitivePurpose
llmSingle-turn LLM call with streaming support
chatMulti-turn conversation with message history
output-generatorTemplate-based output rendering (JSON, Markdown, text)
guardrailData validation with strategies: raise, return_errors, correct, delegate
call-agentNested workflow invocation with depth tracking
toolExternal function call — shell_exec is built-in
agent-execUnified adapter for external agent delegation

Execution Strategies

Each step can declare an execution_strategy to control error handling:

StrategyBehavior
failStop workflow on error (default)
skipLog error, continue to next step
retryRetry with exponential backoff and jitter
fallbackExecute an alternative step on failure
delegateDelegate error recovery to agent judgment

Variable Resolution

NamespaceExampleSource
$input$input.topicRuntime inputs (-i key=val)
$stepResult$stepResult.greet.contentPrevious step outputs
$env$env.GEMINI_API_KEYEnvironment variables

Key paths for step results:

  • tool steps: $stepResult.<id>.result.stdout, .result.exit_code
  • llm steps: $stepResult.<id>.content
  • guardrail steps: $stepResult.<id>.data.<field>, .valid

Bundled Example: setup-beddel

This workflow checks whether the @botanarede/beddel OpenClaw plugin is installed and installs it if needed. It demonstrates 3 of the 7 primitives: tool, guardrail, and conditional execution via if.

id: setup-beddel
name: Beddel Plugin Setup
description: Install or update the @botanarede/beddel OpenClaw plugin and verify it loads.

steps:
  - id: check_plugin
    primitive: tool
    config:
      tool: shell_exec
      arguments:
        cmd: "python3.11 -c \"import subprocess,json,re;r=subprocess.run(['openclaw','plugins','list'],capture_output=True,text=True);has=bool(re.search(r'beddel',r.stdout));loaded=bool(re.search(r'beddel.*loaded',r.stdout));print(json.dumps({'action':'OK'if loaded else'REINSTALL'if has else'INSTALL'}))\""

  - id: validate_check
    primitive: guardrail
    config:
      data: "$stepResult.check_plugin.result.stdout"
      schema:
        fields:
          action: { type: str, required: true }
      strategy: correct

  - id: install_plugin
    primitive: tool
    config:
      tool: shell_exec
      arguments:
        cmd: "openclaw plugins install @botanarede/beddel"
      timeout: 120
    if: "$stepResult.validate_check.data.action != 'OK'"

  - id: verify
    primitive: tool
    config:
      tool: shell_exec
      arguments:
        cmd: "openclaw plugins info beddel"

What each step demonstrates

StepPrimitiveFeature
check_plugintoolDeterministic check via shell_exec — outputs JSON without LLM
validate_checkguardrailcorrect strategy — parses JSON string, strips markdown fences, validates schema
install_plugintoolConditional execution (if) — skips when plugin already loaded. timeout: 120 for network ops
verifytoolPost-install verification

Run it:

beddel run examples/setup-beddel.yaml --json-output

Security & Privacy

  • Secrets: Use $env.* variables — never hardcode API keys in workflow YAML
  • shell_exec: Runs with shell=False (no shell injection). Commands are split via shlex.split(). Shell operators (|, &&, >) are sanitized in beddel 0.1.1+
  • Subprocess sandbox: Default timeout 60s, max stdout 1MB per stream, configurable per step

External Endpoints

EndpointWhenPurpose
LLM provider API (e.g. generativelanguage.googleapis.com)llm, chat, guardrail (delegate) stepsModel inference
PyPI (pypi.org)Installation onlyPackage download
npm registry (registry.npmjs.org)Plugin install stepPlugin download

Trust Statement

Beddel executes user-defined YAML workflows. It does not phone home, collect telemetry by default, or transmit data beyond the configured LLM provider endpoints. OpenTelemetry export is opt-in.

Observability

Beddel emits OpenTelemetry spans for every workflow and step execution:

  • beddel.workflow.execute — root span per workflow run
  • beddel.step.<primitive> — child span per step
  • gen_ai.usage.* attributes on LLM steps (prompt/completion tokens)

Enable with any OTel-compatible collector via standard OTEL_* environment variables.

Troubleshooting

ErrorCauseFix
BEDDEL-PRIM-300Tool not foundEnsure tool name is shell_exec (built-in). Custom tools need -t name=module:func
BEDDEL-RESOLVE-001Unresolvable variableCheck step id spelling and result path. Tool results use .result.stdout, LLM uses .content
BEDDEL-GUARD-201Guardrail validation failedCheck schema field types. Use strategy: correct for JSON string inputs
python3.11: not foundWrong Python versionInstall Python 3.11+. System Python may be 3.10
Step shows SKIPPEDif condition was false or execution_strategy: skipExpected behavior — downstream steps should handle SKIPPED values

Advanced: Python SDK

from beddel import WorkflowExecutor, VariableResolver

resolver = VariableResolver()
resolver.register_namespace("secrets", lambda path, ctx: get_secret(path))

executor = WorkflowExecutor(resolver=resolver)
result = await executor.execute(workflow, {"topic": "AI"})

For FastAPI integration: beddel serve -w workflow.yaml --port 8000

References

Additional documentation in references/ (loaded on demand):

  • workflow-format.md — Complete YAML schema
  • primitives.md — All 7 primitives with full config options
  • execution-strategies.md — 5 strategies with examples
  • variable-resolution.md — Namespaces, custom resolvers, error handling

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

75.13%
按下载量换算653

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills