Token导航 LogoToken导航

Agent Skill · 研究检索

bambuddy(bambuddy 搜索)

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

bambuddy 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 27,391。

总安装 3,398周安装 132GitHub Stars 公开资料未说明下载 1,045核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install bambuddy

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

bambuddy 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。专为与自托管的 Bambuddy 实例集成设计,服务于 Bambu Lab 3D 打印机的存档和管理系统。

通过 clawhub 安装,命令为 openclaw skills install bambuddy,需参考原始仓库文档了解详细实现。使用前应评估其对打印机实时状态的访问权限及数据读写行为是否合规。主要功能涵盖打印机管理、状态监控和打印作业归档等全流程支持。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install bambuddy;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

bambuddy 怎么安装?

在终端执行 openclaw skills install bambuddy。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bambuddy 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bambuddy 需要什么权限?

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

bambuddy 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

bambuddy 用的人多吗?

公开数据是累计安装 3,398 次,近一周安装 132 次,下载 1,045 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bambuddy 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
bambuddy

bambuddy 搜索 · 本页

3,398—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
bambuddy
description
>
metadata
openclaw
requires
env
bins
primaryEnv
BAMBUDDY_API_KEY
config
requiredEnv
example
|

Bambuddy Skill

You have full access to the Bambuddy REST API. Use curl to make all requests. Never invent endpoint paths — use exactly the routes documented below.

Authentication & Base URL

Every request must include the API key header. The base URL comes from the BAMBUDDY_URL environment variable (no trailing slash).

# Convenience alias — reuse this pattern for every call
BB_URL="${BAMBUDDY_URL}/api/v1"
BB_AUTH="X-API-Key: ${BAMBUDDY_API_KEY}"

# GET example
curl -s -H "$BB_AUTH" "$BB_URL/system/info" | jq .

# POST example
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"key":"value"}' "$BB_URL/some/endpoint" | jq .

# PATCH example
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"key":"value"}' "$BB_URL/some/endpoint" | jq .

# DELETE example
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/some/endpoint"

Always pipe JSON responses through jq . for readability unless you need raw output. For binary responses (camera snapshots, thumbnails), omit jq and save to a file.


API Categories & Endpoints

1. System

# System info (version, paths, database stats)
curl -s -H "$BB_AUTH" "$BB_URL/system/info" | jq .

2. Auth / Users / Groups

# Current user info
curl -s -H "$BB_AUTH" "$BB_URL/auth/me" | jq .

# Auth status (whether auth is enabled)
curl -s -H "$BB_AUTH" "$BB_URL/auth/status" | jq .

# List users
curl -s -H "$BB_AUTH" "$BB_URL/users" | jq .

# Get a specific user
curl -s -H "$BB_AUTH" "$BB_URL/users/{user_id}" | jq .

# User item count
curl -s -H "$BB_AUTH" "$BB_URL/users/{user_id}/items-count" | jq .

# List groups
curl -s -H "$BB_AUTH" "$BB_URL/groups" | jq .

# Available permissions
curl -s -H "$BB_AUTH" "$BB_URL/groups/permissions" | jq .

# Get a specific group
curl -s -H "$BB_AUTH" "$BB_URL/groups/{group_id}" | jq .

3. API Keys

# List all API keys
curl -s -H "$BB_AUTH" "$BB_URL/api-keys/" | jq .

# Create a new API key
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "name": "my-key",
    "can_queue": true,
    "can_control_printer": true,
    "can_read_status": true,
    "printer_ids": null,
    "expires_at": null
  }' "$BB_URL/api-keys/" | jq .

# Get a specific API key
curl -s -H "$BB_AUTH" "$BB_URL/api-keys/{key_id}" | jq .

# Update an API key
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "updated-name", "enabled": false}' \
  "$BB_URL/api-keys/{key_id}" | jq .

# Delete an API key
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/api-keys/{key_id}"

4. Printers

# List all printers
curl -s -H "$BB_AUTH" "$BB_URL/printers/" | jq .

# Get a specific printer
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}" | jq .

# Real-time status (temps, progress, stage, AMS, speeds, etc.)
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/status" | jq .

# Current print user
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/current-print-user" | jq .

# Printer cover image (binary PNG — save to file)
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/cover" -o cover.png

# Files on printer SD/storage
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/files" | jq .

# Printer storage info
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/storage" | jq .

# MQTT debug logging
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/logging" | jq .

# AMS slot presets
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/slot-presets" | jq .

# Specific slot preset
curl -s -H "$BB_AUTH" \
  "$BB_URL/printers/{printer_id}/slot-presets/{ams_id}/{slot_id}" | jq .

# Print objects (current job plate objects)
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/print/objects" | jq .

# Runtime debug info
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/runtime-debug" | jq .

# Camera status
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/camera/status" | jq .

# USB cameras
curl -s -H "$BB_AUTH" "$BB_URL/printers/usb-cameras" | jq .

# Update printer (name, IP, access code, etc.)
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "New Name"}' "$BB_URL/printers/{printer_id}" | jq .

# Add a printer
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "name": "My X1C",
    "ip": "192.168.1.100",
    "access_code": "12345678",
    "serial": "01S00A000000000"
  }' "$BB_URL/printers/" | jq .

# Delete a printer
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/printers/{printer_id}"

# Printer control (pause, resume, stop)
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"command": "pause"}' "$BB_URL/printers/{printer_id}/control"
# command options: "pause" | "resume" | "stop"

5. Archives

# List archives (supports filtering/pagination)
curl -s -H "$BB_AUTH" "$BB_URL/archives/" | jq .

# With filters
curl -s -H "$BB_AUTH" \
  "$BB_URL/archives/?page=1&page_size=20&search=benchy&printer_id=1" | jq .

# Get a specific archive
curl -s -H "$BB_AUTH" "$BB_URL/archives/{archive_id}" | jq .

# Archive stats summary
curl -s -H "$BB_AUTH" "$BB_URL/archives/stats" | jq .

# Update archive metadata
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "Updated Name", "rating": 5, "notes": "Great print"}' \
  "$BB_URL/archives/{archive_id}" | jq .

# Delete an archive
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/archives/{archive_id}"

# Reprint an archive
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"printer_id": 1, "ams_mapping": []}' \
  "$BB_URL/archives/{archive_id}/reprint" | jq .

# Download archive 3MF file
curl -s -H "$BB_AUTH" "$BB_URL/archives/{archive_id}/download" \
  -o archive.3mf

# Export archives as CSV/JSON
curl -s -H "$BB_AUTH" "$BB_URL/archives/export" -o archives_export.csv

6. Print Queue

# List queue items
curl -s -H "$BB_AUTH" "$BB_URL/print-queue/" | jq .

# Add to queue
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "archive_id": 42,
    "printer_id": 1,
    "priority": 0,
    "ams_mapping": []
  }' "$BB_URL/print-queue/" | jq .

# Get a queue item
curl -s -H "$BB_AUTH" "$BB_URL/print-queue/{item_id}" | jq .

# Update a queue item (priority, printer, etc.)
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"priority": 10}' "$BB_URL/print-queue/{item_id}" | jq .

# Remove from queue
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/print-queue/{item_id}"

# Start / process next queue item
curl -s -X POST -H "$BB_AUTH" "$BB_URL/print-queue/{item_id}/start" | jq .

7. Projects

# List projects
curl -s -H "$BB_AUTH" "$BB_URL/projects/" | jq .

# Get a project
curl -s -H "$BB_AUTH" "$BB_URL/projects/{project_id}" | jq .

# Create a project
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "My Project", "description": ""}' \
  "$BB_URL/projects/" | jq .

# Update a project
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "Renamed Project"}' "$BB_URL/projects/{project_id}" | jq .

# Delete a project
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/projects/{project_id}"

# Add an archive to a project
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"archive_id": 42}' "$BB_URL/projects/{project_id}/archives" | jq .

8. Filaments / AMS

# List all filament profiles
curl -s -H "$BB_AUTH" "$BB_URL/filaments/" | jq .

# Get a specific filament
curl -s -H "$BB_AUTH" "$BB_URL/filaments/{filament_id}" | jq .

# Create a filament profile
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "name": "PolyTerra PLA Teal",
    "type": "PLA",
    "color": "#00BCD4",
    "brand": "Polymaker",
    "nozzle_temp_min": 190,
    "nozzle_temp_max": 230,
    "bed_temp": 35
  }' "$BB_URL/filaments/" | jq .

# Update a filament profile
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"color": "#FF5722"}' "$BB_URL/filaments/{filament_id}" | jq .

# Delete a filament profile
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/filaments/{filament_id}"

# AMS history (which spools have been used)
curl -s -H "$BB_AUTH" "$BB_URL/ams-history/" | jq .

9. K-Profiles (Pressure Advance)

# List k-profiles
curl -s -H "$BB_AUTH" "$BB_URL/kprofiles/" | jq .

# Get a specific k-profile
curl -s -H "$BB_AUTH" "$BB_URL/kprofiles/{profile_id}" | jq .

# Create a k-profile
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "name": "PLA 0.4mm",
    "k_value": 0.018,
    "filament_type": "PLA",
    "nozzle_diameter": 0.4
  }' "$BB_URL/kprofiles/" | jq .

# Update a k-profile
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"k_value": 0.022}' "$BB_URL/kprofiles/{profile_id}" | jq .

# Delete a k-profile
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/kprofiles/{profile_id}"

10. Camera

# Camera status for a printer
curl -s -H "$BB_AUTH" "$BB_URL/printers/{printer_id}/camera/status" | jq .

# Snapshot (binary JPEG — save to file)
curl -s -H "$BB_AUTH" \
  "$BB_URL/printers/{printer_id}/camera/snapshot" -o snapshot.jpg

# Stream URL (for RTSP/MJPEG clients)
curl -s -H "$BB_AUTH" "$BB_URL/camera/" | jq .

11. Settings

# Get all settings
curl -s -H "$BB_AUTH" "$BB_URL/settings/" | jq .

# Update settings (PATCH supported)
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"archive_dir": "/data/archive", "auto_archive": true}' \
  "$BB_URL/settings/" | jq .

# Check if ffmpeg is available
curl -s -H "$BB_AUTH" "$BB_URL/settings/check-ffmpeg" | jq .

# Spoolman connection settings
curl -s -H "$BB_AUTH" "$BB_URL/settings/spoolman" | jq .

# Backup settings
curl -s -H "$BB_AUTH" "$BB_URL/settings/backup" | jq .

# MQTT status
curl -s -H "$BB_AUTH" "$BB_URL/settings/mqtt/status" | jq .

# Virtual printer models list
curl -s -H "$BB_AUTH" "$BB_URL/settings/virtual-printer/models" | jq .

# Virtual printer configuration
curl -s -H "$BB_AUTH" "$BB_URL/settings/virtual-printer" | jq .

12. Notifications

# List notification channels
curl -s -H "$BB_AUTH" "$BB_URL/notifications/" | jq .

# Get a specific notification channel
curl -s -H "$BB_AUTH" "$BB_URL/notifications/{notification_id}" | jq .

# Create a notification channel (Discord, Telegram, Email, etc.)
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "type": "discord",
    "name": "Discord Webhook",
    "enabled": true,
    "config": {"webhook_url": "https://discord.com/api/webhooks/..."},
    "events": ["print_done", "print_failed", "print_started"]
  }' "$BB_URL/notifications/" | jq .

# Update a notification channel
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"enabled": false}' "$BB_URL/notifications/{notification_id}" | jq .

# Delete a notification channel
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/notifications/{notification_id}"

# Test a notification channel
curl -s -X POST -H "$BB_AUTH" "$BB_URL/notifications/{notification_id}/test" | jq .

# List notification templates
curl -s -H "$BB_AUTH" "$BB_URL/notification-templates/" | jq .

# Get a specific template
curl -s -H "$BB_AUTH" "$BB_URL/notification-templates/{template_id}" | jq .

# Update a notification template
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"body": "Print {{archive.name}} finished!"}' \
  "$BB_URL/notification-templates/{template_id}" | jq .

13. Smart Plugs

# List configured smart plugs
curl -s -H "$BB_AUTH" "$BB_URL/smart-plugs/" | jq .

# Get a specific smart plug
curl -s -H "$BB_AUTH" "$BB_URL/smart-plugs/{plug_id}" | jq .

# Create a smart plug
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "name": "X1C Plug",
    "type": "tasmota",
    "ip": "192.168.1.50",
    "printer_id": 1
  }' "$BB_URL/smart-plugs/" | jq .

# Toggle smart plug (on/off)
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"state": "on"}' "$BB_URL/smart-plugs/{plug_id}/toggle" | jq .
# state options: "on" | "off"

# Delete a smart plug
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/smart-plugs/{plug_id}"

14. Spoolman Integration

# Spoolman connection status/config
curl -s -H "$BB_AUTH" "$BB_URL/spoolman/" | jq .

# Sync filaments from Spoolman
curl -s -X POST -H "$BB_AUTH" "$BB_URL/spoolman/sync" | jq .

# Spoolman spool list (from Bambuddy's perspective)
curl -s -H "$BB_AUTH" "$BB_URL/spoolman/spools" | jq .

15. Firmware

# Check available firmware for printers
curl -s -H "$BB_AUTH" "$BB_URL/firmware/" | jq .

# Get firmware info for a specific printer
curl -s -H "$BB_AUTH" "$BB_URL/firmware/{printer_id}" | jq .

16. Discovery

# Auto-discover printers on the local network
curl -s -H "$BB_AUTH" "$BB_URL/discovery/" | jq .

17. External Links

# List external links
curl -s -H "$BB_AUTH" "$BB_URL/external-links/" | jq .

# Create an external link
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "OrcaSlicer", "url": "orcaslicer://...", "icon": ""}' \
  "$BB_URL/external-links/" | jq .

# Update an external link
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"name": "Updated Link"}' "$BB_URL/external-links/{link_id}" | jq .

# Delete an external link
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/external-links/{link_id}"

18. Maintenance

# List maintenance records
curl -s -H "$BB_AUTH" "$BB_URL/maintenance/" | jq .

# Get a specific maintenance record
curl -s -H "$BB_AUTH" "$BB_URL/maintenance/{record_id}" | jq .

# Create a maintenance record
curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{
    "printer_id": 1,
    "type": "nozzle_change",
    "notes": "Replaced 0.4mm nozzle",
    "date": "2026-03-29T10:00:00"
  }' "$BB_URL/maintenance/" | jq .

# Update a maintenance record
curl -s -X PATCH -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d '{"notes": "Updated notes"}' "$BB_URL/maintenance/{record_id}" | jq .

# Delete a maintenance record
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/maintenance/{record_id}"

19. Pending Uploads

# List pending (in-progress / unprocessed) uploads
curl -s -H "$BB_AUTH" "$BB_URL/pending-uploads/" | jq .

# Get a specific pending upload
curl -s -H "$BB_AUTH" "$BB_URL/pending-uploads/{upload_id}" | jq .

# Delete / discard a pending upload
curl -s -X DELETE -H "$BB_AUTH" "$BB_URL/pending-uploads/{upload_id}"

20. Updates

# Check for Bambuddy updates
curl -s -H "$BB_AUTH" "$BB_URL/updates/" | jq .

21. Cloud (Bambu Cloud)

# Cloud connection status
curl -s -H "$BB_AUTH" "$BB_URL/cloud/" | jq .

# Bambu Cloud profiles (filament/print profiles from cloud)
curl -s -H "$BB_AUTH" "$BB_URL/cloud/profiles" | jq .

# Sync cloud profiles
curl -s -X POST -H "$BB_AUTH" "$BB_URL/cloud/sync" | jq .

22. Support Bundle

# Download support bundle (ZIP archive for bug reports)
curl -s -H "$BB_AUTH" "$BB_URL/support/bundle" -o support_bundle.zip

23. Statistics

# Overall print statistics
curl -s -H "$BB_AUTH" "$BB_URL/archives/stats" | jq .

# Per-printer stats (use printer_id filter on archives)
curl -s -H "$BB_AUTH" "$BB_URL/archives/?printer_id=1" | jq \
  '[.[] | {name, duration_seconds, filament_used_g, cost}]'

Common Workflows

Check what's printing right now

BB_URL="${BAMBUDDY_URL}/api/v1"
BB_AUTH="X-API-Key: ${BAMBUDDY_API_KEY}"

curl -s -H "$BB_AUTH" "$BB_URL/printers/" | jq '.[].id' | while read id; do
  echo "=== Printer $id ==="
  curl -s -H "$BB_AUTH" "$BB_URL/printers/$id/status" | \
    jq '{stage, progress, layer_num, total_layer_num, mc_remaining_time, nozzle_temp, bed_temp}'
done

Queue a reprint of the most recent archive

BB_URL="${BAMBUDDY_URL}/api/v1"
BB_AUTH="X-API-Key: ${BAMBUDDY_API_KEY}"

ARCHIVE_ID=$(curl -s -H "$BB_AUTH" "$BB_URL/archives/?page_size=1" | jq '.[0].id')
PRINTER_ID=$(curl -s -H "$BB_AUTH" "$BB_URL/printers/" | jq '.[0].id')

curl -s -X POST -H "$BB_AUTH" -H "Content-Type: application/json" \
  -d "{\"archive_id\": $ARCHIVE_ID, \"printer_id\": $PRINTER_ID}" \
  "$BB_URL/print-queue/" | jq .

Get filament usage stats for this week

BB_URL="${BAMBUDDY_URL}/api/v1"
BB_AUTH="X-API-Key: ${BAMBUDDY_API_KEY}"

SINCE=$(date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%S 2>/dev/null || \
        date -u -v-7d +%Y-%m-%dT%H:%M:%S)

curl -s -H "$BB_AUTH" "$BB_URL/archives/?since=$SINCE" | \
  jq '{
    total_prints: length,
    total_filament_g: [.[].filament_used_g // 0] | add,
    total_cost: [.[].cost // 0] | add
  }'

Error Handling

Always check for non-2xx responses:

RESPONSE=$(curl -s -w "\
%{http_code}" -H "$BB_AUTH" "$BB_URL/printers/")
HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -n -1)

if [ "$HTTP_CODE" -ge 200 ] && [ "$HTTP_CODE" -lt 300 ]; then
  echo "$BODY" | jq .
else
  echo "Error $HTTP_CODE: $BODY"
fi

Common errors:

  • 401 Unauthorized — API key missing or invalid. Check BAMBUDDY_API_KEY.
  • 403 Forbidden — Key exists but lacks permission for this action (check key permissions: can_queue, can_control_printer, can_read_status).
  • 404 Not Found — Resource doesn't exist. Verify IDs.
  • 422 Unprocessable Entity — Invalid request body. Check JSON field names/types.
  • 503 Service Unavailable — Bambuddy or the printer is unreachable.

Setup Instructions for User

To use this skill:

  1. Generate an API key in Bambuddy: go to Settings → API Keys → Create Key.

Grant the permissions you need (can_read_status, can_queue, can_control_printer). The key will look like bb_xxxxxxxxxxxxxxxx.

  1. Add to your OpenClaw config (~/.openclaw/openclaw.json):
   {
     "skills": {
       "entries": {
         "bambuddy": {
           "enabled": true,
           "env": {
             "BAMBUDDY_URL": "http://192.168.1.x:8000",
             "BAMBUDDY_API_KEY": "bb_your_key_here"
           }
         }
       }
     }
   }
  1. Start a new OpenClaw session — the skill will be active.
Tip: If Bambuddy is on a remote server, use its external URL or set up a Tailscale/WireGuard VPN. Ensure curl and jq are installed (brew install curl jq on macOS, apt install curl jq on Debian/Ubuntu).

平台分布

OpenClaw

93.04%
按下载量换算972

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills