Skill Creator
Azure/azqr
Create new skills, modify and improve existing skills, and measure skill performance.
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them.
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ghbalf/freecad-ai skill-creator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skill-creator .claude/skills/skill-creator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .claude/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ghbalf/freecad-ai skill-creator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/skill-creator .agents/skills/skill-creator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .agents/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ghbalf/freecad-ai skill-creator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/skill-creator .cursor/skills/skill-creator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .cursor/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ghbalf/freecad-ai.git --path skills/skill-creator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ghbalf/freecad-ai skill-creator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/skill-creator .gemini/skills/skill-creator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .gemini/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ghbalf/freecad-ai skill-creatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/skill-creator .github/skills/skill-creator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .github/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ghbalf/freecad-ai --skill skill-creator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ghbalf/freecad-ai skill-creator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ghbalf/freecad-ai.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/skill-creator .opencode/skills/skill-creator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "skill-creator" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/skill-creator into .opencode/skills/skill-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-creator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skill-creatorCreate new FreeCAD AI skills, modify existing skills, and iteratively improve them.
Skill Creator is an agent skill from ghbalf/freecad-ai. Create new FreeCAD AI skills, modify existing skills, and iteratively improve them. Use when users want to create a skill from scratch, update or optimize an existing skill, capture a workflow as a reusable skill, or improve an existing skill's instructions. Also trigger when the user says "turn this into a skill", "make a skill for X", "save this as a command", or similar.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Skill authoring. The repository describes itself as: AI-powered assistant workbench for FreeCAD — generate 3D models from natural language.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5ef1e2d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Skill Creator loads about 2.7k tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 1,248 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ghbalf/freecad-ai at commit 5ef1e2d, republished under its LGPL-2.1 licence (© ghbalf). 1,248 words, ~2,666 tokens.
.claude/skills/skill-creator/SKILL.md (or your agent's skills folder).A skill for creating new FreeCAD AI skills and iteratively improving them.
At a high level, the process goes like this:
/command and evaluating the resultYour job is to figure out where the user is in this process and help them move forward. Maybe they say "I want a skill for X" — help them scope it, write the draft, and test it. Or maybe they already have a skill that needs fixing — jump straight to the improvement loop.
Be flexible. If the user says "just write it, I'll test it myself", do that. If they want to iterate 5 times, do that too.
FreeCAD AI users range from experienced CAD engineers to hobbyists who just discovered parametric modeling. Pay attention to context cues — if they use terms like "involute" and "datum plane", match that level. If they say "I want to make a box thing with holes", keep things simple.
Start by understanding what the user wants. The current conversation may already contain a workflow worth capturing (e.g., they say "turn this into a skill"). If so, extract what you can from the conversation — the tools used, the sequence of steps, corrections the user made, dimensions and parameters observed. The user may need to fill gaps, and should confirm before you proceed.
Ask (skip questions they already answered):
Proactively ask about things the user might not think of:
If the current document has relevant objects, inspect them with get_document_state and measure to understand the context.
Pick a short, hyphenated name based on what the skill does. Confirm with the user.
The skill will live at: ~/.config/FreeCAD/FreeCADAI/skills/<name>/
The user invokes it with /<name>.
skill-name/
├── SKILL.md (required — frontmatter `name` + `description`, then instructions)
├── handler.py (optional, FreeCAD AI only — deterministic execute(args) handler)
├── references/ (optional — docs the model reads on demand, subfolders allowed)
│ ├── dimensions.md
│ └── materials.md
├── scripts/ (optional — Python scripts run with run_skill_script)
└── assets/ (optional — templates/data files the scripts open via __file__)This is the open Agent Skills layout, so the same folder also works in Claude Code,
Codex or Gemini CLI. Start SKILL.md with frontmatter whose name equals the folder name:
---
name: skill-name
description: "What it does and when to use it, in one or two sentences."
---Quote the description: other harnesses parse it as strict YAML, where an unquoted : breaks it.
Link files with relative Markdown links, e.g. [thread table](references/thread-tables.md);
the model loads them with use_skill(name=..., resource="references/thread-tables.md").
Skills use a layered loading system:
Keep SKILL.md under 200 lines. If you need more detail (dimension tables, material properties, multi-variant instructions), put it in references/ and point to it from SKILL.md:
For standard metric thread dimensions, read `references/thread-tables.md`.A good SKILL.md includes:
Explain the why behind instructions, not just the what. The LLM is smart — if it understands the reasoning, it can adapt to situations the instructions don't cover explicitly.
Instead of:
ALWAYS use offset=H on the pocket sketch. NEVER pocket from z=0.Write:
Place the pocket sketch at offset=H (top face of the solid). Pocketing from z=0
creates a hollow that opens upward with no floor — the pocket cuts from the sketch
plane downward into the solid, so starting from the top gives you a proper floor
at the bottom.More guidance:
create_sketch, pad_sketch, pocket_sketch, etc. The LLM knows all 33 toolsIf the skill benefits from a Python handler, write one with an execute(args) function:
def execute(args):
"""
Args:
args: string with the user's arguments after the /command
Returns:
dict with one of:
{"inject_prompt": "text"} — inject into LLM prompt
{"output": "text"} — display directly to user
{"error": "text"} — show error
"""Use a handler when the skill needs:
Use the execute_code tool to create the skill directory and write the files:
import os
skill_dir = os.path.expanduser("~/.config/FreeCAD/FreeCADAI/skills/<name>")
os.makedirs(skill_dir, exist_ok=True)
with open(os.path.join(skill_dir, "SKILL.md"), "w") as f:
f.write(skill_md_content)
# Optional:
with open(os.path.join(skill_dir, "handler.py"), "w") as f:
f.write(handler_content)Tell the user the skill is ready and they can invoke it with /<name>.
After writing the draft, test it. Come up with 2–3 realistic invocations — the kind of thing a real user would type:
/bracket 80x40mm, 4 mounting holes M4, 3mm thick aluminum
/bracket 30x20mm, 2 holes M3
/bracket — just use defaultsShare them with the user: "Here are a few test cases I'd like to try. Do these look right, or would you change any?"
Then run them one at a time. After each run:
get_document_state and measureGeneralize from the feedback. The skill will be used many times with different parameters. Don't overfit to the test cases — if a fix only works for one specific set of dimensions, it's probably too narrow. Think about what principle the fix represents and express that in the instructions.
Keep the prompt lean. Remove instructions that aren't pulling their weight. If the LLM is spending time on unnecessary steps, cut them. Read the actual tool call sequence to see where time is wasted.
Explain the why. If you find yourself writing ALWAYS or NEVER in all caps, that's a sign the instruction needs a reason, not more emphasis. Explain why the thing matters and the LLM will follow through more reliably.
Look for repeated patterns. If every test run independently arrives at the same multi-step workaround, that's a signal the skill should include that approach explicitly — or bundle it in a handler.
If the user already has a skill they want to improve:
For skills that need reference data (dimension tables, material properties, standard specifications), create a references/ directory alongside SKILL.md. Keep each reference file focused on one topic and under 300 lines. Include a brief table of contents at the top of long files.
Example structure for a fastener skill:
fastener/
├── SKILL.md
└── references/
├── metric-bolts.md # M2–M24 dimensions
├── imperial-bolts.md # #2–1" dimensions
└── materials.md # Strength grades, torque specsReference files may live in subfolders (references/metric/m3.md). A script in scripts/ runs inside FreeCAD like a command-line program: it sees __name__ == "__main__", sys.argv, and its own __file__, so it can open ../assets/... next to it. Use sys.exit(1) to report failure.
© ghbalf, LGPL-2.1. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/skill-creator of ghbalf/freecad-ai.
Open the folder on GitHubat commit 5ef1e2d
Skill Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Skill Creator this skillghbalf/freecad-ai | 550 | — | ~2.7k | Automated safety check: Pass | LGPL-2.1 | |
| Skill CreatorAzure/azqr | 795 | 89 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase | 10k | 11 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Darwin Skill Optimizeralchaincyf/darwin-skill | 6.2k | 1 repos | ~4.7k | Automated safety check: Pass | MIT | |
| Claude Code Command Developmentanthropics/claude-plugins-official | 38k | 10 repos | ~4.8k | Automated safety check: Pass | Apache-2.0 | |
| Claude Code Plugin Structureanthropics/claude-plugins-official | 38k | 10 repos | ~3.4k | Automated safety check: Pass | Apache-2.0 |
Azure/azqr
Create new skills, modify and improve existing skills, and measure skill performance.
diet103/claude-code-infrastructure-showcase
A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.
alchaincyf/darwin-skill
Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.
anthropics/claude-plugins-official
Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.
anthropics/claude-plugins-official
Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.
rohitg00/ai-engineering-from-scratch
Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.
ghbalf/freecad-ai
Generate a draft VALIDATION.md for a skill by analyzing its SKILL.md construction steps
ghbalf/freecad-ai
Generate a parametric electronics enclosure with a base and lid.
ghbalf/freecad-ai
Create standard fastener holes: clearance, counterbore, or countersink.
ghbalf/freecad-ai
Create an involute spur gear using FreeCAD's Part module. An agent skill from ghbalf/freecad-ai.
ghbalf/freecad-ai
Generate a 3D lattice or infill pattern inside a bounding region.
ghbalf/freecad-ai
Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
Categories
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them. Skill Creator is an agent skill from ghbalf/freecad-ai. Create new FreeCAD AI skills, modify existing skills, and iteratively improve them.
Skill Creator fits situations like: users want to create a skill from scratch; optimize an existing skill; capture a workflow as a reusable skill; improve an existing skills instructions.
Run `npx skills add ghbalf/freecad-ai --skill skill-creator -a claude-code`. Or copy the skill folder (skills/skill-creator in ghbalf/freecad-ai) into .claude/skills/skill-creator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ghbalf/freecad-ai --skill skill-creator -a codex`. Or copy the skill folder (skills/skill-creator in ghbalf/freecad-ai) into .agents/skills/skill-creator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ghbalf/freecad-ai --skill skill-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-creator, .gemini/skills/skill-creator, .github/skills/skill-creator and .opencode/skills/skill-creator in your project.
SKILL.md names no scripts, command-line tools or credentials: Skill Creator is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Skill Creator is published under the LGPL-2.1 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skill Creator: Skill Creator (Azure/azqr, 795 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ghbalf (a GitHub user) maintains it in ghbalf/freecad-ai, which has 550 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 3, 2026.
Source: ghbalf/freecad-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.