vector-db-cleanup

vector-db-cleanup is an agent for coding agents from richfrem/agent-plugins-skills. It costs 149 tokens per session (200 once invoked), scanned A, original, MIT.

An agent task that removes outdated text chunks from a ChromaDB vector store when their source files were deleted or renamed. ChromaDB is a database commonly used to store searchable text embeddings.

In plain words
What is it for?
Use it to find and clean stale vector-database entries after files are deleted or renamed, then review the proposed changes before removal.
Why use it?
It helps remove orphaned search entries that no longer match files on disk. It starts with a dry run, showing proposed removals without deleting them.

Agent

Part of the agent-memory plugin — 2 commands, 9 agents shipped together

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 agents/richfrem/agent-plugins-skills/vector-db-cleanup
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Or install agent-memory, the plugin that ships this one along with the rest of its 2 commands, 9 agents.

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 vector-db-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/vector-db-cleanup.svg)](https://agentmods.dev/agents/richfrem/agent-plugins-skills/vector-db-cleanup)
Your own site
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/vector-db-cleanup"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/vector-db-cleanup.svg" alt="Measured on agentmods" height="20"></a>
Per session 149 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00149 $0.00200
Opus 5 $0.00075 $0.00100
Sonnet 5 $0.00030 $0.00040
Haiku 4.5 $0.00015 $0.00020

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

Security

Grade A, and why

vector-db-cleanup 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 3d 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.

plugins/agent-memory/agents/vector-db-cleanup.md · 24 lines

What it actually says

Please run the vector-db-cleanup skill immediately.

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. 3d ago First seen · 24 lines · 149 tokens per session scan A a5b6281eebec

Subscribe to this mod's changes

vector-db-cleanup is an agent published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 200 once invoked, about $0.0007 per session on Opus 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 agents, from other repositories

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

desplega-ai/agent-swarm · 47 tokens

principle-distiller

Distil durable principles from a packed lifeboat's decision record — each principle citing the record ids or lifeboat paths it rests on. Host-delegated; feeds abcd disembark principles --principles-json.

intentdriven/abcd · 57 tokens

cantrips-loop

What the six storage verbs translate to here, and which knowledge stores are enabled. Storage-touching skills read this doc instead of the plugin defaults. /setup-cantrips-loop wrote it; re-run that skill to change it.

CitiesSkylinesModding/agents-plugins · 0 tokens

performance-analyzer

MUST BE USED for code performance issues. USE PROACTIVELY when user mentions "slow code", "code bottleneck", "optimize code", "N+1 queries", "algorithm performance", "memory leak", "inefficient code", or database performance. Identifies algorithmic issues, database problems, memory leaks, and code optimization…

rubenCodeforges/codeforges-claude-plugin · 82 tokens

performance-engineer

Use this agent when you need to optimize system performance, identify and resolve bottlenecks, improve application response times, reduce resource consumption, conduct performance testing and profiling, tune database queries, optimize infrastructure configurations, improve scalability, analyze memory usage patterns…

SoundDocs/sounddocs · 0 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens