Loading...
Loading...
Manage MTHDS packages — initialize, configure exports, list, and validate. Use when user says "init package", "set up METHODS.toml", "manage packages", "mthds init", "validate package", "list package", or wants to manage MTHDS package manifests.
npx skill4agent add mthds-ai/skills mthds-pkgmthds-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.1.0 or higher (found X.Y.Z). Upgrade with:mthds-agentnpm install -g mthds@latestThen re-run this skill.
.mthdsNo 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
METHODS.tomlmthds-agent package init --address <address> --version <version> --description <description> -C <pkg-dir>| Flag | Purpose | Example |
|---|---|---|
| Package address (hostname/path format) | |
| Package version (semver) | |
| Package description | |
| Flag | Purpose | Example |
|---|---|---|
| Comma-separated list of authors | |
| License identifier | |
| Method name (2-25 lowercase chars) | |
| Human-readable display name (max 128 chars) | |
| Main pipe code (snake_case) | |
| Overwrite existing METHODS.toml | — |
METHODS.toml[exports.restaurant_analysis]
pipes = ["present_restaurant", "extract_menu", "analyze_menu"].mthdsMETHODS.toml[exports.<domain>]main_pipe[exports.<domain>]pipesmthds-agent package list -C <pkg-dir>METHODS.tomlmthds-agent package validate -C <pkg-dir>Note:validates themthds-agent package validatepackage manifest. To validateMETHODS.tomlbundle semantics, use.mthds(see /mthds-check skill).mthds-agent pipelex validate pipe
-Cmthds-agent package-C <path>--package-dir# From any directory, target a specific package
mthds-agent package init --address github.com/org/repo --version 1.0.0 --description "My package" -C mthds-wip/restaurant_presenter/
mthds-agent package validate -C mthds-wip/restaurant_presenter/-Cmthds-agent package init --address <address> --version <version> --description <desc> -C <pkg-dir>.mthdsMETHODS.toml[exports.<domain>]mthds-agent package validate -C <pkg-dir>