tika-eval-encoding-regression

tika-eval-encoding-regression is a skill for Claude Code, Codex from apache/tika. It costs 60 tokens per session (2,751 once invoked), scanned A, original, Apache-2.0.

A focused workflow for investigating character-encoding changes in Apache Tika, a program that extracts text from files.

In plain words
What is it for?
Use it to compare encoding detectors, find files where encoding choices flip, and examine signals such as replacement characters or language-detection results.
Why use it?
It helps determine why two configurations identify different encodings and whether the change causes damaged or misread text.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare encoding detectors, find files where encoding choices flip, and examine signals such as replacement characters or language-detection results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/tika/tika-eval-encoding-regression
About the project

Apache Tika is a toolkit that reads many kinds of files and extracts their text and descriptive metadata, including from formats such as PDF, PowerPoint, and Excel. Applications and agent pipelines use it to turn documents into content they can process, search, or pass to language models. The catalogue skills provide reusable ways for coding agents to run Tika for file-to-Markdown extraction.

apache/tika · 4,177 stars · on GitHub · tika.apache.org

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.

Any agent
npx skills add apache/tika --skill tika-eval-encoding-regression
Clone the repo
git clone --depth 1 https://github.com/apache/tika

Made for: Claude Code, Codex.

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 tika-eval-encoding-regression

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/tika/tika-eval-encoding-regression/github.svg)](https://agentmods.dev/skills/apache/tika/tika-eval-encoding-regression)
Your own site
<a href="https://agentmods.dev/skills/apache/tika/tika-eval-encoding-regression"><img src="https://agentmods.dev/badge/skills/apache/tika/tika-eval-encoding-regression/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 tika-eval-encoding-regression

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/tika/tika-eval-encoding-regression"><img src="https://agentmods.dev/badge/skills/apache/tika/tika-eval-encoding-regression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.02751
Opus 5.5 $0.00024 $0.01100
Sonnet 5.5 $0.00012 $0.00550
Haiku 4.5 $0.00006 $0.00275

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

Security

Grade A, and why

tika-eval-encoding-regression 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 3mo 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.

.skills/devs/tika-eval-encoding-regression/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Local override: $TIKA_SKILLS_LOCAL/tika-eval-encoding-regression/LOCAL.md (default ~/.tika-skills), read after this file, wins on conflict.

tika-eval for encoding-detector regression hunts

A condensed pattern for finding SBCS→CJK style charset-detector regressions (or any "A picks encoding X, B picks encoding Y" question) without building two tika-app distributions.

Two configs, one build

Encoding-detector experiments don't need a "before" and "after" tika-app — the chain composition is per-config. Run the SAME tika-app twice against two configs, treat the outputs as -a and -b. Much faster than tika-eval-compare's two-build flow.

# build once
./mvnw clean install -pl tika-app -am -Pfast -DskipTests \
  -Dmaven.repo.local=$(pwd)/.local_m2_repo
unzip -q tika-app/target/tika-app-*.zip -d /tmp/tika-app-current

# two configs (any combination of detectors)
java -jar /tmp/tika-app-current/tika-app-*.jar \
  --config=tika-config-3x-default.json \
  -i <corpus> -o <workdir>/extracts/A -n 6
java -jar /tmp/tika-app-current/tika-app-*.jar \
  --config=tika-config-junkfilter-combiner.json \
  -i <corpus> -o <workdir>/extracts/B -n 6

# normal Compare
java -jar /tmp/tika-eval-current/tika-eval-app-*.jar Compare \
  -a <workdir>/extracts/A -b <workdir>/extracts/B -d <workdir>/extracts/A-vs-B -r -rd <workdir>/extracts/A-vs-B-reports

Read the full file on GitHub · 231 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. 3mo ago First seen · 231 lines · 60 tokens per session scan A b4fb98c32a84

Subscribe to this mod's changes

tika-eval-encoding-regression is a skill published in the GitHub repository apache/tika (4,177 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 2,751 once invoked, about $0.0002 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

tika-eval-encoding-regression compared with skills from other repositories

tika-eval-encoding-regression next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tika-eval-encoding-regressionapache/tikaSkill4.2ktodayApache-2.0A60Claude Code, Codex
nullawaychromium/chromiumSkill26ktodayBSD-3-ClauseA43Claude Code, Codex
java-affected-testsopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A120Claude Code
java-checkstyleopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A60Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
wxjava-troubleshooterbinarywang/WxJavaSkill33kyesterdayApache-2.0A65Codex
audit-ui-thread-safetyflutter/flutter-intellijSkill2.0kyesterdayBSD-3-ClauseA32Claude Code, Codex