Extract
alirezarezvani/claude-skills
Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples.
Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
$ npx skills add ghbalf/freecad-ai --skill sketch-from-image -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ghbalf/freecad-ai sketch-from-image --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/sketch-from-image .claude/skills/sketch-from-image && 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 "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .claude/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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/sketch-from-imageType 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 sketch-from-image -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ghbalf/freecad-ai sketch-from-image --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/sketch-from-image .agents/skills/sketch-from-image && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .agents/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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 sketch-from-image -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ghbalf/freecad-ai sketch-from-image --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/sketch-from-image .cursor/skills/sketch-from-image && 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 "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .cursor/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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/sketch-from-image--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 sketch-from-image -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ghbalf/freecad-ai sketch-from-image --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/sketch-from-image .gemini/skills/sketch-from-image && 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 "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .gemini/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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 sketch-from-imageInstalls 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 sketch-from-image -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/sketch-from-image .github/skills/sketch-from-image && 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 "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .github/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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 sketch-from-image -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 sketch-from-image --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/sketch-from-image .opencode/skills/sketch-from-image && 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 "sketch-from-image" agent skill from https://github.com/ghbalf/freecad-ai/tree/master/skills/sketch-from-image into .opencode/skills/sketch-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sketch-from-image", 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.
sketch-from-imageExtract 2D geometry from an attached image and create a FreeCAD sketch from it.
Sketch From Image is an agent skill from ghbalf/freecad-ai. Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AI-powered assistant workbench for FreeCAD — generate 3D models from natural language.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1e0f1ca. 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 json).
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.
Sketch From Image loads about 1.2k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 554 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 1e0f1ca, republished under its LGPL-2.1 licence (© ghbalf). 554 words, ~1,168 tokens.
.claude/skills/sketch-from-image/SKILL.md (or your agent's skills folder).Convert an image (drawing, sketch, reference photo, technical drawing) into a FreeCAD sketch by identifying its geometric shapes and creating a sketch with equivalent geometry.
XY if not specified. Accept XY, XZ, YZ.Do NOT guess the size. Without a real dimension, the sketch is useless for CAD.
Look at the attached image (or the textual description if no image is present) and identify the 2D shapes. For each shape, record:
rect, circle, polygon, or linescale = user_dimension_mm / measured_dimension_pixels.scale.{
"shapes": [
{"type": "rect", "x": 0, "y": 0, "width": 40, "height": 25},
{"type": "circle", "cx": 20, "cy": 12.5, "r": 3},
{"type": "polygon", "points": [[0,0], [10,0], [5,8]]},
{"type": "line", "x1": 0, "y1": 0, "x2": 10, "y2": 10}
],
"dimensions": [],
"notes": "brief description of what was recognized"
}The dimensions array is reserved for future use (auto-constraint from
measured values in technical drawings). Leave it [] for now.
After deriving the JSON, call create_sketch with the shapes. Do NOT add
constraints — rectangles and circles are auto-constrained. Example:
create_sketch(
plane="XY",
geometries=[
{"type": "rectangle", "x": 0, "y": 0, "width": 40, "height": 25},
{"type": "circle", "cx": 20, "cy": 12.5, "radius": 3}
]
)For line shapes, emit them as polygons with two points, since create_sketch
groups connected line segments into a polygon.
Briefly report:
Do NOT pad, pocket, or otherwise extrude the sketch unless the user explicitly asks — this skill only produces the 2D profile.
If the user wants to adjust the sketch after initial creation, use edit_sketch.
For resizing, moving, or replacing geometry (most common), use clear_all=true
and provide the complete updated geometry:
edit_sketch(sketch_name="MySketch", clear_all=true, add_geometries=[
{"type": "rectangle", "x": 0, "y": 0, "width": 50, "height": 30},
{"type": "circle", "cx": 6, "cy": 6, "radius": 3}
])This clears all old geometry and constraints, then adds fresh geometry — no over-constraint issues. The sketch object, plane attachment, and body membership are preserved.
For adding new geometry to existing (e.g. "add a second hole"):
edit_sketch(sketch_name, add_geometries=[...])
For changing dimensions (e.g. "make it 50mm wide"): use clear_all=true with
updated geometry coordinates — dimensions are auto-constrained from the geometry.
Do NOT manually add DistanceX/DistanceY/Radius constraints.
dimensions array).© 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/sketch-from-image of ghbalf/freecad-ai.
Open the folder on GitHubat commit 1e0f1ca
Sketch From Image 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 |
|---|---|---|---|---|---|---|
| Sketch From Image this skillghbalf/freecad-ai | 552 | — | ~1.2k | Automated safety check: Pass | LGPL-2.1 | |
| Extractalirezarezvani/claude-skills | 28k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Gh Attachsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Brand Extractnexu-io/open-design | 100k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Design Extractnexu-io/open-design | 100k | — | ~549 | Automated safety check: Pass | Apache-2.0 | |
| Gh Attachgithub/awesome-copilot | 40k | — | ~529 | Automated safety check: Pass | MIT |
alirezarezvani/claude-skills
Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples.
sickn33/agentic-awesome-skills
Upload and download GitHub user-attachments (screenshots, PDFs, zips, videos) from the terminal; use when asked to attach or embed a file in a PR, issue, or comment, or download an attachment URL.
nexu-io/open-design
Extract a complete Brand Kit from a live website by driving the in-app browser.
nexu-io/open-design
Extract design tokens (color / typography / spacing) from imported source code, screenshots, or Figma exports into the canonical token bag token-map consumes.
github/awesome-copilot
Uploads a local file (screenshot, image, PDF, zip, video) to GitHub user-attachments, downloads GitHub user-attachments, and embeds local files in a PR, issue, or comment.
bergside/awesome-design-skills
A friendly, hand-drawn sketch interface inspired by pencil illustrations on warm cream paper.
ghbalf/freecad-ai
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them.
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.
Extract 2D geometry from an attached image and create a FreeCAD sketch from it. Sketch From Image is an agent skill from ghbalf/freecad-ai. Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
Run `npx skills add ghbalf/freecad-ai --skill sketch-from-image -a claude-code`. Or copy the skill folder (skills/sketch-from-image in ghbalf/freecad-ai) into .claude/skills/sketch-from-image in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ghbalf/freecad-ai --skill sketch-from-image -a codex`. Or copy the skill folder (skills/sketch-from-image in ghbalf/freecad-ai) into .agents/skills/sketch-from-image 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 sketch-from-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sketch-from-image, .gemini/skills/sketch-from-image, .github/skills/sketch-from-image and .opencode/skills/sketch-from-image in your project.
SKILL.md names no scripts, command-line tools or credentials: Sketch From Image is instructions for the agent only.
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.
Sketch From Image 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 1.2k tokens (SKILL.md is roughly 4.7k 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 Sketch From Image: Extract (alirezarezvani/claude-skills, 28k stars), Gh Attach (sickn33/agentic-awesome-skills, 47k stars), Brand Extract (nexu-io/open-design, 100k stars) and Design Extract (nexu-io/open-design, 100k 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 552 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 10, 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.