api-usage-analysis
Analyze Open API usage for the current user. Use when the user asks about API calls, quota, key usage, latency, failures, or open platform consumption.
- License 许可
- Apache-2.0
- 所属仓库
- KLCplus/GuangFu
- 最近更新
- 2026-07-17
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- api-usage-analysis
- license
- Apache-2.0
- metadata
- { "source": "awesome-llm-apps agent_skills format adapted for GuangFu" }
- description
- Analyze Open API usage for the current user. Use when the user asks about API calls, quota, key usage, latency, failures, or open platform consumption.
03 SKILL.md 正文
API Usage Analysis
Trigger Conditions
- User asks about API usage, quota, API key calls, errors, billing, or open platform consumption.
Required Context
userId- Optional API key ID or date range.
Allowed Tools
api.usageapi.listwallet.balance
Execution Steps
- Identify requested scope.
- Query API usage.
- Query API key list only when key context is needed.
- Query wallet balance only when consumption/cost is mentioned.
- Summarize usage, errors, and next actions.
Approval Rules
Read-only usage analysis does not need approval. Creating/resetting/deleting keys requires separate approval and is outside this skill.
Output Schema
{
"usageSummary": {},
"risks": [],
"recommendations": []
}
Failure Handling
- Do not expose full API keys.
- If usage summary is unavailable, return available log summary and state limitation.
Examples
- "看一下我最近 API 使用情况。"
- "这个月开放平台调用有没有异常?"
04 同仓库更多 Skills
weather-impact-analysis
Analyze weather impact on photovoltaic generation. Use when the user asks about weather, cloud, temperature, rain, wind, irradiance impact, or weather-driven power fluctuation.
station-inspection
Inspect photovoltaic station operating status. Use when the user asks to analyze a station, current operation, station health, or a combined station/weather/prediction situation.
power-prediction-analysis
Analyze photovoltaic prediction tasks and predicted power trends. Use when the user asks about prediction result, task trend, forecast quality, or recent model output.
comprehensive-report
Prepare or generate photovoltaic analysis reports. Use when the user asks for a report, formal summary, export, or saved analysis record.
anomaly-diagnosis
Diagnose photovoltaic abnormal operation. Use when the user mentions anomaly, power drop, fluctuation, underperformance, fault, or unexplained generation loss.
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.