database-query-profiler

database-query-profiler is a skill for Claude Code from nek1987/auto-agent-harness. It costs 64 tokens per session (428 once invoked), scanned A, original, no licence file.

A helper for profiling database queries, meaning examining how they run to identify performance problems.

In plain words
What is it for?
Use it when checking database query performance or diagnosing query-related slowdowns.
Why use it?
It helps investigate slow or inefficient database queries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when checking database query performance or diagnosing query-related slowdowns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nek1987/auto-agent-harness/database-query-profiler
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 nek1987/auto-agent-harness --skill database-query-profiler
Clone the repo
git clone --depth 1 https://github.com/nek1987/auto-agent-harness

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-query-profiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/database-query-profiler/github.svg)](https://agentmods.dev/skills/nek1987/auto-agent-harness/database-query-profiler)
Your own site
<a href="https://agentmods.dev/skills/nek1987/auto-agent-harness/database-query-profiler"><img src="https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/database-query-profiler/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 database-query-profiler

Your own site · 80×15
<a href="https://agentmods.dev/skills/nek1987/auto-agent-harness/database-query-profiler"><img src="https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/database-query-profiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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.00064 $0.00428
Opus 5.5 $0.00026 $0.00171
Sonnet 5.5 $0.00013 $0.00086
Haiku 4.5 $0.00006 $0.00043

Measured 1mo ago against content hash 01976138de60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

database-query-profiler 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.

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-query-profiler/SKILL.md · 73 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 1mo ago First seen · 73 lines · 64 tokens per session scan A 01976138de60

Subscribe to this mod's changes

database-query-profiler is a skill published in the GitHub repository nek1987/auto-agent-harness (5 stars, last pushed 6mo ago), with no licence file. It adds 64 tokens to every session and 428 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-09-03.

Related

Other skills, from other repositories

codex-log-guard

Diagnose excessive Codex local SQLite diagnostic log writes with read-only evidence by default. Use when a user mentions logs2.sqlite, logs2.sqlite-wal, blockloginserts, SSD/TBW wear, or explicitly asks to protect, clean up, verify, or restore Codex diagnostic logging.

majiayu000/spellbook · 68 tokens

orm

ORM and data access optimization.

arbazkhan971/godmode · 8 tokens

database-schema-designer

Use when designing new database tables from requirements, reviewing a schema for normalisation or performance issues, adding multi-tenancy, planning a breaking migration, or generating TypeScript/Python types from a schema. Triggers on "design the schema", "ERD", "table relationships", "schema migration", "normalise…

tmj-90/gaffer · 75 tokens

concurrency-and-async

Use when a ticket involves work happening at the same time — async/await flows, promises and futures, goroutines and channels, threads and locks, parallel requests, races, deadlocks, "sometimes it double-processes" — and the change must be correct under interleaving, not just on the happy sequence. Invoke for any…

tmj-90/gaffer · 108 tokens

concurrency-review

Use as a REVIEW LENS when judging another agent's diff for concurrency and data-integrity defects under failure — concurrent writers, unsynchronised read-modify-write and lost updates, temp-file name collisions, non-atomic file writes, cross-process locking and stale-lock leases, crash/pause/retry schedules…

tmj-90/gaffer · 131 tokens

add-db-migration

Use when a ticket requires a database schema change — a new table/column, an index, a constraint, or a backfill. Invoke for "add a migration for X", "alter the schema", or any change to the persisted data model. Schema changes are high-risk; treat them carefully.

tmj-90/gaffer · 65 tokens