Install
Claude Code (one-liner via marketplace)
Section titled “Claude Code (one-liner via marketplace)”/plugin marketplace add twitu/indiana-codes/plugin install dig@indiana-codesThat’s it. Restart Claude Code and /dig shows up in any repo with git history.
Other agents (manual)
Section titled “Other agents (manual)”Clone the repo once. The skill content is the same for every agent — only the install path differs.
git clone https://github.com/twitu/indiana-codes ~/.local/share/indiana-codescd ~/.local/share/indiana-codesThen pick your agent.
Skip this if you used the marketplace install above. Manual symlink path:
mkdir -p ~/.claude/skills ~/.claude/commandsln -sf ~/.local/share/indiana-codes/dig ~/.claude/skills/digln -sf ~/.local/share/indiana-codes/commands/dig.md ~/.claude/commands/dig.mdRestart Claude Code. Type / and you should see /dig.
mkdir -p ~/.config/opencode/skills ~/.config/opencode/commandsln -sf ~/.local/share/indiana-codes/dig ~/.config/opencode/skills/digln -sf ~/.local/share/indiana-codes/commands/dig.md ~/.config/opencode/commands/dig.mdRestart OpenCode. Type / and you should see /dig.
Cursor has no skills directory, so the command file points the agent at the cloned SKILL.md directly:
mkdir -p ~/.cursor/commandscat > ~/.cursor/commands/dig.md <<EOF---description: Code archaeology — chapter-based history walkthrough---Follow the skill instructions in $HOME/.local/share/indiana-codes/dig/SKILL.md to perform a codebase excavation pass on this repository.EOFProject-scoped install (commits with the repo) is the same, but writes to .cursor/commands/ instead of ~/.cursor/commands/.
Codex, Aider, Continue.dev, Zed, raw chat assistants — drop the skill into your agent’s long-lived instruction file.
See Other agents for per-agent recipes.
Use it
Section titled “Use it”In your agent of choice, in any repo with git history:
/digThe agent surveys the repo, proposes chapters, and asks which one you want to start with. Then:
Tell me about chapter 1.Why didn't they just use Postgres here?Was the v2 API ever finished, or is it abandonware?Skip ahead to the chapter about the auth migration.It answers. You push back. By the end of each chapter, you know the chapter — and a markdown file knows it too.
In a fresh chat, no need to re-run /dig — just point the agent at the existing PROJECT_HISTORY.md:
Based on PROJECT_HISTORY.md, walk me through chapter 3.Connect more sources
Section titled “Connect more sources”Code Archaeology uses whatever it can find. More sources = better chapters.
| Source | How |
|---|---|
| Git history | Built in. Always on. |
| GitHub issues / PRs / discussions | Local gh CLI works out of the box. The official GitHub MCP is even better. |
| GitHub releases | Same: gh release or the MCP. |
| Jira / Linear / Confluence / Notion | If your team has the corresponding MCP configured in your agent, the skill picks it up automatically. |
| Local docs | docs/, adr/, rfc/, CHANGELOG.md — read automatically. |