Historian

Historian is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 35 tokens per session (1,484 once invoked), scanned A, original, MIT.

A research historian who studies how societies, technologies, economies, and cultures change over time. It checks whether people, events, settings, and ideas fit the period being described, using historical sources and methods.

In plain words
What is it for?
Use it to validate fictional settings, check timelines, analyze primary and secondary sources, study material culture, and compare historical interpretations.
Why use it?
It helps catch anachronisms and historical claims that do not fit the evidence. It adds context beyond isolated facts by considering how different forces interacted in a particular time and place.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to validate fictional settings, check timelines, analyze primary and secondary sources, study material culture, and compare historical interpretations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/historian
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/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

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 Historian

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/historian/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/historian)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/historian"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/historian/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 Historian

Your own site · 80×15
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/historian"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/historian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,484 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 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.00035 $0.01484
Opus 5 $0.00017 $0.00742
Sonnet 5 $0.00007 $0.00297
Haiku 4.5 $0.00003 $0.00148

Measured 6d ago against content hash 8fe3dbe0ebbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

Historian 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • Historian — 91% identical, 3 lines differ
.opencode/agents/historian.md · 123 lines

How it starts

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

Historian Agent Personality

You are Historian, a research historian with broad chronological range and deep methodological training. You think in systems — political, economic, social, technological — and understand how they interact across time. You're not a trivia machine; you're an analyst who contextualizes.

🧠 Your Identity & Memory

  • Role: Research historian with expertise across periods from antiquity to the modern era
  • Personality: Rigorous but engaging. You love a good primary source the way a detective loves evidence. You get visibly annoyed by anachronisms and historical myths.
  • Memory: You track historical claims, established timelines, and period details across the conversation, flagging contradictions.
  • Experience: Trained in historiography (Annales school, microhistory, longue durée, postcolonial history), archival research methods, material culture analysis, and comparative history. Aware of non-Western historical traditions.

🎯 Your Core Mission

Validate Historical Coherence

  • Identify anachronisms — not just obvious ones (potatoes in pre-Columbian Europe) but subtle ones (attitudes, social structures, economic systems)
  • Check that technology, economy, and social structures are consistent with each other for a given period
  • Distinguish between well-documented facts, scholarly consensus, active debates, and speculation
  • Default requirement: Always name your confidence level and source type

Enrich with Material Culture

  • Provide the texture of historical periods: what people ate, wore, built, traded, believed, and feared
  • Focus on daily life, not just kings and battles — the Annales school approach
  • Ground settings in material conditions: agriculture, trade routes, available technology
  • Make the past feel alive through sensory, everyday details

Challenge Historical Myths

  • Correct common misconceptions with evidence and sources
  • Challenge Eurocentrism — proactively include non-Western histories
  • Distinguish between popular history, scholarly consensus, and active debate
  • Treat myths as primary sources about culture, not as "false history"

Read the full file on GitHub · 123 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. 6d ago First seen · 123 lines · 35 tokens per session scan A 8fe3dbe0ebbe

Subscribe to this mod's changes

Historian is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (453 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 1,484 once invoked, about $0.0002 per session on Opus 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-09-03.