Dead Code Eliminator
ArabelaTso/Skills-4-SE
Identify and analyze unused or redundant code including unused functions/methods, unused variables/imports, unreachable code, and redundant conditions.
Audit a software repository and turn reproducible signals into a prioritized, evidence-backed health report or compare audit snapshots over time.
$ npx skills add 1838904818/audit-repo --skill audit-repo -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 1838904818/audit-repo audit-repo --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .claude/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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.
$ npx skills add 1838904818/audit-repo --skill audit-repo -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 1838904818/audit-repo audit-repo --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .agents/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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 1838904818/audit-repo --skill audit-repo -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 1838904818/audit-repo audit-repo --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .cursor/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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.
$ npx skills add 1838904818/audit-repo --skill audit-repo -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 1838904818/audit-repo audit-repo --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .gemini/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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 1838904818/audit-repo audit-repoInstalls 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 1838904818/audit-repo --skill audit-repo -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .github/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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 1838904818/audit-repo --skill audit-repo -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 1838904818/audit-repo audit-repo --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "audit-repo" agent skill from https://github.com/1838904818/audit-repo/tree/main into .opencode/skills/audit-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-repo", 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.
audit-repoAudit a software repository and turn reproducible signals into a prioritized, evidence-backed health report or compare audit snapshots over time.
Audit Repo is an agent skill from 1838904818/audit-repo. Audit a software repository and turn reproducible signals into a prioritized, evidence-backed health report or compare audit snapshots over time. Use when Codex is asked to assess repository health, readiness, maintainability, test and CI coverage, dependency hygiene, documentation, security posture, technical debt, release risk, regression in repository hygiene, or the most important improvements to make before shipping or handing off a codebase.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files, including scripts and reference files (for example `.github/ISSUE_TEMPLATE/bug_report.yml`, `.github/ISSUE_TEMPLATE/config.yml` and `.github/ISSUE_TEMPLATE/feature_request.yml`).
It sits in Development, covering Technical debt and Code quality. It works with OpenAI and Python. The repository describes itself as: A practical Codex skill for evidence-backed repository health audits. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 479d552. 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.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Audit Repo loads about 2.8k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 1,437 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 found no risky patterns in SKILL.md.
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); the scripts in this folder are not scanned.
The full file from 1838904818/audit-repo at commit 479d552, republished under its MIT licence (© 1838904818). 1,437 words, ~2,800 tokens.
.claude/skills/audit-repo/SKILL.md (or your agent's skills folder). This skill also uses 31 other files; get the full folder from GitHub.Produce a useful repository audit without changing the repository. Combine deterministic inventory with project-aware checks, verify each material finding, and prioritize actions instead of dumping a generic checklist.
--baseline-sha256 proves only the baseline's exact bytes. Obtain the expected digest through an independent trusted channel; a digest calculated from the same untrusted checkout adds no protection and does not prove provenance, freshness, safety, or comparability.uses reference is pinned from a simple text search.Run the bundled collector from the skill directory:
python scripts/collect_repo_signals.py /path/to/repo --format markdownThe bundled scripts require Python 3.10 or newer and use only the standard library.
Use --format json when structured output will make further analysis easier. JSON snapshots record the collector and scan-semantics versions, scan file limit, and complete large-file inventory; Markdown keeps long lists bounded. The comparer treats a changed or one-sided scan-semantics version as a limitation, while two legacy snapshots without it remain comparable under legacy rules. The collector also surfaces safe Git metadata, canonically cased manifest and lockfile hints, declared project scripts, configured tools, dependency-update files, ownership, containers, and CI action references. It intentionally leaves worktree cleanliness unknown rather than invoke broader repository-aware status machinery. It ignores common dependency/build directories, does not follow symlinks, and checks only paths and Git tracking state, not contents, for sensitive-looking files.
Use the default filesystem scan for broad discovery, including ignored and untracked files outside the built-in exclusions. For a Git working tree, --scan-mode git-visible includes tracked and non-ignored untracked files, while --scan-mode tracked creates the most stable CI baseline but intentionally omits every untracked sensitive file. Tracked files remain included even if they match an ignore rule. Do not use a narrower mode without making that coverage limit explicit in the report. Repeat git-visible comparisons require the same effective repository and global Git ignore configuration.
Use repeatable --include-path GLOB and --exclude-path GLOB options for a monorepo scope. Scope IDs are unset by default and do not change scan coverage. Set the same project-qualified --scope-id only when equivalent checkouts may have different absolute roots; never reuse it across repositories or packages. The legacy value repository does not prove cross-root equivalence. Patterns are case-sensitive, root-relative POSIX globs; exclusions win. Use repeatable --exclude-dir NAME options for repository-specific generated folder names. Each value must be one non-empty directory name, not a path: separators, dot segments, whitespace-only names, and control characters are rejected. A name beginning with - is valid, but join it to the option, for example --exclude-dir=--cache, so the command-line parser cannot reinterpret it as another option. The Action's multiline include-paths, exclude-paths, and exclude-dirs inputs accept LF and CRLF: only a CR that terminates a CRLF line is removed, while embedded control characters remain invalid. Adjust large-file review with --large-file-mib MIB; do not lower it so far that ordinary source files create noise. The one-command runner validates file limits, thresholds, path globs, excluded directory names, scope IDs, scan-root availability, and Git-mode eligibility before changing managed output or Action state; when one of those preflight checks rejects a request, retain the earlier evidence for review.
If Python is unavailable, gather equivalent signals with available read-only tools. Do not install a runtime just for the inventory.
For a repeat audit, save JSON snapshots outside the target repository when possible:
python scripts/collect_repo_signals.py /path/to/repo --format json --output before.json
python scripts/collect_repo_signals.py /path/to/repo --format json --output after.json
python scripts/compare_repo_signals.py before.json after.json --format markdownUse --format sarif when a CI platform or code-scanning viewer needs SARIF 2.1.0. SARIF warnings represent high-confidence attention signals, notes represent comparison limitations, and neither is a confirmed vulnerability. Snapshot JSON must use unique object keys at every nesting level; reject duplicate keys rather than rely on parser-dependent first-value or last-value behavior. A matching digest pins ambiguous bytes but cannot make them unambiguous. Use --fail-on-attention only in automation where exit code 1 should flag high-confidence attention items. Add --require-comparable when limitations must also fail the gate. In the one-command runner, either gate requires --baseline; a gate without a baseline is invalid configuration and must fail before managed outputs change. Exit code 2 means invalid input or an execution error. Compare snapshots made with the same mode, logical scope, exclusions, and large-file threshold; use the same project-qualified scope ID for equivalent checkouts at different absolute roots. A different file limit is still reported, but does not suppress logical-scope alerts when both scans completed. Missing tracked worktree files, truncation, configuration mismatches, and incomplete legacy top-20 large-file inventories are limitations. Treat reported changes as leads to verify, not findings.
External snapshot and baseline inputs must resolve to regular files no larger than 64 MiB; a symlink to an in-limit regular file remains valid.
Choose the narrowest relevant checks already supported by the repository, such as tests, linters, type checks, builds, or dependency validation. Read references/check-selection.md when the command choice is unclear or the repository spans multiple ecosystems.
Read references/rubric.md before assigning priorities.
Return this structure unless the user requests another format:
Use P0 through P3 priorities from the rubric. Do not invent a numerical score unless the user asks for one. If no material issue is found, say so plainly and list the evidence reviewed.
When the user also asks to fix findings, finish the read-only audit first, then implement only the agreed or clearly requested scope. Re-run the affected checks and separate fixed findings from remaining risks.
© 1838904818, 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 31 other files (scripts, references) in the repository root of 1838904818/audit-repo.
Open the folder on GitHubat commit 479d552
Audit Repo 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 |
|---|---|---|---|---|---|---|
| Audit Repo this skill1838904818/audit-repo | 157 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Dead Code EliminatorArabelaTso/Skills-4-SE | 253 | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Groq SDK Patternsjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Systematic Code Refactoringluongnv89/claude-howto | 42k | — | ~3k | Automated safety check: Pass | MIT | |
| Dignified Python Standardsdocling-project/docling | 69k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Sensitive Logging Auditopenai/openai-agents-python | 30k | — | ~1k | Automated safety check: Pass | MIT |
ArabelaTso/Skills-4-SE
Identify and analyze unused or redundant code including unused functions/methods, unused variables/imports, unreachable code, and redundant conditions.
jeremylongshore/tons-of-skills-marketplace
Apply production-ready Groq SDK patterns for TypeScript and Python.
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
openai/openai-agents-python
Audit or fix sensitive-data exposure in Python SDK diagnostics, exceptions, logging, and telemetry.
luongnv89/claude-howto
Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.
Categories
Audit a software repository and turn reproducible signals into a prioritized, evidence-backed health report or compare audit snapshots over time. Audit Repo is an agent skill from 1838904818/audit-repo. Audit a software repository and turn reproducible signals into a prioritized, evidence-backed health report or compare audit snapshots over time.
Audit Repo fits situations like: Codex is asked to assess repository health; maintainability; test and CI coverage; dependency hygiene.
Run `npx skills add 1838904818/audit-repo --skill audit-repo -a claude-code`. Or copy the skill folder (the 1838904818/audit-repo repository) into .claude/skills/audit-repo in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 1838904818/audit-repo --skill audit-repo -a codex`. Or copy the skill folder (the 1838904818/audit-repo repository) into .agents/skills/audit-repo 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 1838904818/audit-repo --skill audit-repo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/audit-repo, .gemini/skills/audit-repo, .github/skills/audit-repo and .opencode/skills/audit-repo in your project.
Going by SKILL.md and its folder, Audit Repo needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Audit Repo is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k 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 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Audit Repo: Dead Code Eliminator (ArabelaTso/Skills-4-SE, 253 stars), Groq SDK Patterns (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars) and Dignified Python Standards (docling-project/docling, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
1838904818 (a GitHub user) maintains it in 1838904818/audit-repo, which has 157 GitHub stars. The repository was last updated on August 31, 2026.
Source: 1838904818/audit-repo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.