Agent skill

Init

by partcad in partcad/partcad

Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init).

Apache-2.0Auto-check passedGame Development

Install Init

skills CLI
$ npx skills add partcad/partcad --skill init -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install partcad/partcad init --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-agents/common/skills/init .claude/skills/init && rm -rf skills-src

Use ~/.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/

Facts

Skill name
init
GitHub stars
503
Token cost
~492 tokens
SKILL.md length
190 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init).

  • Works in 3 steps: Locate the PartCAD command → If nothing is installed → Run init
  • The user runs /pc:init
  • SKILL.md covers 1. Locate the PartCAD command, 2. If nothing is installed and 3. Run init
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Init is an agent skill from partcad/partcad. Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init). Use when the user runs /pc:init or asks to initialize or create a PartCAD package or project.

Its SKILL.md is about 490 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 Game Development. It works with Python. The repository describes itself as: Package manager for things. Start designing modular hardware! PartCAD is the standard for documenting manufacturable physical products (a.k.a. Digital Thread or TDP). It comes… The licence is Apache-2.0.

When your agent uses it

  • The user runs /pc:init
  • Asks to initialize
  • Create a PartCAD package

Example prompts

  • “/init”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Locate the PartCAD command
  2. If nothing is installed
  3. Run init

What it can do on your machine

Read from SKILL.md and the folder at commit 2b1223f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Init loads about 492 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 190 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~492

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from partcad/partcad at commit 2b1223f, republished under its Apache-2.0 licence (© partcad). 190 words, ~492 tokens.

Download SKILL.mdSave it as .claude/skills/init/SKILL.md (or your agent's skills folder).
name
init
description
Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (`pc init` / `partcad init`). Use when the user runs /pc:init or asks to initialize or create a PartCAD package or project.

pc:init

Initialize a PartCAD package in the current directory by delegating to the installed PartCAD command-line tool. Do not hand-write partcad.yaml yourself — run the real CLI so the result always matches the installed version.

1. Locate the PartCAD command

Find a usable invocation, most-preferred first, and remember it as PARTCAD. This covers a pc/partcad on PATH (a wheel install or the standalone bundle), and a partcad that is importable in the current Python environment but whose console scripts are not on PATH:

sh
if   command -v pc      >/dev/null 2>&1;         then PARTCAD="pc"
elif command -v partcad >/dev/null 2>&1;         then PARTCAD="partcad"
elif python  -c "import partcad_cli" >/dev/null 2>&1; then PARTCAD="python -m partcad_cli.click.command"
elif python3 -c "import partcad_cli" >/dev/null 2>&1; then PARTCAD="python3 -m partcad_cli.click.command"
else PARTCAD=""; fi
echo "PARTCAD=${PARTCAD:-<none>}"

2. If nothing is installed

If PARTCAD is empty, PartCAD is not available. Stop and tell the user to install it first — do not fabricate a partcad.yaml:

PartCAD is not installed. Run /pc:setup executable for the standalone build, or /pc:setup python-module to install it into the current Python environment, then re-run /pc:init.

3. Run init

Otherwise run PartCAD's own init, forwarding anything the user typed after the command (available as $ARGUMENTS):

sh
$PARTCAD init $ARGUMENTS

If the user asked for options you are unsure about, run $PARTCAD init --help first. Report what the command created (typically partcad.yaml), and if it prints an error, surface that error verbatim rather than working around it.

© partcad, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in ai-agents/common/skills/init of partcad/partcad.

Open the folder on GitHubat commit 2b1223f

Compare with similar skills

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

Init compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Init this skillpartcad/partcad503—~492Automated safety check: PassApache-2.0
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
2D Map and Scene Generator0x0funky/agent-sprite-forge4.3k—~2.9kAutomated safety check: PassMIT
Bambu Studio AIheyixuan2/bambu-studio-ai217—~4.3kAutomated safety check: PassMIT
Spine AnimationGenielabsOpenSource/spine-animation-ai512—~17kAutomated safety check: PassCC-BY-NC-4.0
Unreal BridgeTornLux/UnrealBridge305—~8.4kAutomated safety check: NotesMIT

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • 2D Map and Scene Generator

    0x0funky/agent-sprite-forge

    Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.

    4.3k GitHub stars~2.9k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Bambu Studio AI

    heyixuan2/bambu-studio-ai

    End-to-end 3D printing for Bambu Lab printers. An agent skill from heyixuan2/bambu-studio-ai.

    217 GitHub stars~4.3k tokensUpdated 18 days ago
    Game DevelopmentAuto-check passed
  • Spine Animation

    GenielabsOpenSource/spine-animation-ai

    Create Spine 2D skeletal animations from pre-existing character assets (separated body-part PNGs, atlas spritesheet, or a full character image).

    512 GitHub stars~17k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Unreal Bridge

    TornLux/UnrealBridge

    Execute Python scripts inside a running Unreal Engine 5.3+ editor via TCP bridge.

    305 GitHub stars~8.4k tokensUpdated 6 days ago
    Game DevelopmentAuto-check: notes
  • 2D Sprite Generator

    0x0funky/agent-sprite-forge

    Produces game-ready 2D characters, creatures, props, icons and effects as master stills, sheets or clips, and exports frames for common game engines.

    4.3k GitHub stars~3.6k tokensUpdated yesterday
    Game DevelopmentAuto-check passed

More from partcad/partcad

All 12 skills in this repo
  • Add Interfaces

    partcad/partcad

    Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically.

    503 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Convert

    partcad/partcad

    Convert a CAD file or a PartCAD object to another geometry format - STEP, BREP, STL, 3MF, OBJ, IGES, glTF, three.js, SVG, DXF, URDF, ASSY - with pc convert for an object a package declares (which…

    503 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Describe

    partcad/partcad

    Write a narratable, accessibility-oriented text description of an existing PartCAD part, assembly, or sketch from its measured bounding box and volume, from renders taken at several viewing angles…

    503 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Export

    partcad/partcad

    Write a CAD file out of an object a PartCAD package declares - STEP, BREP, STL, 3MF, OBJ, IGES, glTF, three.js, URDF for 3D, SVG or DXF for a sketch, or a file type the package implements itself -…

    503 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Gen Part

    partcad/partcad

    Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI.

    503 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Gen Sketch

    partcad/partcad

    Generate a PartCAD 2D sketch from a natural-language description by authoring the sketch (build123d / cadquery / dxf / svg / basic) and validating it with the PartCAD CLI.

    503 GitHub stars~672 tokensUpdated today
    Auto-check passed

Works with

Questions about Init

What does Init do?

Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init). Init is an agent skill from partcad/partcad. Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init).

When should I use Init?

Init fits situations like: the user runs /pc:init; asks to initialize; create a PartCAD package.

How do I install Init in Claude Code?

Run `npx skills add partcad/partcad --skill init -a claude-code`. Or copy the skill folder (ai-agents/common/skills/init in partcad/partcad) into .claude/skills/init in your project. Claude Code loads it when a task matches its description.

How do I install Init in Codex?

Run `npx skills add partcad/partcad --skill init -a codex`. Or copy the skill folder (ai-agents/common/skills/init in partcad/partcad) into .agents/skills/init in your project. Codex loads it when a task matches its description.

Can I use Init in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add partcad/partcad --skill init -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/init, .gemini/skills/init, .github/skills/init and .opencode/skills/init in your project.

What does Init need to run?

SKILL.md names no scripts, command-line tools or credentials: Init is instructions for the agent only. Our summary lists: Python 3.

Does Init access the network?

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.

Is Init safe to install?

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.

What licence does Init use?

Init is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Init use?

About 492 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Init?

Skills that share tags, products or a category with Init: Image to Three.js Model (img2threejs/img2threejs, 18k stars), 2D Map and Scene Generator (0x0funky/agent-sprite-forge, 4.3k stars), Bambu Studio AI (heyixuan2/bambu-studio-ai, 217 stars) and Spine Animation (GenielabsOpenSource/spine-animation-ai, 512 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Init?

partcad (a GitHub organization) maintains it in partcad/partcad, which has 503 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: partcad/partcad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.