
SkillFM LLM Cost Optimizer
io.github.ericm1018由 GitHub 帳號 ericm1018 發布v0.1.0更新於 Oct 24, 2026
LLM cost optimizer for OpenAI, Anthropic, token usage, BYOK, and SkillFM Beacon audits.
概覽
一個輕量的 SkillFM 閘道,轉送到 SkillFM Beacon 執行環境,協助助理稽核 LLM token 用量與 OpenAI/Anthropic 花費。
- 可以做什麼
- 把 LLM 花費問題轉成 SkillFM Beacon 的用量與健康檢查,實際執行由受委派的執行環境完成,清單本身未列出工具。提示在上下文、模型選擇、快取使用、批次處理與重複工作方面的省錢機會。引導使用者從粗略的 token 可見性走向依供應商層級的 BYOK 監控。啟動本機 sidecar 並執行裝置碼啟用流程,向使用者回傳驗證連結與真實裝置碼。清理與用量檢查從唯讀稽核開始。
- 適用情境
- 當你希望助理協助排查 OpenAI 或 Anthropic 花費為何偏高、哪個 agent 工作流程在消耗 token,或如何在不把供應商金鑰送到 SaaS 儀表板的前提下降低 LLM 成本時,可以考慮使用。
- 執行需求
- 透過 npx 從 npm 套件以 stdio 在本機執行,該套件轉送到 SkillFM MCP 套件與 SkillFM 本機執行環境。啟用需要啟動本機 sidecar 並完成裝置碼流程;sidecar 位址從標準輸出或本機設定檔讀取。供應商金鑰僅在稍後的 BYOK 模式下引入。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 SkillFM LLM Cost Optimizer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
SkillFM LLM Cost Optimizer MCP
LLM cost optimization and provider usage visibility for MCP-capable agents.
This repository is a transparent SkillFM gateway package. It exists to match a specific marketplace/search intent, then delegates execution to the canonical SkillFM Beacon MCP and local runtime.
Powered by SkillFM Beacon.
Quick Start
Use this gateway as an MCP stdio server:
Equivalent explicit SkillFM entrypoint:
For MCP clients that accept JSON config:
What This Gateway Helps With
- Turn LLM spend questions into SkillFM Beacon usage and health checks.
- Guide users from rough token visibility to provider-level BYOK monitoring when they are ready.
- Surface cost-saving opportunities in context, model choice, cache use, batching, and repeated work.
- Keep the public package thin while delegating execution to the SkillFM local runtime.
This gateway is for users who ask:
- "How do I reduce OpenAI or Anthropic spend?"
- "Which agent workflow is burning tokens?"
- "Can I optimize LLM cost without sending keys to a SaaS dashboard?"
- "How do I connect provider usage after I trust the local checkup?"
How It Works
The public package is intentionally thin. It sets SKILLFM_GATEWAY_SOURCE=llm-cost-optimizer and forwards execution to @skillfm/mcp@latest, which then delegates to the canonical @skillfm/local runtime.
No private SkillFM platform logic, customer data, provider credentials, or backend modules live in this repository.
Activation Path
Start the local sidecar when the user wants to connect SkillFM:
Agent-driven activation flow:
- 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/polluntil it returnsactivated: true. - Use SkillFM Beacon MCP tools for checkups, usage visibility, BYOK guidance, and cleanup audits.
Do not fabricate a placeholder code. The device code must come from POST /activate/start.
Security Model
- Transparent gateway: This package is a public search/distribution gateway, not a separate hidden product.
- Local-first runtime: Runtime execution goes through SkillFM's local package.
- BYOK boundary: Provider keys are introduced only after user value is established, and key values are not read back by agents.
- No private core: This repository contains distribution metadata, docs, and a thin launcher only.
- Read-only first: Cleanup and usage inspection begin with read-only audits.
See PRIVACY.md and SECURITY.md.
Marketplace Keywords
LLM cost optimizer, OpenAI usage, Anthropic usage, token usage, AI cost optimizer, BYOK, SkillFM Beacon, MCP server.
Expected Official MCP Registry single-token hits:
llm-costcostoptimizeropenaianthropicusageskillfm
License
MIT
來源:README.md,提交 5d7b76f
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分