Compatibility with Claude Code
Craft Agent uses the exact same SKILL.md format as the Claude Code SDK. This means any skill written for Claude Code works in Craft Agent without modification.Skills are fully portable between Claude Code and Craft Agent - same frontmatter fields, same content structure, same behavior.
What’s Identical
File Format
SKILL.md with YAML frontmatter + Markdown content
Frontmatter Fields
name, description, globs, alwaysAllow, requiredSourcesContent Structure
Markdown instructions that guide Claude’s behavior
Tool Permissions
Same
alwaysAllow behavior for pre-approving toolsWhat Craft Agent Adds
Importing from Claude Code
Method 1: Copy Skill Directory
The simplest approach is to copy the entire skill folder:Method 2: Copy SKILL.md Only
If you only need the skill definition:Migration Checklist
When importing skills from Claude Code, verify these elements:Frontmatter Validation
Frontmatter Validation
Ensure all required fields are present:
File Structure
File Structure
Verify the directory structure:
Icon Addition
Icon Addition
Claude Code skills may not have icons. Add one for better UX:
- Find a relevant icon from Heroicons or Feather Icons
- Save as
icon.svg,icon.png,icon.jpg, oricon.jpeg - Place in the skill directory
Source Compatibility
Source Compatibility
If using
requiredSources, ensure those sources exist in your workspace:- Check source is configured in Craft Agent
- Verify authentication is complete
- Unauthenticated sources are silently skipped
Skill Precedence System
Craft Agent extends Claude Code’s skill system with a three-tier hierarchy:Global Skills (Lowest Priority)
Located in
~/.agents/skills/ - shared across all workspacesUse for: Universal skills that apply everywhereWorkspace Skills (Medium Priority)
Located in
~/.craft-agent/workspaces/{id}/skills/ - scoped to workspaceUse for: Team or project-specific customizationsExample: Importing a Commit Skill
Let’s walk through importing a commit message skill from Claude Code:Overriding SDK Skills
Both Claude Code and Craft Agent have built-in SDK skills. You can override them in both systems:In Claude Code
Create a skill with the same slug:In Craft Agent
Same approach, but with workspace or project scope:Craft Agent checks project skills first, then workspace skills, then global skills, then falls back to SDK skills.
Bulk Import
To import all your Claude Code skills at once:Adding Icons to Imported Skills
Imported skills may not have icons. Here’s how to add them efficiently:Find appropriate icons
Visit icon libraries:
- Heroicons for UI icons
- Simple Icons for brand icons
- Feather Icons for minimal designs
Exporting from Craft Agent
You can also export Craft Agent skills to use in Claude Code:Troubleshooting Imports
Skill not appearing after import
Skill not appearing after import
- Check the skill directory exists in the correct location
- Verify SKILL.md is present and readable
- Run
skill_validateto check for errors - Restart Craft Agent to reload skills
Frontmatter parsing errors
Frontmatter parsing errors
- Ensure YAML syntax is correct (proper indentation, quotes)
- Check for required fields:
nameanddescription - Validate array formats:
globs: ["*.ts"]notglobs: *.ts
Icon not showing
Icon not showing
- Confirm icon filename is exactly
icon.svg,icon.png,icon.jpg, oricon.jpeg - Check file is not corrupted (open in image viewer)
- For SVG, validate XML structure
Required sources not working
Required sources not working
- Verify sources exist in workspace configuration
- Check sources are authenticated
- Ensure source slugs match exactly (case-sensitive)
Skill behavior differs from Claude Code
Skill behavior differs from Claude Code
- The SKILL.md format is identical, but MCP tool availability may differ
- Check that required tools are available in Craft Agent
- Verify
alwaysAllowpermissions match your needs
Best Practices
Import to workspace level for team-specific skills
Use project level for repository-specific conventions
Add icons to all imported skills for better UX
Validate after every import with
skill_validateTest imported skills before sharing with team
Document any Craft Agent-specific customizations
Keep a backup of original Claude Code skills
Next Steps
Skills Overview
Learn more about how skills work
Creating Skills
Build custom skills from scratch