← 返回 Skills 市场
eibrahim

Code Card Sync

作者 Emad Ibrahim · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
164
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install code-card-sync
功能描述
Sync your AI coding stats to Code Card - beautiful, shareable developer profiles
使用说明 (SKILL.md)

Code Card Sync

Sync your AI coding stats (Claude Code, Codex, OpenClaw) to Code Card - beautiful, shareable developer profiles.

First-Time Setup

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.

Sync

Incremental sync (fast, only new sessions):

npx code-card@latest sync -i

Full resync (recomputes everything):

npx code-card@latest sync

Other Commands

Command What it does
npx code-card@latest stats Show stats summary
npx code-card@latest profile Open profile in browser

Recommended Cron Schedule

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"

More Info

安全使用建议
This skill is internally consistent with its purpose, but a few practical cautions before you install/use it: - npx executes a package downloaded from npm each time; review the 'code-card' package page and repository (npm: https://www.npmjs.com/package/code-card, site: https://www.codecard.dev) to ensure it is the expected project and maintained by a trusted author. - The SKILL.md checks ~/.claude/.codecard for CC_API_KEY. Confirm you want your Code Card API key stored/read from that file and that it doesn't accidentally contain other secrets. - If you are security-conscious, instead of directly running npx from the agent, manually install the package locally (npm i -g code-card or inspect the package contents) and audit its code before running it. Running it in an isolated environment (container/VM) reduces risk. - The cron example uses a 'cron add' helper which may not exist on all systems; it is advisory. If you automate runs, prefer a method you control and verify (system cron, CI runner) and avoid embedding secrets in world-readable locations. If you want a deeper evaluation, provide the code/repo URL for the 'code-card' npm package or paste the CLI script contents so I can inspect what it does when it runs and how it handles your API key.
功能分析
Type: OpenClaw Skill Name: code-card-sync Version: 2.0.0 The skill is designed to sync AI coding statistics to the Code Card service (codecard.dev). The instructions in SKILL.md use standard npx commands to run the 'code-card' package and suggest cron jobs for automation, which are consistent with the stated purpose. No evidence of malicious intent, unauthorized data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (sync to Code Card) match what the SKILL.md does: it requires Node/npx and runs the 'code-card' npm CLI. Requested binaries (node, npx) are appropriate for this task and there are no unrelated credential requests or odd config paths.
Instruction Scope
Runtime instructions are narrow and focused: check ~/.claude/.codecard for CC_API_KEY, run 'npx code-card@latest' to authenticate, and run 'npx code-card@latest sync' to sync. The only file referenced is a plausible local config for storing the Code Card API key; no unrelated system files, broad data collection, or off-domain endpoints are referenced.
Install Mechanism
No install spec (instruction-only) — lowest surface for persistent installs. However the instructions rely on 'npx' which fetches and executes code from the npm registry at runtime; this is expected for CLI tools but introduces a moderate supply-chain/execution risk compared with a preinstalled, audited binary.
Credentials
The skill declares no required environment variables and does not request unrelated credentials. It checks a single config file (~/.claude/.codecard) for CC_API_KEY which is coherent for storing a Code Card API key.
Persistence & Privilege
always:false and no install behavior are set; the skill does not request persistent elevated privileges or to modify other skills or system-wide settings. Recommended cron entries are advisory only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-card-sync
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-card-sync 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Device code auth - no more email/code collection, just URL + code in browser
v1.1.0
Non-interactive setup with --email/--name flags, link command for existing accounts
v1.0.0
code-card-sync 1.0.0 - Initial release: sync your AI coding stats (Claude Code, Codex, OpenClaw) to Code Card for beautiful, shareable developer profiles. - Simple setup via `npx code-card@latest`. - Commands included for full/partial sync, stats summary, and opening your Code Card profile. - Recommended daily (incremental) and weekly (full) sync via cron. - Requires Node.js 18+ and supports auto-sync for Claude Code sessions.
元数据
Slug code-card-sync
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Code Card Sync 是什么?

Sync your AI coding stats to Code Card - beautiful, shareable developer profiles. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 164 次。

如何安装 Code Card Sync?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-card-sync」即可一键安装,无需额外配置。

Code Card Sync 是免费的吗?

是的,Code Card Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Code Card Sync 支持哪些平台?

Code Card Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Card Sync?

由 Emad Ibrahim(@eibrahim)开发并维护,当前版本 v2.0.0。

💬 留言讨论