klipper-ops

klipper-ops is a skill for Codex from anton-kostryukov/3d-printing-ops. It costs 86 tokens per session (905 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 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 905 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.00086 $0.00905
Opus 5 $0.00043 $0.00452
Sonnet 5 $0.00017 $0.00181
Haiku 4.5 $0.00009 $0.00090

Measured 12d ago against content hash f489cc0a6a4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/backup-config.sh, scripts/check-config.sh, scripts/init-project.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 · 82 lines

How it starts

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

klipper-ops

Version: 0.3.0

Operate Klipper hosts through a small, auditable surface. Prefer the klipper-ops MCP server when connected; use bundled scripts/ as a portable fallback.

Use Cases

  • Inspect host, Moonraker print, config, and allowlisted service state.
  • Read recent logs for one service with explicit time and line bounds.
  • Pull config mirrors atomically, including an expanded symlink-following mirror.
  • Compare local and remote config manifests without dumping full files.
  • Back up and validate config before any live change.
  • Prepare, review, and explicitly apply an atomic config plan with rollback.
  • Restart an allowlisted service only after confirmation and an idle-state check.
  • Restore a named backup with explicit backup-ID confirmation.
  • Initialize a printer workspace and shell wrappers.
  • Run focused raw SSH only when typed tools and bounded scripts cannot recover a host.

Out of scope: slicer profiles, slicer app settings, firmware flashing, and general printer tuning methodology.

Choose The Surface

  1. Use MCP tools first. They return structured data, enforce bounds and allowlists, and never expose arbitrary SSH execution or caller-selected remote paths.
  2. Use workspace ./scripts/*.sh wrappers or bundled scripts when MCP is absent.
  3. Use ssh.sh only for a narrow recovery command. Do not turn it into an MCP tool.

Read references/mcp-tools.md when selecting tools or handling a write refusal.

Workflow

  1. Check repo state, then call get_printer_status or status.sh.
  2. For a named failure, use get_service_logs or logs.sh; start with 15 minutes and 120 lines.
  3. Before config analysis, call pull_config or the matching pull script.
  4. Before writes, create a backup and validate the candidate.
  5. For MCP writes, call prepare_config_apply, show the user its diff, backup ID, validation result, and plan hash, then wait for explicit confirmation.
  6. Call apply_config only with that reviewed plan. It must recheck drift and print state, atomically swap config, restart, health-check, and roll back on failure.
  7. Report changed state, backup ID/path, rollback path, and any remaining risk.

Read the full file on GitHub · 82 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. 12d 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 2mo ago), licensed MIT. It adds 86 tokens to every session and 905 once invoked, about $0.0004 per session on Opus 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

AI agent control of 3D printers — 915 MCP capabilities + 242 CLI commands.

codeofaxel/Kiln · 0 tokens

clawhub-skill

AI agent control of 3D printers — 847 MCP capabilities + 224 CLI commands.

codeofaxel/Kiln · 0 tokens

embedded-debugger

Embedded hardware debugging workflow for probe-rs targets using embedded-debugger-mcp. Use when Codex or Claude Code needs to inspect debug probes, validate embedded debugger setup, start the MCP server, guide a user through ARM Cortex-M/RISC-V flashing/debugging/RTT workflows, or operate without installing an MCP…

Adancurusul/embedded-debugger-mcp · 75 tokens

serial-debug

CLI-first serial port debugging and macro automation with serial-mcp-server for Codex and Claude Code. Use when working with UART or USB-serial devices, listing serial ports, probing STM32/Arduino/ESP32 boards, writing or reading serial data, running JSON serial macros, controlling RTS/DTR, or using serial-mcp-server…

Adancurusul/serial-mcp-server · 74 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