Loading...
Loading...
Install MTHDS method packages from GitHub or local directories. Use when user says "install a method", "install from GitHub", "add a method package", "mthds install", "install method", "set up a method", or wants to install an MTHDS method package for use with an AI agent.
npx skill4agent add mthds-ai/skills mthds-installmthds-agentmthds-agent --versionmin_mthds_versionTheCLI is required but not installed. Install it with:mthds-agentnpm install -g mthdsThen re-run this skill.
This skill requiresversion 0.0.13 or higher (found X.Y.Z). Upgrade with:mthds-agentnpm install -g mthds@latestThen re-run this skill.
No backend setup needed: This skill works without configuring inference backends or API keys. You can start building/validating methods right away. Backend configuration is only needed to run methods with live inference — usewhen you're ready./pipelex-setup
| Source | Syntax | Example |
|---|---|---|
| GitHub (short) | | |
| GitHub (full URL) | | |
| Local directory | | |
org/repo--local| Flag | Required | Values | Description |
|---|---|---|---|
| Yes | | AI agent to install for |
| Yes | | |
| No | method name | Install only one method from a multi-method package |
| No | — | Also install the MTHDS skills plugin |
| No | — | Skip automatic Pipelex runtime installation |
--agent claude-code--location localmthds-agent install <org/repo> --agent claude-code --location localmthds-agent install --local <path> --agent claude-code --location localmthds-agent install <org/repo> --agent claude-code --location local --method <name>mthds-agent install <org/repo> --agent claude-code --location local --skills{
"success": true,
"installed_methods": ["method-name"],
"location": "local",
"target_dir": "/path/to/.claude/methods",
"installed_skills": [],
"shim_dir": "~/.mthds/bin",
"shims_generated": ["method-name"]
}target_dir~/.mthds/bin--log-level debugmthds-agent --log-level debug install <org/repo> --agent claude-code --location local| Error | Cause | Fix |
|---|---|---|
| Missing | Add |
| Missing | Add |
| Invalid agent ID | Use one of: |
| GitHub repo not found or no methods in repo | Verify the address and that the repo contains METHODS.toml |
| | Check available method names in the package |
| Runtime install failed (network, permissions) | Retry, or use |