agency-database-optimizer

agency-database-optimizer is a skill for Claude Code, Codex from BlackPearl-AI/BlackPearl-CodingAgent. It costs 40 tokens per session (1,302 once invoked), scanned A, original, no licence file.

A database specialist for designing schemas and making database queries run efficiently. It covers PostgreSQL, MySQL, Supabase, PlanetScale, indexes, and other performance decisions.

In plain words
What is it for?
Use it to design tables, review queries, choose indexes, and tune database performance in PostgreSQL, MySQL, Supabase, or PlanetScale.
Why use it?
It helps find and remove database slowdowns caused by poor query design, missing indexes, or an unsuitable schema. This keeps applications responsive as their data grows.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to design tables, review queries, choose indexes, and tune database performance in PostgreSQL, MySQL, Supabase, or PlanetScale.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer
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 BlackPearl-AI/BlackPearl-CodingAgent --skill agency-database-optimizer
Clone the repo
git clone --depth 1 https://github.com/BlackPearl-AI/BlackPearl-CodingAgent

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 agency-database-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer/github.svg)](https://agentmods.dev/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer)
Your own site
<a href="https://agentmods.dev/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer"><img src="https://agentmods.dev/badge/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer/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 agency-database-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer"><img src="https://agentmods.dev/badge/skills/blackpearl-ai/blackpearl-codingagent/agency-database-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,302 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 unknown 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.00040 $0.01302
Opus 5 $0.00020 $0.00651
Sonnet 5 $0.00008 $0.00260
Haiku 4.5 $0.00004 $0.00130

Measured 6d ago against content hash fcce3166b01a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

agency-database-optimizer 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 6d 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.

frameworks/blackpearl-skills/.agents/skills/agency-database-optimizer/SKILL.md · 174 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 6d ago First seen · 174 lines · 40 tokens per session scan A fcce3166b01a

Subscribe to this mod's changes

agency-database-optimizer is a skill published in the GitHub repository BlackPearl-AI/BlackPearl-CodingAgent (7 stars, last pushed 10d ago), with no licence file. It adds 40 tokens to every session and 1,302 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

skills-constitution

A set of rules that makes an agent check its memory and available skills before handling professional tasks such as coding, file work, data analysis, or deployment.

jiabaobei/skills-constitution · 119 tokens

growmos

Use the repository's living knowledge graph (growmos, in .growmos/) as shared memory. Trigger when the user asks about how parts of the codebase relate, why a decision was made, who owns what, what depends on what; when you finish a meaningful piece of development and should record it; when growmos next reports…

codician-team/growmos · 97 tokens

growmos

Use the repository's living knowledge graph (growmos, in .growmos/) as shared memory. Trigger when the user asks about how parts of the codebase relate, why a decision was made, who owns what, what depends on what; when you finish a meaningful piece of development and should record it; when growmos next reports…

codician-team/growmos · 97 tokens

kungfu-agent-onboarding

Use when a user asks to understand, start, inspect, extend, or safely operate installed Kungfu; verify the installed pack, select one intent route, personalize the explanation, and propose one smallest safe next action.

kungfu-systems/kungfu · 49 tokens

sql-analyst

SQL query expert for optimization, schema design, and data analysis.

RightNow-AI/openfang · 17 tokens

doubt-driven-review

In-flight adversarial check on a non-trivial decision BEFORE it stands — distinct from post-hoc review of a finished diff. Use on "stress-test this decision", "are we sure about this", "verify before commit", "poke holes in this", when working in unfamiliar code, or before an irreversible step (migration, prod deploy…

BlackBeltTechnology/pi-agent-dashboard · 90 tokens