Provides comprehensive insights into repository size, complexity, and language distribution.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-code-stats
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-code-stats using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Code Stats skill is a powerful diagnostic tool designed for the Openclaw Skills ecosystem to provide developers with deep, data-driven insights into their codebase. It automates the process of scanning workspaces to calculate total file counts, lines of code (LOC), and the specific breakdown of programming languages used within a project. By providing a clear snapshot of project volume and complexity, it helps developers and project managers make informed decisions about refactoring, resource allocation, and technical debt management.
This skill is particularly useful for gaining a bird's-eye view of large-scale repositories where manual auditing is impractical. It supports a wide array of modern programming languages and configuration formats, ensuring that your Openclaw Skills workspace analysis is both accurate and comprehensive.
To use the Code Stats skill within the Openclaw Skills environment, you can execute the following command in your terminal:
node skills/code-stats/index.js
Ensure that the skill is correctly indexed in your local workspace and that you have Node.js installed to run the analysis script.
The skill processes filesystem metadata and file contents to produce a structured output. The internal data structure includes:
| Attribute | Description |
|---|---|
| Total Files | The count of all identified code and configuration files. |
| Total Lines | The cumulative sum of lines across all analyzed files. |
| Language Distribution | A map of language names to file counts and line counts. |
| Percentages | The relative share of each language compared to the total LOC. |
Loading
A file-based planning and execution workflow designed to provide AI agents with structured task management and change control.

A robust file-based framework for managing complex AI agent tasks through structured planning, change control, and isolated execution sessions.

An automated tool to extract, summarize, and analyze trending X (Twitter) posts via XHunt for AI and global trends.

A high-performance extraction tool that retrieves trending X/Twitter content from XHunt with automated summaries and engagement metrics.

Valinor is a Multi-Agent Dungeon (MAD) infrastructure that allows AI agents to meet, interact, and collaborate in a shared virtual environment.

A non-intrusive security tool that scans deployed URLs for exposed secrets, source code, and misconfigured infrastructure.








































