matilha-init

matilha-init is a skill for Claude Code from danilods/matilha-skills. It costs 44 tokens per session (1,086 once invoked), scanned A, original, MIT.

A project-startup skill that creates the files and folders Matilha uses to track project progress. Matilha is a project workflow system with named phases and supporting documents.

In plain words
What is it for?
Use it when starting a project or adding Matilha to an existing codebase. It sets up project status, agent guidance files, and directories for research and planning.
Why use it?
Starting with no shared project notes makes it harder for coding agents to understand the project, its current phase, and what should happen next. This creates that initial context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

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

Good fit Use it when starting a project or adding Matilha to an existing codebase. It sets up project status, agent guidance files, and directories for research and planning.

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

Any agent
npx skills add danilods/matilha-skills --skill matilha-init
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-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danilods/matilha-skills/matilha-init"><img src="https://agentmods.dev/badge/skills/danilods/matilha-skills/matilha-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,086 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.00044 $0.01086
Opus 5 $0.00022 $0.00543
Sonnet 5 $0.00009 $0.00217
Haiku 4.5 $0.00004 $0.00109

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

Security

Grade A, and why

matilha-init 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 10d 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.

skills/matilha-init/SKILL.md · 81 lines

How it starts

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

When this fires

User is at the start of a project (no project-status.md) or wants to bootstrap Matilha into an existing codebase. The skill scaffolds the minimum artifacts for Matilha to work: project-status.md with initial phase 0 state, CLAUDE.md / AGENTS.md / GEMINI.md as context primers, and the directory scaffold (docs/matilha/, docs/superpowers/).

Preconditions

  • Write access to cwd.
  • No existing project-status.md unless user explicitly confirms overwrite.

Execution Workflow

  1. Verify preconditions via Bash test -f project-status.md. If present and user didn't say "force", ask the user before overwriting.
  2. Prompt the user for archetype (one of: saas-b2b, saas-b2c, frontend-only, cli, library, ml-service, marketplace).
  3. Compute ISO-UTC timestamp via Bash date -u +%Y-%m-%dT%H:%M:%SZ.
  4. Write project-status.md via Write tool. Frontmatter shape: schema_version: 1, name, archetype, created: <iso>, last_update: <iso>, current_phase: 0, phase_status: not_started, next_action: "Run /matilha-scout to enter Phase 10 discovery.", tools_detected: [], companion_skills: {impeccable: not_installed, shadcn: not_installed, superpowers: not_installed, typeui: not_installed}, active_waves: [], completed_waves: [], feature_artifacts: [], recent_decisions: [], pending_decisions: [], blockers: [], aesthetic_direction: null, design_locked: false.
  5. Write CLAUDE.md / AGENTS.md / GEMINI.md if absent (copy from this repo's templates if available via matilha pull, else from skeletons).
  6. Create directories docs/matilha/plans, docs/matilha/specs, docs/matilha/waves via Bash mkdir -p.
  7. Emit final message: "Initialized Matilha — current_phase: 0. Next: /matilha-scout".

Rules: Do

  • Respect explicit overwrite confirmation; do not silently clobber.
  • Use ISO-UTC timestamps throughout.
  • Create docs/ directories idempotently (skip if they exist).

Rules: Don't

  • Overwrite existing project-status.md without explicit user confirmation.
  • Guess archetype from code (ask).
  • Use local-time timestamps.

Read the full file on GitHub · 81 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. 10d ago First seen · 81 lines · 44 tokens per session scan A fb1111b0d1ab

Subscribe to this mod's changes

matilha-init is a skill published in the GitHub repository danilods/matilha-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 44 tokens to every session and 1,086 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.