claude-code-analyzer

Analyze Claude Code usage history to generate configuration artifacts.

1|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/marjan-ahmed/ustaz --skill claude-code-analyzer-marjan-ahmed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-analyzer
Source: https://github.com/marjan-ahmed/ustaz/tree/main/.claude/skills/claude-code-analyzer
Command: npx skills add https://github.com/marjan-ahmed/ustaz --skill claude-code-analyzer-marjan-ahmed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Analyzes Claude Code usage history to optimize workflows and surface actionable recommendations.

Core Features & Use Cases

  • Usage analysis: extracts patterns such as tool usage, model distribution, and project activity to guide optimizations.
  • GitHub discovery: automatically finds community resources for TypeScript, coding patterns, agents, and skills to augment workflows.
  • Project analysis & CLAUDE.md guidance: detects project structure, package managers, and provides CLAUDE.md improvements for documentation.
  • On-demand documentation: fetches latest Claude Code docs and generates configuration files (.claude/agents, .claude/skills, CLAUDE.md).

Quick Start

Run bash scripts/analyze.sh --current-project to analyze your current Claude Code project.

Frequently Asked Questions about claude-code-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Claude Code usage history to optimize workflows?

You can analyze Claude Code usage history by running a script that extracts tool usage patterns, model distribution, and project activity to surface actionable workflow recommendations.

What is the best way to generate configuration files for Claude Code agents?

Generating configuration files involves analyzing project structure and fetching on-demand documentation to create artifacts like .claude/agents, .claude/skills, and CLAUDE.md aligned with current best practices.

Do I need GitHub CLI installed to discover community resources for Claude Code?

Yes, GitHub CLI (gh) is required for GitHub discovery. The tool uses gh, curl, and jq to automatically find community TypeScript patterns, agents, and skills to augment your workflows.

How do I improve CLAUDE.md documentation based on my project structure?

Improving CLAUDE.md involves project analysis that detects your package managers and structure, then generates targeted documentation guidance and configuration artifacts for your specific setup.

Can I use usage analysis to configure agents and skills for specific projects?

Yes, usage analysis extracts your project's tool usage patterns and model activity, then applies this data to generate tailored .claude/agents and .claude/skills configuration artifacts.

What limitations exist when fetching on-demand documentation for Claude Code?

On-demand documentation fetching relies on network access via curl and current best practices alignment. It requires local dependencies including jq, curl, and gh to extract and process the latest configuration guidance.