report-loc

Generate SCC-only lines of code and language breakdown reports in markdown tables.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RagnarokButMemorySafe/opencode-config --skill report-loc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: report-loc
Source: https://github.com/RagnarokButMemorySafe/opencode-config/tree/main/skills/report-loc
Command: npx skills add https://github.com/RagnarokButMemorySafe/opencode-config --skill report-loc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a rapid, dependency-light report on the lines of code (LoC) and language distribution within a repository, using only the scc tool.

Core Features & Use Cases

  • Fast LoC Snapshot: Quickly get total lines of code and file counts.
  • Language Breakdown: See the percentage of code written in each language.
  • Minimal Dependencies: Relies solely on scc for speed and simplicity.
  • Use Case: Before committing a large feature, you want a quick overview of the code size and language mix to ensure you're not introducing excessive complexity.

Quick Start

Generate a fast code statistics report for the current repository.

Frequently Asked Questions about report-loc

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

FAQPage Schema
How do I get a fast lines of code report for my repository?

You can get a fast lines of code report by running this Skill, which uses the scc tool to analyze your codebase and output markdown tables with file counts, blank lines, comments, and code lines.

Can I see a language breakdown percentage for my codebase?

Yes, you can see a language breakdown percentage for your codebase. The Skill analyzes the repository and provides per-language code percentages alongside total lines of code statistics.

Do I need to install dependencies to generate code statistics?

You do not need to install multiple dependencies to generate code statistics. This Skill relies solely on the scc tool to provide a minimal, fast, and dependency-light code metrics snapshot.

Does the repository analysis exclude directories like node_modules?

Yes, the repository analysis excludes common directories like node_modules and .git to ensure accurate reporting and prevent inflated code statistics from external libraries.

What is the best way to count code lines before a large commit?

The best way to count code lines before a large commit is using this Skill to generate a quick overview of code size, file counts, and language mix to check for excessive complexity.

Why use scc over other tools for code metrics?

You should use scc for code metrics when you need rapid execution and simplicity. This approach focuses on minimal dependencies to deliver fast lines of code and language breakdown reports.