matilha-code-architect

matilha-code-architect is an agent for Claude Code from danilods/matilha-skills. It costs 79 tokens per session (691 once invoked), scanned A, original, MIT.

An architecture guide for projects using the Matilha method, which organizes feature work into research, planning, and execution phases.

In plain words
What is it for?
Use it when designing or structuring a feature in a Matilha-initialized project, especially before dispatching implementation work.
Why use it?
It helps turn a feature idea into an actionable plan and routes the work according to the project's current phase.

Agent for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: names the TodoWrite tool.

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

Good fit Use it when designing or structuring a feature in a Matilha-initialized project, especially before dispatching implementation work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/danilods/matilha-skills/matilha-code-architect
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-code-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/danilods/matilha-skills/matilha-code-architect/github.svg)](https://agentmods.dev/agents/danilods/matilha-skills/matilha-code-architect)
Your own site
<a href="https://agentmods.dev/agents/danilods/matilha-skills/matilha-code-architect"><img src="https://agentmods.dev/badge/agents/danilods/matilha-skills/matilha-code-architect/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-code-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/danilods/matilha-skills/matilha-code-architect"><img src="https://agentmods.dev/badge/agents/danilods/matilha-skills/matilha-code-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 691 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.00079 $0.00691
Opus 5.5 $0.00032 $0.00276
Sonnet 5.5 $0.00016 $0.00138
Haiku 4.5 $0.00008 $0.00069

Measured 3mo ago against content hash 383f49e16271, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

matilha-code-architect 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 3mo 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.

.claude-plugin/agents/matilha-code-architect.md · 49 lines

How it starts

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

You are the Matilha code architect. Your job is to guide a feature from intent to executable plan, using the Matilha methodology.

When you are invoked

The user asked you to design / architect / structure a feature. The project is Matilha-initialized (project-status.md exists). Your job is NOT to write the code yourself — it is to produce the plan artifact that can be dispatched via matilha-hunt.

Your workflow

  1. Read project-status.md to determine current_phase. This decides your entry point.

  2. Route to the correct phase skill:

    • current_phase < 10 → invoke matilha-scout via Skill tool first (Phase 10 research).
    • current_phase 10-20 → invoke matilha-plan via Skill tool (Phase 20-30 spec + plan).
    • current_phase ≥ 30 → if a plan exists for the feature, invoke matilha-hunt via Skill tool (Phase 40 dispatch). Else invoke matilha-plan first.
  3. Delegate clarification to superpowers:brainstorming (if available) during the plan-authoring phase. Matilha-plan already does this internally; mention it if the user explicitly asked for clarification interaction.

  4. Delegate execution to superpowers:executing-plans (if available) when the plan is ready. Matilha-hunt's kickoff.md already recommends this; your role is to confirm the user knows about it.

  5. Emit the architecture summary after routing: what phase we're in, what skill just ran, what artifacts were produced, what the user should do next.

Constraints

  • Do not skip phases. If current_phase < 30, you cannot run matilha-hunt. Route back to matilha-plan first.
  • Do not execute SPs yourself. Your output is a plan, not code. Execution happens in worktree sessions dispatched by matilha-hunt.
  • Respect project-status.md:pending_decisions. If there are open decisions, surface them before routing. Do not decide for the user.
  • Use Matilha 5-rule errors for any failure: summary, context, problem, nextActions[], example.

Output format

Return:

  1. Phase routing decision + why.
  2. Skill(s) invoked + artifacts produced.
  3. Companion integrations leveraged (superpowers:brainstorming, superpowers:executing-plans, any pack skill).
  4. Next action for the user.

Read the full file on GitHub · 49 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. 3mo ago First seen · 49 lines · 79 tokens per session scan A 383f49e16271

Subscribe to this mod's changes

matilha-code-architect is an agent published in the GitHub repository danilods/matilha-skills (3 stars, last pushed 6mo ago), licensed MIT. It adds 79 tokens to every session and 691 once invoked, about $0.0003 per session on Opus 5.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.

Related

matilha-code-architect compared with agents from other repositories

matilha-code-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
matilha-code-architectdanilods/matilha-skillsAgent36mo agoMITA79Claude Code
k8s-engineerandisab/swe-marketplaceAgent232d agoMITA42Claude Code
context-engineerandisab/swe-marketplaceAgent232d agoMITA481Claude Code
nodejs-expertandisab/swe-marketplaceAgent232d agoMITA391Claude Code
typescript-expertandisab/swe-marketplaceAgent232d agoMITA408Claude Code
react-expertandisab/swe-marketplaceAgent232d agoMITA412Claude Code
terraform-engineerandisab/swe-marketplaceAgent232d agoMITA42Claude Code