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 $0.00032 $0.00180
Sonnet 5 $0.00013 $0.00072
Haiku 4.5 $0.00006 $0.00036

Measured 12d ago against content hash f013d9b819ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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. 12d 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 1mo ago), licensed MIT. It adds 65 tokens to every session and 360 once invoked, about $0.0003 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

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

any-mcp

Use when an agent needs to read, search, create, edit, organize, upload, or chat with Anytype through the bounded any-mcp server. Covers safe tool selection, exact identifier chaining, optional toolsets, common PKM workflows, and the narrow anyr fallbacks for chat subscriptions and rich chat blocks.

stevelr/anytype · 68 tokens

fkf-learn

Stage verified fkf findings as reviewable wiki or project diffs. Use after a durable decision, pattern, status change, dead end, or skill lesson.

fmind/fkf · 37 tokens

unforgit-memory

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

MiguelMedeiros/unforgit · 27 tokens

cc-wiki

Distill the user's /.claude history into a Quartz knowledge base. Runs preprocess.py, dispatches parallel project-digest agents, then parallel cross-cutting synthesis agents (people / companies / projects / concepts / workflows / tools / playbooks), writes the spine, installs Quartz, and starts the dev server. Single…

tejpalv/cc-wiki · 76 tokens

kmd-ingest

The write protocol for a markdown knowledge base (Obsidian-compatible, the LLM-wiki pattern) — personal or shared. Use for EVERY write into the KB — distilling a new or scraped source, promoting a finished artifact/report/lesson into the KB, filing a durable learning, insight, or query answer, or correcting/updating…

yasik/kmd · 135 tokens