Skip to content
Back to skills

Db Source Health

ASecurity

查询各数据源的健康状态。显示每个 source 的最近成功/失败时间、连续失败次数、总调用次数和失败率。用于开场交互时检查源健康。

  • 98 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
data-aipythonbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add zhiyuzi/Signex --skill db-source-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Db Source Health?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Db Source Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zhiyuzi-db-source-health/badge)](https://www.skillsdirectory.com/skills/zhiyuzi-db-source-health)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md814 B
  • scripts/health.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.