Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

mthds plugin.

Install to Claude Code

codex plugin add mthds@mthds-plugins

Run in Claude Code. Add the marketplace first with /plugin marketplace add mthds-ai/mthds-plugins if you haven't already.

README.md

MTHDS Plugins

A skills plugin for Claude Code and OpenAI Codex for building, running, validating, and editing AI methods (.mthds bundle files).

MTHDS is an open standard for AI methods. Find methods on the hub: MTHDS Hub. Install the reference python runtime from Pipelex.

Install for Claude Code

Open Claude Code and paste this. Claude does the rest.

Install mthds: run bash -c 'npm install -g mthds && mthds-agent bootstrap && claude plugin marketplace add mthds-ai/mthds-plugins && claude plugin install mthds@mthds-plugins'. Then tell me to /reload-plugins.

Manual install (Claude Code)

npm install -g mthds
mthds-agent bootstrap
claude plugin marketplace add mthds-ai/mthds-plugins
claude plugin install mthds@mthds-plugins

Install for Codex

Open Codex and paste this. Codex does the rest.

Install mthds: run bash -c 'npm install -g mthds && mthds-agent bootstrap && mthds-agent codex apply-config && codex plugin marketplace add mthds-ai/mthds-plugins'. Then tell me to restart Codex and run /plugins to install mthds.

Requires Codex 0.130.0+ (plugin-bundled hooks shipped in 0.130). Bump with npm install -g @openai/codex@latest if needed.

Manual install (Codex)

npm install -g mthds
mthds-agent bootstrap                # uv + plxt + pipelex-agent
mthds-agent codex apply-config       # set up ~/.codex/ for the mthds plugin
codex plugin marketplace add mthds-ai/mthds-plugins
# Restart Codex, then run /plugins to install mthds

The .mthds validation hook ships inside the plugin (hooks/codex-hooks.json, declared in the Codex plugin manifest); Codex discovers it directly once the plugin is installed — there is no per-user hook wiring step.

mthds-agent codex apply-config makes one-time additive changes to ~/.codex/config.toml:

  • [features] plugin_hooks = true — Codex only loads plugin-bundled hooks when this is enabled.
  • [sandbox_workspace_write] network_access = true — Codex's default workspace-write sandbox otherwise blocks outbound network for hook commands.

It also removes any obsolete ~/.codex/hooks.json entry left by older mthds installs (which used a now-retired install-hook step). The command is idempotent and never overwrites unrelated config — use --dry-run to preview, --check for CI/env-check. See docs/codex-vs-claude-hooks.md.

If mthds gets installed without this step (for example, added straight from the marketplace UI), the skills catch it: their Step 0 env-check detects the gap and offers to run apply-config for you. Running it up front just avoids building your first method before the validation hook is live.

Skills

Skills work identically on both Claude Code (/skill-name) and Codex ($skill-name).

| Skill | Description | |:------|:------------| | mthds-upgrade | Upgrade MTHDS stack to latest version | | mthds-build | Build new AI method bundles from scratch | | mthds-check | Validate workflow bundles (read-only) | | mthds-edit | Modify existing bundles | | mthds-explain | Explain and document workflows | | mthds-fix | Auto-fix validation errors | | mthds-run | Execute methods and interpret output | | mthds-inputs | Prepare inputs: templates, synthetic data, files | | mthds-install | Install method packages from GitHub or local | | mthds-runner-setup | Set up inference backends and API keys | | mthds-pkg | Manage MTHDS packages (init, deps, lock) | | mthds-publish | Publish methods to mthds.sh | | mthds-share | Share methods on social media | | mthds-recursive | Write a complete MTHDS bundle directly in a single pass |

Automatic validation

Both plugins include hooks that validate .mthds files automatically:

1. Lintplxt lint validates TOML structure and schema 2. Formatplxt fmt auto-formats the file 3. Validatemthds-agent validate bundle checks semantic correctness

Claude Code: A PostToolUse hook matches Write/Edit and receives the file path directly. Errors block the edit immediately.

Codex: A PostToolUse hook matches apply_patch (Codex's file-write tool) and parses the patch envelope to find every touched .mthds file. Same per-edit validation, same immediate feedback.

Missing tools (plxt, mthds-agent) block .mthds edits until installed.

License

MIT — Copyright (c) 2026 Evotis S.A.S.

Maintained by Pipelex. "Pipelex" is a trademark of Evotis S.A.S.

Related plugins

Browse all →