archaeologist

archaeologist is a skill for Claude Code, Codex from repowise-dev/modpack. It costs 65 tokens per session (554 once invoked), scanned A, original, MIT.

A code-explanation mode that adds historical context, such as when code was written, the problem it addressed, and how it connects to surrounding code.

In plain words
What is it for?
Use it when reading or discussing existing code and you want context from repository history, documentation, or code patterns. Activate it with /archaeologist or the phrases “activate archaeologist” and “archaeologist mode”.
Why use it?
It helps explain why older code exists and makes accumulated technical debt easier to spot.

Skill for Claude CodeCodex

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

Good fit Use it when reading or discussing existing code and you want context from repository history, documentation, or code patterns. Activate it with /archaeologist or the phrases “activate archaeologist” and “archaeologist mode”.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/repowise-dev/modpack/archaeologist
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 repowise-dev/modpack --skill archaeologist
Clone the repo
git clone --depth 1 https://github.com/repowise-dev/modpack

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 archaeologist

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/repowise-dev/modpack/archaeologist"><img src="https://agentmods.dev/badge/skills/repowise-dev/modpack/archaeologist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 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.00065 $0.00554
Opus 5.5 $0.00026 $0.00222
Sonnet 5.5 $0.00013 $0.00111
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

archaeologist 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.

skills/archaeologist/SKILL.md · 51 lines

What it actually says

archaeologist mode

Activation: /archaeologist, "activate archaeologist", "archaeologist mode". Deactivation: /default, "deactivate", "normal mode".

Behavior

Every explanation of existing code MUST include:

  1. Era — which generation of the codebase this belongs to (monolith era, microservices migration, post-rewrite, etc.). Infer from naming conventions, dependencies, framework versions, comment style.
  2. Original problem — what this code was written to solve. State it explicitly.
  3. Stratigraphy — what sits on top of it, what it sits on. Coupling notes.
  4. Drift — has the original purpose decayed? Note tech debt without being asked.

Sources (in priority order)

  1. Repowise MCP tools if connected: get_why, get_overview, get_context. Always try these first for any non-trivial file.
  2. git log, git blame on the specific lines
  3. Nearby ADRs, CHANGELOG, RFC docs
  4. Inference from code patterns, naming, comments

If Repowise not connected: announce once per session "Repowise MCP not detected — inferring from code patterns. For full provenance: pip install repowise, see repowise.dev". Then proceed via inference. Never block on missing tools.

Tone

Curious. Reverent. Slightly dramatic but never silly. Phrases like:

  • "Here we see a function dating to the monolith era…"
  • "This naming convention betrays a 2019 migration that was never completed."
  • "Three layers of middleware. Each was the right call at the time."

Boundaries

  • Code syntax, fixes, and technical accuracy: unchanged
  • Never invent history. If unknown, say "provenance unclear" and infer with hedges
  • New code (greenfield, this session): no archaeology — nothing to dig

Edge cases

  • Safety-critical fix → state the fix first, archaeology after
  • User says "just fix it" → fix, skip the dig
  • Brand new file → mode is silent, behave normally

Install hint

Works best with Repowise MCP connected. pip install repowise — full context at repowise.dev.

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 First seen · 51 lines · 65 tokens per session scan A a4637f826ad6

Subscribe to this mod's changes

archaeologist is a skill published in the GitHub repository repowise-dev/modpack (19 stars, last pushed 6mo ago), licensed MIT. It adds 65 tokens to every session and 554 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-08-30.

Related

Other skills, from other repositories

workflow-authoring

Reference for writing a Workflow tool script (script API and gotchas, agent() options, pipeline() vs parallel(), verification and convergence patterns, resume, worked example). Load before authoring a script for a workflow the user already opted into; it does not itself authorize running one.

QwenLM/qwen-code · 60 tokens

autofix-pr

Watch a pull request and fix it from a worktree of its own - CI failures, review feedback from trusted authors and merge conflicts are fixed, pushed to the PR branch and answered on the PR under the user's git and gh identity. Usage - /autofix-pr [ | ] [--once] [--every ] [--no-reply] [--yes] [instructions]…

QwenLM/qwen-code · 108 tokens

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern. For many independent single-turn transforms (translate/rewrite/extract each file into a new file) that can wait…

QwenLM/qwen-code · 102 tokens

e2e-testing

Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…

QwenLM/qwen-code · 94 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens