moonraker
Control a Klipper 3D printer through Moonraker: print jobs, file uploads, emergency stop, smart plugs, and gated raw G-code. Trigger phrases: moonraker, klipper, mainsail, fluidd, start print, pause print, emergency stop.
Install / Use
npx skills add Anil-matcha/awesome-muse-connectors --skill moonrakerInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
MarketingSupported Platforms
Our assessment of moonraker
moonraker scores 85/100 on our quality scale, 424th of 566 Marketing skills we index.
Its SKILL.md is 5.3 KB long, well organised into 9 sections with 1 code example: a solid amount of guidance for an agent.
With 1,321 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 20 days ago, so moonraker is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
moonraker compared with similar skills
All 4 of these similar skills score higher than moonraker; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| moonraker (this skill)by Anil-matcha | 85 | 1.3k | 20d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 102.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 77.8k | 1d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 89.7k | 3d ago | MCP Server |
| crawl4aiby unclecode | 100 | 86.2k | 3d ago | MCP Server |
Frequently asked questions
- How do I install moonraker?
- Run
npx skills add Anil-matcha/awesome-muse-connectors --skill moonraker. The install tabs above show the steps for each supported agent. - Which AI agents does moonraker work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is moonraker safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is moonraker still maintained?
- The repository was last updated 20 days ago, so moonraker is actively maintained.
Skill content
View source on GitHubname: "moonraker" description: "Control a Klipper 3D printer through Moonraker: print jobs, file uploads, emergency stop, smart plugs, and gated raw G-code. Trigger phrases: moonraker, klipper, mainsail, fluidd, start print, pause print, emergency stop." metadata: { "includeInPrompt": true } tagline: "Control a Klipper-based 3D printer through the Moonraker API server (the backend behind Mainsail, Fluidd and RatOS): read server and print status, list and upload gcode files, start/pause/resume/cancel prints, trigger the emergency stop, toggle smart-plug devices, and (gated) run raw G-code. Use when the user mentions Moonraker, Klipper, Mainsail, or Fluidd." catalog_auth: "no credential needed on most LAN installs (optional API key via the secure credential flow)" catalog_hosts: ["the host you pass via --host"]
Moonraker
Purpose
Control a Klipper-based 3D printer through the Moonraker API server (the backend behind Mainsail, Fluidd and RatOS): read server and print status, list and upload gcode files, start/pause/resume/cancel prints, trigger the emergency stop, toggle smart-plug devices, and (gated) run raw G-code. Use when the user mentions Moonraker, Klipper, Mainsail, or Fluidd.
Tooling
All commands go through bin/moonraker.py. --host points at Moonraker (default $MOONRAKER_HOST or http://localhost:7125); --insecure skips TLS verification for self-signed reverse proxies. --api-key attaches the stored custom.moonraker credential; omit it on the default no-auth LAN setup.
bin/moonraker.py auth --host http://printer.local:7125 # server info; never needs a credential
bin/moonraker.py status # print state and temperatures
bin/moonraker.py files # list gcode files
# MEDIUM: --confirm "<exact effect>" on first use per printer, then proceed
bin/moonraker.py upload --path ./benchy.gcode --confirm "upload benchy.gcode to printer.local"
bin/moonraker.py print-start --filename benchy.gcode --confirm "start printing benchy.gcode on printer.local"
bin/moonraker.py print-pause --confirm "pause the print on printer.local"
bin/moonraker.py print-resume --confirm "resume the print on printer.local"
bin/moonraker.py print-cancel --confirm "cancel the print on printer.local"
bin/moonraker.py emergency-stop \
--confirm "emergency stop on printer.local: halt all motion and heaters"
bin/moonraker.py device-power --device enclosure --action on \
--confirm "turn smart-plug device enclosure on on printer.local"
# HIGH: raw G-code needs BOTH --enable-raw-gcode AND --confirm on EVERY call
bin/moonraker.py gcode-script --script "G28" --enable-raw-gcode \
--confirm "run raw G-code script: G28"
MEDIUM first-use confirmations are recorded locally (~/.cache/muse-connectors/moonraker/confirmed.json).
Auth
- Provider id:
moonraker(credential is collected ascustom.moonraker) - Collection: Moonraker has no auth on the LAN by default, so most installs need nothing stored at all. If the printer enables
[authorization]API keys, store the key via the secure credential flow (credentials.request_api_access) ascustom.moonrakerand pass--api-keyon each call. The key is never passed on the command line, in the environment, or in a file:--api-keyis a flag that takes no value. - Allowed hosts: the hostname from
--host(validated per call; the surrogate is only ever swapped on egress to that host) - Status check:
bin/moonraker.py auth(must return"ok": true; also reports whether an API key is stored) - Remote access: Moonraker is LAN-first. Reach it remotely through the OctoEverywhere relay, a VPN, or a reverse proxy; the connector does not implement any relay itself.
Operating Rules
- HIGH: raw G-code (
gcode-script) can physically damage the printer. The CLI requires both--enable-raw-gcode(explicit capability flag) and--confirm "run raw G-code script: <script>"naming the exact script, on every call. Prefer the high-level print commands whenever they cover the need. - MEDIUM: print start/pause/resume/cancel, emergency stop, file upload, and smart-plug power move or heat physical hardware. They need
--confirmnaming the exact effect on first use per printer. Emergency stop halts all motion and heaters instantly; reach for it when a print is failing rather than using it as a casual pause. - There are no vendor quotas, but do not hammer the printer's host: keep status polling to a few times a minute at most.
- Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit any key value.
Files
- SKILL.md
- bin/moonraker.py
Maturity
๐งช Draft: written from Moonraker's public API docs; not yet live-tested end-to-end.
Honesty flags: endpoint paths (/server/info, /printer/objects/query, /server/files/list, /server/files/upload, /printer/print/{start,pause,resume,cancel}, /printer/emergency_stop, /printer/gcode/script, /machine/device_power/device) follow the official Moonraker reference. Raw G-code is HIGH and doubly gated (--enable-raw-gcode plus per-call --confirm). The [authorization] API-key placement is configured in the credential store at collection time; if Moonraker expects the key somewhere other than the default header placement, reconfigure the credential rather than passing the key on the command line.
Related Skills
Agent-Reach
102.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
headroom
77.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
89.7k๐ท๏ธ A Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
86.2kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key. Join our Discord https://discord.gg/VuxzM8mtf
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
