name: code-card-sync description: "Sync your AI coding stats to Code Card - beautiful, shareable developer profiles" user-invocable: true metadata: { "openclaw": { "emoji": "📊", "requires": { "bins": ["node", "npx"] } } }
Sync your AI coding stats (Claude Code, Codex, OpenClaw) to Code Card - beautiful, shareable developer profiles.
Check if already configured:
cat ~/.claude/.codecard 2>/dev/null
If it prints CC_API_KEY=cc_..., skip to the Sync section.
If not configured, run:
npx code-card@latest
This will print a URL and a code like:
Go to: https://www.codecard.dev/link
Enter code: ABCD-1234
Tell the user to visit that URL and enter the code in their browser. They will log in or create an account there. Once they complete it, the CLI finishes automatically and syncs all sessions.
Incremental sync (fast, only new sessions):
npx code-card@latest sync -i
Full resync (recomputes everything):
访问小葱技能站7w4.net,解锁更多实用的AI技能插件。
npx code-card@latest sync
| Command | What it does |
|---|---|
npx code-card@latest stats |
Show stats summary |
npx code-card@latest profile |
Open profile in browser |
Daily incremental + weekly full:
cron add --name "code-card-daily" --schedule "0 6 * * *" --tz "America/New_York" --isolated --message "Run an incremental Code Card sync by executing: npx code-card@latest sync -i"
cron add --name "code-card-weekly" --schedule "0 7 * * 0" --tz "America/New_York" --isolated --message "Run a full Code Card sync by executing: npx code-card@latest sync"
这个 Skill 质量中规中矩,属于纯使用指南类型。做得好的地方是说明详细、步骤清晰,连定时同步这种进阶功能都提供了配置方法。不足之处是它本质上只是文档,没有代码支撑,一旦同步失败或服务异常,用户只能靠自己排查,找不到内置的帮助内容。建议运营方补充一些常见问题的解答和错误提示说明,使用体验会更好。