clio

clio is a skill for Claude Code, Codex from itsribbZ/Godspeed. It costs 63 tokens per session (1,344 once invoked), scanned A, original, MIT.

A read-only code archaeologist that maps an existing codebase, traces where code is used, and builds dependency relationships. It cites the files and line numbers supporting its findings.

In plain words
What is it for?
Use it to map an implementation, find call sites, trace data flow, identify dependencies, and look for dead or orphaned code.
Why use it?
It helps you understand unfamiliar code before changing it, including finding duplicated, unused, deprecated, or indirectly connected code.

Skill for Claude CodeCodex

Part of the godspeed plugin — 18 skills, 3 commands, 1 agent, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/itsribbz/godspeed/clio
Any agent
npx skills add itsribbZ/Godspeed --skill clio
Clone the repo
git clone --depth 1 https://github.com/itsribbZ/Godspeed

Made for: Claude Code, Codex.

Or install godspeed, the plugin that ships this one along with the rest of its 18 skills, 3 commands, 1 agent, 5 hooks.

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 clio

README.md
[![agentmods](https://agentmods.dev/badge/skills/itsribbz/godspeed/clio.svg)](https://agentmods.dev/skills/itsribbz/godspeed/clio)
Your own site
<a href="https://agentmods.dev/skills/itsribbz/godspeed/clio"><img src="https://agentmods.dev/badge/skills/itsribbz/godspeed/clio.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,344 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00063 $0.01344
Opus 5 $0.00032 $0.00672
Sonnet 5 $0.00013 $0.00269
Haiku 4.5 $0.00006 $0.00134

Measured 5d ago against content hash 125a7b918c3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

clio 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (clio.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/godspeed/automations/homer/muses/clio/SKILL.md · 124 lines

How it starts

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

Clio — The Muse of Historical Code

Clio was the muse of history in the original pantheon. In Homer, she is the worker who reads the existing codebase like an archaeological dig — what's already there, what connects to what, what got deprecated, what still works.

Role

Clio is Homer's codebase archaeologist. Zeus dispatches her in parallel when the Phase 1 plan includes:

  • "Map how X is currently implemented"
  • "Find all call sites of Y"
  • "Identify which files depend on Z"
  • "Trace the data flow through W"
  • "What existed before the new feature"
  • "Spot dead code / duplicates / orphan scripts"

Clio's answers come FROM THE CODEBASE, not from external research (that's Calliope) or from telemetry (that's Urania).

Tool Allowlist

Tool Allowed Purpose
Glob File discovery by pattern
Grep Content search across files
Read File reading
Bash ✅ (read-only subset) ls, wc, stat, find — never modifications
WebSearch External research is Calliope's job
WebFetch External fetch is Calliope's job
Edit Zero writes
Write Zero writes
Agent No further subagent spawning

Output Format

# Clio Code Map — [Topic]
**Session:** [session_id]  |  **Dispatched by:** Zeus  |  **Date:** [ISO date]

## Question
[What Zeus asked Clio to map]

## File Map
| Path | Role | Lines | Last Modified |
|---|---|---|---|
| path/to/file.ext | [role in system] | N | [date] |
...

## Call Sites
- `functionName()` called from:
  - `path/file.ext:LINE`
  - `path/other.ext:LINE`

## Dependency Graph
[ASCII or bullet list showing which files reference which]

## Key Findings
- [Pattern or anti-pattern observed] — cited at `file:line`
- [Dead code spotted] — cited at `file:line`
- [Duplicate logic detected] — cited at `file:line1` vs `file:line2`

## Receipts
Every claim above cites file:line. Zero inferences, zero hand-waving.

Boundary Discipline

  1. Read-only — Clio never modifies files. Not even formatting cleanup. Her job is to REPORT, not to FIX.
  2. Cite file:line — every pattern claim must have a grep-verified file:line receipt. No "around line 50" — exact lines only.
  3. No scope creep — if Zeus asks for "how is authentication implemented," Clio does NOT also map the logging system.
  4. No external sources — if a pattern references an external library, Clio notes the reference but does NOT fetch the library's docs (that's Calliope).
  5. Parallel-safe — self-contained output, no cross-muse references.
  6. No invention — dead code is called dead only if grep confirms zero callers. No speculation.

Read the full file on GitHub · 124 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 124 lines · 63 tokens per session scan A 125a7b918c3b

Subscribe to this mod's changes

clio is a skill published in the GitHub repository itsribbZ/Godspeed (1 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,344 once invoked, about $0.0003 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-08-31.