Co-Pilot
Updated 24 days ago

open-claudeskill

QQianjieTech
0.0k
qianjietech/open-claudeskill
80
Agent Score

๐Ÿ’ก Summary

This skill enables any MCP-compatible agent to utilize Claude Agent Skills with progressive disclosure.

๐ŸŽฏ Target Audience

AI developers looking for versatile toolsMCP-compatible agent usersProduct managers in AIData scientists needing efficient skill integrationTech enthusiasts exploring AI capabilities

๐Ÿค– AI Roast: โ€œPowerful, but the setup might scare off the impatient.โ€

Security AnalysisMedium Risk

Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage; filesystem read/write scope and path traversal; dependency pinning and supply-chain risk. Run with least privilege and audit before enabling in production.

AgentSkill MCP

Bring Claude Agent Skills to ANY MCP-compatible Agent

A universal MCP server that enables any Agent application with MCP support to use Anthropic's official Claude Agent Skills with progressive disclosure - reducing context overhead while maximizing capability.

Package Name: agentskill-mcp | PyPI: agentskill-mcp

English | ็ฎ€ไฝ“ไธญๆ–‡

Why AgentSkill MCP?

Claude Agent Skills are brilliantly designed but locked to Claude's ecosystem. This project breaks that limitation by:

  • โœ… Universal Compatibility: Works with ANY MCP-compatible agent (Kilo Code, Cursor, Roo Code, Codex, and more)
  • โœ… 100% Claude Skill Compatible: Uses official Anthropic Skill format - no modifications needed
  • โœ… Progressive Disclosure: Implements the same smart context loading as Claude Code
  • โœ… Zero Lock-in: Standard MCP protocol means you're never tied to one platform

The Problem Skills Solve

Traditional MCP tools load ALL documentation upfront, consuming massive amounts of tokens before you even start. With 15+ tools, your agent is context-starved before doing any real work.

Skills fix this through progressive disclosure: agents see a lightweight skill list initially, then load full details only when needed. This project brings that same efficiency to every MCP-compatible agent.

Features

  • ๐Ÿš€ One-Line Installation: pip install agentskill-mcp or uvx agentskill-mcp
  • ๐Ÿ”Œ Universal MCP Compatibility (gradual testing): Works with Kilo Code, Cursor, Roo Code, Codex, Cherry Studio, and any MCP-compatible agent
  • ๐Ÿ“ฆ Official Skill Format: Fully compatible with Anthropic's Claude Skills
  • ๐ŸŽฏ Progressive Disclosure: Smart context loading - minimal overhead until skills are needed
  • ๐Ÿ”„ Hot Reload (not yet implemented): File changes detected and updated in real-time (where protocol supported)
  • ๐Ÿ—‚๏ธ Smart Path Discovery: Auto-detects .claude/skills/, .skill/, or custom directories
  • ๐ŸŒ Environment Aware: Project-level and global skill directories with automatic detection
  • ๐ŸŽจ ClaudeCode Compatible: Supports both .claude/skills/ (ClaudeCode format) and .skill/ (custom format for this project)

Project Status

โš ๏ธ Early Development - This project is in early stages. Currently tested on Windows only.

Tested Platforms:

  • โœ… Kilo Code (AI coding assistant) - Windows
  • โœ… Roo Code (AI coding assistant) - Windows
  • โœ… Cline (AI coding assistant) - Windows

Next Steps:

  • ๐Ÿ”„ Testing on more MCP-compatible agents (Codex, Cursor, QwenCode, etc.)
  • ๐Ÿ”„ Cross-platform testing (macOS, Linux)
  • ๐Ÿ”„ Broader compatibility verification
  • ๐Ÿ”„ Hot reload feasibility testing (based on MCP's List Changed Notification) see: https://modelcontextprotocol.io/specification/2025-06-18/server/tools#list-changed-notification

In theory: Any agent implementing the Model Context Protocol should work, but we're actively testing to confirm.

Quick Start

Configuration

โš ๏ธ Current Recommended Usage: Specify skills directory via --skills-dir parameter

Add to your MCP client configuration file. Find the configuration location in your agent's documentation:

  • Kilo Code: .kilocode/mcp.json in your workspace
  • Roo Code: Check agent documentation
  • Cursor: .cursor/mcp.json in your workspace
  • Other agents: Refer to agent-specific MCP configuration guide

Recommended Configuration (Windows):

{ "mcpServers": { "skills": { "command": "uvx", "args": [ "agentskill-mcp", "--skills-dir", "C:\\Users\\YourName\\path\\to\\skills" ] } } }

For macOS/Linux:

{ "mcpServers": { "skills": { "command": "uvx", "args": [ "agentskill-mcp", "--skills-dir", "/Users/YourName/path/to/skills" ] } } }

Using pip-installed version:

Replace "command": "uvx" with "command": "agentskill-mcp" and remove it from args:

{ "mcpServers": { "skills": { "command": "agentskill-mcp", "args": [ "--skills-dir", "C:\\Users\\YourName\\path\\to\\skills" ] } } }

๐Ÿ’ก Tips:

  • Use absolute paths in --skills-dir to avoid ambiguity
  • After configuration changes, restart your agent application or reload MCP servers
  • Test with examples/ directory first before creating custom skills

Loading Skills

Create a skills directory and add skill packages:

Format 1: ClaudeCode Format (Recommended for ClaudeCode users)

# Create in current project (recommended) Create .claude/skills/ in project root directory # Or create globally mkdir -p ~/.claude/skills # Linux/Mac mkdir C:\Users\YourName\.claude\skills # Windows

Format 2: Custom Format for This Project (Compatible with other agents)

# Create in current project Create .skill/ in project root directory # Or create globally mkdir ~/.skill # Linux/Mac mkdir C:\Users\YourName\.skill # Windows

Then place your Skill packages in the skills directory. The ./examples directory contains several official Anthropic Skill packages, which are sufficient for testing.

# Example of migrating skills (ClaudeCode format) Copy examples/canvas-design -> .claude/skills/ Copy examples/brand-guidelines -> .claude/skills/ # Or (Custom format for this project) Copy examples/canvas-design -> .skill/ Copy examples/brand-guidelines -> .skill/

The final structure should look like:

  • ClaudeCode format: .claude/skills/canvas-design/
  • Custom format for this project: .skill/canvas-design/

Try It Out

Restart your Agent application and test with:

Create a 1920x1080 promotional poster using Anthropic brand style.
Theme: "AI belongs to the future? AI is just a means, not an end"

What happens:

  1. Agent sees available skills in the load_skill tool description
  2. Agent identifies relevant skills (canvas-design, brand-guidelines)
  3. Agent calls load_skill to get full skill details
  4. Agent follows skill instructions to create the poster

Note: The agent may call only one skill depending on how it interprets the task. This is normal - AI agents have some inherent randomness in tool selection.

Skill Format

Skills follow the official Claude Skill format:

Frontmatter (YAML)

--- name: skill-name # Required: matches folder name description: | # Required: detailed description for agent matching What this skill does and when to use it. Include keywords that agents should match on. license: MIT # Optional: license information ---

Skill Content

After the frontmatter, provide detailed Markdown instructions:

  • Clear, actionable guidance
  • Examples and best practices
  • References to auxiliary resources

Auxiliary Resources

Skills can include resources like templates, fonts, scripts:

# ClaudeCode format
.claude/skills/
โ”œโ”€โ”€ algorithmic-art/
โ”‚   โ”œโ”€โ”€ SKILL.md
โ”‚   โ””โ”€โ”€ templates/
โ”‚       โ”œโ”€โ”€ viewer.html
โ”‚       โ””โ”€โ”€ generator.js

# Or legacy format
.skill/
โ”œโ”€โ”€ algorithmic-art/
โ”‚   โ”œโ”€โ”€ SKILL.md
โ”‚   โ””โ”€โ”€ templates/
โ”‚       โ”œโ”€โ”€ viewer.html
โ”‚       โ””โ”€โ”€ generator.js

Reference resources in your skill:

Read `templates/viewer.html` using the Read tool

How It Works

Progressive Disclosure Implementation

The Challenge: How to implement progressive disclosure within the MCP framework?

Official Claude Implementation (inferred from behavior):

  • Built-in Skill system integrated in agent's system prompt
  • Initial display shows only <available_skills> list
  • Special load_skill command triggers full content loading

Our MCP Implementation:

  1. Single MCP Tool: load_skill

    • Embeds all available skill metadata in the tool's description
    • Agents see the skill list without loading full content
  2. Tool Description Structure:

Tool( name="load_skill", description="""Execute a skill within the main conversation <skills_instructions> When users ask you to perform tasks, check if any of the available skills below can help... </skills_instructions> <available_skills> <skill> <name>code-reviewer</name> <description>Comprehensive code review framework...</description> </skill> <skill> <name>calculator</name> <description>Mathematical calculations...</description> </skill> </available_skills> """, inputSchema={ "type": "object", "properties": { "skill": {"type": "string"} } } )
  1. On-Demand Loading:
    • Agent matches task with skills from <available_skills>
    • Calls load_skill(skill="code-reviewer")
    • Server reads .skill/code-reviewer/SKILL.md
    • Returns full skill content

Current Implementation Note

Version 0.1.3 focuses on the most reliable usage pattern:

  • โœ… Recommended: Specify skills directory via --skills-dir parameter
  • โš ๏ธ Experimental: Dynamic set_skills_directory tool (currently disabled in production)

This approach ensures maximum compatibility across different agent implementations while we continue testing and refining more advanced features.

Path Discovery

The server automatically finds skills using this priority:

  1. Command-line argument: --skills-dir /path/to/skills โญ Recommended
  2. Environment variable: MCP_SKILLS_DIR=/path/to/skills
  3. Project-level: .claude/skills/ or .skill/ in project root (detects .git, .claude/, package.json, etc.)
  4. Global fallback: ~/.skill

Note: The project-level discovery prioritizes .claude/skills/ (ClaudeCode format) over .skill/ (custom format for this project) when both exist.

Current Recommendation: Always use --skills-dir parameter for best compatibility.

5-Dim Analysis
Clarity8/10
Novelty8/10
Utility9/10
Completeness8/10
Maintainability7/10
Pros & Cons

Pros

  • Universal compatibility with MCP agents
  • Progressive disclosure reduces context overhead
  • No modifications needed for Claude Skills
  • Supports both ClaudeCode and custom formats

Cons

  • Currently in early development
  • Limited testing on platforms
  • Hot reload feature not yet implemented
  • Configuration can be complex for new users

Related Skills

pytorch

S
toolCode Lib
92/ 100

โ€œIt's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.โ€

agno

S
toolCode Lib
90/ 100

โ€œIt promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.โ€

nuxt-skills

S
toolCo-Pilot
90/ 100

โ€œIt's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.โ€

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author QianjieTech.