code-statsVisualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.
Install via ClawdBot CLI:
clawdbot install autogame-17/code-statsAnalyzes the current workspace to provide development metrics.
node skills/code-stats/index.js [path]
Defaults to current working directory if path is omitted.
JSON object with:
files: Total file count.lines: Total line count (approximate).byExt: Breakdown by file extension.Generated Mar 1, 2026
Maintainers can run the skill on their repository to track growth in file count and lines of code over time, helping identify when a project is becoming overly complex or needs refactoring. This aids in planning sprints and allocating resources for code maintenance.
Freelancers can use the skill to quickly gauge the size of a client's codebase before providing a quote, ensuring estimates are based on tangible metrics like file and line counts. This reduces risk of underestimating work and improves project scoping accuracy.
Instructors in coding bootcamps or universities can analyze student submissions to assess complexity and adherence to guidelines, using the breakdown by extension to check for proper file organization. This provides objective metrics for grading and feedback.
During tech company acquisitions, analysts can run the skill on target codebases to evaluate asset size and complexity, informing valuation decisions based on metrics like total lines of code and file distribution. This helps identify potential technical debt or integration challenges.
Integrate the skill into a cloud-based dashboard where teams upload repositories to visualize trends in code growth and complexity over time. Charge a monthly subscription based on the number of repositories or users, targeting development teams needing continuous monitoring.
Offer the skill as part of a broader consulting package for code audits, where experts use the metrics to provide recommendations on refactoring or optimization. Clients pay a one-time or retainer fee for detailed reports and actionable insights.
Provide a free version of the skill for individual developers to use locally, with a paid upgrade that includes advanced features like historical comparisons, team collaboration, and integration with CI/CD pipelines. Monetize through premium licenses or enterprise plans.
💬 Integration Tip
Install the skill via npm or a package manager, then run it from the command line with an optional path argument; it outputs JSON for easy parsing into other tools or dashboards.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.