mentor-wizard-webapp: Skill for Claude Code

.claude/skills/database-optimizer/SKILL.md

database-optimizer is a skill for Claude Code from Mentor-Wizard/mentor-wizard-webapp. It costs 102 tokens per session (854 once invoked), scanned A, original, no licence file.

A database performance helper for investigating slow queries, reading execution plans, and improving how a database handles requests.

In plain words
What is it for?
Use it to design indexes, rewrite queries, tune database settings, handle partitioning or lock contention, and investigate repeated-query problems.
Why use it?
It helps find causes of slow database access, such as unsuitable indexes, inefficient queries, lock conflicts, or poor configuration.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Mentor-Wizard/mentor-wizard-webapp's own configuration. It tells Claude Code how to work on mentor-wizard-webapp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mentor-wizard-webapp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Mentor-Wizard/mentor-wizard-webapp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Mentor-Wizard/mentor-wizard-webapp/develop/.claude/skills/database-optimizer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Mentor-Wizard/mentor-wizard-webapp

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mentor-wizard/mentor-wizard-webapp/database-optimizer.svg)](https://agentmods.dev/skills/mentor-wizard/mentor-wizard-webapp/database-optimizer)
Your own site
<a href="https://agentmods.dev/skills/mentor-wizard/mentor-wizard-webapp/database-optimizer"><img src="https://agentmods.dev/badge/skills/mentor-wizard/mentor-wizard-webapp/database-optimizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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.00102 $0.00854
Opus 5 $0.00051 $0.00427
Sonnet 5 $0.00020 $0.00171
Haiku 4.5 $0.00010 $0.00085

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

Security

Grade A, and why

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 2d 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.

.claude/skills/database-optimizer/SKILL.md · 115 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

Files

What ships with it

5 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. 2d ago First seen · 115 lines · 102 tokens per session scan A 62ca691451e2

Subscribe to this mod's changes

database-optimizer is a skill published in the GitHub repository Mentor-Wizard/mentor-wizard-webapp (10 stars, last pushed 7d ago), with no licence file. It adds 102 tokens to every session and 854 once invoked, about $0.0005 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-04.

Related

Other skills, from other repositories

database-query

A database-query guide for connecting to SQLite, MySQL, or PostgreSQL databases and working with their data using SQL, a language for asking databases questions.

ntygod/ZhiWei · 37 tokens

laravel-brain

Analyze a Laravel application for complexity hotspots, security surface, and database access patterns using laravel-brain. Activate when: the user asks what needs work, what should be improved, what to work on next, where to focus, what is the most complex code, what are the security issues, audit the codebase…

laramint/laravel-brain · 118 tokens

nara-database

Writing SQL queries, transactions, dynamic updates, or any database access.

MasRama/nara · 18 tokens

laravel-async

Asynchronous and caching rules for Laravel — idempotent queued jobs with retries and backoff, domain events for side effects, queue separation and failure handling, deterministic cache keys with event-driven invalidation, and scheduled tasks that queue rather than block. Use when writing or reviewing jobs, events…

Foysal50x/skills · 86 tokens

laravel-eloquent

Eloquent and query-layer engineering rules for Laravel — eliminating N+1, choosing a pagination strategy, short atomic transactions, casts and scopes on the model, where raw SQL is allowed, and how migrations declare the schema those queries depend on. Use when writing or reviewing Eloquent models, migrations, query…

Foysal50x/skills · 93 tokens

laravel-mysql-to-postgres

Migrate a Laravel application's database from MySQL/MariaDB to PostgreSQL safely. Use when moving a Laravel app to Postgres, when Eloquent/queries behave differently after switching drivers, or when planning a MySQL->Postgres cutover. Covers the migration strategy (pgloader vs query-builder), the Laravel-specific…

majdghithan/agent-skills · 104 tokens