matilha-den

matilha-den is a skill for Claude Code from danilods/matilha-skills. It costs 31 tokens per session (495 once invoked), scanned A, original, MIT.

A project-retrospective skill that records lessons, recurring patterns, decisions, and improvements in dated Markdown files.

In plain words
What is it for?
Use it after completing a project phase to document what happened and what should be reused or changed next time.
Why use it?
It keeps important project knowledge from being lost when a milestone ends. The notes stay linked to specific commits and files for future reference.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it after completing a project phase to document what happened and what should be reused or changed next time.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danilods/matilha-skills/matilha-den"><img src="https://agentmods.dev/badge/skills/danilods/matilha-skills/matilha-den.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 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.00031 $0.00495
Opus 5.5 $0.00012 $0.00198
Sonnet 5.5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

matilha-den 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.

skills/matilha-den/SKILL.md · 68 lines

What it actually says

When this fires

Project or milestone completion. User wants to distill what was learned, what patterns emerged, what to reuse. Writes docs/matilha/den/<date>-<topic>.md.

Preconditions

  • project-status.md exists.
  • At least one wave completed.

Execution Workflow

  1. Read completed waves from project-status.md via Read tool.
  2. Prompt user for topic (e.g., "auth system patterns").
  3. Read relevant wave outputs (commits via Bash, spec/plan/review_report via Read) for the topic.
  4. Synthesize via Write into docs/matilha/den/<date>-<topic>.md with sections: context, patterns observed, decisions + why, would-do-differently.
  5. Update project-status.md recent_decisions with pointer to the den file.

Rules: Do

  • Cite specific commits + files in findings.
  • Include "would-do-differently" section (honest retrospective).
  • Timestamp the filename.

Rules: Don't

  • Delete existing den files (keep history).
  • Write generic advice (be specific to THIS project).

Expected Behavior

Knowledge captured in navigable markdown that informs future /matilha-pack packaging.

Quality Gates

  • Den file exists at docs/matilha/den/<date>-<topic>.md.
  • Cited commits are real (verifiable via git log).

Companion Integration

No companion integrations in Wave 4a.

Output Artifacts

  • docs/matilha/den/<date>-<topic>.md.

Example Constraint Language

  • Use "must" for: cite wave(s) being distilled.
  • Use "should" for: include would-do-differently.
  • Use "may" for: split across multiple files for a large project.

Troubleshooting

  • "no waves completed": Run /matilha-gather first.
  • "topic too broad": Split into multiple den files per sub-topic.

CLI shortcut (optional)

matilha den <topic> (future CLI command; not shipped yet).

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 · 68 lines · 31 tokens per session scan A cfe2f4e0166b

Subscribe to this mod's changes

matilha-den is a skill published in the GitHub repository danilods/matilha-skills (3 stars, last pushed 6mo ago), licensed MIT. It adds 31 tokens to every session and 495 once invoked, about $0.0001 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-den compared with skills from other repositories

matilha-den next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
matilha-dendanilods/matilha-skillsSkill36mo agoMITA31Claude Code
initNexaDuo/mARCSkill72d agoMITA122Claude Code
skill-devandisab/swe-marketplaceSkill232d agoMITA86Claude Code
command-devandisab/swe-marketplaceSkill232d agoMITA85Claude Code
report-formatsandisab/swe-marketplaceSkill232d agoMITA105Claude Code
optimize-learningseric-cielo/mofloSkill1912d agoMITA116Claude Code
memory-teameric-cielo/mofloSkill1912d agoMITA145Claude Code