Logo: Mpm Agents Skills

Mpm Agents Skills

Communautéit
bobmatnyc
mpm-agents-skills

Mechanismen zur Bereetstellung vun Agenten a Skills fir d'MPM-Systemarchitektur

Add to TypingMind

Iwwersiicht

Editeurbobmatnyc
Repositoryclaude-mpm
Skill-Nummmpm-agents-skills
Stären
152
Forks
34
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    bobmatnyc huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Mpm Agents Skills an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/bobmatnyc/claude-mpm/tree/main/plugin/skills/mpm-agents-skills
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git /tmp/claude-mpm
mkdir -p .claude/skills
cp -r /tmp/claude-mpm/plugin/skills/mpm-agents-skills .claude/skills/mpm-agents-skills
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Mpm Agents Skills an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Mpm Agents Skills automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Mpm Agents Skills net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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):

yaml
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):

yaml
# 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:

json
// ~/.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
    • Orchestration mode
    • API provider config
  • When modified: By user via claude-mpm configure or manual editing
  • Scope: Per-project or global

2. .claude-mpm/auto_config.yaml

  • Purpose: Deployment metadata and analysis results
  • Contains:
    • Detected toolchain information
    • Recommended agents based on analysis
    • Last scan timestamps
    • Deployment version tracking
  • When modified: By claude-mpm auto-configure process
  • Scope: Generated, not user-editable

3. .claude-mpm/config/agent_sources.yaml

  • Purpose: Define where to find agent templates
  • Contains:
    • Git repository URLs and settings
    • Source priority and enabled status
    • System repo disable flag
  • When modified: By user when adding custom agent sources
  • Scope: Global configuration

Configuration Hierarchy

Loading Order:

  1. Built-in defaults
  2. Global config (~/.claude-mpm/configuration.yaml)
  3. Project config (./claude-mpm/configuration.yaml)
  4. Environment variables
  5. Command-line arguments (highest priority)

Precedence Rules:

  • Project configs override global configs
  • Explicit user settings override auto-detected settings
  • Command-line flags override everything

Startup Process Deep Dive

1. Configuration Loading

python
# ConfigService loads in this order:
def load_configuration():
    config = DefaultConfig()
    config.merge(load_global_config())      # ~/.claude-mpm/
    config.merge(load_project_config())     # ./.claude-mpm/
    config.merge(environment_variables())   # CLAUDE_MPM_*
    return config

2. Agent Deployment

python
def startup_agent_deployment():
    # 1. Sync git sources to cache
    git_sync_service.sync_agents()

    # 2. Deploy enabled agents to .claude/agents/
    deployment_service.deploy_agents(
        deployment_mode="update",  # Skip unchanged
        config=loaded_config
    )

    # 3. Remove excluded agents
    reconciler.remove_excluded_agents()

3. Skill Deployment

python
def startup_skill_deployment():
    # 1. Analyze deployed agents for skill requirements
    required_skills = agent_analyzer.get_required_skills()

    # 2. Deploy only required skills (with cleanup)
    skill_manager.deploy_skills(
        skill_filter=required_skills,  # Selective deployment
        force=False
    )

4. Service Initialization

  • MCP servers started based on configuration
  • Hook delegation system initialized
  • Network services (if enabled) started
  • Logging and monitoring setup

Commands vs Skills: When to Use What

CLI Commands

Use for:

  • Configuration management (claude-mpm configure)
  • System operations (claude-mpm init, claude-mpm status)
  • Deployment management (claude-mpm agents deploy)
  • Troubleshooting (claude-mpm doctor)

Characteristics:

  • Direct system access
  • Stateful operations
  • Administrative functions
  • Can modify configuration files

Skills (via /skill-name)

Use for:

  • Workflow guidance and patterns
  • Knowledge queries and education
  • Complex multi-step procedures
  • Context-aware assistance

Characteristics:

  • Read-only operations (mostly)
  • Stateless knowledge sharing
  • User guidance and education
  • Cannot modify system configuration

Mapping Examples:

  • claude-mpm configure ↔ /mpm-config (skill explains configuration)
  • claude-mpm agents deploy ↔ No skill equivalent (system operation)
  • claude-mpm status ↔ /mpm-status (skill explains status interpretation)

Common PM Misconceptions (Corrected)

❌ "Auto-configure creates agent files"

✅ Truth: Auto-configure only updates auto_config.yaml with recommendations. Actual deployment happens during claude-mpm run or explicit deploy commands.

❌ "Configuration.yaml controls agent deployment directly"

✅ Truth: It specifies preferences. The deployment service reads these preferences and deploys accordingly. The files are still copied from cache to .claude/agents/.

❌ "Skills are configured like agents"

✅ Truth: Skills have no user configuration. They're deployed based on agent requirements analysis, not user preferences.

❌ "All agents from Git sources are deployed"

✅ Truth: Only enabled agents (after filtering by excluded_agents list) are deployed. Multi-source resolution happens first.

❌ ".claude/ directory is just cache"

✅ Truth: .claude/ is the active deployment directory that Claude Code scans. .claude-mpm/cache/ is the actual cache.

Decision Trees for PM

Should I deploy this agent?

Is agent needed for current project? → Yes
  ├─ Is it in enabled list or auto_discover=true? → Yes
  │   ├─ Is it in excluded_agents list? → No
  │   │   └─ ✅ Deploy via configuration
  │   └─ Yes → ❌ Remove from excluded list first
  └─ No → ❌ Add to excluded_agents to clean up

How to troubleshoot deployment issues?

Agent not appearing in .claude/agents/?
  ├─ Check cache: `.claude-mpm/cache/agents/` exists? → No
  │   └─ Run: claude-mpm agents sync
  ├─ Check config: In excluded_agents list? → Yes
  │   └─ Run: claude-mpm configure (remove exclusion)
  └─ Check logs: deployment_service.log for errors

Should I use command or skill?

Need to change system state? → Yes
  └─ Use CLI command (claude-mpm ...)
Need guidance or information? → Yes
  └─ Use skill (/skill-name)
Need to understand how something works? → Yes
  └─ Use this skill (/mpm-agents-skills)

Quick Reference

Key Directories

  • .claude/agents/ - Active agent deployment (Claude Code scans)
  • .claude/skills/ - Active skill deployment (Claude Code scans)
  • .claude-mpm/cache/ - Git sources cache
  • .claude-mpm/configuration.yaml - User preferences
  • .claude-mpm/auto_config.yaml - System metadata

Key Services

  • GitSourceSyncService - Downloads and caches remote agents
  • AgentDeploymentService - Deploys agents to .claude/agents/
  • GitSkillSourceManager - Handles skill sync and deployment
  • DeploymentReconciler - Ensures deployed state matches config

Essential Commands

  • claude-mpm agents sync - Update cache from Git sources
  • claude-mpm agents deploy --force - Force redeploy all agents
  • claude-mpm configure - Interactive configuration management
  • claude-mpm doctor - Diagnose deployment issues

Remember

  • Deployment ≠ Configuration: Configuration expresses preferences, deployment implements them
  • Cache ≠ Active: Cache stores templates, .claude/ directories are active deployments
  • Skills follow agents: Skill deployment driven by agent requirements, not user config
  • Precedence matters: Project > User > System for both agents and configuration
  • Version awareness: System only updates when source versions are newer (unless forced)

This architecture ensures clean separation between user intent (configuration) and system state (deployment) while maintaining flexibility for different deployment scenarios.

Heefeg gestallte Froen

Wat mécht de KI-Skill Mpm Agents Skills?

Mechanismen zur Bereetstellung vun Agenten a Skills fir d'MPM-Systemarchitektur

Firwat Mpm Agents Skills op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Mpm Agents Skills besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Mpm Agents Skills an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/bobmatnyc/claude-mpm/tree/main/plugin/skills/mpm-agents-skills an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Mpm Agents Skills benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Mpm Agents Skills benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Mpm Agents Skills domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Mpm Agents Skills gratis?

bobmatnyc huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇