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.
npx skills add beginor/agent-skills --skill sharp-dbgit clone --depth 1 https://github.com/beginor/agent-skillsWrote 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/beginor/agent-skills/sharp-db)<a href="https://agentmods.dev/skills/beginor/agent-skills/sharp-db"><img src="https://agentmods.dev/badge/skills/beginor/agent-skills/sharp-db/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/beginor/agent-skills/sharp-db"><img src="https://agentmods.dev/badge/skills/beginor/agent-skills/sharp-db.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.00071 | $0.01911 |
| Opus 5.5 | $0.00028 | $0.00764 |
| Sonnet 5.5 | $0.00014 | $0.00382 |
| Haiku 4.5 | $0.00007 | $0.00191 |
Grade C, and why
sharp-db scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- macOS/Linux: `curl -fsSL https://dot.net/v1/dotnet-install.sh | bash` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- macOS/Linux: `curl -fsSL https://dot.net/v1/dotnet-install.sh | bash` How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sharp-DB
A CLI tool for querying databases and inspecting schema metadata. Supports PostgreSQL, MySQL, SQLite, and SQL Server.
Requirements
You should have dotnet sdk 10.0.x installed. if dotnet does not exist on system, please install it first:
- macOS/Linux:
curl -fsSL https://dot.net/v1/dotnet-install.sh | bash - Windows:
irm https://dot.net/v1/dotnet-install.ps1 | iex
Setup
Build the tool once before first use:
scripts/build.sh
The binary is at bin/sharp-db (or bin/sharp-db.exe on windows).
Commands
query — Execute SQL
Run a SQL statement and return results as a markdown table.
sharp-db query --db-type <postgres|mysql|sqlite|sqlserver> --connection "<conn-string>" --sql "<sql>" [--limit <n>]
For non-SELECT statements (INSERT, UPDATE, DELETE), returns Rows affected: N.
Row limit. --limit caps the number of rows returned (default 100). A capped result appends _Showing first N rows; result truncated._. Pass --limit 0 to remove the cap (use for exports or when you genuinely need every row). Always prefer the default for exploratory queries so a large table doesn't flood the output; raise the limit deliberately when the user asks for more.
Mutating statements. If the user explicitly asked for the change, run it directly and show the SQL in your report — no confirmation round-trip. Only pause for explicit confirmation when a destructive statement (DROP, TRUNCATE, DELETE/UPDATE without WHERE, ALTER) is not clearly implied by the user's request. SELECT and other read-only statements never require confirmation.
tables — List tables and views
List all tables and views with metadata (primary keys, foreign keys, descriptions, related objects).
sharp-db tables --db-type <postgres|mysql|sqlite|sqlserver> --connection "<conn-string>" [--schema <name>]
If --schema is omitted and the database supports schemas, returns tables from all schemas.
columns — Inspect table columns
What ships with it
26 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.
- .editorconfig 5.8 KB
- CLAUDE.md 3.4 KB
- LICENSE 1.0 KB
- README.md 4.5 KB
- scripts/build.sh 309 B runs code
- scripts/Directory.Packages.props 1.1 KB
- scripts/SharpDb.slnx 205 B
- scripts/src/SharpDb/DatabaseOptions.cs 802 B
- scripts/src/SharpDb/DbConnectionFactory.cs 948 B
- scripts/src/SharpDb/MarkdownTableFormatter.cs 3.1 KB
- scripts/src/SharpDb/Metadata/BaseMetadataProvider.cs 2.2 KB
- scripts/src/SharpDb/Metadata/IMetadataProvider.cs 741 B
- scripts/src/SharpDb/Metadata/MetadataProviderFactory.cs 837 B
- scripts/src/SharpDb/Metadata/MySQLMetadataProvider.cs 4.2 KB
- scripts/src/SharpDb/Metadata/PostgresMetadataProvider.cs 9.6 KB
- scripts/src/SharpDb/Metadata/SqliteMetadataProvider.cs 3.9 KB
- scripts/src/SharpDb/Metadata/SqlServerMetadataProvider.cs 7.8 KB
- scripts/src/SharpDb/MetadataQueryService.cs 1.2 KB
- scripts/src/SharpDb/Program.cs 9.4 KB
- scripts/src/SharpDb/QueryExecutor.cs 2.7 KB
- scripts/src/SharpDb/SharpDb.csproj 650 B
- scripts/test/SharpDbTest/MySqlMetadataTests.cs 6.7 KB
- scripts/test/SharpDbTest/PostgresMetadataTests.cs 5.3 KB
- scripts/test/SharpDbTest/QueryExecutorTests.cs 17 KB
- scripts/test/SharpDbTest/SharpDbTest.csproj 1.0 KB
- scripts/test/SharpDbTest/SqlServerMetadataTests.cs 6.6 KB
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.
- 1mo ago Changed · +1 lines · +3 tokens per session 94d084ea4a82
- 2mo ago First seen · 148 lines · 68 tokens per session scan C 22b180499694
sharp-db is a skill published in the GitHub repository beginor/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 1,911 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
sharp-db compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sharp-dbbeginor/agent-skills | Skill | 2 | 1mo ago | MIT | C | 71 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 31k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.8k | 2d ago | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| nornicdb-cypher-queriesorneryd/NornicDB | Skill | 924 | today | MIT | A | 79 | Claude Code, Codex |
| volcengine-rds-postgresqlbytedance/agentkit-samples | Skill | 484 | yesterday | Apache-2.0 | A | 63 | Claude Code, Codex |