claude-code-analyzer
БесплатноБез исполняемых скриптовНе проверенAnalyzes Claude Code usage patterns and provides comprehensive recommendations. Runs usage analysis, discovers GitHub community resources, suggests CLAUDE.md…
от Microck★ 417 звёзд на GitHubОб этом скилле
Claude Code History Analyzer
Complete workflow optimization for Claude Code through usage analysis, community discovery, and intelligent configuration generation.
Core Capabilities
This skill provides a complete Claude Code optimization workflow:
1. Usage Analysis - Extracts patterns from Claude Code history
- Tool usage frequency
- Auto-allowed tools vs actual usage
- Model distribution
- Project activity levels
2. GitHub Discovery - Finds community resources automatically
- Skills matching your tools
- Agents for your workflows
- Slash commands for common operations
- CLAUDE.md examples from similar projects
3. Project Analysis - Detects tech stack and suggests documentation
- Package manager and scripts
- Framework and testing setup
- Docker, CI/CD, TypeScript configuration
- Project-specific CLAUDE.md sections
4. On-Demand Documentation - Fetches latest Claude Code docs
- Agents/subagents structure and configuration
- Skills architecture and bundled resources
- Slash commands with MCP integration
- CLAUDE.md best practices from Anthropic teams
- Settings and environment variables
Complete Analysis Workflow
When user asks to optimize their Claude Code setup, follow this workflow:
Step 1: Run Usage Analysis
bash scripts/analyze.sh --current-project
This automatically:
- Extracts tool usage from JSONL files
- Checks auto-allowed tools configuration
- Analyzes model distribution
- Searches GitHub for community resources (always enabled)
Step 2: Run Project Analysis
bash scripts/analyze-claude-md.sh
This detects:
- Package manager (npm, pnpm, yarn, cargo, go, python)
- Framework (Next.js, React, Django, FastAPI, etc.)
- Testing setup (Vitest, Jest, pytest, etc.)
- CI/CD, Docker, TypeScript, linting configuration
Step 3: Interpret Combined Results
Combine insights from both analyses:
Usage patterns show:
- Tools used frequently but requiring approval → Add to auto-allows
- Auto-allowed tools never used → Remove from config
- Repetitive bash commands → Create slash commands
- Complex workflows → Create dedicated agents
- Domain-specific tasks → Build custom skills
GitHub discovery provides:
- Similar configurations from community
- Proven patterns for your tool usage
- Example agents/skills/commands to adapt
Project analysis reveals:
- Required CLAUDE.md sections
- Framework-specific conventions to document
- Testing and build commands to include
Step 4: Fetch Docs and Create Configurations
Based on recommendations, fetch latest docs and create:
For frequently used tools → Update auto-allows:
# Fetch settings docs
web_fetch: https://docs.claude.com/en/docs/claude-code/settings
# Update ~/.claude/settings.json
For repetitive commands → Create slash command:
# Fetch slash commands docs
web_fetch: https://docs.claude.com/en/docs/claude-code/slash-commands
# Create .claude/commands/[command-name].md
For complex workflows → Create agent:
# Fetch agents docs
web_fetch: https://docs.claude.com/en/docs/claude-code/sub-agents
# Create .claude/agents/[agent-name].md
For reusable domain knowledge → Build skill:
# Fetch skills docs
web_fetch: https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview
# Create .claude/skills/[skill-name]/SKILL.md
For project context → Write CLAUDE.md:
# Fetch CLAUDE.md best practices
web_fetch: https://www.anthropic.com/engineering/claude-code-best-practices
# Create .claude/CLAUDE.md with detected info
Example: Complete Optimization Session
User: "Help me optimize my Claude Code setup"
Claude executes:
Analyze usage patterns
bash scripts/analyze.sh --current-projectFinds: Bash tool used 150 times, Read 80 times, Write 45 times Auto-allows: None configured GitHub: Discovers community skills for TypeScript testing
Analyze project structure
bash scripts/analyze-claude-md.shDetects: Next.js project with Vitest, npm scripts: dev, build, test, lint Missing: CLAUDE.md doesn't exist
Make recommendations "I analyzed your Claude Code usage. Here's what I recommend:
Auto-Allows: You use Bash (150×), Read (80×), and Write (45×) constantly. Let me add them to auto-allows.
Slash Command: You run tests frequently. I'll create /test command.
CLAUDE.md: Your Next.js project needs documentation. I'll create one with your npm scripts and testing setup.
Community Resource: I found a TypeScript testing skill on GitHub that matches your workflow."
Fetch docs and create configs
Fetch settings docs → Update
~/.claude/settings.json:{ "autoAllowedTools": ["Bash", "Read", "Write"] }Fetch slash commands docs → Create
.claude/commands/test.md:--- name: /test description: Run tests for current file or
Установить claude-code-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл claude-code-analyzer?
Analyzes Claude Code usage patterns and provides comprehensive recommendations. Runs usage analysis, discovers GitHub community resources, suggests CLAUDE.md improvements, and fetches latest docs on-demand. Use when user wants to optimize their Claude Code workflow, create configurations (agents/skills/commands), or set up project documentation.
Как установить скилл claude-code-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-code-analyzer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic