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 (969 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/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 969 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.00969
Opus 5 $0.00010 $0.00485
Sonnet 5 $0.00004 $0.00194
Haiku 4.5 $0.00002 $0.00097

Measured 12d ago against content hash e132e9591d84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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/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. 12d 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 (139 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 969 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens