agilab: Skill for Claude Code

.claude/skills/agilab-code-statistics/SKILL.md

agilab-code-statistics is a skill for Claude Code, Codex from ThalesGroup/agilab. It costs 56 tokens per session (1,266 once invoked), scanned A, original, no licence file.

A tool for producing quick, repeatable statistics about an AGILAB codebase without building it. It can summarize files, lines of code, languages, tests, documentation, source, and changes over time.

In plain words
What is it for?
Use it for line and file counts, language breakdowns, test-to-source or documentation ratios, change summaries, and repository footprint reports.
Why use it?
It provides a concise view of repository size and composition without waiting for a build or relying on manual counting.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

This is ThalesGroup/agilab's own configuration. It tells Claude Code and Codex how to work on agilab itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agilab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ThalesGroup/agilab. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ThalesGroup/agilab/main/.claude/skills/agilab-code-statistics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ThalesGroup/agilab

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agilab-code-statistics

README.md
[![agentmods](https://agentmods.dev/badge/skills/thalesgroup/agilab/agilab-code-statistics/github.svg)](https://agentmods.dev/skills/thalesgroup/agilab/agilab-code-statistics)
Your own site
<a href="https://agentmods.dev/skills/thalesgroup/agilab/agilab-code-statistics"><img src="https://agentmods.dev/badge/skills/thalesgroup/agilab/agilab-code-statistics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agilab-code-statistics

Your own site · 80×15
<a href="https://agentmods.dev/skills/thalesgroup/agilab/agilab-code-statistics"><img src="https://agentmods.dev/badge/skills/thalesgroup/agilab/agilab-code-statistics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,266 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01266
Opus 5.5 $0.00022 $0.00506
Sonnet 5.5 $0.00011 $0.00253
Haiku 4.5 $0.00006 $0.00127

Measured 2mo ago against content hash 7f72e0d256aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agilab-code-statistics scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

paths = subprocess.check_output(["git", "ls-files"], text=True).splitlines()
.claude/skills/agilab-code-statistics/SKILL.md · 156 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 156 lines · 56 tokens per session scan A 7f72e0d256aa

Subscribe to this mod's changes

agilab-code-statistics is a skill published in the GitHub repository ThalesGroup/agilab (22 stars, last pushed today), with no licence file. It adds 56 tokens to every session and 1,266 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ml-expert

Expert-level machine learning, deep learning, model training, and MLOps. Use when the user mentions machine learning, deep learning, neural networks, MLOps, or data science, or when the task involves Machine Learning Fundamentals, Data Preparation, or Model Training.

personamanagmentlayer/pcl · 58 tokens

mlops

MLOps engineering covering ML pipeline design, model versioning, experiment tracking, deployment strategies, drift detection, and monitoring for production ML systems with tools like MLflow, Kubeflow, and model registries.

williamzujkowski/standards · 45 tokens

rigorous-research

Conduct AI/ML research as a science - first-principles reasoning, mechanism-level hypotheses, falsifiable predictions, discriminative experiments, honest evaluation, and claims that survive hostile review. Use when starting or steering an AI/ML research project, deciding what to investigate next, choosing datasets…

Sivasuthan9/ai-research-skill · 153 tokens

mle-workflow

Production ML engineering workflow — data contracts, reproducible training, evaluation gates, deployment, and monitoring. Use when building, reviewing, or hardening ML systems beyond notebooks.

chandrudp29/skillhub · 39 tokens

Evaluation

Frames model, prompt, and system evaluation as a reproducible experiment with baselines, datasets, and explicit metrics.

agentic-in/elephant-agent · 25 tokens

apache-spark-data-processing

Complete guide for Apache Spark data processing including RDDs, DataFrames, Spark SQL, streaming, MLlib, and production deployment.

manutej/luxor-claude-marketplace · 32 tokens