readme-skill
生成一份对外可分享、脱敏的 AI-Native 开发者 README。 量化展示我对 Claude Code + Codex CLI + Kiro (AWS) + Trae (ByteDance) + Gemini Antigravity (Google) + Cursor 的使用深度、AI 协作风格、 项目与领域分布、兴趣主题,以及与 GitHub 提交的产出关联。 Trigger when the user says: "生成我的 AI 档案" / "做一份 AI-native README" / "分析我的 Claude / Codex / Kiro / Trae / Antigravity / Cursor 使用情况" / "总结我的 AI 使用" / "生成 AI 月度报告" / "按月份分析我的 AI 编码" / "分析 2026-05 的 AI 使用" / "build my AI usage profile" / "build my monthly AI coding report" / "analyze my AI usage for May 2026" / "summarize my Claude / Codex / Kiro / Trae / Antigravity / Cursor history" / "生成开发者画像". 全程本地、只读、默认匿名、不上传
npx skills add study8677/Readme.skill --skill readme-skill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
The skill reads local AI tool data (Claude Code, Codex CLI, Kiro, Trae, Gemini Antigravity, Cursor) to build a Markdown developer profile and a validated SVG poster under ./output/. It renders either a default history view or a specified month/date range, with anonymized external sharing by default. It produces a desensitized developer README and a corresponding poster file in a user-specified language (Chinese by default; English if requested). The output is written locally and not uploaded.
How it works
- Step 1: Prepare environment, create an output directory, and establish a reporting window if the user requests a time-bounded view. The tool sets variables like REPORT_START, REPORT_END_EXCL, REPORT_LABEL, and REPORT_SLUG for windowed reports; otherwise WINDOW_REQUESTED stays 0.
- Step 2 — 读取 Claude Code 数据: It reads ~/.claude/stats-cache.json to extract total sessions, total messages, first session date, longest session, hourly counts, model usage by model, daily activity, and daily model tokens. It derives claude_tokens_spent, claude_cache_read, and cache_to_spent_ratio. If a window is requested, it filters dailyActivity and dailyModelTokens to the reporting window; modelUsage remains global. If details are missing for a field, it notes the limitation rather than inventing data.
- Step 2.2 Slash-command 热度: It reads ~/.claude/history.jsonl to compute top slash commands and totals, filtering by the reporting window if applicable.
- Step 2.3 项目分布: It lists top projects from ~/.claude/projects and uses the first JSONL entry to recover canonical real paths for consistent later analysis.
- Step 2.4 计划与 skill 自研: It analyzes plan directories and skill inventories under ~/.claude and ~/.codex, counting plans and listing plan titles, as well as counting installed/unbuilt skills, and noting if a project path implies a self-built skill.
- Step 2.5 配置深度: It reads ~/.claude/settings.json to count hooks, mcpServers, and permissions.defaultMode.
- Step 3 — 读取 Codex 数据: It uses a read-only sqlite3 connection to ~/.codex/state_5.sqlite and runs queries to aggregate threads by time, model, reasoning, working directories, hour-of-day heatmaps, dates, and titles/messages; also analyzes Codex global history in ~./codex/history.jsonl and applies time window filtering if requested. It then gathers Codex-related artifacts and counts, as well as global skill/automation/rules under ~/.codex.
- Step 3b — 读取 Kiro 数据: If present, it gathers Kiro totals from a read-only SQLite store in ~/.local/share/kiro-cli/data.sqlite3 and adapts to the actual schema to extract kiro_sessions, kiro_messages, token breakdowns, and per-date/hour activity. If time columns are unavailable, it reports all-time context only. It also reads sessions in ~/.kiro/sessions/cli and summarizes per-project cwd, as well as a small keyword corpus from the first lines of jsonl session events. It enumerates Kiro assets such as agents, skills, steering, prompts, and settings.
- Step 3b.3 Kiro infrastructure: It enumerates Kiro agents, skills, steering, prompts, and settings/mcp, and instructs to parse frontmatter in each skill using the same YAML parsing logic described for Claude/Codex skills.
- Throughout: All data handling is local/read-only, with anonymization by default unless the user asks for private/real names. The skill produces an output Markdown profile and a validated SVG poster under output/ in the requested language.
When to use it
Use when you want to generate a desensitized, shareable AI-native developer portrait and a monthly or custom-date-range report across multiple AI programming tools. Triggers are phrases like the ones listed in the frontmatter, enabling on-demand generation of the profile and poster locally.
What it can touch
- Local data sources: Claude Code, Codex CLI, Kiro, Trae, Gemini Antigravity, Cursor
- Output directory: ./output/ for the generated Markdown profile and SVG poster
- Tools/files explicitly named: ~/.claude/stats-cache.json, ~/.claude/history.jsonl, ~/.claude/projects/, ~/.claude/plans, ~/.claude/settings.json, ~/.codex/state_5.sqlite, ~/.codex/history.jsonl, ~/.codex/skills/, ~/.kiro/, ~/.local/share/kiro-cli/data.sqlite3, ~/.kiro/sessions/cli, ~/.kiro/agents/, ~/.kiro/skills/, ~/.kiro/steering/, ~/.kiro/prompts/
Caveats
- Desensitization is the default; real names are only shown if the user expressly requests private/real names.
- If certain fields are missing from sources, the report may show a dash or a note indicating all-time aggregation where windowed data is unavailable.
- The workflow relies on local data layout; if a source changes, some queries may need adaptation but the instruction emphasizes non-modification of scripts and using Read/Jq for parsing frontmatter and data.
# Readme.skill — AI-Native 开发者档案生成器 You (the AI agent invoking this skill) will read local Claude Code + Codex CLI + Kiro (AWS) + Trae (ByteDance) + Gemini Antigravity (Google) + Cursor data, compute a fixed set of dimensions, and render both a Markdown profile and a validated SVG poster under `./output/` in the user's requested language (Chinese by default; English when the user asks in English or explicitly requests English). The profile and poster can cover the default history view or an explicit month / date range. **You do all of the work** — read the files with `Read`, query sqlite via `Bash`, synthesize the prose yourself, then write and validate the SVG. Do **not** write helper scripts; the skill is the recipe. > 支持的 6 个 AI 编程工具(任一缺失都自动降级跳过): > 1. **Claude Code** (`~/.claude/`) — Step 2 > 2. **Codex CLI** (`~/.codex/`) — Step 3 > 3. **Kiro CLI / IDE** (`~/.kiro/` + `~/.local/share/kiro-cli/`) — Step 3b > 4. **Trae IDE** (`~/Library/Application Support/Trae/` + 项目 `.trae/`) — Step 3c > 5. **Gemini Antigravity** (`~/.gemini/antigravity/brain/`) — Step 3d > 6. **Cursor** (`~/Library/Application Support/Cursor/` + 项目 `.cursor/`) — Step 3e > 默认行为:**对外分享版** —— 项目名匿名、敏感信息脱敏。 > 如果用
- Step 1 — 准备
- 1.1 时间窗口 / 月度报告模式
- Step 2 — 读取 Claude Code 数据 (~/.claude/ + 项目 .claude/)
- 2.1 预聚合统计(最权威,先看这个)
- 2.2 Slash-command 热度
- 2.3 项目分布 (~/.claude/projects/)
- 2.4 计划与 skill 自研
- 2.4b Skill 清单(AI 基础设施采集)
- 2.5 配置深度
- Step 3 — 读取 Codex CLI 数据 (~/.codex/)
- 3.1 SQLite (read-only)
- 3.2 Codex 全局历史
- 3.3 自研 artifacts
- Step 3b — 读取 Kiro 数据 (~/.kiro/ + ~/.local/share/kiro-cli/)
cd <repo-with-this-skill> # e.g. ~/Projects/Readme.skill
mkdir -p output
macOS date syntax. Use equivalent date math on other systems.
Top 15 slash commands
jq -r 'select(.display | startswith("/")) | (.display | split(" ")[0])' \
echo "total=$total cmd=$cmd plain=$((total - cmd))"
jq --arg start "$REPORT_START" --arg end "$REPORT_END_EXCL" '
Top 15 by session-file count
for d in ~/.claude/projects/*/; do
echo "$n $(basename "$d")"What does the readme-skill skill do?
生成一份对外可分享、脱敏的 AI-Native 开发者 README。 量化展示我对 Claude Code + Codex CLI + Kiro (AWS) + Trae (ByteDance) + Gemini Antigravity (Google) + Cursor 的使用深度、AI 协作风格、 项目与领域分布、兴趣主题,以及与 GitHub 提交的产出关联。 Trigger when the user says: "生成我的 AI 档案" / "做一份 AI-native README" / "分析我的 Claude / Codex / Kiro / Trae / Antigravity / Cursor 使用情况" / "总结我的 AI 使用" / "生成 AI 月度报告" / "按月份分析我的 AI 编码" / "分析 2026-05 的 AI 使用" / "build my AI usage profile" / "build my monthly AI coding report" / "analyze my AI usage for May 2026" / "summarize my Claude / Codex / Kiro / Trae / Antigravity / Cursor history" / "生成开发者画像". 全程本地、只读、默认匿名、不上传
How do I install it?
Run `npx skills add study8677/Readme.skill --skill readme-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From study8677/Readme.skill, a repository with 154 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.