codesage CLAUDE.md

codesage CLAUDE.md is an instructions file for coding agents from iliaal/codesage. It costs 3 tokens per session, scanned A, a copy of deepseek-harness CLAUDE.md, MIT.

A code intelligence engine for AI coding agents. It lets them search the meaning of code and query how parts of a codebase are connected, through a command-line tool or MCP.

In plain words
What is it for?
Use it to explore relationships in code, find relevant implementations, and answer structural questions while programming.
Why use it?
It helps agents understand a codebase’s structure and relevant code instead of relying only on text matching.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/iliaal/codesage/claude-md.svg)](https://agentmods.dev/instructions/iliaal/codesage/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/iliaal/codesage/claude-md"><img src="https://agentmods.dev/badge/instructions/iliaal/codesage/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 This file is loaded in full into every session.
When invoked 3 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 $0.00003 $0.00003
Opus 5 $0.00002 $0.00002
Sonnet 5 $0.00001 $0.00001
Haiku 4.5 $0.00000 $0.00000

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

Security

Grade A, and why

codesage 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 4d 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 deepseek-harness 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 · 1 lines

What it actually says

AGENTS.md

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. 4d ago First seen · 1 lines · 3 tokens per session scan A a54ff182c7e8

Subscribe to this mod's changes

codesage CLAUDE.md is an instructions file published in the GitHub repository iliaal/codesage (20 stars, last pushed 4d ago), licensed MIT. It adds 3 tokens to every session, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to deepseek-harness CLAUDE.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

repobrain copilot-instructions.md

Copilot instructions for study8677/repobrain, covering github copilot bootstrap instructions and hard rule — query the repobrain hub first.

study8677/repobrain · 229 tokens

repobrain AGENTS.md

AGENTS.md instructions for study8677/repobrain: Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules.…

study8677/repobrain · 167 tokens

open-codebase-index AGENTS.md

Instructions for Helweg/open-codebase-index, covering agents.md - ai agent guidelines for open-codebase-index, build, test, and lint, run a single test, equivalent low-level command and architecture and file structure.

Helweg/open-codebase-index · 4,107 tokens

CodeNib AGENTS.md

AGENTS.md instructions for sysevol-ai/CodeNib, covering agents.md, layered objectives, storage scope guard, dev commands and git, commit, and pr rules.

sysevol-ai/CodeNib · 2,451 tokens

heimdall AGENTS.md

AGENTS.md instructions for ArihantDeva/heimdall, covering agents.md — heimdall (working guide for ai agents), purpose (one line), structure map, entry points and how to run / test.

ArihantDeva/heimdall · 3,467 tokens

coco-search CLAUDE.md

Claude Code instructions for VioletCranberry/coco-search, covering project instructions, project overview, tool routing (mandatory), development setup and prerequisites: docker, uv (python package manager).

VioletCranberry/coco-search · 8,169 tokens