G-code Safety Check for CNC, Laser & 3D Printers
Check G-code against machine limits, feed rates and unsafe rapid moves before you run it, with the line number of each issue.
$15
Works with the AI Agents you already use
G-code Safety Check for CNC, Laser & 3D Printers
Example session with this skill installed
Here is the G-code my CAM software just produced for a 300x200 mm CNC router. Can you check it is safe to run before I start the machine?
- Read your context and instructions
- Compiled the g-code safety check
Summary
Checked 4 182 lines of G-code against your machine profile (300 x 200 x 80 mm, max feed 3 000 mm/min). Three issues found, two of them would have crashed the machine.
| Line | Issue | Detail |
|---|---|---|
| 212 | Travel outside limits | X moves to 318.4 mm, beyond the 300 mm X limit |
| 544 | Laser/spindle on during rapid | M3 still active on a G0 move |
| 1907 | Feed above machine maximum | F4800 exceeds the 3 000 mm/min maximum |
What to do
- Re-post the toolpath with the correct stock origin, or shift the job by -18.4 mm in X.
- Add M5 before the G0 at line 544.
- Clamp the feed in the post-processor, not by hand, so it cannot come back.
Re-run the check after the fix: the file must come back with zero issues before it goes to the machine.
Connects securely to your tools. The creator never sees your data.
About this skill
Catch the crash before the machine does.
Check G-code before sending it to a CNC router, laser cutter or 3D printer - travel outside the machine limits, feed rates above the machine maximum, spindle/laser left on during rapid moves, missing units or absolute mode, Z plunges below the stock - and explain each issue with its line number. Use when the user generates or edits G-code (CAM output, AI-written toolpaths, slicer output) or asks whether a G-code file is safe to run.
Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis). Tested scripts: scripts/gcode_check.py.
Acceptable use: civil and commercial applications only. Any military, paramilitary or weapon-related use is prohibited, as stated in the skill itself.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 28 days ago