fess: Instructions file for Claude Code

CLAUDE.md

fess CLAUDE.md is an instructions file for Claude Code from codelibs/fess. It costs 1,421 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Fess, an enterprise search server that crawls websites, files, and data stores, indexes their contents, and provides a web and API search interface.

In plain words
What is it for?
Use them when configuring, building, testing, or changing Fess's search, crawling, administration, authentication, or internationalisation features.
Why use it?
They document the Java technology stack and the setup, database-code generation, build, and testing commands needed to develop it.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is codelibs/fess's own configuration. It tells Claude Code how to work on fess itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fess configures →

About the project

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.

codelibs/fess · 1,144 stars · on GitHub · fess.codelibs.org

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/codelibs/fess/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/codelibs/fess

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/codelibs/fess/claude-md/github.svg)](https://agentmods.dev/instructions/codelibs/fess/claude-md)
Your own site
<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.

agentmods 80×15 button for fess CLAUDE.md

Your own site · 80×15
<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>
Per session 1,421 This file is loaded in full into every session.
When invoked 1,421 The same file — it is already loaded in full.
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.01421 $0.01421
Opus 5.5 $0.00568 $0.00568
Sonnet 5.5 $0.00284 $0.00284
Haiku 4.5 $0.00142 $0.00142

Measured 1mo ago against content hash a6b9f163d210, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

CLAUDE.md · 99 lines

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.

Read the full file on GitHub · 99 lines

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. 1mo ago Changed a6b9f163d210
  2. 2mo ago First seen · 99 lines · 1,421 tokens per session scan A 9d606cb11a42

Subscribe to this mod's changes

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.

Related

fess CLAUDE.md compared with instructions from other repositories

fess CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fess CLAUDE.mdcodelibs/fessInstructions file1.1kyesterdayApache-2.0A1,421Claude Code
vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetagsInstructions file25todayMITA553GitHub Copilot
vibetags com-example-security-SecurityConfig.instructions.mdPIsberg/vibetagsInstructions file25todayMITA281GitHub Copilot
vibetags com-example-service-TransactionalPaymentService.instructions.mdPIsberg/vibetagsInstructions file25todayMITA104GitHub Copilot
vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetagsInstructions file25todayMITA82GitHub Copilot
vibetags com-example-concurrent-SessionCache.instructions.mdPIsberg/vibetagsInstructions file25todayMITA71GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot