PrusaLink CLI for Openclaw

A secure, curl-based command-line interface for managing Prusa 3D printers locally through PrusaLink.

donsqualo
v1.0.2
Feb 18, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install prusalink-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install prusalink-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PrusaLink CLI?

The PrusaLink CLI skill is a developer-focused tool designed to bridge the gap between AI agents and physical fabrication hardware. As a specialized addition to the Openclaw Skills ecosystem, it provides a safe, scriptable interface for interacting with Prusa 3D printers over a local network. By wrapping complex curl commands into a simplified shell script, it enables users to monitor printer telemetry and manage print jobs without needing to navigate a web UI.

Security is a core focus of this skill. It intentionally avoids arbitrary API execution to mitigate prompt-injection risks, focusing instead on a hardcoded set of essential endpoints. Whether you are using Digest authentication or an API key, this skill ensures that your credentials and printer controls remain secure within your local environment while leveraging the power of Openclaw Skills for automation.

PrusaLink CLI Use Cases

  • Monitoring real-time 3D printer status, temperatures, and progress via terminal.
  • Uploading G-code files directly to the printer's storage for upcoming projects.
  • Starting, pausing, or cancelling print jobs through automated scripts or AI commands.
  • Integrating 3D printer status checks into local development or home automation workflows.

How PrusaLink CLI Works

  1. The skill acts as a local wrapper for curl, targeting the PrusaLink API on your printer's host IP.
  2. It initializes using environment variables such as PRUSALINK_HOST and authentication credentials.
  3. When a command like status or upload is issued, the skill constructs a secure HTTP request using Digest authentication or an X-Api-Key.
  4. The script executes the request against the local printer and returns the JSON response or status code.
  5. AI agents using Openclaw Skills parse this output to provide updates or confirm successful job starts.

PrusaLink CLI Setup

To install the skill, copy the directory to your local Openclaw directory:

mkdir -p ~/.openclaw/skills/prusalink-cli/
# Copy the skill files into the directory above

Configure your environment variables to enable communication with your printer:

export PRUSALINK_HOST="192.168.1.XXX"
export PRUSALINK_USER="your_username"
export PRUSALINK_PASSWORD="your_password"

Verify the installation by checking your printer status:

~/.openclaw/skills/prusalink-cli/run.sh status

PrusaLink CLI Data Schema & Taxonomy

The skill manages interaction through the following environment variables and command structure:

Variable Purpose Default
PRUSALINK_HOST The IP address or hostname of the printer printer.local
PRUSALINK_SCHEME Use http or https http
PRUSALINK_USER Digest username for authentication N/A
PRUSALINK_API_KEY Optional API key for header-based auth N/A
PRUSALINK_TIMEOUT Max time in seconds for the curl request 10

Supported commands include: status, job, upload, start, and cancel.

PrusaLink CLI Advanced Features

  • Secure credential handling using the --password-file flag to prevent sensitive data from appearing in bash history.
  • Support for multiple authentication modes including Digest auth (recommended) and X-Api-Key headers.
  • Built-in protection against prompt-injection by limiting the skill to fixed, safe API endpoints.
  • Custom timeout configuration via PRUSALINK_TIMEOUT to handle high-latency local network connections.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*