skillsmap
v1.0.0
Published
Universal CLI tool for managing AI agent skills across Cursor, Claude, Windsurf and 40+ AI agents
Maintainers
Readme
SkillsMap
Universal CLI tool for managing AI agent skills across Cursor, Claude, Windsurf and 40+ AI agents.
Features
- 🚀 Universal Agent Support: Automatically detects and supports Cursor, Claude, and Windsurf
- 🔗 Symlink-based Distribution: Skills stored once in
.agents/skills/, linked to all agents - 📦 Multiple Source Types: Install from GitHub (user/repo), URLs, or local paths
- 🔍 Smart Discovery: Automatically finds SKILL.md files in repositories
- ✅ Metadata Validation: Ensures skills have required
nameanddescriptionfields
Installation
npm install -g skillsmapUsage
Add a skill from GitHub
# Short format
skillsmap add user/repo
# With path
skillsmap add user/repo/path/to/skill
# Full URL
skillsmap add https://github.com/user/repoAdd a skill from local path
skillsmap add ./path/to/skill
skillsmap add /absolute/path/to/skillList installed skills
skillsmap listShow environment info
skillsmap infoHow It Works
1. Universal Skills Directory
All skills are stored in .agents/skills/ (the "Universal Path"). This ensures:
- Skills are stored only once
- Easy management and updates
- Consistent structure across projects
2. Agent Detection
SkillsMap automatically detects which AI agents are present by checking for:
.cursor/- Cursor IDE.claude/- Claude Desktop.windsurf/- Windsurf
3. Symlink Distribution
When you add a skill, SkillsMap:
- Downloads/copies the skill to
.agents/skills/[skill-name]/ - Creates symlinks in each detected agent's skills directory
- Example:
.cursor/skills/my-skill→.agents/skills/my-skill
Windows Note: On Windows, you need either:
- Run as Administrator, or
- Enable Developer Mode in Windows Settings
4. Skill Discovery Algorithm
SkillsMap searches for skills in this order:
- Root
SKILL.md skills/folder- Recursive search in subdirectories (max depth: 2)
A valid skill must have a SKILL.md file with frontmatter:
---
name: My Skill
description: A helpful skill for doing X
version: 1.0.0
tags: [ai, automation]
---
# Skill content here...Architecture
Built with modern tools:
- Commander: CLI framework
- Ink: React for CLI (interactive UI)
- simple-git: Git operations
- gray-matter: YAML frontmatter parsing
- tsup: Fast TypeScript bundler
- chalk: Terminal colors
- ora: Elegant spinners
Project Structure
skillsmap/
├── src/
│ ├── commands/
│ │ ├── add.ts # Add skill command
│ │ └── list.ts # List skills command
│ ├── utils/
│ │ ├── agents.ts # Agent detection
│ │ ├── parser.ts # SKILL.md parsing
│ │ ├── source.ts # Source parsing
│ │ └── symlink.ts # Symlink management
│ ├── types.ts # TypeScript types
│ └── index.ts # CLI entry point
├── package.json
├── tsconfig.json
└── tsup.config.tsDevelopment
# Install dependencies
npm install
# Development mode (watch)
npm run dev
# Build
npm run build
# Type check
npm run typecheck
# Test locally
npm start -- add user/repoExamples
Install a skill from GitHub
skillsmap add anthropics/claude-skillsInstall from a specific path in a repo
skillsmap add vercel/next.js/.claude-plugin/plugins/cache-componentsCheck what's installed
skillsmap listOutput:
📦 Installed Skills (3):
✓ Cache Components
Expert guidance for Next.js Cache Components
Version: 1.0.0
Tags: nextjs, performance
Path: /Users/you/project/.agents/skills/cache-components
✓ TypeScript Helper
Advanced TypeScript utilities
Path: /Users/you/project/.agents/skills/typescript-helperLicense
MIT
