From mthds
Edit existing MTHDS bundles (.mthds files). Use when user says "change this pipe", "update the prompt", "rename this concept", "add a step", "remove this pipe", "modify the workflow", "modify the method", "refactor this pipeline", or wants any modification to an existing .mthds file. Supports automatic mode for clear changes and interactive mode for complex modifications.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mthds:mthds-editThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Modify existing MTHDS method bundles.
Modify existing MTHDS method bundles.
Explicit override: If the user states a preference, always honor it:
Skill default: Each skill defines its own default based on the nature of the task.
Request analysis: If no explicit signal and no strong skill default, assess the request:
Automatic mode:
Interactive mode:
Default: Automatic for clear, specific changes. Interactive for ambiguous or multi-step modifications.
Detection heuristics:
Run mthds-agent --version. The minimum required version is 0.1.3 (declared in this skill's front matter as min_mthds_version).
The
mthds-agentCLI is required but not installed. Install it with:npm install -g mthdsThen re-run this skill.
This skill requires
mthds-agentversion 0.1.3 or higher (found X.Y.Z). Upgrade with:npm install -g mthds@latestThen re-run this skill.
Do not write .mthds files manually, do not scan for existing methods, do not do any other work. The CLI is required for validation, formatting, and execution — without it the output will be broken.
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 — use
/mthds-pipelex-setupwhen you're ready.
Read the existing .mthds file — Understand current structure before making changes
Understand requested changes:
Interactive checkpoint: Present a summary of planned changes. Ask "Does this plan look right?" before proceeding to step 3.
Automatic: Proceed directly to step 3. State planned changes in one line.
Apply changes:
Validate after editing:
If you suspect TOML syntax issues after editing, run mthds-agent plxt lint <file>.mthds for a quick check before the heavier semantic validation. Then validate:
mthds-agent pipelex validate bundle <file>.mthds -L <bundle-dir>/
If errors, see Error Handling Reference for recovery strategies by error domain. Use /mthds-fix skill for automatic error resolution.
Regenerate inputs if needed:
mthds-agent pipelex inputs bundle <file>.mthds -L <bundle-dir>/Present completion:
inputs.json contains placeholder values, suggest the safe dry-run command first:
To try the updated method now, use /mthds-run or from the terminal:
mthds run bundle <bundle-dir>/ --dry-run --mock-inputsTo run with real data, use /mthds-inputs to prepare your inputs (provide your own files, or generate synthetic test data), then:
mthds run bundle <bundle-dir>/
batch_over (plural list name or dotted path like "result.sources") and batch_as (singular item name) to step — they must be different$var.field in prompts or from in construct blocks, to know which attributes each native concept exposescreative-writer), not preset names (right column, e.g., $writing-creative)Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub mthds-ai/skills-sandbox --plugin mthds