Skip to main content
Glama

Agent Skill Loader 🧠

npm version MCP Registry License: MIT Node.js Version TypeScript MCP

Agent Skill Loader es un servidor del Protocolo de Contexto de Modelos (MCP) que actúa como puente entre tu biblioteca estática de habilidades de Claude Code y agentes de IA dinámicos (como Claude Desktop, Cursor o cualquier cliente MCP).

Expone las habilidades tanto como Prompts de MCP (comandos de barra diagonal, sin necesidad de llamadas a herramientas) como Herramientas de MCP (para uso programático). Las habilidades se descubren automáticamente desde los directorios configurados y se mantienen activas: añade un nuevo SKILL.md y el cliente recibirá una notificación automáticamente.

🚀 Características

  • Prompts de MCP: Las habilidades aparecen como comandos de barra diagonal en los clientes. No se requiere llamada a herramientas para inyectarlas.

  • Actualizaciones en vivo: La notificación listChanged se dispara cuando se añaden o eliminan habilidades (mediante un observador de archivos).

  • Descubrimiento: list_skills: escanea los directorios de habilidades configurados, con filtro de búsqueda opcional.

  • Aprendizaje dinámico: read_skill: obtiene el contenido de SKILL.md.

  • Persistencia: install_skill: copia una habilidad permanentemente a tu proyecto.

  • Configuración: manage_search_paths: añade/elimina directorios de habilidades en tiempo de ejecución.

  • Solución de problemas: debug_info: diagnostica problemas de configuración y rutas.

Related MCP server: llama-mcp-server

🛠️ Configuración

Requisitos previos

  • Node.js >= 18

Opción A: Instalar desde npm (Recomendado)

npm install -g agent-skill-loader

Luego regístralo en .mcp.json:

"agent-skill-loader": {
  "command": "agent-skill-loader"
}

Opción B: Construir desde el código fuente

git clone https://github.com/back1ply/agent-skill-loader.git
cd agent-skill-loader
npm install
npm run build

Luego regístralo en .mcp.json:

"agent-skill-loader": {
  "command": "node",
  "args": ["<path-to-repo>/build/index.js"]
}

📂 Configuración

El servidor detecta automáticamente su espacio de trabajo y agrega rutas de habilidades desde:

  1. Predeterminado: %USERPROFILE%\.claude\plugins\cache (Ubicación estándar)

  2. Configuración dinámica: skill-paths.json (Ubicado en la raíz del proyecto)

Variables de entorno

Variable

Descripción

MCP_SKILL_PATHS

Matriz JSON o lista separada por punto y coma/coma de rutas de habilidades adicionales

MCP_WORKSPACE_ROOT

Sobrescribe la raíz del espacio de trabajo detectada automáticamente

MCP_NO_WATCH

Establecer en 1 para deshabilitar el observador de archivos (útil en CI)

Gestión dinámica de rutas

No necesitas editar manualmente los archivos de configuración. Usa la herramienta para gestionar rutas en tiempo de ejecución:

  • Añadir: manage_search_paths(operation="add", path="F:\\My\\Deep\\Skills")

  • Eliminar: manage_search_paths(operation="remove", path="...")

  • Listar: manage_search_paths(operation="list") crea/actualiza skill-paths.json.

🤖 Uso

Prompts de MCP (Comandos de barra diagonal)

Si tu cliente admite Prompts de MCP (Claude Desktop, Cursor, etc.), las habilidades aparecen automáticamente como comandos de barra diagonal. Selecciona una habilidad del menú de comandos para inyectar su contenido directamente; no se necesitan llamadas a herramientas.

Herramientas

El agente tiene acceso a cinco herramientas:

  • list_skills(query?): Devuelve una lista JSON de las habilidades disponibles. El query opcional filtra por subcadena de nombre/descripción (sin distinguir entre mayúsculas y minúsculas).

  • read_skill(skill_name): Devuelve las instrucciones en markdown para una habilidad.

  • install_skill(skill_name, target_path?): Copia la carpeta de la habilidad a .agent/skills/<name>. Por seguridad, target_path debe estar dentro del espacio de trabajo actual.

  • manage_search_paths(operation, path?): Añade, elimina o lista las rutas de búsqueda de habilidades.

  • debug_info(): Devuelve información de diagnóstico (rutas, estado, advertencias).

Ejemplo de prompt de agente

"Necesito escribir una medida DAX pero no estoy seguro de las mejores prácticas."

El agente llamará automáticamente a list_skills, encontrará writing-dax-measures, llamará a read_skill y responderá con conocimiento experto. O el usuario puede invocar la habilidad directamente como un comando de barra diagonal.

🔧 Solución de problemas

Si las habilidades no se descubren, usa debug_info() para ver:

  • search_paths: Qué directorios se están escaneando

  • path_status: Si cada ruta existe y es legible

  • warnings: Cualquier error encontrado durante el escaneo (permiso denegado, archivos vacíos, etc.)

Salida de ejemplo:

{
  "workspace_root": "C:/projects/agent-skill-loader",
  "search_paths": {
    "base": ["C:/Users/pc/.claude/plugins/cache"],
    "dynamic": ["F:/My/Skills"],
    "effective": ["C:/Users/pc/.claude/plugins/cache", "F:/My/Skills"]
  },
  "path_status": [
    { "path": "C:/Users/pc/.claude/plugins/cache", "exists": true, "readable": true },
    { "path": "F:/My/Skills", "exists": false, "readable": false }
  ],
  "skills_found": 12,
  "warnings": [
    { "path": "F:/My/Skills", "reason": "Directory does not exist" }
  ]
}

📦 Estructura del proyecto

  • src/index.ts: Lógica principal del servidor (herramientas + prompts + observador).

  • src/utils.ts: Escaneo de habilidades, extracción de descripciones, ayudantes de prompts, debounce.

  • build/: Salida de JavaScript compilado.

  • package.json: Dependencias (@modelcontextprotocol/sdk, chokidar, zod).

🤝 Contribución

Para añadir nuevas habilidades, añade una carpeta con un archivo SKILL.md a uno de los directorios observados. El servidor los detecta automáticamente y envía una notificación listChanged: no se requiere reinicio.

Available Tools

5 tools
debug_infoA
Read-only

Returns diagnostic information about server configuration, search paths, and any warnings from the last scan. Use this when skills aren't being found or to verify configuration.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint=true, and the description adds details on the content of the diagnostic info, consistent with a read-only operation. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the tool's function and followed by usage context. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with no parameters and no output schema, the description adequately covers what the tool returns and when to use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has zero parameters, so schema coverage is 100%. Baseline of 4 is appropriate since no param explanation needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns diagnostic information about server configuration, search paths, and warnings, using a specific verb and resource. It distinguishes from sibling tools (which deal with skills) by being diagnostic.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use it when skills aren't found or to verify configuration. Provides clear context, though it doesn't mention when not to use or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

install_skillA
Destructive

Copies an entire skill directory (including SKILL.md and any supporting files) to the target workspace. By default, installs to .agent/skills/<skill_name> in the current working directory.

NameRequiredDescriptionDefault
skill_nameYesName of the skill to install
target_pathNoDestination path within current workspace. Defaults to .agent/skills/<skill_name>. Must be within the current working directory for security.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations set destructiveHint=true, and the description reinforces this with 'Copies... to target workspace' and adds details about path constraints (must be within current working directory). No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with key action, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Explains main action, default path, and security constraint. Lacks information about return values or overwrite behavior, but is sufficient for a copy/install tool with no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers both parameters with full descriptions. The description adds minimal extra value beyond the schema, only reiterating default behavior and workspace security.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action 'Copies an entire skill directory' and specifies the target workspace. It distinguishes from siblings like list_skills and read_skill by focusing on installation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains default behavior and security constraints, but does not explicitly state when not to use or suggest alternatives like list_skills or read_skill for non-destructive tasks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_skillsA
Read-only

Returns a JSON list of all available skills with their names, descriptions, and source directories. Use this to discover what skills are available before reading or installing them.

NameRequiredDescriptionDefault
queryNoOptional filter: return only skills whose name or description contains this substring (case-insensitive)

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=true; description reinforces readonly nature and adds detail about return fields (names, descriptions, source directories) without contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise, front-loaded sentences with zero wasted words; purpose and usage guidance are efficiently communicated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given simplicity of tool, no output schema, description adequately explains return content (names, descriptions, source directories) and optional filtering, making it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and description does not add meaning beyond the schema's parameter description; baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states tool returns a JSON list of all available skills with detailed fields, and distinguishes from sibling tools by mentioning its role before reading or installing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly advises usage for discovery before reading or installing skills, providing clear context of when to use; could be improved by also stating when not to use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

manage_search_pathsA
DestructiveIdempotent

Add, remove, or list dynamic skill search paths without restarting the server. Persists to skill-paths.json in the workspace root.

NameRequiredDescriptionDefault
pathNoAbsolute path to add or remove (not required for 'list')
operationYesOperation to perform

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the safety profile (destructiveHint=true, readOnlyHint=false, idempotentHint=true), so the description's burden is lighter. It still adds meaningful behavior beyond the annotations by disclosing the persistence file (skill-paths.json in the workspace root) and the no-restart property, which tells the agent changes are durable and immediately effective.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with zero filler; the operation set and the persistence side effect are both stated up front with nothing redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a small two-parameter, no-output-schema tool with annotations covering safety, the definition is nearly complete: it covers operations, persistence location, and the restart-free behavior. Minor gaps remain around error cases (invalid path, duplicates) and whether removal affects already-loaded skills.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented in the schema, including the note that path is unneeded for 'list'. The description adds no further syntax, format, or validation detail (e.g., whether the path must already exist), so it sits at the baseline for schema-covered parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names specific verbs (add, remove, list) and a precise resource (dynamic skill search paths), so the agent knows exactly what class of operation this is. It implicitly separates itself from the skill-content siblings (install_skill, read_skill) by scoping to search-path configuration, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to reach for this tool versus install_skill or list_skills, nor any exclusion criteria or prerequisites. The operation enum implies the three modes but the description never states a use case that would select this tool over alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_skillA
Read-only

Fetches and returns the full SKILL.md content for a specific skill. The content includes instructions and context that can be used to learn the skill's capabilities.

NameRequiredDescriptionDefault
skill_nameYesThe name of the skill to read (e.g., 'writing-dax-measures')

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, so the description adds context about the content structure ('instructions and context'), but does not disclose other behavioral traits like error handling or limitations. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, front-loaded with the primary purpose, and contains no extraneous information. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (single parameter, read-only), the description adequately explains the return value ('full SKILL.md content' with instructions and context). However, it omits details about potential errors or output format, but for a read tool this is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers 100% of parameters and provides a clear description for 'skill_name.' The description does not add additional meaning beyond the schema, so baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states 'Fetches and returns the full SKILL.md content for a specific skill,' which clearly defines the action (fetch) and resource (SKILL.md content). It is distinct from siblings like list_skills (lists skill names) and install_skill (installs).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While the description implies usage when needing full content of a skill, it does not explicitly state when to use it versus alternatives (e.g., when not to use, prerequisites). Guidance is inferred but not directly provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • Changedlist_skills2 fields changed
      • addedInput schema / additionalProperties
        Added value: +false
      • addedInput schema / properties / query
        Added value: +{
        +  "description": "Optional filter: return only skills whose name or description contains this substring (case-insensitive)",
        +  "type": "string"
        +}
  2. 5 tool updates
    • First observeddebug_info
    • First observedinstall_skill
    • First observedlist_skills
    • First observedmanage_search_paths
    • First observedread_skill

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: manage_search_paths handles configuration, debug_info provides diagnostics, install_skill copies directories, list_skills enumerates available skills, and read_skill retrieves content. There is no meaningful overlap between them.

Naming Consistency5/5

All tool names use snake_case with a consistent verb_noun structure (manage_search_paths, debug_info, install_skill, list_skills, read_skill). The pattern is predictable and easy to parse.

Tool Count5/5

Five tools is well-scoped for a skill loader: discovery, reading, installation, path management, and debugging. Each tool earns its place without redundancy.

Completeness4/5

The core lifecycle of discovering, reading, and installing skills is covered, plus configuration and diagnostics. However, there is no tool to uninstall or remove an installed skill or update an existing one, which are minor gaps.

Maintenance

ActivityMaintained
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    An MCP server that transforms Claude-style skills and resources into callable tools for any MCP-compatible agent or client. It automatically discovers, exposes, and executes scripts from skills organized in local directories or packaged archives.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that integrates OpenClaw AI assistant with Claude Code, enabling chat, task management, messaging, memory, alerts, agent spawning, and web search through configurable tools.
    12
    96 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides intelligent discovery, search, and on-demand loading of Claude Code skills and agents, reducing token usage by lazy loading.
    -