跳到正文
TakoAPI
返回技能列表

prusalink-cli

由 donsqualo 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

OpenClaw skill: local PrusaLink CLI (curl wrapper) for status/upload/print using Digest auth (user/password)

描述

该技能的功能

A curl-based CLI wrapper for PrusaLink, the local API on Prusa 3D printers. Supports Digest auth or X-Api-Key and exposes fixed endpoints for status, job info, file upload, print start, and cancel.

Gives shell and script access to PrusaLink without a browser or third-party app, using only curl against your local network.

何时使用

  • Check print job status from the terminal
  • Upload a G-code file to the printer over local network
  • Start or cancel a print job without opening the web UI
  • Monitor printer state in a shell script
  • Automate print workflows on a home server

示例工作流

输入

User asks: upload and start printing mypart.gcode

智能体
  1. 1

    Set PRUSALINK_HOST to the printer IP

  2. 2

    Run run.sh upload mypart.gcode to transfer the file

  3. 3

    Run run.sh status to confirm the printer is idle

  4. 4

    Run run.sh start mypart.gcode to begin the print

输出

Print job starts on the Prusa printer

前置要求

  • PRUSALINK_HOST environment variable (printer IP or hostname)
  • PRUSALINK_USER and PRUSALINK_PASSWORD for Digest auth, or PRUSALINK_API_KEY if using API key auth

安装

clawhub install donsqualo/prusalink-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接