Skills Plugins MCP Prompt Model 博客 我的中心

cost-budget-check

Read accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=ruvnet-ruflo-plugins-ruflo-cost-tracker-skills-cost-budget-check-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name cost-budget-check description Read accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder argument-hint [--period today|week|month|all] allowed-tools Bash mcp__plugin_ruflo-core_ruflo__memory_retrieve mcp__plugin_ruflo-core_ruflo__memory_list mcp__plugin_ruflo-core_ruflo__memory_store Cost Budget Check Reads cost-tracking:budget-config for the project's budget limit, sums total_cost_usd across session-* records produced by cost-track , computes utilization, and emits the measured 4-tier alert ladder (50% INFO / 75% WARNING / 90% CRITICAL / 100% HARD_STOP). Until P2 (this skill) landed, the README documented the alert ladder but no code checked it. Now this skill is the gate. When to use After every cost-track run, to surface the alert level. Before spawning a swarm — if utilization ≥ 90%, escalate to /cost-optimize first. Cron-friendly via /loop 30m for continuous monitoring. Steps Run the check : node plugins/ruflo-cost-tracker/scripts/budget.mjs check Filter by period: BUDGET_PERIOD=today (default all ). Use BUDGET_QUIET=1 for machine-readable JSON. Inspect the markdown summary — budget, spent, remaining, utilization percentage, alert level (🟢 OK · 🟡 INFO · 🟠 WARNING · 🔴 CRITICAL · 🛑 HARD_STOP), and the recommended action. Set / inspect the budget : node plugins/ruflo-cost-tracker/scripts/budget.mjs set 50.00 node plugins/ruflo-cost-tracker/scripts/budget.mjs get HARD_STOP path — budget.mjs check exits with code 1 when utilization ≥ 100%. Wrap critical agent spawns in a budget.mjs check && spawn … guard to fail closed. Storage shape ( cost-tracking:budget-config ) { "budget_usd" : 50.00 , "setAt" : "2026-05-05T..." , "thresholds" : { "info" : 0.50 , "warning" : 0.75 , "critical" : 0.90 , "hard_stop" : 1.00 } } Alert ladder (from REFERENCE.md, now enforced) Threshold Level Action 50% INFO 🟡 log notification, no UX disruption 75% WARNING 🟠 display warning, suggest /cost-optimize 90% CRITICAL 🔴 urgent alert, recommend model downgrades 100% HARD_STOP 🛑 halt non-essential spawns; exit code 1 Cross-references cost-track (producer) — populates cost-tracking:session-* cost-report — same data source, narrative format cost-optimize — recommended action when WARNING/CRITICAL REFERENCE.md "Budget alert thresholds" — the documented ladder this enforces
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。