moradin-init

A setup guide for creating a Moradin workshop, a project folder that stores shared development rules, patterns, references, lessons, and project notes.

In plain words
What is it for?
Use it after cloning Moradin to check its structure, create missing folders and indexes, connect an existing project, and capture an initial rule.
Why use it?
It gives a new workshop the folders and indexes it needs, so the knowledge system can be used consistently from the start.

Skill for Claude CodeCodex

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/init
Any agent
npx skills add CloseTheLoops/moradin --skill init
Clone the repo
git clone --depth 1 https://github.com/CloseTheLoops/moradin

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 494 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.00019 $0.00494
Opus 5 $0.00010 $0.00247
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

moradin-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 2d 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/init/SKILL.md · 45 lines

What it actually says

moradin:init

Use this skill to set up a fresh Moradin workshop. Typically run once per instance, right after cloning the template.

When invoked

/moradin:init

The operator just cloned the template (or used "Use this template" on GitHub). This skill walks them through first-time setup.

What you do

  1. Verify structure. Check that memory/{principles,patterns,references,lessons}/, projects/, templates/, examples/ exist. If any are missing, create them.

  2. Initialize indexes. Run python scripts/refresh_indexes.py to create empty _INDEX.md files.

  3. Ask the operator:

    • "Do you have an existing project you want Moradin to help build? If yes, tell me its name and where it lives."
    • "If yes, I'll create projects/<name>/state.md and link it."
  4. Optional first content.

    • "Want to capture your first principle? (universal rules that apply to any project)"
    • If yes, walk through writing one to memory/principles/ using templates/principle.template.md.
  5. Point them at the front door. Explain in two sentences: "The main way to use Moradin is /moradin:forge — open a session, name a project folder or a brand-new idea, and it guides you from there, start to finish. Everything else (capture, recall, audit) is the memory layer that makes each project smarter than the last."

  6. Summarize what's set up. List the directories, the first project slot if created, the first principle if any — and end with the /moradin:forge pointer.

Don't

  • Don't pre-fill memory with content. Moradin starts empty. The operator fills it.
  • Don't write to GodTech or any other target project during init.
  • Don't auto-tag the first principle without asking the operator to confirm tags.

Output

  • Updated _INDEX.md files (empty initially)
  • Optional projects/<name>/state.md if operator gave a project
  • Optional memory/principles/<first>.md if operator gave a principle
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. 2d ago First seen · 45 lines · 19 tokens per session scan A 60c4c6d122a2

Subscribe to this mod's changes

moradin-init is a skill published in the GitHub repository CloseTheLoops/moradin (2 stars, last pushed 24d ago), licensed MIT. It adds 19 tokens to every session and 494 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

okf-harness-bootstrap

This unified entrypoint routes setup and workspace maintenance without making the user choose a mode.

pumblus/okf-harness · 0 tokens

okf-harness

One Door routes OKF Harness workspace requests to exactly one internal workflow at a time.

pumblus/okf-harness · 0 tokens

llm-wiki-faq

Explain LLM-Wiki adoption and answer stakeholder objections. Use when the user wants a concise FAQ response, evidence summary, ROI framing, migration answer, or plain-language rebuttal; route adversarial risk registers and bad-fit audits to llm-wiki-critique-audit.

po4yka/llm-wiki-skills · 63 tokens

llm-wiki-mcp-integration

Design or review MCP/API integration for an LLM-Wiki. Use when the user wants agents such as Claude Code, Codex, Cursor, ChatGPT, VS Code, GitHub Copilot, LangGraph or other MCP clients to search, read, lint, rescan, propose, review or export wiki knowledge through MCP or a local/remote API.

po4yka/llm-wiki-skills · 81 tokens

llm-wiki-retrieval-architect

Design the retrieval/indexing layer for an LLM-Wiki. Use for lexical/FTS search, BM25, hybrid retrieval, vector databases, rerankers, metadata filters, or GraphRAG, or when rg/index.md no longer retrieves enough context; route whole-stack local-first tooling choices to llm-wiki-local-first-stack.

po4yka/llm-wiki-skills · 82 tokens

llm-wiki-eval-tooling

Select evaluation tools and CI gates for LLM-Wiki measurement. Use when the user asks which eval framework, dataset format, scorecard file, red-team config, prompt regression test, hosted/self-hosted service, or human calibration workflow to use; route actual pilot runs to llm-wiki-eval.

po4yka/llm-wiki-skills · 71 tokens