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.
npx skills add Songhonglei/better-agent-skills --skill mulitca-cost-dashboardgit clone --depth 1 https://github.com/Songhonglei/better-agent-skillsWrote 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.
[](https://agentmods.dev/skills/songhonglei/better-agent-skills/mulitca-cost-dashboard)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 费用大盘
- Version 1.0.2
- License MIT
- Author Evan Song · GitHub
- Repository better-agent-skills
在装有 Multica 的机器上部署独立费用大盘。应用源码和锁文件位于 assets/dashboard,安装和配置见 README.md。 版本记录见 CHANGELOG.md。
依赖
- Node.js 22.16+、npm、Git。
- PostgreSQL(配套镜像为 17)。可使用已有独立数据库,也可用 Docker Compose 启动配套数据库。
- 已安装并登录的
multicaCLI,具备当前 Workspace 的 Usage 读取权限。 - Linux、macOS,Windows 通过 WSL2 使用。执行采集的系统账号需能读取自己的 Multica 配置。
执行流程
- 在用户选定的应用目录复制
assets/dashboard,在副本运行npm ci。 应用目录应位于 Skill 安装目录外,更新 Skill 后继续保留应用配置和数据。 - 运行
npm run setup生成.env及独立管理员和采集密钥文件。 复用已有数据库时修改.env的DATABASE_URL,使用专门的空数据库。 setup 遇到已有配置或密钥会停止,保留现有文件。 - 在
.env设置MULTICA_PROFILE。留空时使用 Multica CLI 当前默认配置。 通过multica runtime list --output json验证当前账号及 Workspace。 指定 profile 时在命令中加入--profile <name>。 - 启动数据库后依次运行
npm run build、npm run migrate、npm start。 浏览器打开默认地址http://127.0.0.1:4318,用户名为admin,密码来自.env指定的ADMIN_SECRET_FILE。将密码留给用户在本机查看。 - 获得用户对当前 Workspace 数据采集的授权后,在另一终端运行
npm run collect -- --days 2。首次补历史可使用--days 365。 采集日志须收到Committed usage snapshot,并且failures=0。 - 在页面“价格设置”维护每百万 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 缺少价格时保留为未定价。
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.
- assets/dashboard/.gitignore 98 B
- assets/dashboard/compose.yaml 471 B
- assets/dashboard/migrations/0001-expenses.sql 5.3 KB
- assets/dashboard/package-lock.json 106 KB
- assets/dashboard/package.json 998 B
- assets/dashboard/scripts/collect.mjs 4.5 KB runs code
- assets/dashboard/scripts/collector.mjs 24 KB runs code
- assets/dashboard/scripts/multica-client.mjs 6.1 KB runs code
- assets/dashboard/scripts/setup.mjs 1.8 KB runs code
- assets/dashboard/scripts/usage-v2-protocol.mjs 4.9 KB runs code
- assets/dashboard/src/app.ts 3.7 KB runs code
- assets/dashboard/src/config.ts 1.2 KB runs code
- assets/dashboard/src/db/client.ts 373 B runs code
- assets/dashboard/src/db/migrate.ts 2.1 KB runs code
- assets/dashboard/src/db/schema.ts 6.7 KB runs code
- assets/dashboard/src/expenses/routes.ts 9.2 KB runs code
- assets/dashboard/src/expenses/service.ts 38 KB runs code
- assets/dashboard/src/expenses/types.ts 3.4 KB runs code
- assets/dashboard/src/expenses/usage-v2.ts 5.4 KB runs code
- assets/dashboard/src/security/collector-signature.ts 3.8 KB runs code
- assets/dashboard/src/server.ts 937 B runs code
- assets/dashboard/test/api-client.test.ts 484 B runs code
- assets/dashboard/test/config.test.ts 1.5 KB runs code
- assets/dashboard/test/expense-custom-model.test.ts 5.3 KB runs code
- assets/dashboard/test/expense-price-service.test.ts 3.5 KB runs code
- assets/dashboard/test/integration.mjs 15 KB runs code
- assets/dashboard/test/multica-client.test.ts 533 B runs code
- assets/dashboard/tsconfig.json 257 B
- assets/dashboard/vite.config.ts 250 B runs code
- assets/dashboard/web/index.html 310 B
- assets/dashboard/web/src/api/client.ts 3.3 KB runs code
- assets/dashboard/web/src/features/expenses/ExpensesPage.tsx 40 KB
- assets/dashboard/web/src/lib/clipboard.ts 654 B runs code
- assets/dashboard/web/src/main.tsx 983 B
- assets/dashboard/web/src/styles.css 26 KB
- assets/dashboard/web/tsconfig.json 211 B
- CHANGELOG.md 1.2 KB
- LICENSE 1.0 KB
- README.md 8.4 KB
- VALIDATION.md 8.1 KB
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.
- 13d ago Changed dd9c73bc0bc6
- 17d ago First seen · 68 lines · 66 tokens per session scan A 17bd46875dd8
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.
mulitca-cost-dashboard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mulitca-cost-dashboardSonghonglei/better-agent-skills | Skill | 4 | 13d ago | MIT | A | 66 | Claude Code, Codex |
| source-command-sparc-architectayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| agency-database-reliability-engineerBlackPearl-AI/BlackPearl-CodingAgent | Skill | 10 | 3mo ago | none | A | 64 | Claude Code, Codex |
| agency-database-optimizerBlackPearl-AI/BlackPearl-CodingAgent | Skill | 10 | 3mo ago | none | A | 40 | Claude Code, Codex |
| AgentDB Performance Optimizationayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 53 | Claude Code, Codex |
| V3 Memory Unificationayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 51 | Claude Code, Codex |
| embeddingsruvnet/ruflo | Skill | 83k | today | MIT | A | 62 | Claude Code |