Agent Skills › vibe-cafe/vibe-usage › vibe-usage

vibe-usage

GitHub

追踪并同步 AI 编程工具 token 使用数据至 vibecafe.ai 仪表盘,支持手动同步、状态查询及后台自动同步。

Trigger Scenarios

用户要求同步使用量或上传数据 用户询问花费或 token 消耗 用户检查同步服务状态

Install

npx skills add vibe-cafe/vibe-usage --skill vibe-usage -g -y
More Options

Use without installing

npx skills use vibe-cafe/vibe-usage@vibe-usage

指定 Agent (Claude Code)

npx skills add vibe-cafe/vibe-usage --skill vibe-usage -a claude-code -g -y

安装 repo 全部 skill

npx skills add vibe-cafe/vibe-usage --all -g -y

预览 repo 内 skill

npx skills add vibe-cafe/vibe-usage --list

SKILL.md

Frontmatter
{
    "name": "vibe-usage",
    "metadata": {
        "openclaw": {
            "emoji": "📊",
            "install": [
                {
                    "id": "vibe-usage",
                    "kind": "npm",
                    "package": "@vibe-cafe\/vibe-usage"
                }
            ],
            "requires": {
                "bins": [
                    "npx"
                ]
            }
        }
    },
    "description": "Track and sync AI coding tool token usage to vibecafe.ai dashboard."
}

Vibe Usage

Track your AI coding tool token usage and sync to vibecafe.ai.

Setup

First-time setup (interactive — opens the browser for login, then syncs and turns on background sync):

npx @vibe-cafe/vibe-usage

Headless machines: pre-issue a key at https://vibecafe.ai/usage/setup and run npx @vibe-cafe/vibe-usage init --manual-key <vbu_...> --no-daemon.

Commands

When the user asks to sync usage, check costs, or track tokens, run:

npx @vibe-cafe/vibe-usage sync

Other available commands:

Command Description
npx @vibe-cafe/vibe-usage sync Sync latest usage data
npx @vibe-cafe/vibe-usage status Show config, detected tools, and how much each tool has uploaded
npx @vibe-cafe/vibe-usage daemon status Check the background sync service (installed by first run)
npx @vibe-cafe/vibe-usage reset Delete all data and re-upload
npx @vibe-cafe/vibe-usage reset --local Delete this host's data and re-upload

When to Use

  • User says "sync my usage", "upload usage", "track tokens"
  • User asks "how much have I spent?", "what's my cost?"
  • User wants to check if sync is working: run status
  • User asks whether background sync is on: run daemon status (the first run installs it; daemon install re-enables it after --no-daemon or daemon uninstall)

Notes

  • Requires initial setup (run npx @vibe-cafe/vibe-usage first — browser login, no key to copy)
  • Config is stored at ~/.vibe-usage/config.json
  • Supports: Claude Code, Codex, Grok, and others

Version History

  • 4f47911 Current 2026-09-22 00:20

    优化 status 命令以区分已安装但未上传状态;改进 cline 失败处理逻辑,按类型拆分格式错误与 IO 异常,实现单文件失败不影响整体同步。

  • 850f27d 2026-09-11 12:55

    优化首次体验:默认开启后台自动同步,简化命令交互,增强npx模式下的服务稳定性与兼容性。

  • 7baf7e0 2026-09-02 20:59

Metadata

Files
0
Version
4f47911
Hash
32e832f4
Indexed
2026-09-02 20:59

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-26 00:41
浙ICP备14020137号-1