droste-code-memory

droste-code-memory is a skill for Codex from lorismascio17/droste-memory. It costs 75 tokens per session (760 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 760 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.00760
Opus 5.5 $0.00030 $0.00304
Sonnet 5.5 $0.00015 $0.00152
Haiku 4.5 $0.00007 $0.00076

Measured 1mo ago against content hash 55bf9bfad325, 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 · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 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 to force re-extraction of the selected project; other roots and manual concepts are preserved.

  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

  • Confirm the selected project root before forcing a re-index. Use one writer per database.
  • 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 check --json
droste find "symbolName" --json
droste references "symbolName" --direction both --json
droste watch .
droste context "query" --budget 1500
droste context "query" --budget 3000 --json
droste zoom "symbolName" --no-open
droste view

Read the full file on GitHub · 100 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 Changed · +13 lines 55bf9bfad325
  2. 3mo 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 1mo ago), licensed MIT. It adds 75 tokens to every session and 760 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

droste-code-memory compared with skills from other repositories

droste-code-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
droste-code-memorylorismascio17/droste-memorySkill31mo agoMITA75Codex
memtrace-decision-memorysyncable-dev/memtrace-publicSkill516todaynoneA137Claude Code
memtrace-indexsyncable-dev/memtrace-publicSkill516todaynoneA119Claude Code
memtrace-session-continuitysyncable-dev/memtrace-publicSkill516todaynoneA92Claude Code
memtrace-continuous-memorysyncable-dev/memtrace-publicSkill516todaynoneA96Claude Code
explainsysevol-ai/CodeNibSkill112todayApache-2.0A63Claude Code
setupsysevol-ai/CodeNibSkill112todayApache-2.0A16Claude Code