loredex-reset

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

A reset command for loredex, a tool that files project notes into a searchable index used by Obsidian. It removes that project's indexed copies and clears their routing marks without deleting the original notes.

In plain words
What is it for?
Use it to preview and remove a project's indexed note copies, then prepare the originals for re-adoption. It helps rebuild the project's index with working links.
Why use it?
It fixes broken note links or filing problems after loredex changes. Resetting alone leaves the project unfiled, so the notes must be adopted again afterward.

Skill for Claude Code

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

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

Good fit Use it to preview and remove a project's indexed note copies, then prepare the originals for re-adoption. It helps rebuild the project's index with working links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahmedtawfeeq1/loredex/loredex-reset
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-reset
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-reset

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmedtawfeeq1/loredex/loredex-reset"><img src="https://agentmods.dev/badge/skills/ahmedtawfeeq1/loredex/loredex-reset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 274 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.00070 $0.00274
Opus 5 $0.00035 $0.00137
Sonnet 5 $0.00014 $0.00055
Haiku 4.5 $0.00007 $0.00027

Measured 11d ago against content hash 6c571e35832a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

loredex-reset 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 11d 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-reset/SKILL.md · 19 lines

What it actually says

/loredex-reset

  1. Explain what this does before running it: removes this project's copies inside the dex and clears the loredex: routed marker on the originals — originals are never deleted, only unstamped so they can be adopted again.
  2. Run npx -y loredex@latest reset <project> --dry-run and show the user what would be removed/unstamped.
  3. Confirm, then run npx -y loredex@latest reset <project> -y.
  4. Immediately follow with /loredex-adopt (or npx -y loredex@latest adopt -y directly) to rebuild — reset alone leaves the project unfiled.

Typical trigger: broken relative links from a pre-link-provenance dex create phantom empty notes in Obsidian on click. Reset + re-adopt rebuilds with working links.

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. 11d ago First seen · 19 lines · 70 tokens per session scan A 6c571e35832a

Subscribe to this mod's changes

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

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

best-practices

Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.

MoizIbnYousaf/Ai-Agent-Skills · 35 tokens

code-documentation

Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.

MoizIbnYousaf/Ai-Agent-Skills · 35 tokens

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

curate-a-team-library

Use when building a managed team skills library for a real stack. Map work to shelves, browse before curating, write meaningful whyHere notes, and create a starter pack once the first pass is solid.

MoizIbnYousaf/Ai-Agent-Skills · 49 tokens

audit-library-health

Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.

MoizIbnYousaf/Ai-Agent-Skills · 33 tokens