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 Snowflake-Labs/cocoplus --skill meter-viewgit clone --depth 1 https://github.com/Snowflake-Labs/cocoplusWrote 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/snowflake-labs/cocoplus/meter-view)<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/meter-view"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/meter-view/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/snowflake-labs/cocoplus/meter-view"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/meter-view.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.00051 | $0.01393 |
| Opus 5.5 | $0.00020 | $0.00557 |
| Sonnet 5.5 | $0.00010 | $0.00279 |
| Haiku 4.5 | $0.00005 | $0.00139 |
Grade A, and why
meter-view 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 2mo 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 — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Your objective is to generate and open the CocoMeter token attribution dashboard.
CocoPlus 2.0 Console-Aware Redirect
Before generating standalone HTML, check .cocoplus/lifecycle/console-state.json.
If the file exists and contains running: true with a port value:
- Output:
Opening Cost panel in CocoConsole. - Open
http://localhost:<port>/costin the browser. - Stop. Do not generate a standalone snapshot.
If CocoConsole is not running, continue with the standalone CocoMeter dashboard behavior below.
Pre-flight Check
Check that .cocoplus/ exists. If not:
Output: "CocoPlus not initialized. Run $pod init to begin." Then stop.
Read Attribution Data
Read .cocoplus/meter/request-map.jsonl. If the file is missing or empty, continue — the dashboard must still render with local-only data and zero Snowflake rows. Use an injected payload shaped like:
{
"local_only": true,
"rows": [],
"stages": [],
"warning": "No local CocoMeter request-map entries were found yet."
}
Partition entries into two sets:
- Direct IDs: entries where
is_subagent_anchoris absent or false - Anchor IDs: entries where
is_subagent_anchoris true
Query Snowflake Usage History
If any Direct IDs exist, execute Pass 1:
SELECT REQUEST_ID, PARENT_REQUEST_ID, USAGE_TIME, TOKENS, TOKEN_CREDITS,
TOKENS_GRANULAR, CREDITS_GRANULAR
FROM SNOWFLAKE.ACCOUNT_USAGE.CORTEX_CODE_CLI_USAGE_HISTORY
WHERE REQUEST_ID IN (<direct_ids>)
OR PARENT_REQUEST_ID IN (<direct_ids>)
ORDER BY USAGE_TIME ASC;
If Anchor IDs also exist, execute Pass 2:
SELECT REQUEST_ID, PARENT_REQUEST_ID, USAGE_TIME, TOKENS, TOKEN_CREDITS,
TOKENS_GRANULAR, CREDITS_GRANULAR
FROM SNOWFLAKE.ACCOUNT_USAGE.CORTEX_CODE_CLI_USAGE_HISTORY
WHERE PARENT_REQUEST_ID IN (<anchor_ids>)
AND REQUEST_ID NOT IN (<pass_1_request_ids>)
ORDER BY USAGE_TIME ASC;
Union Pass 1 and Pass 2 results. If either query fails (permission denied, connection error), log the error and continue with whatever was retrieved — do not abort.
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.
- 2mo ago First seen · 159 lines · 51 tokens per session scan A ad201837330c
meter-view is a skill published in the GitHub repository Snowflake-Labs/cocoplus (729 stars, last pushed 23d ago), licensed MIT. It adds 51 tokens to every session and 1,393 once invoked, about $0.0002 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-09-03.
meter-view compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| meter-viewSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 51 | Claude Code, Codex |
| prompt-engineeringwpank/ai | Skill | 12 | 9mo ago | none | B | 44 | Claude Code, Codex |
| iterate-implementationhumanlayer/humanlayer | Skill | 13k | 8d ago | Apache-2.0 | A | 16 | Claude Code, Codex |
| Workspace Data AnalystVoltAgent/voltagent | Skill | 11k | 24d ago | MIT | A | 14 | Claude Code, Codex |
| examples-qacognesy/instructor-php | Skill | 328 | yesterday | MIT | A | 67 | Codex |
| langgraphyonatangross/orchestkit | Skill | 312 | today | MIT | A | 54 | Claude Code |
| code-reviewmagnus919/agent-skills | Skill | 202 | today | MIT | A | 196 | Claude Code, Codex |