بنقرة واحدة
cost
Extract and log cost data for the current session.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Extract and log cost data for the current session.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Render a single "where am I, what have I done, what's next" survey HTML page composing anchor cascade + tesseract shelf + git state + CHECKPOINT.md + TaskList. Read-only by design.
Subagent-driven development as the explicit combination of /subagent-driven-development (sequential, review-gated execution) and /dispatching-parallel-agents (independent fan-out). Opens with one combined pre-dispatch question to set the execution mode and the edit-approval mode, then dispatches accordingly.
Use when a discrete task boundary is crossed in multi-step work — step completion, subagent dispatch return, Skill-tool invocation return, /proceed gate passed, test-run completion, or file-write to a durable artifact (spec, plan, SKILL.md). Do not substitute an in-place TaskList update for this skill.
Use when resuming paused work, starting a session where a CHECKPOINT.md exists, or when the user says "continue from checkpoint", "resume", or "pick up where we left off"
Use when pausing work that will be resumed later, when switching contexts, or when the user asks to save a checkpoint. Creates a CHECKPOINT.md that captures full resumption context.
retry last operation attempted before the user interrupted the process, or otherwise continue last attempted tool use
| name | cost_ |
| description | Extract and log cost data for the current session. |
| user-invocable | true |
Extract and log cost data for the current session.
Run
python3 ~/.claude/src/extract_cost.py --latest ~/.claude/projects/$(echo "$PWD" | sed 's|/|-|g' | sed 's|^-||') --append-log
to extract cost data from the current project's latest session and log it.
Fallback if the script isn't at that path (it's been moved before):
find ~/.claude -maxdepth 3 -name 'extract_cost.py' -not -path '*/__pycache__/*'
Use whichever path the find returns. The canonical location is
~/.claude/src/extract_cost.py; older docs (e.g. CLAUDE.md text in
worktrees) may still reference ~/.claude/extract_cost.py.
If the project directory mapping fails, find the correct project dir by
listing ~/.claude/projects/ and matching the current working directory.
Display a concise summary: total cost, model breakdown, token counts, and turns.
Format as a compact table for readability.