metadata-schema

metadata-schema is a skill for Claude Code, Codex from apache/tika. It costs 53 tokens per session (1,568 once invoked), scanned A, original, Apache-2.0.

A guide for maintaining Apache Tika’s registry of metadata names—the labels Tika uses to describe information found in files.

In plain words
What is it for?
Use it when changing metadata properties, regenerating the registry, investigating schema-check failures, or checking naming conventions.
Why use it?
It helps keep the registry, source code, and build checks aligned when metadata names are added or renamed.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it when changing metadata properties, regenerating the registry, investigating schema-check failures, or checking naming conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/tika/metadata-schema
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,167 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 metadata-schema
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 metadata-schema

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/tika/metadata-schema"><img src="https://agentmods.dev/badge/skills/apache/tika/metadata-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,568 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 57
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00053 $0.01568
Opus 5.5 $0.00021 $0.00627
Sonnet 5.5 $0.00011 $0.00314
Haiku 4.5 $0.00005 $0.00157

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

Security

Grade A, and why

metadata-schema 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/metadata-schema/SKILL.md · 120 lines

How it starts

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

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

Metadata Key Registry & Schema Skill

Working with tika-metadata-schema — the committed, build-gated registry of Tika's metadata keys. File structure and the CLOSED/OPEN/TEMPLATE/UNKNOWN classification are in that module's README.md; this covers conventions, regeneration, and the traps.

The three registries

Under tika-metadata-schema/src/main/resources/org/apache/tika/metadata/:

  • metadata-keys.json — closed set: every Property constant + the synthesized tk:digest:* cross-product.
  • metadata-open-namespaces.json — KeyPrefix prefixes for runtime-minted names (html:, message:raw-header:, mdb-prop:).
  • metadata-key-fields.json — TIKA-4797 {class, field, key} table for field-identity migration.

Committed on purpose: they are the reviewable audit trail of the key space (a rename or a dropped key shows up as a diff). Don't switch to build-time-only generation — that loses the review signal.

Regenerate (after adding/changing a Property or KeyPrefix)

tika-metadata-schema/regen.sh

This does the full sequence in one shot: -am install so newly added Property/KeyPrefix classes are on the scan classpath, regenerate all three registries via the forked-exec profile, print a before/after key-count check (catches an incomplete classpath scan), git diff --stat the registries, then run the gate tests. Flags: --skip-install (only safe if nothing outside tika-metadata-schema itself changed since the last install) and --skip-tests for a faster inner loop. Then review the diff and commit the Property change and the regenerated JSON together.

Read the full file on GitHub · 120 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 · 120 lines · 53 tokens per session scan A b15ff9a4b7c2

Subscribe to this mod's changes

metadata-schema is a skill published in the GitHub repository apache/tika (4,167 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 1,568 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

metadata-schema compared with skills from other repositories

metadata-schema next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metadata-schemaapache/tikaSkill4.2kyesterdayApache-2.0A53Claude Code, Codex
java-affected-testsopen-metadata/OpenMetadataSkill16ktodayApache-2.0A120Claude Code
java-checkstyleopen-metadata/OpenMetadataSkill16ktodayApache-2.0A60Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
connector-standardsopen-metadata/OpenMetadataSkill16ktodayApache-2.0A26Claude Code
azure-security-keyvault-secrets-javamicrosoft/skillsSkill3.3k3d agoMITA40Claude Code
azure-communication-chat-javamicrosoft/skillsSkill3.3k3d agoMITA41Claude Code