ai-collab-profile
NewClaude Code skill: turn your session logs into an RPG character sheet — fixed-scale stats, class, achievements, avatar, prompt-engineering recommendations
Summary
This skill analyzes your Claude Code chat logs to generate an RPG-style character sheet of your AI collaboration style, including D&D-like stats, a class, achievements, and personalized prompt-engineering recommendations.
- It helps you understand your prompting patterns, compare your style with others, and improve your AI interactions through evidence-based insights.
Overview
AI Collab Profile
Builds a gamified analytical portrait of the user's AI collaboration style from their local Claude Code JSONL logs: real metrics on a FIXED scale (comparable between people) plus fun statuses — a title, a level, achievements with rarity — and evidence-based prompt-engineering recommendations. It is NOT an RPG character sheet: no classes, no stat blocks; the analytics are the product, the statuses are the garnish.
The scale is a contract. All formulas and thresholds live in scripts/analyze.py (SCALE v1) and references/scale.md. NEVER adjust formulas, thresholds, rank mappings, or achievement conditions per user — comparability is the whole point. If a metric looks unflattering, it stays. Report numbers only from profile.json, never invent or soften them.
Workflow
- Run the analyzer (Python 3, stdlib only, read-only — it never modifies logs):
`` python scripts/analyze.py -o profile.json # all projects python scripts/analyze.py --project <dir-name> -o profile.json # one project ` Default logs location: ~/.claude/projects. Use --projects-dir to override. Try python3 if python` is missing.
- Read `profile.json`.
- {"error": "not_enough_data"} → tell the user at least 30 of their own messages are needed; stop. - "low_confidence": true (< 100 messages) → include a visible "small sample" caveat.
- Render the analytical card following
references/widget.md. One card, one
product: the substance is the analytics (volume, imperatives, tone markers, activity hours, strengths/weaknesses, recommendations); the gamified layer (title, achievements, rage gauge) is flavor woven into it — never the other way around. - If an inline widget tool is available in this environment, render it inline. - Always also write a self-contained ai-profile.html to the working directory and tell the user the path.
- Explain the profile in the user's conversation language (the widget carries both
RU and EN labels from profile.json). Lead with what the numbers say — notable metrics, strengths and weaknesses; then the flavor: title (epithet + rank + level), achievements. Numbers verbatim from profile.json.
- Give recommendations using
references/recommendations.md: pick the entries whose
trigger conditions match the profile, present 3-6 of them, each with its evidence note. Do not moralize about tone — research shows aggregate quality impact of tone is near zero; frame tone findings as fun facts plus practical notes (see recommendations.md).
Rules
- •Read-only with respect to user logs. The only files written:
profile.json,ai-profile.html. - •Respond in the user's language; RU/EN both supported end to end.
- •Fixed scale: same formulas for everyone, always cite
SCALE v1version in the card footer. - •Privacy: everything runs locally; nothing leaves the machine.
- •If the user asks to compare with friends: they run the same skill; identical scale
version = comparable results. Different scale versions are not comparable.
Install & Usage
mkdir -p .claude/skillsmkdir -p .claude/skills && curl -o .claude/skills/ai-collab-profile.md https://raw.githubusercontent.com/timoncool/ai-collab-profile/main/SKILL.md/ai-collab-profileUse Cases
Usage Examples
/ai-collab-profile
Run the AI collab profile analyzer on my current project logs and show me my character sheet.
Generate an RPG-style profile of my AI prompting style from all my Claude Code sessions.
Security Audits
Frequently Asked Questions
What is ai-collab-profile?
This skill analyzes your Claude Code chat logs to generate an RPG-style character sheet of your AI collaboration style, including D&D-like stats, a class, achievements, and personalized prompt-engineering recommendations. It helps you understand your prompting patterns, compare your style with others, and improve your AI interactions through evidence-based insights.
How to install ai-collab-profile?
To install ai-collab-profile: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/ai-collab-profile.md https://raw.githubusercontent.com/timoncool/ai-collab-profile/main/SKILL.md. Finally, /ai-collab-profile in Claude Code.
What is ai-collab-profile best for?
ai-collab-profile is a skill categorized under General. Created by timoncool.
What can I use ai-collab-profile for?
ai-collab-profile is useful for: Generate an AI collaboration profile to see your communication stats and RPG class based on your Claude Code logs.; Compare your prompting style with teammates by running the analyzer on shared project logs.; Get personalized prompt-engineering recommendations tailored to your chat history.; Track changes in your collaboration style over time by running the skill periodically.; Create a fun 'AI wrapped' summary of your session statistics for sharing or reflection..