loredex-init

loredex-init is a skill for Claude Code from ahmedtawfeeq1/loredex. It costs 65 tokens per session (360 once invoked), scanned A, original, MIT.

A setup skill for Loredex, a research or agent-operations knowledge base that links project notes and code references.

In plain words
What is it for?
Use it to initialize Loredex, choose a research or agent-operations vault, connect an editor, and add project guidance files.
Why use it?
It registers the project and records the conventions needed to keep research or agent-fleet work organized across editors.

Skill for Claude Code

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

Part of the loredex plugin — 13 skills, 2 hooks shipped together

Good fit Use it to initialize Loredex, choose a research or agent-operations vault, connect an editor, and add project guidance files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahmedtawfeeq1/loredex/loredex-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 ahmedtawfeeq1/loredex --skill loredex-init
Clone the repo
git clone --depth 1 https://github.com/ahmedtawfeeq1/loredex

Made for: Claude Code.

Or install loredex, the plugin that ships this one along with the rest of its 13 skills, 2 hooks.

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 loredex-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmedtawfeeq1/loredex/loredex-init"><img src="https://agentmods.dev/badge/skills/ahmedtawfeeq1/loredex/loredex-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 360 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.00065 $0.00360
Opus 5.5 $0.00026 $0.00144
Sonnet 5.5 $0.00013 $0.00072
Haiku 4.5 $0.00006 $0.00036

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

Security

Grade A, and why

loredex-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 1mo 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.

plugin/skills/loredex-init/SKILL.md · 24 lines

What it actually says

/loredex-init

  1. If the user hasn't said which editor code links should open in, run npx -y loredex@latest doctor first — if it shows exactly one installed editor, use it without asking. Otherwise ask: vscode, cursor, windsurf, or system default.
  2. Run:
    npx -y loredex@latest init [--vault <path>] [--type research|agent-ops] [--sync git] --editor <choice>
    
    Omit --vault to use the default (~/Loredex) or an already-registered dex. --sync git git-inits the dex and auto-commits after every route/curate. --type agent-ops creates an agent-ops dex — a client fleet (Manager ▸ Client ▸ Pipeline/Agent ▸ Stage) instead of a research dex; scaffold the fleet afterwards with /loredex-agent-ops. Default stays research.
  3. Report what got created: dex path, project registration, and the conventions written to AGENTS.md, CLAUDE.md, and .cursor/rules/loredex.mdc.
  4. If the project already has research markdown sitting in it, suggest /loredex-adopt next.
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. 1mo ago First seen · 24 lines · 65 tokens per session scan A f013d9b819ba

Subscribe to this mod's changes

loredex-init is a skill published in the GitHub repository ahmedtawfeeq1/loredex (2 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 360 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

Other skills, from other repositories

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

knowit

Persistent, structured project memory for AI coding agents via the Knowit MCP server. Use before planning or editing code to load relevant rules, architecture, decisions, patterns, and conventions; use after finishing work to save durable learnings. Triggers on "remember this", "what are our conventions", "project…

ismaelkedir/knowit · 92 tokens

shared-agents-knowledge

Sync and use the shared-agents repo (team skills, rules + learnings). Use at session start, when loading team knowledge, searching learnings, or when the user mentions shared-agents, shared learnings, or team knowledge.

netgrade-digital/shared-agents · 54 tokens

unforgit-memory

Use Unforgit MCP tools as durable repository memory for decisions, conventions, gotchas, and playbooks.

MiguelMedeiros/unforgit · 27 tokens

debrief

Use at the end of a session (or midway through a long one) to deliberately capture what was learned — lessons, decisions, workflows, state changes, and facts — into the knowledge base. The nightly harvest is a safety net for lessons; unless the host opted into KBHARVESTFACTS, /debrief is the only thing that records…

uttambharadwaj/kb-graph · 76 tokens

kb-workflow

Use before starting any non-trivial task to search the knowledge base for context, and after completing work to capture findings. Teaches the token-efficient retrieval pattern and self-learning loop.

uttambharadwaj/kb-graph · 40 tokens