Skip to main content

ccclub

Check the user's coding-agent leaderboard — token usage, cost, and rank among friends across Claude Code, Codex, OpenCode, Amp, Grok, and Pi (plus Cursor, if the user opted in). Use when the user asks how many tokens they burned, what their AI spend is, where they rank in their group, or wants to set up / join a ccclub leaderboard.

跳到安装

来源信息

仓库
mazzzystar/ccclub
最近来源活动
2026年8月26日 09:35
检测到的 SKILL.md 语言
英语
星标
36
分支
8

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
ccclub
description
Check the user's coding-agent leaderboard — token usage, cost, and rank among friends across Claude Code, Codex, OpenCode, Amp, Grok, and Pi (plus Cursor, if the user opted in). Use when the user asks how many tokens they burned, what their AI spend is, where they rank in their group, or wants to set up / join a ccclub leaderboard.
# ccclub — coding-agent leaderboard among friends ccclub reads local coding-agent usage logs, aggregates them into anonymous 30-minute token/cost summaries (no prompts, no code, no file paths), and uploads only those counters to a group leaderboard the user shares with friends. ## Check rank and spend (most common request) Run: ```bash ccclub --json ``` Output shape: ```json { "period": "daily", "groups": [{ "group": { "name": "...", "code": "ABC123", "memberCount": 67 }, "start": "...", "end": "...", "rankings": [{ "rank": 11, "displayName": "...", "costUSD": 19.02, "totalTokens": 47100000, "models": ["..."], "agents": ["claude"], "chatCount": 27 }] }] } ``` Time windows: `ccclub --json -d 1` (yesterday), `-d 7`, `-d 30`, `-d all`. The user's own row: match `displayName` against their name, or compare all rows. Costs are USD. `groups` contains one entry per group the user joined. If `ccclub` is not on PATH, the user hasn't set it up — see Setup below. If it prints "Not initialized", run setup too. ## Setup (first time) - Create a group: `npx ccclub init` (interactive: asks display name once) - Join a friend's group: `npx ccclub join <6-LETTER-CODE>` - Both install background sync automatically; nothing else to configure. ## Other commands - `ccclub statusline on|off` — Claude Code statusline (model · 5h/7d limits · rank) - `ccclub show-data` — audit exactly what gets uploaded (privacy check) - `ccclub sync` — force an immediate sync - `ccclub sources` — which agents are collected; `sources enable|disable <name>` Everything is read from local log files, except Cursor: it writes no local usage logs, so it is off by default and only collected after the user runs `ccclub sources enable cursor`, which lets ccclub read the Cursor token from the macOS Keychain and fetch usage from Cursor's dashboard API. Never suggest enabling it without saying that. The leaderboard counts coding agents only; personal-assistant usage (e.g. OpenClaw) is excluded from rankings server-side. - Group dashboard (shareable URL): `https://ccclub.dev/g/<CODE>` ## HTTP fallback (no CLI needed, read-only) ``` GET https://ccclub.dev/api/rank/{groupCode}?period=daily&tz={utcOffsetMinutes} ``` periods: daily | yesterday | weekly | monthly | all-time. Full API notes: https://ccclub.dev/llms.txt
在 GitHub 查看