Math Auditor
CliMA/EnsembleKalmanProcesses.jl
Run an adversarial mathematical-accuracy review of a Julia package's src/ and test/ directories, producing a dated markdown report plus concise, self-contained fix-prompt markdowns suitable for…
Analyze the codebase structure and count lines of code by category using cloc.
$ npx skills add ArduPilot/MethodicConfigurator --skill codebase-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArduPilot/MethodicConfigurator codebase-analysis --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/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/codebase-analysis .claude/skills/codebase-analysis && 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 "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .claude/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysisType 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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArduPilot/MethodicConfigurator codebase-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/codebase-analysis .agents/skills/codebase-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .agents/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArduPilot/MethodicConfigurator codebase-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/codebase-analysis .cursor/skills/codebase-analysis && 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 "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .cursor/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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/ArduPilot/MethodicConfigurator.git --path .github/skills/codebase-analysis--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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArduPilot/MethodicConfigurator codebase-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/codebase-analysis .gemini/skills/codebase-analysis && 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 "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .gemini/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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 ArduPilot/MethodicConfigurator codebase-analysisInstalls 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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/codebase-analysis .github/skills/codebase-analysis && 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 "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .github/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ArduPilot/MethodicConfigurator codebase-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/codebase-analysis .opencode/skills/codebase-analysis && 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 "codebase-analysis" agent skill from https://github.com/ArduPilot/MethodicConfigurator/tree/master/.github/skills/codebase-analysis into .opencode/skills/codebase-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-analysis", 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.
codebase-analysisAnalyze the codebase structure and count lines of code by category using cloc.
Codebase Analysis is an agent skill from ArduPilot/MethodicConfigurator. Analyze the codebase structure and count lines of code by category using cloc. Use when generating code statistics, calculating test-to-application ratios, documentation-to-code ratios, or identifying generated code percentages.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Codebase onboarding and Statistics. The repository describes itself as: A clear ArduPilot configuration sequence. The licence is GPL-3.0.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9cd3ca1. 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:
pythonpipaptFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, 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.
Codebase Analysis loads about 2.2k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 573 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.
tall it via your package manager (e.g., `sudo apt install cloc` on Ubuntu).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 ArduPilot/MethodicConfigurator at commit 9cd3ca1, republished under its GPL-3.0 licence (© ArduPilot). 573 words, ~2,242 tokens.
.claude/skills/codebase-analysis/SKILL.md (or your agent's skills folder).This document provides step-by-step instructions for analyzing the ArduPilot Methodic Configurator codebase structure and counting lines of code across different categories.
Ensure cloc (Count Lines of Code) tool is installed:
which clocIf not installed, install it via your package manager (e.g., sudo apt install cloc on Ubuntu).
The codebase is organized into the following categories:
tests/ directorycloc tests/ardupilot_methodic_configurator/ directorycloc ardupilot_methodic_configurator/Location: Root directory and subdirectories
Purpose: User manuals, guides, architecture documentation, and README files
File Types: Markdown files (*.md)
Commands:
# Find all markdown files
find . -name "*.md" -type f
# Count lines in documentation
find . -name "*.md" -type f | xargs clocLocation: Root directory and subdirectories
Purpose: Project configuration, build settings, CI/CD configuration, and metadata
File Types: JSON files (*.json)
Commands:
# Find all JSON files
find . -name "*.json" -type f
# Count lines in configuration files
find . -name "*.json" -type f | xargs clocLocation: Within ardupilot_methodic_configurator/ directory and scripts/ directory
Purpose: Auto-generated files that should not be manually edited
Files (as documented in ARCHITECTURE.md):
data_model_fc_ids.py (generated by update_flight_controller_ids.py)configuration_steps_strings.py (generated by update_configuration_steps_translation.py)vehicle_components.py (generated by update_vehicle_components_translation.py)scripts/generate_codebase_pie_chart.py (generated by AI assistant for codebase analysis)Command:
cloc ardupilot_methodic_configurator/data_model_fc_ids.py \
ardupilot_methodic_configurator/configuration_steps_strings.py \
ardupilot_methodic_configurator/vehicle_components.py \
scripts/generate_codebase_pie_chart.pyLocations:
scripts/ directoryPurpose: Build scripts, maintenance tools, development utilities
Commands:
# Find all Python scripts in root directory
find . -maxdepth 1 -name "*.py" -type f
# Count lines in root directory scripts
cloc ./unix2dos.py ./create_pot_file.py ./insert_missing_translations.py \
./mavproxy_param.py ./copy_magfit_pdef_to_template_dirs.py ./setup.py \
./update_flight_controller_ids.py ./test_dpi_scaling.py ./mavproxy_ftp.py \
./extract_missing_translations.py ./post_install.py ./param_reorder.py \
./param_zip.py ./find_exclusive_parameter_names.py ./get_server_pem_cert.py \
./update_vehicle_components_translation.py ./update_vehicle_templates.py \
./param_filter.py ./create_mo_files.py ./copy_param_files.py \
./update_configuration_steps_translation.py ./merge_pot_file.py \
./mavftp.py ./dos2unix.py
# Count lines in scripts directory
cloc scripts/First, check ARCHITECTURE.md to identify which files are auto-generated:
grep -n "autogenerated" ARCHITECTURE.mdTest Code:
cloc tests/Main Application Code:
cloc ardupilot_methodic_configurator/Documentation Files:
find . -name "*.md" -type f | xargs clocConfiguration Files:
find . -name "*.json" -type f | xargs clocGenerated Code (subset of main application and scripts):
cloc ardupilot_methodic_configurator/data_model_fc_ids.py \
ardupilot_methodic_configurator/configuration_steps_strings.py \
ardupilot_methodic_configurator/vehicle_components.py \
scripts/generate_codebase_pie_chart.pyRoot Directory Scripts:
find . -maxdepth 1 -name "*.py" -type f | xargs clocScripts Directory:
cloc scripts/Extract the "code" column from each cloc output to calculate:
Present results in this structure:
### Tests Directory:
- **Total code lines: X** (Python only)
- Additional assets: Y lines of XML, Z lines of HTML, etc.
### Main Application (ardupilot_methodic_configurator/):
- **Total Python code lines: X**
- Additional files: Y lines of XML, Z lines of JSON, etc.
### Documentation Files (*.md):
- **Total documentation lines: X** (across Y files)
- Key files: README.md (X lines), USERMANUAL.md (Y lines), etc.
### Configuration Files (*.json):
- **Total configuration lines: X** (across Y files)
- Key files: pyproject.toml equivalent configs, CI/CD configs, etc.
### Generated Code (within the application):
- **Total generated Python code lines: X**
- **Percentage of application code: Y%**
- Files: list of generated files
### Scripts (root + scripts/ directories):
- **Root directory scripts: X Python code lines** (N files)
- **Scripts directory: Y Python code lines + Z other lines** (N files)
- **Total script lines: X**
### Key Insights:
1. **Tests**: X lines - test coverage assessment
2. **Core Application**: X lines (Python only)
3. **Documentation**: X lines (comprehensive user/developer docs)
4. **Configuration**: X lines (project setup and CI/CD)
5. **Generated Code**: X lines (~Y% of application code)
6. **Utility Scripts**: X lines for build/maintenance tasks
7. **Total Python Code**: ~X lines across all categories
8. **Test-to-Application Ratio**: X:1
9. **Documentation-to-Code Ratio**: X:1generate_codebase_pie_chart.py script is itself a generated file and should be excluded from utility script countsThis analysis should be run:
Update this document if:
A Python script is available to automatically generate a pie chart visualization of the codebase structure:
python scripts/generate_codebase_pie_chart.pyThis script will:
images/ directoryRequirements: matplotlib and numpy packages must be installed:
pip install matplotlib numpyOutput files:
images/codebase_structure_pie_chart.png - High-resolution PNG for documentationimages/codebase_structure_pie_chart.svg - Scalable SVG for presentations© ArduPilot, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/codebase-analysis of ArduPilot/MethodicConfigurator.
Open the folder on GitHubat commit 9cd3ca1
Codebase Analysis 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 |
|---|---|---|---|---|---|---|
| Codebase Analysis this skillArduPilot/MethodicConfigurator | 163 | — | ~2.2k | Automated safety check: Notes | GPL-3.0 | |
| Math AuditorCliMA/EnsembleKalmanProcesses.jl | 127 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Flowfile Architecture ContractEdwardvaneechoud/Flowfile | 373 | — | ~9.9k | Automated safety check: Pass | MIT | |
| Release Announcementmonarch-initiative/mondo | 326 | — | ~1.6k | Automated safety check: Pass | CC-BY-4.0 | |
| Fact Checkerdaymade/claude-code-skills | 1.4k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.2k | Automated safety check: Pass | MIT |
CliMA/EnsembleKalmanProcesses.jl
Run an adversarial mathematical-accuracy review of a Julia package's src/ and test/ directories, producing a dated markdown report plus concise, self-contained fix-prompt markdowns suitable for…
Edwardvaneechoud/Flowfile
Maps Flowfile's core, worker, frontend, kernel, scheduler and shared services and the design contracts between them, for onboarding and cross-service debugging.
monarch-initiative/mondo
Generate a formatted Mondo release announcement with statistics table from release diff reports
daymade/claude-code-skills
Verifies factual claims in documents using web search and official sources, then proposes corrections with user confirmation.
Egonex-AI/Understand-Anything
Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.
Egonex-AI/Understand-Anything
Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.
ArduPilot/MethodicConfigurator
Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.
ArduPilot/MethodicConfigurator
Add a new translation language to the application. An agent skill from ArduPilot/MethodicConfigurator.
ArduPilot/MethodicConfigurator
Validate and update ARCHITECTUREn.md files against actual source code implementation.
ArduPilot/MethodicConfigurator
Add, delete, or re-order configuration steps in configurationsteps.json.
ArduPilot/MethodicConfigurator
Write high-quality BDD pytest tests for the ArduPilot Methodic Configurator.
ArduPilot/MethodicConfigurator
Set up and run SITL integration tests for backendflightcontroller.py.
Categories
Analyze the codebase structure and count lines of code by category using cloc. Codebase Analysis is an agent skill from ArduPilot/MethodicConfigurator. Analyze the codebase structure and count lines of code by category using cloc.
Codebase Analysis fits situations like: generating code statistics; calculating test-to-application ratios; documentation-to-code ratios; identifying generated code percentages.
Run `npx skills add ArduPilot/MethodicConfigurator --skill codebase-analysis -a claude-code`. Or copy the skill folder (.github/skills/codebase-analysis in ArduPilot/MethodicConfigurator) into .claude/skills/codebase-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArduPilot/MethodicConfigurator --skill codebase-analysis -a codex`. Or copy the skill folder (.github/skills/codebase-analysis in ArduPilot/MethodicConfigurator) into .agents/skills/codebase-analysis 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 ArduPilot/MethodicConfigurator --skill codebase-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-analysis, .gemini/skills/codebase-analysis, .github/skills/codebase-analysis and .opencode/skills/codebase-analysis in your project.
Going by SKILL.md and its folder, Codebase Analysis needs the command-line tools its instructions call (python, pip and apt). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, 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.
Codebase Analysis is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Codebase Analysis: Math Auditor (CliMA/EnsembleKalmanProcesses.jl, 127 stars), Flowfile Architecture Contract (Edwardvaneechoud/Flowfile, 373 stars), Release Announcement (monarch-initiative/mondo, 326 stars) and Fact Checker (daymade/claude-code-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ArduPilot (a GitHub organization) maintains it in ArduPilot/MethodicConfigurator, which has 163 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.
Source: ArduPilot/MethodicConfigurator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.