360 Secure SkillHub
360 安全技能中心

PrusaLink

提供基于 curl 的本地 PrusaLink CLI 封装,通过固定端点查询打印机与任务状态、上传文件、开始或取消打印;认证使用 Digest 用户名密码或可选 X-Api-Key,请求仅发往配置的打印机主机。

分类:自动化
donsqualo
donsqualo
热度 23.00
最近更新 2026-05-11 17:26:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add donsqualo/prusalink-cli
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
prusalink-cli
description
OpenClaw skill: local PrusaLink CLI (curl wrapper) for status/upload/print using Digest auth (user/password) or optional X-Api-Key.
user-invocable
true
metadata
{"author":"DonSqualo","env":{"PRUSALINK_HOST":{"description":"Printer host/IP (default: printer.local).","default":"printer.local"},"PRUSALINK_SCHEME":{"description":"http or https (default: http).","default":"http"},"PRUSALINK_USER":{"description":"PrusaLink Digest username."},"PRUSALINK_PASSWORD":{"description":"PrusaLink Digest password."},"PRUSALINK_API_KEY":{"description":"Optional: send as X-Api-Key if your PrusaLink supports it."},"PRUSALINK_TIMEOUT":{"description":"curl max-time seconds (default: 10).","default":"10"}},"openclaw":{"requires":{"bins":["curl"]}}}

PrusaLink CLI

This skill provides a small, local curl-based PrusaLink CLI via run.sh.

For safety, this published skill intentionally does not include an "arbitrary API request" command (to reduce prompt-injection misuse). It exposes only the fixed, common endpoints (status/job/upload/start/cancel).

Install Into OpenClaw

Copy this folder to:

  • ~/.openclaw/skills/prusalink-cli/

Then OpenClaw can discover it as a skill.

Run

Run through the skill wrapper:

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

Auth

Set either:

  • Digest auth: PRUSALINK_USER + PRUSALINK_PASSWORD (recommended)
  • or PRUSALINK_API_KEY (sent as X-Api-Key, if your PrusaLink supports it)

Avoid shell history leaks:

~/.openclaw/skills/prusalink-cli/run.sh --password-file /path/to/secret status

Security Notes

  • This skill does not download or execute code from the network at runtime.
  • It only makes HTTP requests to your configured PRUSALINK_HOST.