md2idx CLAUDE.md

md2idx CLAUDE.md is an instructions file for coding agents from oubakiou/md2idx. It costs 231 tokens per session, scanned A, a copy of mdxg-redline CLAUDE.md, MIT.

Project instructions for md2idx, a tool that turns Markdown documents into indexed JSON so large documents can be split and only relevant parts sent to a language model. They also specify checks for TypeScript changes.

In plain words
What is it for?
Use them when modifying, reviewing, or checking md2idx's TypeScript code, especially during file moves, import updates, or validation of editor and project diagnostics.
Why use it?
They explain the project's purpose and the required tools for finding definitions, references, and type errors. This helps an agent follow the repository's workflow when files or imports change.

Instructions file

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 instructions/oubakiou/md2idx/claude-md
Clone the repo
git clone --depth 1 https://github.com/oubakiou/md2idx

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 md2idx CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oubakiou/md2idx/claude-md.svg)](https://agentmods.dev/instructions/oubakiou/md2idx/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/oubakiou/md2idx/claude-md"><img src="https://agentmods.dev/badge/instructions/oubakiou/md2idx/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 231 This file is loaded in full into every session.
When invoked 231 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00231 $0.00231
Opus 5 $0.00115 $0.00115
Sonnet 5 $0.00046 $0.00046
Haiku 4.5 $0.00023 $0.00023

Measured 5d ago against content hash 9d55cf012293, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

md2idx CLAUDE.md 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 5d 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.

Origin

This is a copy

100% identical to mdxg-redline CLAUDE.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 6 lines

What it actually says

@AGENTS.md @CLAUDE.local.md

  • ユーザーに確認する場合はAskUserQuestion toolを利用して選択肢を提示する
  • TypeScript のコード調査・変更検証には Claude Code の LSP deferred tool を活用する。初回利用時は ToolSearch query="select:LSP" で schema を読み込んでから呼び出す。シンボルの定義 / 参照解決(goToDefinition / findReferences 等)と、変更後の型エラー・未解決 import の単一ファイル確認(getDiagnostics)を組み合わせる。ただし getDiagnostics は指定ファイル中心で全走査ではないため、横断的な最終確認は vp check を併用する。ファイル移動に伴う import パスの自動書き換えは行われないので、書き換えは別途行い getDiagnostics / vp check で検証する
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. 5d ago First seen · 6 lines · 231 tokens per session scan A 9d55cf012293

Subscribe to this mod's changes

md2idx CLAUDE.md is an instructions file published in the GitHub repository oubakiou/md2idx (12 stars, last pushed 25d ago), licensed MIT. It adds 231 tokens to every session, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mdxg-redline CLAUDE.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

GPT-RAG release.instructions.md

Instructions for Azure/GPT-RAG, a project described as: Enterprise-grade accelerator for agentic RAG on Azure. Built on Microsoft Foundry with Foundry IQ as the default retrieval backend, Microsoft Agent Framework orchestration, Zero-Trust architecture and IaC.

Azure/GPT-RAG · 207 tokens

gpt-rag-ingestion api-frontend.instructions.md

Instructions for Azure/gpt-rag-ingestion, a project described as: The GPT-RAG Data Ingestion service automates processing of diverse documents—PDFs, images, spreadsheets, transcripts, and SharePoint—readying them for Azure AI Search. It applies smart chunking, generates text and image embeddings, and enables rich…

Azure/gpt-rag-ingestion · 208 tokens

RAGElo copilot-instructions.md

Instructions for zetaalphavector/RAGElo, covering copilot instructions — ragelo, project overview, commands, install for development and run with openai integration tests (requires openaiapikey).

zetaalphavector/RAGElo · 3,210 tokens

pdf-brain AGENTS.md

Instructions for joelhooks/pdf-brain, covering pdf-brain agent notes, libsql quirks, ai sdk pattern, key files and docs.

joelhooks/pdf-brain · 531 tokens

rag-code-mcp copilot-instructions.md

Instructions for doITmagic/rag-code-mcp, covering copilot instructions - ragcode mcp, ⚖️ the golden rule, project overview, architecture & patterns and developer workflows.

doITmagic/rag-code-mcp · 568 tokens

autonomous-rag CLAUDE.md

Claude Code instructions for BhavyaFattania/autonomous-rag, covering claude code configuration, rules, knowledge graph navigation (graphify-out/), design principles (derived from codebase audit) and build & test.

BhavyaFattania/autonomous-rag · 1,738 tokens