thoth: Instructions file for Claude Code

CLAUDE.md

thoth CLAUDE.md is an instructions file for Claude Code from NirvanaGuha/thoth. It costs 1,604 tokens per session, scanned D, original, MIT.

A developer guide for Thoth, covering the structure of its repository, coding conventions, tests, and consistency rules. Thoth is a skill that provides reusable instructions for an AI coding assistant.

In plain words
What is it for?
Use it when developing, testing, or maintaining the Thoth skill and its command-line installer.
Why use it?
It helps contributors understand which files are authoritative and how to make changes without breaking the installer or generated copies.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin.

This is NirvanaGuha/thoth's own configuration. It tells Claude Code how to work on thoth itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything thoth configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cp -r ../skill assets/skill.

Reuse

Borrowing it

Nothing to install: this file belongs to NirvanaGuha/thoth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NirvanaGuha/thoth/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/NirvanaGuha/thoth

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 thoth CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nirvanaguha/thoth/claude-md/github.svg)](https://agentmods.dev/instructions/nirvanaguha/thoth/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nirvanaguha/thoth/claude-md"><img src="https://agentmods.dev/badge/instructions/nirvanaguha/thoth/claude-md/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 thoth CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nirvanaguha/thoth/claude-md"><img src="https://agentmods.dev/badge/instructions/nirvanaguha/thoth/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,604 This file is loaded in full into every session.
When invoked 1,604 The same file — it is already loaded in full.
Security scan D 3 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.01604 $0.01604
Opus 5.5 $0.00642 $0.00642
Sonnet 5.5 $0.00321 $0.00321
Haiku 4.5 $0.00160 $0.00160

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

Security

Grade D, and why

thoth CLAUDE.md scanned grade D with 3 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls .claude/skills/thoth

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .claude

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

├── install.sh ← curl|bash installer (no Node required)
CLAUDE.md · 115 lines

How it starts

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

Thoth — Developer Guide

This file is for Claude (or a human dev) working on the Thoth skill itself, not for end-users. Read this alongside CONTRIBUTING.md.

Repo anatomy

thoth/
├── skill/                  ← the skill. SOURCE OF TRUTH.
├── cli/                    ← npm package; wraps installer logic around skill/
│   ├── bin/thoth.js        ← zero-dep Node CLI
│   └── assets/skill/       ← auto-synced copy for --offline installs
├── .claude-plugin/         ← Claude plugin marketplace manifest
├── install.sh              ← curl|bash installer (no Node required)
├── skill.json              ← skill-level metadata
└── .github/workflows/      ← CI that publishes the CLI on release

The golden rule: all skill content lives in skill/. Never edit cli/assets/skill/ directly — it's re-synced from skill/ at release time. If you edit both, skill/ wins.

Code vs data separation: the skill/ directory is immutable skill code. Persona data does not live here. At runtime Thoth resolves a data root — ./.thoth/ if present in CWD, else ~/.thoth/ (default), else legacy ~/.claude/skills/thoth/ for pre-v1.1 installs. The skill/personas/ directory in this repo is intentionally empty except for README.md (which documents the resolution rules). The resolution algorithm and one-time migration logic are defined in skill/SKILL.md under "Where persona data lives" — do not bypass it by hardcoding paths anywhere else in the skill.

Conventions

  • Ratio numbers appear in several files (SKILL.md, skill/references/content-mix.md, skill/references/post-types.md, README.md). When you change one, grep for the old number and change them all. Ratios must always sum to 100.
  • Field names in persona.md are snake_case (anti_voice, contrarian_beliefs, signature_grievances, archetype.dominant, tone.formal_casual). Prose can say "anti-voice" as a concept. YAML references in backticks must use snake_case.
  • Archetype names are canonical (Hero, Outlaw, Magician, Everyman, Lover, Jester, Caregiver, Creator, Ruler, Innocent, Sage, Explorer). "Regular Guy" is a Pearson/Mark alias for Everyman — OK to mention in parentheses inside brand-archetypes.md, never as a primary name elsewhere.
  • Commands — any command added must be registered in:
    1. skill/SKILL.md command table
    2. skill/references/commands.md
    3. README.md command table
    4. SKILL.md dispatch section (with its logic described)

Read the full file on GitHub · 115 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. 1mo ago First seen · 115 lines · 1,604 tokens per session scan D 9f8612f93a32

Subscribe to this mod's changes

thoth CLAUDE.md is an instructions file published in the GitHub repository NirvanaGuha/thoth (4 stars, last pushed 4mo ago), licensed MIT. It adds 1,604 tokens to every session, about $0.0064 per session on Opus 5.5. A static security scan graded it D with 3 findings (enumerates other installed skills, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens