moradin-stats

moradin-stats is a skill for Claude Code, Codex from CloseTheLoops/moradin. It costs 16 tokens per session (283 once invoked), scanned A, original, MIT.

A read-only report command for examining Moradin's stored memory. It shows totals, categories, topics, intended uses, and how recently entries were updated.

In plain words
What is it for?
Use it for memory health checks, retrospectives, and spotting gaps or stale entries across principles, patterns, references, and lessons.
Why use it?
It provides a quick view of whether the memory collection is broad, current, or becoming outdated without changing any files.

Skill for Claude CodeCodex

Part of the moradin plugin — 14 skills shipped together

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.

agentmods
npx agentmods add skills/closetheloops/moradin/stats
Any agent
npx skills add CloseTheLoops/moradin --skill stats
Clone the repo
git clone --depth 1 https://github.com/CloseTheLoops/moradin

Made for: Claude Code, Codex.

Or install moradin, the plugin that ships this one along with the rest of its 14 skills.

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 moradin-stats

README.md
[![agentmods](https://agentmods.dev/badge/skills/closetheloops/moradin/stats.svg)](https://agentmods.dev/skills/closetheloops/moradin/stats)
Your own site
<a href="https://agentmods.dev/skills/closetheloops/moradin/stats"><img src="https://agentmods.dev/badge/skills/closetheloops/moradin/stats.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00283
Opus 5 $0.00008 $0.00142
Sonnet 5 $0.00003 $0.00057
Haiku 4.5 $0.00002 $0.00028

Measured 3d ago against content hash 6ce9648686f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

moradin-stats 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 3d 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/stats/SKILL.md · 40 lines

What it actually says

moradin:stats

Show a stats report on Moradin's memory.

When invoked

/moradin:stats

Quick health snapshot. Useful for retrospectives or just curiosity.

What you do

  1. Run the stats script:

    python scripts/stats.py --format json
    
  2. Present the report:

    • Total files
    • By type (principles, patterns, references, lessons)
    • By topic (harness, memory, eval, llm, agent, arch, workflow, tooling)
    • By applies_to (universal, godtech, trading, ...)
    • Age distribution (fresh ≤7d, recent ≤30d, aging ≤90d, old ≤180d, stale >180d)
  3. Highlight observations. Examples:

    • "You have 12 patterns tagged eval but only 2 references — capture more eval sources?"
    • "8 files are stale (>180d). Worth running /moradin:audit to review."
    • "No memory tagged trading yet — you haven't started that project's slot."
  4. Don't propose changes. Stats is read-only.

Output

A clean text report with counts + observations.

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. 3d ago First seen · 40 lines · 16 tokens per session scan A 6ce9648686f4

Subscribe to this mod's changes

moradin-stats is a skill published in the GitHub repository CloseTheLoops/moradin (2 stars, last pushed 25d ago), licensed MIT. It adds 16 tokens to every session and 283 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

llm-wiki-company-flow-audit

Map company/team information flows into an LLM-Wiki adoption plan. Use when the user asks where team knowledge lives, which streams can be automated, how Confluence/Jira/Slack/Drive changes stay synced, how fragile review is, how confidential data is handled, or whether maintenance cost is worth the benefit.

po4yka/llm-wiki-skills · 72 tokens

llm-wiki-capture-pipeline

Design cross-channel capture architecture and named connector runbooks for LLM-Wiki. Use when the user wants an inbox/raw topology, metadata contract, dedupe boundary, triage handoff, privacy defaults, capture-to-ingestion flow, or Telegram/email/Slack/PDF/GitHub/voice connector rules.

po4yka/llm-wiki-skills · 71 tokens

llm-wiki-orient

Explain the LLM-Wiki pattern, its raw/wiki/schema architecture, how it differs from RAG, GraphRAG and agent memory, and what ready-made solution families exist. Use when the user asks what LLM-Wiki is, whether it is worth adopting, what OpenWiki/wiki memory means, or how the ecosystem fits together.

po4yka/llm-wiki-skills · 75 tokens

llm-wiki-zero-to-working-wiki

Create a first useful LLM-Wiki from zero. Use when the user wants a zero-to-working-wiki walkthrough, first vault, first source ingest, first reusable query, first lint report, or a visible demo loop before a larger rollout; route full workflow installs to llm-wiki-setup.

po4yka/llm-wiki-skills · 71 tokens

wiki-lint

Run structural and trust health checks for an LLM-Wiki vault. Use for broken links, orphan pages, missing provenance, stale claims, contradiction reports, taxonomy drift, protected-section edits, and review queue generation.

po4yka/llm-wiki-skills · 47 tokens

llm-wiki-agent-memory-bridge

Decide what belongs in LLM-Wiki versus agent memory, AGENTS.md, CLAUDE.md, Auto Memory, Codex project memory, or other runtime memories. Use when instruction files are bloated, domain facts live in agent memory, or the user wants clean memory boundaries.

po4yka/llm-wiki-skills · 67 tokens