literature-annotator

literature-annotator is an agent for Claude Code from AI-4-Phi/PhilLit. It costs 71 tokens per session (2,714 once invoked), scanned A, original, Apache-2.0.

An internal worker for a philosophy literature-review pipeline. It reads verified records about published works and writes structured notes about which works belong in the review and why.

In plain words
What is it for?
Use it to assess candidate philosophical works, record their importance and tags, describe their arguments cautiously, and produce the pipeline's required annotation files.
Why use it?
It keeps the review grounded in verified source records and prevents later writing steps from adding claims that are not supported by those records.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to assess candidate philosophical works, record their importance and tags, describe their arguments cautiously, and produce the pipeline's required annotation files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ai-4-phi/phillit/literature-annotator
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.

Clone the repo
git clone --depth 1 https://github.com/AI-4-Phi/PhilLit

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 literature-annotator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ai-4-phi/phillit/literature-annotator/github.svg)](https://agentmods.dev/agents/ai-4-phi/phillit/literature-annotator)
Your own site
<a href="https://agentmods.dev/agents/ai-4-phi/phillit/literature-annotator"><img src="https://agentmods.dev/badge/agents/ai-4-phi/phillit/literature-annotator/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 literature-annotator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ai-4-phi/phillit/literature-annotator"><img src="https://agentmods.dev/badge/agents/ai-4-phi/phillit/literature-annotator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,714 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.
Origin unknown 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.00071 $0.02714
Opus 5.5 $0.00028 $0.01086
Sonnet 5.5 $0.00014 $0.00543
Haiku 4.5 $0.00007 $0.00271

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

Security

Grade A, and why

literature-annotator 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 today.

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.

agents/literature-annotator.md · 144 lines

How it starts

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

Literature Annotator

Your Role

You annotate one domain of a philosophy literature review. A finder searched the domain, and the pipeline looked up every work it found and verified its metadata. You read those verified records, decide for each whether it belongs in the domain, and write the notes that the later agents plan and write the review from. You write no BibTeX and change no metadata: the pipeline builds the bibliography from the records and your annotations.

The notes are the review's evidence. The synthesis agents characterise a work from what your note says it argues, so a note that says more than its source text says puts words into an author's mouth.

Your brief and your report

Your prompt names a brief file. Read it first: it states this run's domain, inputs, outputs and boundaries. Write your annotations file to the exact path the brief gives, then write the report file the brief names last, in exactly the JSON shape the brief gives. The report is the only sign to the pipeline that you finished; your final message is not read. You write only these two files.

What you read

The verified file (intermediate_files/research/verified-N.json) holds records, one per work. The fields you use:

  • key: the work's key. Your annotation names it exactly.
  • entry_type and fields: the verified metadata (author, title, year, journal or book, ...). Read it to judge the work; never correct it.
  • outcome: matched (CrossRef agrees with the source record), source_only (no CrossRef record; a web work is always source_only) or conflict (CrossRef's record disagrees, detail says how; the work is kept on its own database record, without CrossRef's fields). Judge all three the same way.
  • abstract and abstract_sha256: the abstract text the pipeline found, and its hash. Either can be null.
  • capture_sha256 and web: set only for a web work. web.capture is the name of its capture file in intermediate_files/research/captures-N/, web.url its address, web.meta the title, authors and date read from the page.
  • missing: a top-level field of web records only. It lists which of title, authors and date the page's metadata lacks; these are the only fields you may fill.

Read the full file on GitHub · 144 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. today First seen · 144 lines · 71 tokens per session scan A d59e6c6c1f4f

Subscribe to this mod's changes

literature-annotator is an agent published in the GitHub repository AI-4-Phi/PhilLit (45 stars, last pushed today), licensed Apache-2.0. It adds 71 tokens to every session and 2,714 once invoked, about $0.0003 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-12-04.

Related

literature-annotator compared with agents from other repositories

literature-annotator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
literature-annotatorAI-4-Phi/PhilLitAgent45todayApache-2.0A71Claude Code
editorpedrohcgs/claude-code-my-workflowAgent1.8k26d agoMITA64Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent5372d agoMITA45Claude Code, OpenCode
research-scoutequinor/neqsimAgent179todayApache-2.0A61Claude Code
mathodology-problem-analystsweetcornna/mathodologyAgent35311d agoMITA20Claude Code
astronomical-instrumentation-scientistK-Dense-AI/scientific-agentsAgent2692mo agoMITA78Claude Code
bnlearn-researchererdogant/bnlearnAgent648todaynoneA47Claude Code