Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/coco-research/coconpx agentmods add skills/coco-research/coco/media-memoryWrote 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.
[](https://agentmods.dev/skills/coco-research/coco/media-memory)<a href="https://agentmods.dev/skills/coco-research/coco/media-memory"><img src="https://agentmods.dev/badge/skills/coco-research/coco/media-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.
<a href="https://agentmods.dev/skills/coco-research/coco/media-memory"><img src="https://agentmods.dev/badge/skills/coco-research/coco/media-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.01046 |
| Opus 5.5 | $0.00022 | $0.00418 |
| Sonnet 5.5 | $0.00011 | $0.00209 |
| Haiku 4.5 | $0.00005 | $0.00105 |
Grade A, and why
media-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 2mo 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.
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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/media-memory — Multimodal Memory System
You have access to a persistent multimodal memory system at ~/.claude/media-memory/. It stores every piece of media (images, video, audio, files) with rich metadata and local ChromaDB embeddings.
Prerequisites: if ~/.claude/media-memory/scripts/ingest.py is missing, the system is not
installed. Say so and stop instead of running the commands below.
Directory Layout
~/.claude/media-memory/
assets/ # stored media files
chroma/ # ChromaDB vector store
metadata.db # SQLite structured metadata
scripts/
ingest.py # ingestion + embedding
search.py # search with filters
schema.py # metadata models
Commands
All commands run from ~/.claude/media-memory/ using uv run.
Ingest (store + embed)
cd ~/.claude/media-memory && uv run scripts/ingest.py "<file_path>" \
--source "user|generated|url|ingested" \
--description "Natural language description of the media" \
--tags "tag1,tag2,tag3" \
--type "image|video|audio|document|file" \
--text "Extracted text or transcript content"
Search (hybrid: semantic + metadata)
cd ~/.claude/media-memory && uv run scripts/search.py "search query" \
--type image \
--source user \
--tags "architecture,diagram" \
--from "2026-03-01" \
--to "2026-03-28" \
--limit 10 \
--mode hybrid|semantic|metadata \
--json
Recent items
cd ~/.claude/media-memory && uv run scripts/search.py --recent --limit 10
Stats
cd ~/.claude/media-memory && uv run scripts/search.py --stats
Behavior Rules
On Ingest (when user sends or generates media)
- Copy the file to
assets/viaingest.py - ALWAYS provide
--descriptionwith a rich natural language description of the content - ALWAYS provide relevant
--tagsfor semantic categorization - Set
--sourceaccurately:user(user sent it),generated(Claude/AI created it),url(downloaded),ingested(bulk import) - For screenshots: describe what's visible (UI elements, text, code, diagrams)
- For documents: extract key text into
--text - Report the result to the user: "Saved to media memory: {description}"
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.
- 2mo ago Changed · -7 lines · +19 tokens per session 3c0b745e1604
- 2mo ago First seen · 115 lines · 35 tokens per session scan A 713b1aed324e
media-memory is a skill published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 54 tokens to every session and 1,046 once invoked, about $0.0002 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-09-03.
media-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-memorycoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| memory-systemsdocxology/template | Skill | 25 | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agents-langchaindavila7/claude-code-templates | Skill | 34k | today | MIT | A | 80 | Claude Code, Codex |
| knowledge-orgbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 96 | Claude Code, Codex |
| xerjxerj-org/xerj | Skill | 23k | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| llm-wikiAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 41 | Claude Code |