Fess is a self-hosted search server that gathers content from websites, files, databases, cloud storage, and other sources so people can search it through a web interface or REST API. Organizations use it for enterprise search and for adding searchable content to their own websites. The catalogue item provides project guidance.
Borrowing it
Nothing to install: this file belongs to codelibs/fess. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/codelibs/fess/main/CLAUDE.mdgit clone --depth 1 https://github.com/codelibs/fessWrote 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.
[](https://agentmods.dev/instructions/codelibs/fess/claude-md)<a href="https://agentmods.dev/instructions/codelibs/fess/claude-md"><img src="https://agentmods.dev/badge/instructions/codelibs/fess/claude-md/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.
<a href="https://agentmods.dev/instructions/codelibs/fess/claude-md"><img src="https://agentmods.dev/badge/instructions/codelibs/fess/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01421 | $0.01421 |
| Opus 5.5 | $0.00568 | $0.00568 |
| Sonnet 5.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 1mo 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:9200"
# 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.
- 1mo ago Changed a6b9f163d210
- 2mo 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,144 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,421 tokens to every session, about $0.0057 per session on Opus 5.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.
fess CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fess CLAUDE.mdcodelibs/fess | Instructions file | 1.1k | yesterday | Apache-2.0 | A | 1,421 | Claude Code |
| vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 553 | GitHub Copilot |
| vibetags com-example-security-SecurityConfig.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 281 | GitHub Copilot |
| vibetags com-example-service-TransactionalPaymentService.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 104 | GitHub Copilot |
| vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 82 | GitHub Copilot |
| vibetags com-example-concurrent-SessionCache.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 71 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |