mulitca-cost-dashboard

mulitca-cost-dashboard is a skill for Claude Code, Codex from Songhonglei/better-agent-skills. It costs 66 tokens per session (1,066 once invoked), scanned A, original, MIT.

A standalone dashboard for Multica usage and estimated model costs. It runs on a server or computer, reads usage from the Multica command-line tool, and stores it in PostgreSQL.

In plain words
What is it for?
Use it to install and operate the dashboard, collect recent or historical usage, inspect runtime, issue, and task data, and manage model prices.
Why use it?
It brings usage from multiple workspaces into one view and shows where attribution data is missing. It also lets you maintain prices so cost estimates can be recalculated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install and operate the dashboard, collect recent or historical usage, inspect runtime, issue, and task data, and manage model prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/songhonglei/better-agent-skills/mulitca-cost-dashboard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Songhonglei/better-agent-skills --skill mulitca-cost-dashboard
Clone the repo
git clone --depth 1 https://github.com/Songhonglei/better-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mulitca-cost-dashboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard/github.svg)](https://agentmods.dev/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard)
Your own site
<a href="https://agentmods.dev/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard"><img src="https://agentmods.dev/badge/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mulitca-cost-dashboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard"><img src="https://agentmods.dev/badge/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01066
Opus 5.5 $0.00026 $0.00426
Sonnet 5.5 $0.00013 $0.00213
Haiku 4.5 $0.00007 $0.00107

Measured 13d ago against content hash dd9c73bc0bc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mulitca-cost-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 25 executable files (assets/dashboard/scripts/collect.mjs, assets/dashboard/scripts/collector.mjs, assets/dashboard/scripts/multica-client.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mulitca-cost-dashboard/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Multica 费用大盘

在装有 Multica 的机器上部署独立费用大盘。应用源码和锁文件位于 assets/dashboard,安装和配置见 README.md。 版本记录见 CHANGELOG.md。

依赖

  • Node.js 22.16+、npm、Git。
  • PostgreSQL(配套镜像为 17)。可使用已有独立数据库,也可用 Docker Compose 启动配套数据库。
  • 已安装并登录的 multica CLI,具备当前 Workspace 的 Usage 读取权限。
  • Linux、macOS,Windows 通过 WSL2 使用。执行采集的系统账号需能读取自己的 Multica 配置。

执行流程

  1. 在用户选定的应用目录复制 assets/dashboard,在副本运行 npm ci。 应用目录应位于 Skill 安装目录外,更新 Skill 后继续保留应用配置和数据。
  2. 运行 npm run setup 生成 .env 及独立管理员和采集密钥文件。 复用已有数据库时修改 .env 的 DATABASE_URL,使用专门的空数据库。 setup 遇到已有配置或密钥会停止,保留现有文件。
  3. 在 .env 设置 MULTICA_PROFILE。留空时使用 Multica CLI 当前默认配置。 通过 multica runtime list --output json 验证当前账号及 Workspace。 指定 profile 时在命令中加入 --profile <name>。
  4. 启动数据库后依次运行 npm run build、npm run migrate、npm start。 浏览器打开默认地址 http://127.0.0.1:4318,用户名为 admin,密码来自 .env 指定的 ADMIN_SECRET_FILE。将密码留给用户在本机查看。
  5. 获得用户对当前 Workspace 数据采集的授权后,在另一终端运行 npm run collect -- --days 2。首次补历史可使用 --days 365。 采集日志须收到 Committed usage snapshot,并且 failures=0。
  6. 在页面“价格设置”维护每百万 Token 的单价及生效日期。预估费用随价格重新计算。 样例价格仅用于说明导入格式,正式价格由用户提供。

采集覆盖当前 profile 的全部 Workspace 项目。一个数据库对应一个 Workspace。 切换 Workspace 时使用另一个应用副本、数据库、配置和密钥。

验证与恢复

  • /health 返回 status=ok 表示进程和数据库连通。确认页面能读取费用和保存价格。
  • 部分源失败时,成功数据仍可提交,进程返回非零。检查当前 Multica 权限,修复后重跑同一采集命令。
  • 上传中断时,最后完整快照仍在数据库。重新执行采集可完成新的原子提交。
  • 相同快照重复上传保持幂等。V2 分块全部到齐后,按成功 Runtime 和日期范围替换数据。
  • HTTP 401 检查采集密钥与机器时间,403 检查 Multica Usage 权限,413 检查两端请求大小限制。
  • 使用 README 的调度命令前先完成一次手动采集。用户要求持续运行时再配置对应机器的进程管理和定时任务。

数据与访问

默认监听回环地址。远端使用 SSH 隧道,或配置带 HTTPS 的反向代理。 页面使用独立 Basic 登录,采集使用 HMAC 签名和 PostgreSQL nonce 防重放。 管理员密码与采集密钥分别保存在权限为 400/600 的文件,运行数据位于应用和用户数据目录。

费用按 Issue 全生命周期用量计算,Task 补齐缺口,Runtime 用于对账。 日期筛选、累计 Issue 用量和 Runtime 日用量的边界见 README 的“统计口径”。 部署成功、采集完成和费用核验分别报告。Token 缺少价格时保留为未定价。

Read the full file on GitHub · 68 lines

Files

What ships with it

40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed dd9c73bc0bc6
  2. 17d ago First seen · 68 lines · 66 tokens per session scan A 17bd46875dd8

Subscribe to this mod's changes

mulitca-cost-dashboard is a skill published in the GitHub repository Songhonglei/better-agent-skills (4 stars, last pushed 13d ago), licensed MIT. It adds 66 tokens to every session and 1,066 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

mulitca-cost-dashboard compared with skills from other repositories

mulitca-cost-dashboard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mulitca-cost-dashboardSonghonglei/better-agent-skillsSkill413d agoMITA66Claude Code, Codex
source-command-sparc-architectayushcodes10/echo-memSkill22mo agoApache-2.0A18Claude Code, Codex
agency-database-reliability-engineerBlackPearl-AI/BlackPearl-CodingAgentSkill103mo agononeA64Claude Code, Codex
agency-database-optimizerBlackPearl-AI/BlackPearl-CodingAgentSkill103mo agononeA40Claude Code, Codex
AgentDB Performance Optimizationayushcodes10/echo-memSkill22mo agoApache-2.0A53Claude Code, Codex
V3 Memory Unificationayushcodes10/echo-memSkill22mo agoApache-2.0A51Claude Code, Codex
embeddingsruvnet/rufloSkill83ktodayMITA62Claude Code