A Claude skill that helps you write Altium Designer DelphiScript automation scripts by learning from working example scripts.
When you ask Claude to create an Altium script, this skill:
- Searches through categorized script examples (PCB, Schematic, Process, etc.)
- Finds relevant examples that match your request
- Examines the actual working code
- Writes a new script by adapting patterns from the examples
The skill uses progressive disclosure - it starts with quick summaries, then detailed descriptions, and finally examines actual code only when needed.
Due to Claude's current skill file limit of 200 files, this skill includes script examples from the three most commonly used categories:
- PCB - PCB design automation (60+ scripts)
- SCH - Schematic manipulation (30+ scripts)
- Processes - Process automation (15+ scripts)
If you need examples from other categories (General, DXP, FPGA, WSM), you can customize the skill yourself by following the instructions below.
Go to the Releases page and download altium-delphi-scripts.skill
- Open Claude.ai
- Click the Settings icon (bottom left)
- Go to Connectors tab
- Click Add Skill
- Upload the
altium-delphi-scripts.skillfile - Enable the skill
Ask Claude to create Altium scripts:
- "Create a script to count all vias on the PCB"
- "Write an Altium script to export component positions to CSV"
- "Make a script to find all tracks wider than 20 mils"
Claude will automatically reference the example scripts and generate working code.
This repository contains the skill structure and documentation, but excludes the actual Altium script files to keep the repo lightweight.
Claude skills currently have a 200 file limit. The released skill includes PCB, SCH, and Processes scripts as these cover the most common use cases. If you want to modify this skill with a different selection of scripts or add categories like General, DXP, FPGA, or WSM:
-
Clone or download this repository
-
Add your Altium script files to the appropriate directories:
references/scripts/ ├── PCB/ ← Add your PCB scripts here (.pas, .dfm, .PrjScr files) ├── SCH/ ← Add your Schematic scripts here ├── General/ ← Add your General scripts here ├── DXP/ ← Add your DXP scripts here ├── FPGA/ ← Add your FPGA scripts here ├── Processes/ ← Add your Process scripts here └── WSM/ ← Add your WSM scripts here -
Update the summaries (optional but recommended):
- Edit
references/overview.mdto add one-sentence descriptions - Edit
references/summaries.mdto add detailed descriptions - Currently only PCB section is complete
- Edit
-
Stay within the 200 file limit:
- Count your total files including .pas, .dfm, .PrjScr, and subdirectories
- Prioritize the script categories most relevant to your work
- Consider splitting into multiple skills if needed
-
Zip the entire directory
- Right-click the
altium-delphi-scriptsfolder - Select "Send to → Compressed (zipped) folder"
- Right-click the
-
Rename the extension
- Change
altium-delphi-scripts.ziptoaltium-delphi-scripts.skill
- Change
-
Upload to Claude
- Follow the installation steps above
That's it! Your customized skill is ready to use.
altium-delphi-scripts/
├── SKILL.md # Main skill instructions for Claude
├── references/
│ ├── overview.md # Quick one-sentence summaries
│ ├── summaries.md # Detailed script descriptions
│ └── scripts/ # Actual Altium script files
│ ├── PCB/ # PCB automation scripts
│ ├── SCH/ # Schematic scripts
│ ├── General/ # General utilities
│ ├── DXP/ # DXP integration
│ ├── FPGA/ # FPGA scripts
│ ├── Processes/ # Process automation
│ └── WSM/ # Workspace manager
Feel free to:
- Add more script examples
- Improve documentation in overview.md and summaries.md
- Share your customized versions
This skill structure is provided as-is for use with Claude. Add your own Altium scripts according to their respective licenses.