Borrowing it
Nothing to install: this file belongs to Yaeshio/FreeCAD-MCP-For-YDGA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Yaeshio/FreeCAD-MCP-For-YDGA/main/.claude/commands/freecad-doc.mdgit clone --depth 1 https://github.com/Yaeshio/FreeCAD-MCP-For-YDGAWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/yaeshio/freecad-mcp-for-ydga/freecad-doc)<a href="https://agentmods.dev/commands/yaeshio/freecad-mcp-for-ydga/freecad-doc"><img src="https://agentmods.dev/badge/commands/yaeshio/freecad-mcp-for-ydga/freecad-doc/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/yaeshio/freecad-mcp-for-ydga/freecad-doc"><img src="https://agentmods.dev/badge/commands/yaeshio/freecad-mcp-for-ydga/freecad-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00594 |
| Opus 5.5 | $0.00000 | $0.00238 |
| Sonnet 5.5 | $0.00000 | $0.00119 |
| Haiku 4.5 | $0.00000 | $0.00059 |
Grade A, and why
freecad-doc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Generate a design document from Python script changes in a FreeCAD project.
Usage: /freecad-doc [project_name]
Steps
-
Determine the project name
- If an argument was provided (e.g.,
/freecad-doc my_project), use that as the project name. - If no argument, list the directories under
projects/and ask the user which project to document, or document all projects.
- If an argument was provided (e.g.,
-
Get the Python script diff
- Run:
git diff HEAD~1 -- projects/{project_name}/scripts/ - If the output is empty (no committed changes), run:
git diff -- projects/{project_name}/scripts/ - If still empty, run:
git diff HEAD -- projects/{project_name}/scripts/and check if there are any scripts at all withGet-ChildItem projects/{project_name}/scripts/ - If there are scripts but no diff (first commit or untracked), read the script files directly instead.
- Run:
-
Analyze the diff and generate the design document
Based on the diff (or the full script content if no diff), generate a Markdown design document that includes:
Document structure:
# {Project Name} 設計ドキュメント **作成日:** {YYYY-MM-DD} **ベースコミット:** {git short hash if available} ## 変更概要 何が追加・変更・削除されたかを1〜3文で説明 ## FreeCADオブジェクト一覧 作成・変更されたオブジェクトをリスト形式で記載 各オブジェクトに: 名前、種類、寸法/プロパティ、位置 ## 設計の意図 このスクリプトが何を作ろうとしているか、用途や目的 ## パラメータ・定数 スクリプト内の重要な数値やパラメータ(変数名と値) ## 依存関係・前提条件 他のオブジェクトへの参照、必要なFreeCAD機能など ## 今後の変更候補 改善可能な点や次のステップ -
Save the document
- Determine today's date in YYYYMMDD format.
- Save the document to:
projects/{project_name}/docs/{YYYYMMDD}_design.md - Create the
docs/directory if it doesn't exist. - If a document for the same date already exists, append a suffix like
_2,_3, etc.
-
Confirm to the user
- Report the path of the saved document.
- Show a brief summary of what was documented.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 57 lines · 0 tokens per session scan A 3ca511b8aeee
freecad-doc is a command published in the GitHub repository Yaeshio/FreeCAD-MCP-For-YDGA (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 594 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
freecad-doc compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| freecad-docYaeshio/FreeCAD-MCP-For-YDGA | Command | 0 | 5mo ago | MIT | A | 0 | Claude Code |
| cti-report7onez/cti-expert | Command | 626 | 5d ago | none | A | 45 | Claude Code |
| brand-generateferdinandobons/brand-docs | Command | 302 | 4mo ago | MIT | A | 0 | Claude Code |
| render-figuresbraininahat/brains-in-a-hat | Command | 4 | 29d ago | MIT | A | 17 | Claude Code |
| ppt-image2-editable-rebuildwwe-dog/ppt-image2-editable-rebuild | Command | 205 | 5mo ago | Unlicense | A | 15 | Claude Code |
| publish-api-docsnavraj007in/architecture-cowork-plugin | Command | 3 | 4mo ago | Apache-2.0 | A | 17 | Claude Code |
| write-patentjiutuhky/my-super-capsule | Command | 11 | 8mo ago | MIT | A | 48 | Claude Code |