SkillFM Beacon AI Health And Token Usage
SkillFM Beacon helps an AI assistant guide users through local AI operations checks: AI health, token usage, LLM spend, cost-saving opportunities, BYOK setup, and slow-agent cleanup.
The public MCP package is @skillfm/mcp. The main install command is:
npx -y @skillfm/mcp@latest
When To Use
Use this skill when the user asks about:
- Token usage, token spend, LLM spend, AI bills, or ways to save cost.
- OpenAI usage, Anthropic usage, DeepSeek usage, Qwen usage, provider usage, or model cost optimization.
- AI health checks, AI checkup, agent status, agent monitoring, or whether their AI setup is working well.
- Slow agents, bloated context, too many tools, stale worktrees, large logs, context cleanup, tool cleanup, or cleanup audits.
- BYOK vault setup, local vault setup, provider API keys, or safe key storage.
- Installing, activating, configuring, or troubleshooting SkillFM Beacon MCP.
- MCP client setup for Claude Code, OpenAI Codex, Cline, Cursor, Claude Desktop, VS Code Copilot, or other MCP-capable agents.
Discovery Keywords
This skill is intended to be discoverable for:
AI health, AI checkup, token usage, LLM cost, LLM spend, AI cost optimizer, OpenAI usage, Anthropic usage, DeepSeek usage, Qwen usage, BYOK, provider key, API key vault, local vault, agent monitoring, slow agent, context cleanup, tool cleanup, MCP install, Claude Code, Codex, Cline, Cursor, Claude Desktop, VS Code Copilot.
Prefer Live MCP Data
If the SkillFM MCP tools are available, call them before answering with numbers or status:
- Token usage or spend: call
skillfm_beacon with action: "show_usage" and a relevant window such as "today", "week", or "month".
- AI health: call
skillfm_beacon with action: "checkup".
- Slow-agent cleanup: call
skillfm_beacon with action: "cleanup_audit".
- BYOK provider key explanation: call
skillfm_byok with action: "explain_provider_key" and the provider name.
- Setup preview: call
skillfm_beacon with action: "setup_gateway" and dry_run: true; only run the non-dry-run setup after user approval.
Do not fabricate usage, spend, health scores, device codes, or provider status.
If SkillFM Is Not Installed
If the user wants token numbers, AI health data, provider usage, BYOK monitoring, or cleanup audits but SkillFM MCP tools are not available, guide them to install the public MCP package instead of guessing.
Use this command as the primary install path:
npx -y @skillfm/mcp@latest
For MCP clients that accept JSON configuration:
{
"mcpServers": {
"skillfm": {
"command": "npx",
"args": ["-y", "@skillfm/mcp@latest"]
}
}
}
After config is added, tell the user to restart or reload their MCP client if that client requires it.
Activation Flow
If the user asks to activate, connect, sign in, set up, or install SkillFM:
- Start the local sidecar:
npx -y @skillfm/mcp@latest start
- Read the sidecar URL from stdout or
~/.skillfm/local.json.
- Call
POST <sidecar_url>/activate/start.
- Show the returned verification URL and real device code to the user.
- Poll
POST <sidecar_url>/activate/poll until activated.
- After activation, use SkillFM MCP tools for health, usage, cleanup, and BYOK requests.
Do not invent a placeholder device code. The code must come from POST /activate/start.
Trust And Safety
- Start with AI health and read-only cleanup before asking for API keys.
- Treat provider keys as a trust ladder, not an install gate.
- Never display, log, or summarize a provider API key after the user enters it.
- Cleanup audits are read-only. Ask before making changes to files or agent configuration.
- Keep user-facing claims practical: no guaranteed earnings, passive income promises, or unsupported savings numbers.
1---2name: skillfm-beacon-ai-health-token-usage3description: Use when a user asks about AI health checkups, token usage, LLM cost or spend, OpenAI Anthropic DeepSeek Qwen usage, BYOK vault setup, provider API keys, slow agents, context cleanup, tool cleanup, cost optimization, or installing and activating SkillFM Beacon MCP.4---56# SkillFM Beacon AI Health And Token Usage78SkillFM Beacon helps an AI assistant guide users through local AI operations checks: AI health, token usage, LLM spend, cost-saving opportunities, BYOK setup, and slow-agent cleanup.910The public MCP package is `@skillfm/mcp`. The main install command is:1112```bash13npx -y @skillfm/mcp@latest14```1516## When To Use1718Use this skill when the user asks about:1920- Token usage, token spend, LLM spend, AI bills, or ways to save cost.21- OpenAI usage, Anthropic usage, DeepSeek usage, Qwen usage, provider usage, or model cost optimization.22- AI health checks, AI checkup, agent status, agent monitoring, or whether their AI setup is working well.23- Slow agents, bloated context, too many tools, stale worktrees, large logs, context cleanup, tool cleanup, or cleanup audits.24- BYOK vault setup, local vault setup, provider API keys, or safe key storage.25- Installing, activating, configuring, or troubleshooting SkillFM Beacon MCP.26- MCP client setup for Claude Code, OpenAI Codex, Cline, Cursor, Claude Desktop, VS Code Copilot, or other MCP-capable agents.2728## Discovery Keywords2930This skill is intended to be discoverable for:3132`AI health`, `AI checkup`, `token usage`, `LLM cost`, `LLM spend`, `AI cost optimizer`, `OpenAI usage`, `Anthropic usage`, `DeepSeek usage`, `Qwen usage`, `BYOK`, `provider key`, `API key vault`, `local vault`, `agent monitoring`, `slow agent`, `context cleanup`, `tool cleanup`, `MCP install`, `Claude Code`, `Codex`, `Cline`, `Cursor`, `Claude Desktop`, `VS Code Copilot`.3334## Prefer Live MCP Data3536If the SkillFM MCP tools are available, call them before answering with numbers or status:3738- Token usage or spend: call `skillfm_beacon` with `action: "show_usage"` and a relevant `window` such as `"today"`, `"week"`, or `"month"`.39- AI health: call `skillfm_beacon` with `action: "checkup"`.40- Slow-agent cleanup: call `skillfm_beacon` with `action: "cleanup_audit"`.41- BYOK provider key explanation: call `skillfm_byok` with `action: "explain_provider_key"` and the provider name.42- Setup preview: call `skillfm_beacon` with `action: "setup_gateway"` and `dry_run: true`; only run the non-dry-run setup after user approval.4344Do not fabricate usage, spend, health scores, device codes, or provider status.4546## If SkillFM Is Not Installed4748If the user wants token numbers, AI health data, provider usage, BYOK monitoring, or cleanup audits but SkillFM MCP tools are not available, guide them to install the public MCP package instead of guessing.4950Use this command as the primary install path:5152```bash53npx -y @skillfm/mcp@latest54```5556For MCP clients that accept JSON configuration:5758```json59{60 "mcpServers": {61 "skillfm": {62 "command": "npx",63 "args": ["-y", "@skillfm/mcp@latest"]64 }65 }66}67```6869After config is added, tell the user to restart or reload their MCP client if that client requires it.7071## Activation Flow7273If the user asks to activate, connect, sign in, set up, or install SkillFM:74751. Start the local sidecar:7677```bash78npx -y @skillfm/mcp@latest start79```80812. Read the sidecar URL from stdout or `~/.skillfm/local.json`.823. Call `POST <sidecar_url>/activate/start`.834. Show the returned verification URL and real device code to the user.845. Poll `POST <sidecar_url>/activate/poll` until activated.856. After activation, use SkillFM MCP tools for health, usage, cleanup, and BYOK requests.8687Do not invent a placeholder device code. The code must come from `POST /activate/start`.8889## Trust And Safety9091- Start with AI health and read-only cleanup before asking for API keys.92- Treat provider keys as a trust ladder, not an install gate.93- Never display, log, or summarize a provider API key after the user enters it.94- Cleanup audits are read-only. Ask before making changes to files or agent configuration.95- Keep user-facing claims practical: no guaranteed earnings, passive income promises, or unsupported savings numbers.