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.
npx agentmods add instructions/codelibs/fess/claude-mdgit clone --depth 1 https://github.com/codelibs/fessWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01421 | $0.01421 |
| Opus 5 | $0.00711 | $0.00711 |
| Sonnet 5 | $0.00284 | $0.00284 |
| Haiku 4.5 | $0.00142 | $0.00142 |
Grade A, and why
fess 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code when working with this repository.
Project Overview
Fess is an enterprise search server built on OpenSearch. It is a Java web application that crawls and indexes documents from web sites, file systems, and data stores, and provides full-text search through a web UI and a REST API. Licensed under Apache License 2.0.
Key capabilities: full-text search, multi-source crawling, multi-format document support (Office, PDF, etc.), an admin GUI, SSO (LDAP, OIDC, SAML, SPNEGO, Entra ID), and i18n (20+ languages).
Tech Stack
| Component | Technology |
|---|---|
| Web framework | LastaFlute (MVC) |
| DI container | Lasta Di |
| Data access | DBFlute (type-safe access to OpenSearch) |
| Search engine | OpenSearch |
| App server | Embedded Tomcat |
| Crawler | fess-crawler |
| Scheduler | Lasta Job |
| Testing | JUnit 4/5, UTFlute, REST Assured |
Development Commands
# Setup
mvn antrun:run # Download OpenSearch plugins (required before first build)
mvn dbflute:download # One-time DBFlute setup
mvn dbflute:freegen # Regenerate DBFlute source
# Build
mvn package # Build (use `mvn clean package` for a clean build)
mvn rpm:rpm # Build .rpm package
mvn jdeb:jdeb # Build .deb package
# Test
mvn test # Unit tests (*Test.java)
mvn test -Dtest=ClassName # Single unit test
mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
# Format (run before committing)
mvn formatter:format
mvn license:format
# Run
./bin/fess # From a built package, or run org.codelibs.fess.FessBoot from the IDE
# Access http://localhost:8080/ (admin UI: admin/admin)
Fess is packaged as a WAR. To install it as a jar so plugins can resolve it as a dependency, temporarily change <packaging>war</packaging> to jar in pom.xml, run mvn clean install -DskipTests, then revert.
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.
- 2d ago First seen · 99 lines · 1,421 tokens per session scan A 9d606cb11a42
fess CLAUDE.md is an instructions file published in the GitHub repository codelibs/fess (1,128 stars, last pushed 3d ago), licensed Apache-2.0. It adds 1,421 tokens to every session, about $0.0071 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-30.
Other instructions, from other repositories
firecrawl AGENTS.md
AGENTS.md instructions for firecrawl/firecrawl: Firecrawl is a web scraper API. The directory you have access to is a monorepo.
firecrawl CLAUDE.md
Claude Code instructions for firecrawl/firecrawl: Firecrawl is a web scraper API. The directory you have access to is a monorepo.
boss-zhipin-scraper AGENTS.md
Instructions for eatmoreduck/boss-zhipin-scraper, covering agents.md, 这是什么, 目录结构, 环境与命令 and 改代码时的硬规则.
seekdb copilot-instructions.md
Copilot instructions for oceanbase/seekdb: When performing a pull request code review, read and follow /.agents/skills/code-review/SKILL.md.
Xapiand AGENTS.md
Instructions for Kronuz/Xapiand, covering agents.md — working in the xapiand codebase, first, the big split: own code vs. vendored, where things live, build & toggles and verifying changes end-to-end (the docs are a test suite).
mcp-read-website-fast CLAUDE.md
Instructions for just-every/mcp-read-website-fast, covering claude.md, project overview, core modules & files, commands and development.