clo3d-mcp: Skill for Claude Code

.claude/skills/clo-patterns/SKILL.md

clo-patterns is a skill for Claude Code from Lilbonner/clo3d-mcp. It costs 76 tokens per session (2,062 once invoked), scanned A, original, MIT.

A workflow for creating and simulating clothing in CLO 3D, a garment-design program, from digital pattern pieces. It covers importing DXF pattern files, arranging pieces on an avatar, sewing them, simulating the fabric, and rendering the result.

In plain words
What is it for?
Use it to import garment patterns, arrange and sew pieces, dress an avatar, simulate cloth, and render clothing in CLO 3D.
Why use it?
It provides an ordered process for turning flat pattern pieces into a fitted virtual garment. It also requires saving a checkpoint before sewing because an incorrect seam cannot be removed through the available connection.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Lilbonner/clo3d-mcp's own configuration. It tells Claude Code how to work on clo3d-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clo3d-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Lilbonner/clo3d-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Lilbonner/clo3d-mcp/main/.claude/skills/clo-patterns/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Lilbonner/clo3d-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for clo-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/lilbonner/clo3d-mcp/clo-patterns/github.svg)](https://agentmods.dev/skills/lilbonner/clo3d-mcp/clo-patterns)
Your own site
<a href="https://agentmods.dev/skills/lilbonner/clo3d-mcp/clo-patterns"><img src="https://agentmods.dev/badge/skills/lilbonner/clo3d-mcp/clo-patterns/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.

agentmods 80×15 button for clo-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilbonner/clo3d-mcp/clo-patterns"><img src="https://agentmods.dev/badge/skills/lilbonner/clo3d-mcp/clo-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.02062
Opus 5.5 $0.00030 $0.00825
Sonnet 5.5 $0.00015 $0.00412
Haiku 4.5 $0.00008 $0.00206

Measured 2mo ago against content hash a7a0b1c96086, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clo-patterns 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.

.claude/skills/clo-patterns/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building garments from лекала in CLO via MCP

Prerequisites

  1. CLO must be running with the MCP listener up: clo_ping → "CLO listener is up." If not: CLO menu Settings → Plug-in → MCP Listener (start / stop) — the first click auto-starts the listener on 127.0.0.1:5005. Plugin debug log: C:\Users\Public\Documents\CLO\clo_mcp_plugin.log.
  2. Commands run on CLO's main thread. During simulate / import_project / render_image the CLO window stops responding — this is normal, NOT a crash. Warn the user not to close the window; Windows will offer to kill it (AppHangB1).

CRITICAL: checkpoint before sewing

There is no remove_seam and no undo over MCP — a wrong seam is permanent for the session. Before any sewing experiment, save a checkpoint:

export_zprj  →  e.g. C:\projects\mcps\clo3d\out\checkpoint-before-sew.zprj

If sewing goes wrong, import_project the checkpoint back.

Pipeline

1. Import (if starting from DXF)

import_project imports AAMA/ASTM DXF (e.g. exported from Grafis v11 with Collating on). It keeps the avatar and replaces existing garment patterns. Pieces land flat, un-arranged, un-sewn.

2. Inventory the pieces

  • pattern_count, then pattern_info(i) for each — returns only bbox, id, name (NO outline geometry).
  • Names from Russian DXFs arrive cp1251-mojibaked (ïåðåä = перед). Decode: s.encode('latin1').decode('cp1251'). Typical names: перед=front, спинка=back, рукав=sleeve, манжета=cuff, стойка=collar stand, воротник=collar, планка=placket, кокетка=yoke, бейка=binding.
  • Pieces lying flat on the 2D table have z≈const (e.g. 200) and depth≈0 in their bbox; arranged pieces have real 3D positions.

3. Probe outlines

Run python scripts/probe_outlines.py — dumps every outline line length for all patterns in seconds by talking to the listener directly (much faster than per-line MCP calls). Gotcha: out-of-range line_length returns 0, not an error — the real line count is the index of the first 0.

Read the full file on GitHub · 153 lines

Changes

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.

  1. 2mo ago First seen · 153 lines · 76 tokens per session scan A a7a0b1c96086

Subscribe to this mod's changes

clo-patterns is a skill published in the GitHub repository Lilbonner/clo3d-mcp (5 stars, last pushed 4mo ago), licensed MIT. It adds 76 tokens to every session and 2,062 once invoked, about $0.0003 per session on Opus 5.5. 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.

Related

clo-patterns compared with skills from other repositories

clo-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clo-patternsLilbonner/clo3d-mcpSkill54mo agoMITA76Claude Code
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code