CtrlK
BlogDocsLog inGet started
Tessl Logo

postgres-trading

交易数据库 PostgreSQL 只读查询工具。用于查询交易记录、持仓数据、盈亏统计、策略执行日志。当需要分析历史交易数据、检查数据库状态或生成统计报告时使用此 Skill。

95

1.50x
Quality

93%

Does it follow best practices?

Impact

95%

1.50x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

25%

Safe PostgreSQL Query Module for Trading Backend

Read-only query enforcement

Criteria
Without context
With context

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%

86%

51%

Trading Database Tool Onboarding Setup

Connection config setup

Criteria
Without context
With context

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%

100%

19%

Trading Performance Analytics Script

Trading intent table mapping

Criteria
Without context
With context

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%

Repository
Lingjie-chen/MT5
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.