Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Mpm Agents Skills

БесплатноБез исполняемых скриптовНе проверен

Agent and skill deployment mechanics for MPM system architecture

bobmatnycот bobmatnyc★ 160 звёзд на GitHub

Об этом скилле

MPM Agents & Skills Deployment Mechanics

Category: Core Knowledge/PM Education Purpose: Explain agent and skill deployment mechanics to PM Triggers: When PM needs to understand system architecture

Overview

This skill provides comprehensive understanding of how Claude MPM's agents and skills actually work under the hood. Essential for PM decision-making about delegation, configuration, and troubleshooting.

Agent Deployment Mechanics

Where Agents Live

Agent Sources (Priority Order):

  1. Project agents - .claude/agents/ (highest priority)
  2. User agents - ~/.claude-mpm/agents/ (user-created)
  3. System agents - Built-in MPM templates (cached)
  4. Git sources - Remote repositories (configured)

Directory Structure:

.claude/
└── agents/
    ├── engineer.md        # Claude Code expects flat .md files
    ├── researcher.md
    └── qa.md

.claude-mpm/
└── cache/
    └── agents/            # Git sources cached here
        ├── engineer.md
        └── templates/

Agent Discovery & Loading Process

1. Cache Sync (Git Sources)

  • GitSourceSyncService downloads from configured repositories
  • Cached in .claude-mpm/cache/agents/
  • Default source: github.com/bobmatnyc/claude-mpm-agents

2. Agent Deployment

  • AgentDeploymentService.deploy_agents() orchestrates deployment
  • Copies from cache to .claude/agents/ (Claude Code expects this location)
  • Flattens nested Git structure to flat directory
  • Version checking prevents unnecessary redeployment

3. Multi-Source Resolution

  • When multiple sources have same agent, highest version wins
  • User agents override system agents (by design)
  • Project agents override everything (local customization)

Agent Configuration Relationships

configuration.yaml (User Preferences):

agents:
  auto_discover: true          # Find agents automatically
  enabled: ["engineer", "qa"]  # Specific agents to deploy
  excluded_agents: ["debug"]  # Agents to skip/remove
  precedence: ["project", "user", "system"]  # Resolution order

auto_config.yaml (Deployment Metadata):

# Generated by auto-configure process
toolchain_detected: python
recommended_agents: ["engineer", "testing"]
last_scan: "2024-02-25T10:30:00Z"
deployment_version: "5.9.32"

Key Distinction:

  • configuration.yaml = User choices and preferences
  • auto_config.yaml = System-generated analysis and metadata

Agent Lifecycle

Creation:

  1. Template exists in source (Git repo or bundled)
  2. AgentTemplateBuilder combines base_agent.md + template
  3. Frontmatter added with version, source info
  4. Written to .claude/agents/ as markdown file

Version Management:

  • Each agent has version in frontmatter
  • AgentVersionManager compares template vs deployed versions
  • Updates only when source version is newer
  • Force rebuild bypasses version check

Cleanup:

  • Excluded agents removed from .claude/agents/
  • Orphaned agents (no longer in sources) cleaned up
  • Legacy YAML format converted to Markdown

Skill Deployment Mechanics

Where Skills Live

Skill Sources:

  1. Deployed skills - ~/.claude/skills/ (Claude Code scans here)
  2. Cached skills - .claude-mpm/cache/skills/system/
  3. Bundled skills - Built into MPM installation
  4. Git sources - Remote skill repositories

Structure Transformation:

# Git Repository Structure (Nested):
collaboration/
  dispatching-parallel-agents/SKILL.md
  brainstorming/SKILL.md

# Deployed Structure (Flat):
~/.claude/skills/
├── collaboration-dispatching-parallel-agents/SKILL.md
├── collaboration-brainstorming/SKILL.md

Skill Discovery & Deployment

1. Git Source Sync

  • GitSkillSourceManager handles remote skill sources
  • Skills cached with nested structure preserved
  • Manifest files track skill metadata

2. Skill Deployment

  • GitSkillSourceManager.deploy_skills() flattens to Claude Code structure
  • Each nested path becomes hyphen-separated name
  • SKILL.md files copied to ~/.claude/skills/skill-name/SKILL.md

3. Selective Deployment

  • Agent requirements drive which skills to deploy
  • Unused skills removed during deployment (cleanup)
  • .mpm-deployed-skills.json tracks deployment index

Skill Configuration

No Direct Configuration:

  • Skills don't have user configuration like agents
  • Deployed based on agent requirements analysis
  • Agent templates specify needed skills in metadata

Deployment Tracking:

// ~/.claude/skills/.mpm-deployed-skills.json
{
  "deployed_skills": {
    "systematic-debugging": {
      "collection": "claude-mpm-skills",
      "deployed_at": "2024-02-25T10:30:00Z"
    }
  },
  "last_sync": "2024-02-25T10:30:00Z"
}

Configuration File Relationships

Primary Configuration Files

1. .claude-mpm/configuration.yaml

  • Purpose: User preferences and settings
  • Contains:
    • Agent enable/disable lists
    • Logging preferences
    • Hook settings
    • Orchestra
Полный SKILL.md на GitHub

Установить Mpm Agents Skills в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Mpm Agents Skills?

Agent and skill deployment mechanics for MPM system architecture

Как установить скилл Mpm Agents Skills?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Mpm Agents Skills запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Mpm Agents Skills с