marlinfw-tools
БесплатноЗапускает вложенные скриптыНе проверенInspects and carefully controls a USB-connected Marlin 3D printer (Creality Ender 3 and similar) with the bundled wrapper script: discovers stable serial…
от psyb0t404 установки в других каталогахОб этом скилле
Marlin printer tools
Setup
The tool must already be installed and the printer connected over USB. Installation and details are in the project README at https://github.com/psyb0t/marlinfw-tools. The only connection value you need is the printer's stable /dev/serial/by-id/... path, which discover returns.
All operations go through scripts/marlinfw-tools.sh, relative to this skill's directory.
Security & safety
- Start with
discoverand use the stable/dev/serial/by-id/...path it returns. Never guess/dev/ttyUSB0or pass the whole/devtree. discover,inspect,sd-filesandrecordonly read printer state. Use them freely.home,sendandsd-print-monitorchange physical printer state. Before each one, get the user's approval in the current turn for the exact printer path, command and expected physical effect, and whether it should survive a reboot. Never infer permission from an earlier request to inspect or calibrate. The--apply --confirm-riskflags are an execution gate, not a substitute for that approval.homeandsd-print-monitoralso need--confirm-supervised: the user must be at the printer with the power switch in reach.- Serial telemetry cannot judge nozzle clearance, extrusion, adhesion, smoke or collisions. Never report physical safety from it.
- On firmware that reports
Cap:EMERGENCY_PARSER:0, serialM524cannot interrupt a blockingM190,M109or homing command. The user's physical stop is the only fast stop. sendaccepts onlyM92,M201,M203,M204,M205,M206,M301andM304. The tool rejects every other command, including motion, heating, leveling, pin control, emergency stop, EEPROM load or reset and firmware update. With--saveit then addsM500.- The only commands that move or heat the printer are the fixed sequences of
home(G28,M114,M119) andsd-print-monitor(M20,M155 S1,M23,M24, thenM114,M119andM27polling, andM524,M104 S0,M140 S0,M155 S0to stop and cool). Starting the SD file withM24makes the printer heat, home and move on its own, which is why that command needs the user at the printer.
When to use
- Find a printer's serial path and identify its Marlin firmware and capabilities.
- Back up active settings (
M503) or read temperatures, position and endstops. - Record temperatures, position, endstops and SD status as JSONL while the user works.
- List the exact SD card filenames Marlin sees.
- Home once under supervision, apply one measured calibration value, or run the supervised first-layer test.
When NOT to use
- Klipper or Moonraker printers, or a printer that should be driven through OctoPrint's network API.
- Guessing calibration values, running arbitrary G-code, flashing firmware, factory resets, or changing a printer mid-print.
Read the printer
scripts/marlinfw-tools.sh discover
scripts/marlinfw-tools.sh inspect \
--port /dev/serial/by-id/replace-with-printer-path \
| tee printer-inspect.json
inspect sends M115, M503, M105, M114 and M119. Keep printer-inspect.json: it is the rollback baseline for any later change. See Marlin reports for what each section means. If the device is missing or busy, check for a data-capable USB cable and make sure no other program has the serial port open. The default baud rate is 115200 (--baudrate changes it).
scripts/marlinfw-tools.sh sd-files --port /dev/serial/by-id/replace-with-printer-path
scripts/marlinfw-tools.sh record --port /dev/serial/by-id/replace-with-printer-path \
| tee printer-events.jsonl
record runs until Ctrl+C, or pass --duration 300 for five minutes. It never starts, pauses or stops a print.
Home
After approval and with the user at the machine, the bed and toolhead path clear and no print active:
scripts/marlinfw-tools.sh home --port /dev/serial/by-id/replace-with-printer-path \
--apply --confirm-risk --confirm-supervised
It sends exactly G28, M114 and M119. Run it once and report the returned position and endstops.
Change one setting
Run
inspectand keep the JSON as the baseline.Get the user's physical measurement and the parameter it calibrates. Never derive a value from a guess.
Calculate one command and show the exact port, command and expected effect.
After approval, apply it for this power cycle only:
scripts/marlinfw-tools.sh send --port /dev/serial/by-id/replace-with-printer-path \ --command 'M92 E<measured-value>' --apply --confirm-riskRun
inspectagain and compare the relevant line.Only after a second, separate approval, persist it. This adds
M500once the setting is acknowledged:scripts/marlinfw-tools.sh send --port /dev/serial/by-id/replace-with-printer-path \ --command 'M92 E<measured-value>' --apply --confirm-risk --save --confirm-persist
Read [setting writes](referenc
Установить marlinfw-tools в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл marlinfw-tools?
Inspects and carefully controls a USB-connected Marlin 3D printer (Creality Ender 3 and similar) with the bundled wrapper script: discovers stable serial paths, reads firmware, M503 settings, temperatures, position and endstops, records JSONL telemetry, lists SD card files, homes under supervision, applies one audited calibration setting, and runs a supervised first-layer SD test. Use when the user wants to read, calibrate, home or monitor a Marlin printer over serial.
Как установить скилл marlinfw-tools?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл marlinfw-tools запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic