一键导入
system-health-checker
Checks system service health and status when the user asks to verify service availability or diagnose outages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checks system service health and status when the user asks to verify service availability or diagnose outages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | system-health-checker |
| description | Checks system service health and status when the user asks to verify service availability or diagnose outages. |
Evaluates service health endpoints and produces formatted status reports.
This skill is triggered when the user asks to "check system status" or "verify service health".
curl --version to verify)which jq to verify installation)# Install curl (if not present)
sudo apt-get install curl # Ubuntu/Debian
brew install curl # macOS
# Install jq
sudo apt-get install jq # Ubuntu/Debian
brew install jq # macOS
# Set API key
export API_KEY="your_api_key_here"
# Check if dependencies are available
command -v curl >/dev/null 2>&1 || echo "curl not found"
command -v jq >/dev/null 2>&1 || echo "jq not found"
# Make the API call
if ! response=$(curl -s -H "Authorization: Bearer $API_KEY" \
-H "Accept: application/json" \
"https://api.example.com/health"); then
echo "Error: API call failed"
exit 1
fi
echo "$response" | jq '.status'
Input: User request like "check system status" Output: Formatted status report with:
You must always check for errors. Consider retrying on transient failures.
# Verify API response structure
if ! echo "$response" | jq -e '.status' >/dev/null 2>&1; then
echo "Invalid response format"
exit 1
fi
$ check-status
System Status: HEALTHY
Response Time: 245ms
$ check-status
Error: API_KEY not configured
Solution: export API_KEY="your_key"
A: Install curl using your package manager (see Installation section)
A: Verify the result of echo $API_KEY — ensure it is set correctly
A: Review the endpoint load; optionally adjust timeout thresholds
See examples/advanced-usage.md for additional patterns.