fadacai-portfolio: Skill for Claude Code

.agents/skills/mcp-health/SKILL.md

mcp-health is a skill for Claude Code from PatrickSUDO/fadacai-portfolio. It costs 20 tokens per session (970 once invoked), scanned A, original, MIT.

A health-check workflow for testing connections to MCP servers, which let an agent use external tools and services.

In plain words
What is it for?
Use it to test the listed financial-data and market servers, summarize their status and response time, and display manual restart commands for failures.
Why use it?
It shows which connections work, respond slowly, return incomplete data, or fail, making connection problems easier to diagnose.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions Claude Code; installed under .agents/ (shared by several agents).

This is PatrickSUDO/fadacai-portfolio's own configuration. It tells Claude Code how to work on fadacai-portfolio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fadacai-portfolio configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/supatrick/laptop/project/mcp-servers/fmp-mcp/compose.yaml.

Reuse

Borrowing it

Nothing to install: this file belongs to PatrickSUDO/fadacai-portfolio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PatrickSUDO/fadacai-portfolio/main/.agents/skills/mcp-health/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PatrickSUDO/fadacai-portfolio

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/patricksudo/fadacai-portfolio/mcp-health/github.svg)](https://agentmods.dev/skills/patricksudo/fadacai-portfolio/mcp-health)
Your own site
<a href="https://agentmods.dev/skills/patricksudo/fadacai-portfolio/mcp-health"><img src="https://agentmods.dev/badge/skills/patricksudo/fadacai-portfolio/mcp-health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/patricksudo/fadacai-portfolio/mcp-health"><img src="https://agentmods.dev/badge/skills/patricksudo/fadacai-portfolio/mcp-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00970
Opus 5.5 $0.00008 $0.00388
Sonnet 5.5 $0.00004 $0.00194
Haiku 4.5 $0.00002 $0.00097

Measured 6d ago against content hash f0675a51d253, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/mcp-health/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Health Check

測試所有 MCP server 的連線狀態,快速診斷問題。

Workflow

1. 平行測試所有 MCP Server

盡可能同時呼叫以下 7 個測試,使用最簡單的工具確認連線:

# Server 測試工具 測試呼叫
1 firstrade-server get_account_balance ()
2 yfinance-advanced get_stock_info ("AAPL")
3 sec-edgar-mcp get_company_info ("AAPL")
4 fmp-mcp getCompanyProfile ("AAPL")
5 technical-mcp get_technical_indicators ("AAPL")
6 eodhd-mcp get_sentiment_trend ("AAPL.US", 7)
7 polymarket-mcp get_trending_markets ()

2. 判定狀態

對每個 server 的回應判定:

  • ✅ Healthy — 正常返回數據
  • ⚠️ Degraded — 返回但數據不完整或響應異常慢
  • ❌ Failed — 呼叫失敗或超時

3. 輸出狀態表

## MCP Server 健康檢查

| Server | 狀態 | 延遲 | 備註 |
|--------|------|------|------|
| firstrade-server | ✅ Healthy | ~Xs | 即時持倉來源 |
| yfinance-advanced | ✅ Healthy | ~Xs | — |
| sec-edgar-mcp | ✅ Healthy | ~Xs | — |
| fmp-mcp | ✅ Healthy | ~Xs | Free tier |
| technical-mcp | ✅ Healthy | ~Xs | — |
| eodhd-mcp | ❌ Failed | — | 連線失敗 |
| polymarket-mcp | ✅ Healthy | ~Xs | Demo mode |

健康: X/7 | 異常: X/7

4. 失敗時的處理

對於 ❌ Failed 的 server,顯示:

  • 錯誤訊息摘要
  • 手動重啟指令(僅顯示,不自動執行):
# 手動重啟指令(請在終端機執行):

# yfinance-advanced(uvx @0.1.2,由 Claude Code 自管 stdio subprocess):
# → 通常重開 Claude Code session 即恢復;若需驗證版本:
#   uvx [email protected] --help

# sec-edgar-mcp(uvx @1.0.8,由 Claude Code 自管):
# → 重開 Claude Code session 即恢復

# fmp-mcp(Docker 容器,非 stdio,不由 Claude Code 管):
docker compose -f /Users/supatrick/laptop/project/mcp-servers/fmp-mcp/compose.yaml restart

# fmp-mcp 旁路驗證(不需 /mcp reconnect,直接測 helper):
python3 /Users/supatrick/laptop/project/fadacai-portfolio/tools/fmp_query.py getCompanyProfile --args '{"symbol":"AAPL"}'

# fmp-mcp session expired(常見)→ 用 helper 取資料,不用 reconnect:
python3 /Users/supatrick/laptop/project/fadacai-portfolio/tools/fmp_query.py getBiggestGainers

5. 建議

  • 若 1-2 個 server 失敗 → 建議重啟該 server,其他 skill 可正常使用(會 fallback)
  • 若 3+ 個 server 失敗 → 建議重啟 Claude Code session
  • 提醒:MCP server 由 Claude Code 自動管理,通常重開 session 即可恢復

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed f0675a51d253
  2. 2mo ago First seen · 89 lines · 20 tokens per session scan A e132e9591d84

Subscribe to this mod's changes

mcp-health is a skill published in the GitHub repository PatrickSUDO/fadacai-portfolio (144 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 970 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp-health compared with skills from other repositories

mcp-health next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-healthPatrickSUDO/fadacai-portfolioSkill1447d agoMITA20Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex