交易数据库 PostgreSQL 只读查询工具。用于查询交易记录、持仓数据、盈亏统计、策略执行日志。当需要分析历史交易数据、检查数据库状态或生成统计报告时使用此 Skill。
95
93%
Does it follow best practices?
Impact
95%
1.50xAverage score across 3 eval scenarios
Passed
No known issues
Read-only query enforcement
psycopg2-binary package
100%
100%
readonly connection
0%
100%
SELECT allowed
100%
100%
SHOW/EXPLAIN/WITH allowed
100%
100%
INSERT blocked
100%
100%
UPDATE blocked
100%
100%
DELETE blocked
100%
100%
DROP blocked
100%
100%
Single statement only
0%
100%
30-second timeout
100%
100%
10,000 row limit
100%
100%
Connection config setup
psycopg2-binary package
100%
100%
Correct config path
0%
0%
chmod 600 applied
80%
100%
Password env var reference
0%
100%
sslmode prefer
0%
100%
databases array structure
0%
100%
name and description fields
33%
100%
host and port fields
62%
100%
database and user fields
50%
100%
password field present
0%
100%
Env var setup documented
100%
100%
Trading intent table mapping
trades table for PnL
100%
100%
Trades win/loss counting
100%
100%
positions table for holdings
100%
100%
Positions open status filter
100%
100%
account_snapshots for drawdown
0%
100%
30-day time window
50%
100%
strategy_logs or signals
75%
100%
risk_events for alerts
100%
100%
Peak and trough balance
100%
100%
psycopg2-binary package
100%
100%
3069d33
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.