Mcaf Dotnet Cloc
managedcode/Storage
Use the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories.
Use the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories.
$ npx skills add managedcode/dotnet-skills --skill cloc -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install managedcode/dotnet-skills cloc --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .claude/skills/cloc && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .claude/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/clocType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add managedcode/dotnet-skills --skill cloc -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install managedcode/dotnet-skills cloc --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .agents/skills/cloc && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .agents/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add managedcode/dotnet-skills --skill cloc -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install managedcode/dotnet-skills cloc --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .cursor/skills/cloc && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .cursor/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/managedcode/dotnet-skills.git --path catalog/Tools/cloc/skills/cloc--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add managedcode/dotnet-skills --skill cloc -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install managedcode/dotnet-skills cloc --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .gemini/skills/cloc && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .gemini/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install managedcode/dotnet-skills clocInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add managedcode/dotnet-skills --skill cloc -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .github/skills/cloc && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .github/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add managedcode/dotnet-skills --skill cloc -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install managedcode/dotnet-skills cloc --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/catalog/Tools/cloc/skills/cloc .opencode/skills/cloc && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cloc" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/cloc/skills/cloc into .opencode/skills/cloc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloc", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
clocUse the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories.
Cloc is an agent skill from managedcode/dotnet-skills. Use the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories. USE FOR: repeatable LOC reports; language-mix or branch-diff statistics; codebase size and solution-composition measurements. DO NOT USE FOR: judging developer productivity from raw LOC; replacing behavioral verification, architecture review, or complexity analysis. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `manifest.json`, `references/cloc.md` and `references/commands.md`). Compatibility notes: Requires a repository with .NET source files or a Git checkout; respects the repo's AGENTS.md commands first.
It sits in Agent Workflows, covering Software architecture, Statistics and Codebase knowledge for agents. It works with .NET, Git and C#. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
brewaptyumdnfnpmchocodockerFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm and docker, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires a repository with .NET source files or a Git checkout; respects the repo's `AGENTS.md` commands first.
From compatibility in the SKILL.md frontmatter.
Cloc loads about 1.5k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 131 tokens; SKILL.md has 734 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
- Debian or Ubuntu: `sudo apt install cloc`- Red Hat or older Fedora family: `sudo yum install cloc`- Fedora or newer Red Hat family: `sudo dnf install cloc`Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 734 words, ~1,539 tokens.
.claude/skills/cloc/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.clocAGENTS.mdAGENTS.md and confirm scope and constraints.Workflow through the Ralph Loop until outcomes are acceptable.Required Result Format with concrete artifacts and verification evidence.--vcs=git for repo-respecting counts--git --diff BASE HEAD for change deltas.NET-relevant views first:binobj.git--json--csv--yaml--mdcloc as a sizing and comparison tool, not as evidence that the design is good.origin/main..HEADcloc findings, run the repo's normal quality pass.If cloc is not available yet:
command -v cloccloc --versionperl --versionbrew install clocsudo apt install clocsudo yum install clocsudo dnf install clocnpm install -g clocchoco install clocscoop install clocdocker run --rm -v $PWD:/tmp aldanial/cloc .cloc --version.AGENTS.md, for example:cloc --vcs=git --include-lang="C#,MSBuild,JSON,XML,YAML"cloc --by-file --vcs=git --include-lang="C#"cloc --git --diff origin/main HEAD --include-lang="C#"status: configured or status: improved.cloc, return status: not_applicable.cloc is used as context, not as a substitute for tests or design reviewUse the Ralph Loop for every task, including docs, architecture, testing, and tooling work.
status: not_applicable with explicit reason and fallback path.status: complete | clean | improved | configured | not_applicable | blockedplan: concise plan and current iteration stepactions_taken: concrete changes madevalidation_skills: final skills run, or skipped with reasonsverification: commands, checks, or review evidence summaryremaining: top unresolved items or noneFor setup-only requests with no execution, return status: configured and exact next commands.
© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in catalog/Tools/cloc/skills/cloc of managedcode/dotnet-skills.
Open the folder on GitHubat commit 535dd55
Cloc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cloc this skillmanagedcode/dotnet-skills | 486 | — | ~1.5k | Automated safety check: Notes | MIT | |
| Mcaf Dotnet Clocmanagedcode/Storage | 138 | — | ~1.4k | Automated safety check: Notes | MIT | |
| GitVersion .NET DevelopmentGitTools/GitVersion | 3.1k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Akka.Hosting Actor PatternsAaronontheweb/dotnet-skills | 1.2k | 1 repos | ~5k | Automated safety check: Pass | MIT | |
| Akka.NET Best PracticesAaronontheweb/dotnet-skills | 1.2k | 1 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Git HooksProrise-cool/Claude-Code-Multi-Agent | 305 | — | ~3.6k | Automated safety check: Notes | None |
managedcode/Storage
Use the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories.
GitTools/GitVersion
Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.
Aaronontheweb/dotnet-skills
Shows how to build entity actors with Akka.Hosting so the same code runs in local unit tests and in a sharded cluster in production.
Aaronontheweb/dotnet-skills
Guidance for Akka.NET actor systems covering EventStream versus DistributedPubSub, supervision, Props versus DependencyResolver, work distribution and testable cluster code.
Prorise-cool/Claude-Code-Multi-Agent
Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.
ayutaz/piper-plus
PR 作成前の lint + format + test 一括実行。引数で scope (python/rust/cs/go/js/cpp/all) を指定可能。未指定なら git diff から自動判定。
managedcode/dotnet-skills
Use a repo-root .editorconfig to configure free .NET analyzer and style rules.
managedcode/dotnet-skills
Use the open-source free ArchUnitNET library for architecture rules in .NET tests.
managedcode/dotnet-skills
Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…
managedcode/dotnet-skills
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.
managedcode/dotnet-skills
Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.
managedcode/dotnet-skills
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.
Use the open-source free cloc tool for line-count, language-mix, and diff statistics in .NET repositories. Cloc is an agent skill from managedcode/dotnet-skills.NET repositories.
Cloc fits situations like: : repeatable LOC reports; branch-diff statistics; codebase size and solution-composition measurements; : judging developer productivity from raw LOC.
Run `npx skills add managedcode/dotnet-skills --skill cloc -a claude-code`. Or copy the skill folder (catalog/Tools/cloc/skills/cloc in managedcode/dotnet-skills) into .claude/skills/cloc in your project. Claude Code loads it when a task matches its description.
Run `npx skills add managedcode/dotnet-skills --skill cloc -a codex`. Or copy the skill folder (catalog/Tools/cloc/skills/cloc in managedcode/dotnet-skills) into .agents/skills/cloc in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill cloc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloc, .gemini/skills/cloc, .github/skills/cloc and .opencode/skills/cloc in your project.
Going by SKILL.md and its folder, Cloc needs the command-line tools its instructions call (brew, apt, yum, dnf, npm and choco). Our summary lists: Node.js; Docker. Compatibility (from SKILL.md): Requires a repository with .NET source files or a Git checkout; respects the repo's `AGENTS.md` commands first..
SKILL.md contains no URLs. Its commands use npm and docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Cloc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cloc: Mcaf Dotnet Cloc (managedcode/Storage, 138 stars), GitVersion .NET Development (GitTools/GitVersion, 3.1k stars), Akka.Hosting Actor Patterns (Aaronontheweb/dotnet-skills, 1.2k stars) and Akka.NET Best Practices (Aaronontheweb/dotnet-skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.
Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.