Back to skills
SKILL.md
Db Source Health
ASecurity查询各数据源的健康状态。显示每个 source 的最近成功/失败时间、连续失败次数、总调用次数和失败率。用于开场交互时检查源健康。
- 98 stars
- 0 votes
- 0 copies
- 1 view
- Added May 26, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add zhiyuzi/Signex --skill db-source-health --agent claude-codeAre you the author of Db Source Health?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zhiyuzi-db-source-health)---
name: db-source-health
description: 查询各数据源的健康状态。显示每个 source 的最近成功/失败时间、连续失败次数、总调用次数和失败率。用于开场交互时检查源健康。
---
# db-source-health 源健康状态
查询各数据源的健康状态:
```bash
uv run python .claude/skills/db-source-health/scripts/health.py
```
输出 JSON:
```json
{
"success": true,
"sources": [
{
"source": "hacker_news",
"last_success": "2026-02-19T...",
"last_failure": null,
"consecutive_failures": 0,
"total_calls": 15,
"total_failures": 1,
"failure_rate": 0.067
}
],
"unhealthy": ["x_twitter"],
"total_sources": 5
}
```
`unhealthy` 列表包含连续失败 >= 3 次的源,用于快速判断是否需要关注。
Files in this skill
- SKILL.md
- scripts/health.py
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.