health-check
Skill1 starsChanged 6 months agoMITView on GitHub
Self-diagnostic for the aifolimizer harness wiring. Use when something is silently broken or before relying on the system - "is everything working?", "health check", "why is the MCP not responding?", "check my setup", "diagnose aifolimizer". Audits MCP server, services, WS token freshness, hooks. Catches stale-token / unregistered-MCP / broken-hook silent failures.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- tradeblocks-org/tradeblocks-skillstheir own version, first seen Sep 28, 2026
- telerik/observability-skillstheir own version, first seen Sep 18, 2026
- fagemx/eddatheir own version, first seen Sep 1, 2026
- vefmvai/sysadmintheir own version, first seen Aug 19, 2026
- System-Error-Worldwide/the-looptheir own version, first seen Aug 17, 2026
- link7373/agentic-sales-marketingtheir own version, first seen Aug 8, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- codewithmukesh/dotnet-claude-kit★ 750same name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- hoangsonww/AI-Agents-Orchestrator★ 87same name
- fagemx/edda★ 36same name
- cropsgg/skills★ 15same name
- weklund/fiduciary★ 10same name
- aws-samples/sample-aws-ops-skills-for-agents★ 8same name
- nanxiaoyao/network-huawei-skills★ 2same name
- tonmoy007/forge-plugins★ 2same name
- tradeblocks-org/tradeblocks-skills★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- auto-rebalanceSkill
- cash-deploymentSkill
- daily-briefingSkill
- dividend-strategySkill
- earnings-analyzerSkill
- earnings-postmortemSkill
- employer-stockSkill
- macro-impactSkill
- momentum-scannerSkill
- optimize-allocationSkill
- pead-trackerSkill
- perf-optimizerSkill
- portfolio-healthSkill
- portfolio-reviewSkill
- position-reviewSkill
- pre-trade-checkSkill
- profile-setupSkill
- risk-assessmentSkill
- sector-rotationSkill
- stock-analysisSkill
- stock-compareSkill
- tax-loss-reviewSkill
- top-trades-todaySkill
- trade-journalSkill
- trading-deskSkill
- weekly-mirrorSkill
The file
Files
Health Check (Harness Self-Diagnostic)
Goal
Catch the silent-failure class a solo operator hits with no second pair of eyes: stale WS token, MCP server that won't import, a service import break, missing hooks. Output is a PASS/WARN/FAIL report with the one thing to fix.
How to run
Step 1 - Run the deterministic diagnostic:
backend/.venv/Scripts/python.exe backend/scripts/health_check.pyReports: python version, mcp_server import + tool count, core service imports, WS session token freshness (vs WS_TOKEN_TTL_HOURS), settings.json hook events.
Step 2 - Live data-source check (only if Step 1 PASS):
mcp__aifolimizer__get_data_source_reliability- per-source success rate + latency over the trailing window. Flags providers degrading (yfinance / FRED / CoinGecko / SEC).
Step 3 - Optional backend reachability:
curl -s http://127.0.0.1:8000/healthif the FastAPI backend is expected up.
Interpreting results
- ws_session WARN (stale) → re-auth: delete
~/.aifolimizer/ws_session.jsonand re-run WS login, or runmcp_login. - mcp_server_import FAIL → a recent edit broke import; run
py_compile mcp_server.pyand read the traceback. - core_services FAIL → a service has a syntax/dependency error; the detail names the module + exception.
- settings_hooks missing event → a hook didn't register; check
~/.claude/settings.json. - data_source low success rate → provider outage or rate-limit; the cached layer will serve stale data until it recovers.
Output
Relay the script's OVERALL line + any non-PASS rows, then the single highest-priority fix. Don't paste the full report unless asked.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

