viettran-edgeai/codex_workflow/deployment-token-report

Claude Code and agent skill by viettran-edgeai/codex_workflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Compile per-agent rollout counts and cached-input, input, and output token totals from Codex local session JSONL after a substantive workflow deployment. Use only for the workflow's required post-deployment usage handoff, not for direct-fast-path work or live cost estimation.

Install

npx vskill@latest install viettran-edgeai/codex_workflow/deployment-token-report

SKILL.md

Deployment Token Report

<!-- codex-workflow-skill: deployment-token-report -->

Use this skill only as Archivist for an assigned deployment closure, after all assigned documentation updates, compact checks, and Git inspection are complete. Treat that closure state as sealed; the repository and closure evidence remain unchanged after reporting starts.

Use the supplied deployment ID unchanged. It must match [a-z0-9][a-z0-9_-]{0,63} and the main agent's deployment marker:

text
<!-- codex-workflow-deployment-start: <deployment_id> -->

Run the bundled scripts/report_tokens.py with --deployment-id and --format markdown. Let it use CODEX_THREAD_ID to identify this Archivist rollout, resolve its parent main-agent thread, find the exact marker in assistant message text there, and read only metadata and token-count fields beneath ~/.codex/sessions/. Accept the marker when surrounded by Markdown or explanatory prose. Exclude guardian sessions.

Return only the script's six-column Markdown table verbatim to the main agent, with no pricing, estimates, inferred usage, or additional statistics. Treat a script failure or incomplete-evidence warning as the report result and return the limitation verbatim.

The required table template is exactly:

text
| Agent | Quantity | Rollouts | Cached input | Input | Output |
| --- | ---: | ---: | ---: | ---: | ---: |
| <agent role> | <count> | <count> | <tokens> | <tokens> | <tokens> |

Keep the columns exactly as shown and preserve every data row emitted by the script, including its final main agent row.

Interpret Input as total input tokens, including the cached-input subset, and Rollouts as model generations with a last_token_usage record. Stop totals when the script starts, excluding Archivist's post-tool final response and the main agent's later final response.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
505
Repository forks
36
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/viettran-edgeai/codex_workflow/deployment-token-report/badge)](https://verified-skill.com/skills/viettran-edgeai/codex_workflow/deployment-token-report)

Something wrong with this skill or its page? Tell us.