Install any skill in seconds. Free to start, no credit card required.
Get Started Free →platformplatform/db-query
Query the local Postgres database of the active Aspire worktree via psql.
Passed 11 of 18 test cases with the skill, and 7 of 18 without it.
and 4 more in the full report
7 fixed7 passed either way7 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
If `.workspace/port.txt` contains 5220, what is the exact TCP port number for connecting to the Postgres database?
| Checked | Without skill | With skill |
|---|---|---|
| Calculates the port as 5224. | Missed | Passed |
The instructions your model reads when the skill loads.
Port = .workspace/port.txt base + 4. Never trust Aspire MCP for the port — a common critical failure that silently runs SQL on another worktree's database.
Read-only. Every write needs explicit user approval for that exact statement, every time — prior approvals never carry over.
For destructive operations (DROP, TRUNCATE, DELETE, ALTER, or anything that loses data), take extreme care. If anything in the request is even slightly unclear about the scope, target, or intent, stop and ask for clarification before executing. Always assume the most conservative interpretation.
If psql --version fails, tell the user:
psqlis not installed. Install:
- macOS:
brew install libpq && brew link --force libpq- Linux:
sudo apt install postgresql-client- Windows:
winget install PostgreSQL.PostgreSQL.17
Aspire must be running.
localhost, port = <base> + 4 where <base> is the integer in .workspace/port.txt.postgres.export PGPASSWORD=$(dotnet user-secrets list --project application/AppHost/AppHost.csproj | sed -n 's/^postgres-password = //p') (keeps it out of shell history).Each SCS has its own database. List them:
SELECT datname FROM pg_database WHERE datistemplate = false AND datname <> 'postgres';
test cases passed, vs 7 / 18 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.