deadcode

Detect and optionally remove dead code in the Go codebase. Usage: /deadcode [fix] [ ].

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/future-architect/uzomuzo-oss/deadcode
Any agent
npx skills add future-architect/uzomuzo-oss --skill deadcode
Clone the repo
git clone --depth 1 https://github.com/future-architect/uzomuzo-oss

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00027 $0.00230
Opus 5 $0.00014 $0.00115
Sonnet 5 $0.00005 $0.00046
Haiku 4.5 $0.00003 $0.00023

Measured yesterday against content hash 2cb934dcd5b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deadcode scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/deadcode/SKILL.md · 20 lines

What it actually says

/deadcode — Dead Code Detection & Removal

Full specification: See .github/prompts/deadcode.prompt.md for the complete detection procedure, classification rules, output format, and safety rules.

Quick Reference

  • Audit mode (default): /deadcode — detect and report only
  • Fix mode: /deadcode fix — detect, remove SAFE items, confirm CAREFUL items
  • Scoped: /deadcode internal/infrastructure/ — limit to a package path
  • Detection: go vet, go build, deadcode ./..., go mod tidy -v, manual grep
  • Classify: SAFE / CAREFUL / RISKY
  • After each removal batch: go build ./... && go test ./... && go vet ./...
  • Never auto-remove pkg/uzomuzo/ public API or reflect/generate/linkname targets
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. yesterday First seen · 20 lines · 27 tokens per session scan A 2cb934dcd5b1

Subscribe to this mod's changes

deadcode is a skill published in the GitHub repository future-architect/uzomuzo-oss (32 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 230 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories

supply-chain-security-scanner

AI-powered software supply chain security auditing skill for agentic platforms. Performs comprehensive dependency vulnerability scanning across npm, PyPI, Maven, Go modules, Cargo, and container images. Generates SBOMs (Software Bill of Materials) in SPDX and CycloneDX formats using Syft and Grype. Validates license…

JPeetz/agent-skills · 307 tokens

release-notes

Draft concise release notes.

ollama/ollama · 9 tokens

sq-site-dependabot

Reviews, validates, and safely merges Dependabot pull requests for the sq.io site (site/, Bun lockfile). Use when clearing site dependency PRs, triaging Dependabot failures, or checking Lighthouse impact before merge.

neilotoole/sq · 50 tokens

sq

Guides use of the sq CLI to query SQL databases and tabular files with SLQ (sq's jq-like query language) or native SQL, manage sources, choose output formats, and run inspect, diff, and table commands. Use when the user mentions sq, SLQ, wrangling CSV/Excel/JSON/DB data, cross-source joins, or command-line data…

neilotoole/sq · 89 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

drt-analyze

Analyze DRT cluster health for a given time range. Reconstructs the operations timeline, checks CockroachDB metrics (availability, latency, storage, changefeeds, jobs, goroutines, admission control, LSM, KV prober) and logs for anomalies, correlates findings with disruptive operations to distinguish expected…

cockroachdb/cockroach · 149 tokens