droste-code-memory

droste-code-memory is a skill for Codex from lorismascio17/droste-memory. It costs 75 tokens per session (599 once invoked), scanned A, original, MIT.

A code-memory tool that indexes a repository and records relationships between its parts, such as which functions call others. It retrieves focused context from the codebase through the Droste command-line tool or MCP.

In plain words
What is it for?
Use it to index repositories, find related symbols, inspect caller and callee relationships, retrieve focused context, and support ongoing work across projects.
Why use it?
It helps an agent understand relevant code before reading large numbers of files, reducing blind searching and missed connections.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code.

Good fit Use it to index repositories, find related symbols, inspect caller and callee relationships, retrieve focused context, and support ongoing work across projects.

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

Made for: 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 droste-code-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lorismascio17/droste-memory/droste-code-memory"><img src="https://agentmods.dev/badge/skills/lorismascio17/droste-memory/droste-code-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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.00075 $0.00599
Opus 5.5 $0.00030 $0.00240
Sonnet 5.5 $0.00015 $0.00120
Haiku 4.5 $0.00007 $0.00060

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

Security

Grade A, and why

droste-code-memory 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_droste.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.

integrations/claude-skill/droste-code-memory/SKILL.md · 87 lines

How it starts

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

Droste Code Memory

Use Droste as Claude's local structural + semantic memory layer for codebases. Prefer it before broad file reads when the task needs repository context, symbol relationships, caller/callee edges, or MCP-backed retrieval.

Core Workflow

  1. Confirm Droste is installed:
droste --version

If uncertain, run scripts/check_droste.py from this skill.

  1. Use an isolated DB for serious multi-repo work. Put --db before the command:
droste --db /absolute/path/to/droste_memory_db.json status
droste --db /absolute/path/to/droste_memory_db.json index . --reset
  1. Index the current repo before asking for context:
droste index .

Use --reset only when the selected DB belongs to the current repository.

  1. Retrieve focused context:
droste context "authentication flow" --budget 3000 --json

Use Droste output to choose exact files and symbols to inspect. Do not make final claims from retrieved context alone; verify relevant source files.

  1. Use MCP for persistent Claude workflows:
droste mcp

Read references/claude-mcp-config.md when configuring Claude Desktop, Claude Code, or another Claude-facing MCP client.

Safety Rules

  • Do not reset a shared/global Droste DB unless the user explicitly asked.
  • Do not index secrets, dependency caches, build output, .droste/, or private generated graph JSON.
  • If Droste reports multi-root warnings, pass an explicit DB or root instead of accepting mixed context.
  • Prefer source paths under the current repository. Treat unrelated absolute paths as suspicious until verified.
  • Redact any secret-like value before reporting it.

Useful Commands

droste status --json
droste context "query" --budget 1500
droste context "query" --budget 3000 --json
droste zoom "symbolName" --no-open
droste view

Expected MCP Tools

When the Droste MCP server is connected, use:

  • droste_index_project to index the current repository.
  • droste_get_context to retrieve causal context for a query.
  • droste_status to inspect storage, active root, symbols and warnings.

Read the full file on GitHub · 87 lines

Files

What ships with it

3 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. 1mo ago First seen · 87 lines · 75 tokens per session scan A d59927352b1b

Subscribe to this mod's changes

droste-code-memory is a skill published in the GitHub repository lorismascio17/droste-memory (3 stars, last pushed 3mo ago), licensed MIT. It adds 75 tokens to every session and 599 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-31.

Related

Other skills, from other repositories

memtrace-decision-memory

Use Cortex decision memory through the normal Memtrace MCP tools. Trigger for free-text questions about what was decided, chosen, rejected, banned, or established as a convention; for why a symbol exists or which contracts constrain it; for whether a known decision held, drifted, or was violated; and for the…

syncable-dev/memtrace-public · 137 tokens

memtrace-index

Index a source-code repo into the Memtrace knowledge graph and poll the job to completion. Use when the user asks to index, parse, ingest, reindex, watch, or prepare a source-code repo for Memtrace analysis, when code exploration needs an index, or when searches return 0/partial results for source paths under an…

syncable-dev/memtrace-public · 119 tokens

memtrace-session-continuity

Catch up on everything that changed in an indexed source-code repo since the last session, using stored session anchors and Memtrace change memory. Use when the user asks to continue, catch up, resume, see what changed while away, recover prior context, or orient at session start without guessing timestamps. Do not…

syncable-dev/memtrace-public · 92 tokens

memtrace-continuous-memory

Keep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic agent memory), or make just-saved…

syncable-dev/memtrace-public · 96 tokens

codesage-retrieval

Route semantic and structural code queries through CodeSage. Use for definitions, references, dependencies, impact, features, context, history, risk, test selection, edit checks, and stack traces.

iliaal/codesage · 45 tokens

Sverklo Code Intelligence

Gives you deep codebase understanding — semantic search, blast-radius analysis, PR review, and health audits.

sverklo/sverklo · 27 tokens