klipper-ops

klipper-ops is a skill for Codex from anton-kostryukov/3d-printing-ops. It costs 50 tokens per session (840 once invoked), scanned A, original, MIT.

A controlled operations skill for Klipper 3D-printer hosts and Moonraker, the service that exposes printer status and controls. It uses structured tools and bounded shell fallbacks to inspect and change printer configuration.

In plain words
What is it for?
Use it to check printer and service health, read bounded logs, compare or back up configuration, apply or restore validated changes, and restart approved services.
Why use it?
It limits risky server operations by using allowlists, explicit confirmations, backups, validation, and rollback plans. It also avoids exposing unrestricted SSH by default.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to check printer and service health, read bounded logs, compare or back up configuration, apply or restore validated changes, and restart approved services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anton-kostryukov/3d-printing-ops/klipper-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anton-kostryukov/3d-printing-ops --skill klipper-ops
Clone the repo
git clone --depth 1 https://github.com/anton-kostryukov/3d-printing-ops

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for klipper-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/anton-kostryukov/3d-printing-ops/klipper-ops/github.svg)](https://agentmods.dev/skills/anton-kostryukov/3d-printing-ops/klipper-ops)
Your own site
<a href="https://agentmods.dev/skills/anton-kostryukov/3d-printing-ops/klipper-ops"><img src="https://agentmods.dev/badge/skills/anton-kostryukov/3d-printing-ops/klipper-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for klipper-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/anton-kostryukov/3d-printing-ops/klipper-ops"><img src="https://agentmods.dev/badge/skills/anton-kostryukov/3d-printing-ops/klipper-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 840 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00840
Opus 5.5 $0.00020 $0.00336
Sonnet 5.5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

Measured 5d ago against content hash b66ef847d808, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

klipper-ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 15 executable files (scripts/backup-config.sh, scripts/check-config.sh, scripts/discard-config.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/klipper-ops/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Klipper Ops

Version: 0.4.0

This skill supplies the operational workflow. The separately installed Klipper Ops MCP server supplies printer tools, transport, validation, and recovery.

Connect The Companion MCP

Check whether the Klipper Ops MCP tools are available. If absent, recommend installing and connecting the companion server before printer operations:

pipx install "git+https://github.com/anton-kostryukov/[email protected]#subdirectory=mcp/klipper-ops-server"

The alternative is uv tool install with the same URL. The server command is klipper-ops-mcp; set KLIPPER_OPS_PROJECT_ROOT to the absolute printer workspace. Follow the client's MCP configuration format. Installing this skill does not install or register the server. Keep installation and printer writes within the user's authorization; explain any missing dependency or connection.

The server also installs the klipper-ops CLI. Bundled shell scripts are small launchers for that CLI, not another implementation. Set KLIPPER_OPS_CLI if the executable is outside PATH. Initialize with init-project.sh --host HOST --user USER --with-wrappers WORKSPACE after installing the companion package.

Use Cases

  • Inspect compact host, print, and allowlisted service state.
  • Read one service's recent logs with explicit time and line bounds.
  • Pull config mirrors, including expanded copies for inspection.
  • Review remote drift and local config edits.
  • Back up and validate a candidate without restarting the live printer.
  • Prepare a reviewable plan, then apply the approved change with readiness checks.
  • Restart an allowlisted service, restore a verified backup, or recover an interrupted config transaction.
  • Discard unused or expired plans and their staging trees.
  • Initialize a printer workspace and configurable CLI launchers.

Workflow

  1. Check workspace state and call get_printer_status, or start with a narrower tool if the user identified a symptom.
  2. Read get_service_logs with 15 minutes and 120 lines before increasing bounds.
  3. Before pulling, inspect local edits. pull_config refuses to overwrite changed mirrors; use overwrite=true only when those edits may be discarded.
  4. For config edits, call prepare_config_apply. It backs up, stages, validates, and returns a patch, backup ID/path, expiry, and plan hash.
  5. Show the relevant patch and validation scope. Apply that plan only when covered by explicit user approval; do not treat a model-generated confirm=true as consent.
  6. Check returned Klipper readiness. After a timeout or uncertain result, inspect status and the transaction before retrying. Use recover_config for an interrupted transaction, and discard_config_apply for an abandoned plan.

Read the full file on GitHub · 78 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · -4 lines · -36 tokens per session b66ef847d808
  2. 1mo ago First seen · 82 lines · 86 tokens per session scan A f489cc0a6a4a

Subscribe to this mod's changes

klipper-ops is a skill published in the GitHub repository anton-kostryukov/3d-printing-ops (1 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 840 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

3d-printer-slicing-automation

REQUIRED for ANY .stl / .3mf / .zip 3D-model attachment. FIRST tool call MUST be the u1kit tool: u1kit(modelpath= ). It slices, renders the operator's options form itself, and returns a readiness card. Do NOT extract zips, run orca-slicer, or call the form tool yourself. Also REQUIRED when the operator asks to reprint…

bbolinger/snapmaker-u1-toolkit · 110 tokens

kiln

Design, check, slice, print and monitor on real 3D printers through the Kiln MCP server and CLI. Use when the user wants to make or 3D print an object, turn an idea, photo or sketch into a printable model, check or repair an STL, 3MF, OBJ or STEP file, pick a material, estimate print time or cost, find a model to…

codeofaxel/Kiln · 128 tokens

bambu-studio-ai

End-to-end 3D printing for Bambu Lab printers. Finds models online (MakerWorld, Printables), generates them with AI (text-to-3D, image-to-3D) or as exact-dimension parametric CAD, checks and repairs printability, converts textures to AMS multi-color, renders previews, opens them in Bambu Studio for the user to print…

heyixuan2/bambu-studio-ai · 208 tokens

wren-coil-inventor

Apply Wren Coil's coil-first carrier method when Wren Coil is selected for a Workshop Wish; use for everyday-carry tools — carabiners, openers, clips, shackles, fidgets, folding multi-tools — that house a standard 21.5 x 11.5 x 0.75 mm NFC inlay behind one declared tap window while keeping a real, load-bearing second…

autonomous-ai/autonomous-workshop · 131 tokens

soren-voss-inventor

Apply Soren Voss's mechanical invention method to assembled 3D-printed objects with surprising motion, including walkers, automata, transforming objects, and kinetic sculptures. Electronics are deferred.

autonomous-ai/autonomous-workshop · 46 tokens

rowan-vale-inventor

Integrate detailed sculptural or reference-faithful bodies with articulated, kinetic or transforming mechanisms, preserving both visual features and requested motion through the final assembly.

autonomous-ai/autonomous-workshop · 39 tokens