matilha-install

matilha-install is a command for Claude Code from danilods/matilha-skills. It costs 30 tokens per session (4,118 once invoked), scanned A, original, MIT.

An interactive installer for the matilha collection of coding-agent add-ons. It helps choose preset packs and can add setup instructions to a project's CLAUDE.md file.

In plain words
What is it for?
Use it to choose matilha packs, optionally update CLAUDE.md, and generate a plugin-install command block to run yourself.
Why use it?
It reduces the manual work of selecting add-ons and preparing a project for the matilha system.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Part of the matilha plugin — 12 skills, 10 commands, 2 agents, 1 hook shipped together

Good fit Use it to choose matilha packs, optionally update CLAUDE.md, and generate a plugin-install command block to run yourself.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/danilods/matilha-skills/matilha-install
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/danilods/matilha-skills

Made for: Claude Code.

Or install matilha, the plugin that ships this one along with the rest of its 12 skills, 10 commands, 2 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for matilha-install

README.md
[![agentmods](https://agentmods.dev/badge/commands/danilods/matilha-skills/matilha-install/github.svg)](https://agentmods.dev/commands/danilods/matilha-skills/matilha-install)
Your own site
<a href="https://agentmods.dev/commands/danilods/matilha-skills/matilha-install"><img src="https://agentmods.dev/badge/commands/danilods/matilha-skills/matilha-install/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for matilha-install

Your own site · 80×15
<a href="https://agentmods.dev/commands/danilods/matilha-skills/matilha-install"><img src="https://agentmods.dev/badge/commands/danilods/matilha-skills/matilha-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.04118
Opus 5 $0.00015 $0.02059
Sonnet 5 $0.00006 $0.00824
Haiku 4.5 $0.00003 $0.00412

Measured 9d ago against content hash 7fd54c963fe7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

matilha-install scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/matilha-install.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Interactive install wizard for the matilha ecosystem. Asks which packs you want, optionally bootstraps CLAUDE.md.


You are running the /matilha-install wizard. Execute the following steps in order. The goal is to (a) help the user select which matilha packs to install via a persona-based preset, (b) optionally apply the matilha activation priority rule to the project's CLAUDE.md, and (c) emit a paste-ready /plugin install block for the user to run.

Do NOT execute /plugin install commands yourself — only emit the block for the user to paste. You MAY use the Write and Edit tools to modify ./CLAUDE.md when the user explicitly approves the bootstrap in Step 4.

Step 1 — Detect project state

Use the Read tool to read ./CLAUDE.md. Classify the state into one of:

  • no-file — the Read tool returns an error indicating the file does not exist.
  • no-marker — the file exists but does NOT contain the literal substring <!-- matilha-start v anywhere in its content.
  • has-marker — the file exists AND contains <!-- matilha-start v (any version). Indicates an existing matilha block that will be replaced idempotently.

Remember this state for Steps 4 and 5. Do not surface it to the user yet.

Step 2 — Preset selection

Invoke the AskUserQuestion tool with:

  • Question: Which matilha packs do you want to install?
  • Options (exactly these six, each with a short header and a one-line description):
    1. Backend — core + harness + sysdesign + software-eng + software-arch + security (~6 packs)
    2. UX / Product — core + ux + growth + software-eng (~4 packs)
    3. Full-stack — core + all 7 packs (everything)
    4. Security-focused — core + security + software-arch + harness (~4 packs)
    5. Core only — just matilha-skills (no companion packs)
    6. Custom selection — let me pick individual packs

Record the user's choice as preset.

Step 3 — Custom selection (only if preset == Custom selection)

If the user chose Custom selection, invoke AskUserQuestion again to let the user pick from the 7 companion packs. Prefer the tool's multi-select / checkbox mode if available; otherwise ask a sequence of yes/no questions, one per pack, using the catalog in Step 7 for skill counts + descriptions.

Read the full file on GitHub · 281 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 281 lines · 30 tokens per session scan A 7fd54c963fe7

Subscribe to this mod's changes

matilha-install is a command published in the GitHub repository danilods/matilha-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 4,118 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.