th0th-memory

th0th-memory is a skill for Claude Code, Codex from S1LV4/th0th. It costs 69 tokens per session (3,560 once invoked), scanned C, original, MIT.

Instructions for using th0th tools to search code by meaning, find definitions and references, save project knowledge, and compress large amounts of context. A symbol is a named code element such as a function, class, or type.

In plain words
What is it for?
Use them to index a project, search for implementations, navigate symbols, find every use of a function or class, retrieve memories, and reduce large search results.
Why use it?
They help an agent explore a codebase and reuse stored decisions without manually reading as much unrelated code.

Skill for Claude CodeCodex

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/s1lv4/th0th/th0th-memory
Any agent
npx skills add S1LV4/th0th --skill th0th-memory
Clone the repo
git clone --depth 1 https://github.com/S1LV4/th0th

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 th0th-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/s1lv4/th0th/th0th-memory.svg)](https://agentmods.dev/skills/s1lv4/th0th/th0th-memory)
Your own site
<a href="https://agentmods.dev/skills/s1lv4/th0th/th0th-memory"><img src="https://agentmods.dev/badge/skills/s1lv4/th0th/th0th-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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 $0.00069 $0.03560
Opus 5 $0.00034 $0.01780
Sonnet 5 $0.00014 $0.00712
Haiku 4.5 $0.00007 $0.00356

Measured 4d ago against content hash 8bf2de91e182, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

th0th-memory scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/S1LV4/th0th/main/install.sh | bash

Makes network callslowCapability

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

result=$(curl -s "$TH0TH_API_URL/api/v1/project/index/status/JOB_ID")
skills/th0th-memory/SKILL.md · 400 lines

How it starts

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

th0th-memory Skill

Mandatory rules for using th0th tools. Prioritize semantic search, compression, memory, and symbol graph tools over native tools (Glob, Grep, Read) to explore and understand code.

When to Apply

Reference these guidelines when:

  • Searching for code patterns or implementations
  • Navigating to symbol definitions or finding all usages of a symbol
  • Understanding codebase architecture
  • Storing important decisions or patterns
  • Compressing large code contexts
  • Retrieving memories from previous sessions
  • Listing or checking the status of indexed projects
  • Analyzing usage and performance metrics

Available Tools

Priority Tool Use
1 th0th_index Index project before searching (returns jobId for background jobs)
2 th0th_index_status Poll background indexing job status by jobId
3 th0th_search Semantic + keyword search with filters
4 th0th_optimized_context Search + compress in one call (max token efficiency)
5 th0th_search_definitions Find symbol definitions (functions, classes, types)
6 th0th_get_references Find all usages of a symbol across the project
7 th0th_go_to_definition Jump to a symbol's definition with context
8 th0th_list_projects List all indexed projects and their status
9 th0th_reset_project Delete all indexed data for a project (vectors, symbols, memories)
10 th0th_remember Store important information in persistent memory
11 th0th_recall Retrieve memories from previous sessions
12 th0th_compress Reduce context size (70-98%)
13 th0th_analytics Usage patterns and metrics
14 th0th_read_file Read file/line-range with symbol metadata (prefer over Read when you have lineStart/lineEnd)
15 th0th_project_map One-shot project overview: PageRank backbone, symbol counts, language distribution
16 th0th_synapse_session Create/resume Synapse cognitive session (task alignment, agent affinity, working memory)
17 th0th_synapse_prime Seed Synapse buffer with recalled memories before searching
18 th0th_synapse_access Record file access for affinity scoring (call after reading/editing a file)
19 th0th_symbol_snippet Get raw code snippet by file + line range
20 th0th_memory_list Browse memories by type/importance without a query (audit mode)
21 th0th_reindex Force full reindex (when autoReindex/50-file limit is insufficient)
22 Glob/Grep/Read Only when th0th doesn't find what you need

Read the full file on GitHub · 400 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. 4d ago First seen · 400 lines · 69 tokens per session scan C 8bf2de91e182

Subscribe to this mod's changes

th0th-memory is a skill published in the GitHub repository S1LV4/th0th (135 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 3,560 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). 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

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens