prusalink-cli
OpenClaw skill: local PrusaLink CLI (curl wrapper) for status/upload/print using Digest auth (user/password) or optional X-Api-Key.
Why use this skill?
Control your Prusa printer with the PrusaLink CLI OpenClaw skill. Securely check status, upload files, and manage prints locally without complex API setups.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/donsqualo/prusalink-cliWhat This Skill Does
The prusalink-cli skill acts as a secure, local interface for managing Prusa 3D printers equipped with PrusaLink. By functioning as a specialized wrapper around the curl command, it abstracts the complexities of the PrusaLink API into a set of safe, pre-defined operations. The tool supports essential printer management functions, including retrieving system status, monitoring print jobs, uploading new G-code files, and issuing commands to start or cancel print operations. Designed with a security-first mindset, this skill intentionally excludes arbitrary API requests to mitigate the risks associated with prompt injection, ensuring that your printer remains protected while under the control of an AI agent.
Installation
To integrate this skill with your OpenClaw environment, begin by ensuring your local setup is prepared to host external skills. Copy the prusalink-cli directory directly into your local OpenClaw skills directory, typically located at ~/.openclaw/skills/prusalink-cli/. Once the files are in place, the skill will be automatically discovered by the OpenClaw agent. For a streamlined deployment experience, you may alternatively use the OpenClaw management utility by executing: clawhub install openclaw/skills/skills/donsqualo/prusalink-cli. Always verify that your system environment variables for authentication, such as PRUSALINK_HOST, PRUSALINK_USER, and PRUSALINK_PASSWORD, are correctly configured before attempting your first operation.
Use Cases
This skill is perfect for automation-minded 3D printing enthusiasts. Use it to check if your printer is available or occupied before sending a slice file. Integrate it into your morning workflow to see if your overnight print finished successfully. Developers can use this to build automated print queues or remote notification systems without writing custom Python or shell scripts. Because it relies on standard environment variables and local shell execution, it fits perfectly into existing DevOps-style pipelines or home automation setups managed by your OpenClaw agent.
Example Prompts
- "Check the current status of the printer and tell me if it is ready for a new job."
- "Upload the file located at /home/user/designs/bracket.gcode to my Prusa printer."
- "Cancel the current print job immediately and alert me once the printer is idle."
Tips & Limitations
To maximize security, avoid passing credentials directly in your command line arguments, as these may appear in shell history logs. Instead, utilize the --password-file argument to securely load sensitive credentials from a protected local file. Please note that this skill is strictly limited to the hardcoded endpoints defined by the developer; it cannot be used to trigger administrative or hidden firmware settings. If you experience connectivity issues, double-check that your PRUSALINK_HOST is accessible within your local network and that your Digest authentication credentials are correct.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-donsqualo-prusalink-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read