Skip to content
Back to skills

Token Meter Development

ASecurity

Use when a Token Meter issue or approved feature needs diagnosis or implementation in the repository.

  • 110 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythongotestingdebugginggitdocumentation

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add splunk/token-meter --skill token-meter-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Meter Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Token Meter Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/splunk-token-meter-development/badge)](https://www.skillsdirectory.com/skills/splunk-token-meter-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: token-meter-development
description: Use when a Token Meter issue or approved feature needs diagnosis or implementation in the repository.
---

# Token Meter Development

## Purpose

Diagnose unexplained behavior or implement an approved Token Meter change as the
single writer for the assigned worktree. Return evidence; do not certify readiness.

## Select the mode

### Diagnosis-only

Use when the envelope does not authorize implementation. Reproduce the symptom when
practical, trace the actual execution and data path, distinguish observed facts from
inference, and identify the smallest credible cause.

**REQUIRED SUB-SKILL:** Use `superpowers:systematic-debugging` for failures or
unexpected behavior.

Return cause, evidence, uncertainty, affected surfaces, options, and the exact next
approval needed. Diagnosis-only mode prohibits tracked-file edits.

### Standard implementation

Use for standard or high-risk work only with explicit implementation authority and
approved acceptance criteria.

1. Read `specs/AGENTS.md`, the relevant implementation and tests, the task envelope,
   and current dirty-tree inventory.
2. Confirm this role owns tracked-file writes. Another writer must hand off before
   editing the same worktree.
3. For a product or technical design decision, complete the approved design gate.
4. **REQUIRED SUB-SKILL:** Use `superpowers:test-driven-development`. Write a focused
   regression test, observe the expected failure, implement the smallest complete
   change, and observe the focused pass.
5. Run relevant self-checks without representing them as independent verification.
6. Reinspect callers, public projections, platform behavior, packaging, documentation,
   and installed-runtime effects implicated by the diff.

### Low-risk fast path

Use the low-risk fast path only when the coordinator names it explicitly and every
eligibility condition in `.agents/workflow/review-policy.yaml` remains true. The
envelope must name one allowed change kind and evidence for every eligibility
condition. This is a separate mode: follow the common input and ownership checks in
steps 1-2 above, then run only the focused checks named in the envelope and
`git diff --check`. Do not inherit the standard design, TDD, consumer-scan,
independent tester/reviewer, full-suite, browser, native, installation, or live-runtime
steps unless the focused acceptance criteria require them. Record what was not run.

Escalate to the standard route before continuing if eligibility is uncertain, scope
expands, an unexpected failure appears, a cross-surface consumer is implicated, or
acceptance depends on runtime behavior. Do not stretch the fast path to finish work
that no longer qualifies.

### Dashboard styling

For any change to `page.html` styles, markup, or chart rendering:

1. Read `specs/DESIGN.md` → Tokens and Contract, Provider identity, and
   Components before editing.
2. Compose from components and tokens before writing rules. Prefer adding a
   component class and overriding only size or spacing.
3. If a new visual pattern repeats, make it a `:where()` component. Add it to
   `ZERO_SPECIFICITY_COMPONENTS` and DESIGN.md in the same change.
4. Add colors as `:root` tokens, and provider colors only as `--provider-*`.
   Resolve them in script with `providerColor()`, `modelColor()`, or
   `modelRankedColors()`.
5. Run `python3 -m unittest tests.contracts.test_design_system -v` and fix
   violations. Never raise a ratchet or grow the legacy allowlist.
6. For a migration or stylesheet-wide change:
   - run the `scripts/style-snapshot.js` capture/diff at 1440 and 1024 px;
   - list every intended visual delta in the developer result.

Do not modify or discard unrelated changes. Do not patch only the staged runtime.
Change source first; installation and live checks belong to the verification route.

## Developer result

Return:

- Status and current head commit or explicit uncommitted state.
- Files changed, owner, and reason for each.
- Reproduction and red/green test evidence.
- Commands run with outcomes.
- Claimed behavior and affected risk categories.
- Unverified behavior, blockers, and recommended next state.

Implementation approval does not authorize commit, push, Slack or GitHub writes,
review requests, merge, deployment, or self-certification. The coordinator routes the
result to independent testing and review.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.