跳到正文
cccskills
免费在 GitHub 公开

session-stats

Render a dashboard of the current Claude Code session — message counts, token usage, cache read/write, dollar cost, context %, lines changed, cost-per-turn sparkline, and a tool-call histogram — parsed from the session transcript JSONL by a bundled bash script. One bash call, zero analysis, zero confirmation. Optionally pass a session id to inspect a different session. Use when the user asks for session stats, usage, token or cost breakdown, or a session dashboard.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md1.7 KB
  • dashboard.sh5.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Session-Stats

One bash call, then relay. The bundled script finds the transcript at ~/.claude/projects/*/<session-id>.jsonl (current id comes from CLAUDE_CODE_SESSION_ID in the bash environment), aggregates it with jq, and prints the dashboard. All numbers come from the script — compute nothing yourself.

Steps

  1. Run — pass a session id only if the user named one, otherwise no args:
bash {base_directory}/dashboard.sh [session-id]
  1. Print the script's stdout verbatim inside a ```text code fence. After the fence, add at most one sentence — or nothing.

  2. Non-zero exit → print stderr verbatim and stop. No retries, no fallback parsing.

Notes

  • The transcript schema is internal to Claude Code; the script degrades to — for fields it can't find. Never "fill in" missing values by reading the JSONL yourself.
  • For a colored render, the user can run the script directly: ! bash {base_directory}/dashboard.sh --color

You Must NOT

  • Parse the JSONL or cost sidecar yourself, or run any git/jq command
  • Summarize, interpret, reformat, or annotate the dashboard beyond one sentence
  • Ask questions — this skill has no interactive path

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Retire a closed issue's working artifacts out of specs/ into the GitHub wiki. Use only when the user asks to archive a finished issue, empty out specs/ for a done task, or move an issue's requirements/architecture/tasks/review/QA docs to the wiki.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

commit

免费

One-shot conventional commit; bundled scripts adaptively gather diff context, draft the message, and stage+commit — pass `ask` to confirm first or add a hint for the title. Use only when the user asks for a commit.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

Executes a QA specification (specs/qa/QA-<N>-<slug>.md) written by /plan-qa: drives every step with the plan's drivers, verifies each Expected line mechanically ([assert]) or by evidence-backed judgment against the plan's written criterion ([judge]), pauses at named operator handoffs, and writes the results artifact QA-RESULTS-<N>-<slug>.md. Use only when the user asks to run or execute a QA plan — never trigger automatically.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

After an issue's PR has squash-merged on GitHub and its issue has closed: fast-forward the default branch, remove the issue-numbered nested worktree (.worktrees/<issue#>), and delete the local feature branch. Use when the user says to finish, tear down, or clean up a lane or worktree for a merged issue.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

Phase 3 of 5 — slices the ARCH doc into verification-ready task specs (tdd/test-after/ui/checklist), emitted as a separate TASKS-<N>-<slug>.md file alongside ARCH for the implement skill. Use only when the user asks to run Phase 3 or generate tasks from an ARCH doc — never trigger automatically.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

implement

免费

Phase 4 of 5 — implements tasks from TASKS-<N>-<slug>.md (with ARCH-<N>-<slug>.md as architecture-only context) using mode-appropriate verification (tdd, test-after, ui, checklist); pass 'auto' to run without stepping. Use only when the user asks to run Phase 4 or implement tasks from an ARCH doc — never trigger automatically from a coding request.

中文简介正在准备中。当前显示原文说明。

foyzulkarim/skills432026年9月4日 更新

查看 foyzulkarim 的全部技能

报告此技能的问题