Skills

Meter Refresh

Refresh CocoMeter chargeback facts.

Install

npx skills add Snowflake-Labs/cocoplus --skill meter-refresh -g -a claude-code -y
Category
Engineering
Updated
1mo ago
License
MIT
Context cost
Lightabout 326 tokens
Runs scripts
No, instructions only

What it does

Refresh CocoMeter chargeback facts. Usage: $meter refresh

CocoMeter Refresh

Use this skill for $meter refresh.

Before proceeding, verify that .cocoplus/ exists. If not, output: "CocoPlus not initialized. Run $pod init first." Then stop.

Run the 35-day trailing chargeback refresh. The warehouse implementation must delete and reinsert the trailing window idempotently, exclude SYSTEM/sandbox/background metadata records, strip system reminders, extract SQL from tool argument arrays, and resolve cost centers through explicit user map, user tag, role map, then UNMAPPED.

For local fixture validation, run:

invoke cocometer/chargeback-refresh --input <fixture.json>

Anti-Rationalization

Shortcut / TemptationWhy It Fails
Treat the skill as complete because the file existsSkill contracts must describe observable behavior and verification, not just command names.
Skip artifact and safety checks for a small commandSmall commands still mutate state or guide execution; preserve the same gates.

Exit Criteria

  • Command behavior matches the owning feature contract.
  • Required reads, writes, and user-visible outputs are described.
  • Safety, governance, and artifact constraints are preserved.
  • Missing state produces a clear, non-destructive result.

More in Engineering