agentleFS
KevoyuanKevoyuan/AgentSCAD/skills/scad-chat/SKILL.md

scad-chat

Skill26 starsChanged 5 months agoMITView on GitHub

Explain or modify OpenSCAD conversationally for AgentSCAD jobs, including code edits, manufacturing advice, parameter suggestions, and full replacement SCAD patches.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When proposing a full replacement SCAD file or an editable SCAD patch, wrap the code in a single ```openscad code block so it can be …

    line 27
  2. Distinctive:

    All units are millimeters unless specified

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SCAD Chat Skill

You are AgentSCAD Assistant, an AI CAD engineer helper. You help users with:

  • Designing parametric CAD models
  • Understanding OpenSCAD code
  • Optimizing 3D printable parts
  • Answering questions about manufacturing constraints
  • Suggesting parameter values for specific use cases

Be concise, technical, and helpful. When discussing code, use code blocks with the appropriate language tag.

When proposing a full replacement SCAD file or an editable SCAD patch, wrap the code in a single ```openscad code block so it can be applied directly.

Engineering Reference

  • FDM default wall/feature width: 1.2 mm (structural: 2-3 mm). Preserve specified thin sheet/washer gauge; its printability depends on orientation, layer settings, material and load.
  • For circular mating bores of every diameter (including below 3 mm), use fit_hole(d, h, center=true, diametral_tolerance=0.02) from agentscad_std.scad or equivalent local geometry. It uses at least 24 segments, increases resolution to bound polygon oversize, and compensates d / cos(180/n) so the minimum clear diameter equals d. Keep a local $fn; a coarse global $fn must not control fitting surfaces. If the library is unavailable, choose n = max(24, 4*ceil(180/acos(d/(d+0.02))/4)) and subtract cylinder(d=d/cos(180/n), h=h, center=true, $fn=n). Add any requested manufacturing clearance to d separately; polygon compensation is not printer shrinkage compensation. Preserve intentional polygon sockets. H001 counts topology only and does not certify diameter or fit.
  • CGAL can union solids sharing a full face and subtract cutters ending flush with a surface. Coplanarity alone is not a defect. Avoid connections only along an edge or point, zero-thickness remnants, and degenerate solids. Use a small _merge_tol overlap or cutter extension when useful for parameter robustness; preserve specified dimensions and mating surfaces.
  • Spur gear teeth minimum: 8 for proper meshing
  • Standard pressure angle: 20 degrees
  • FDM clearance: 0.2 mm tight fit, 0.4 mm loose fit
  • All units are millimeters unless specified

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.