Agent skill · Audited from source
Remove Deadcode
skill · code-yeongyu/oh-my-openagentNOASSERTION licenceAudited 23 Sep 2026 · source 3da8ec0ef9b3
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 3da8ec0ef9b3 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 3 findings, 0 critical or high. What it does: Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.
Cite
Cite this page
ModelsAtlas. “Remove Deadcode (code-yeongyu/oh-my-openagent)”. Retrieved 23 Sep 2026. https://modelsatlas.com/skills/code-yeongyu/remove-deadcode
Trust audit
Audit 0.4.1 · source read 23 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 3 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (3)
MEDIUMInventory / provenanceinv.symlink · .claude/commands
.claude/commands
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · CLAUDE.md
CLAUDE.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 3da8ec0ef9b3 · 23 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishercode-yeongyu GitHub userOwner of the repository this skill is read from
- Source foldercode-yeongyu/oh-my-openagent/.agents/skills/remove-deadcodeThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict3da8ec0ef9b3A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.
--- name: remove-deadcode description: "Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused." --- Dead code removal via massively parallel deep agents. You are the ORCHESTRATOR — you scan, verify, batch, then delegate ALL removals to parallel agents. <rules> - **LSP is law.** Verify with `LspFindReferences(includeDeclaration=false)` before ANY removal decision. - **Never remove entry points.** `src/index.ts`, `src/cli/index.ts`, test files, config files, `packages/` — off-limits. - **You do NOT remove code yourself.** You scan, verify, batch, then fire deep agents. They do the work. </rules> <false-positive-guards> NEVER mark as dead: - Symbols in `src/index.ts` or barrel `index.ts` re-exports - Symbols referenced in test files (tests are valid consumers) - Symbols with `@public` / `@api` JSDoc tags - Hook factories (`createXXXHook`), tool factories (`createXXXTool`), agent definitions in `agentSources` - Command templates, skill definitions, MCP configs - Symbols in `package.json` exports </false-positive-guards> --- ## PHASE 1: SCAN — Find Dead Code Candidates Run ALL of these in parallel: <parallel-scan> **TypeScript strict mode (your primary scanner — run this FIRST):** ```bash bunx tsc --noEmit --noUnusedLocals --noUnusedParameters 2>&1 ``` This gives you the definitive list of unused locals, imports, parameters, and types with exact file:line locations. **Explore agents (fire ALL simultaneously as background):** ``` task(subagent_type="explore", run_in_background=true, load_skills=[], description="Find orphaned files", prompt="Find files in src/ NOT imported by any other file. Check all import statements. EXCLUDE: index.ts, *.test.ts, entry points, .md, packages/. Return: file paths.") task(subagent_type="explore", run_in_background=true, load_skills=[], description="Find unused exported symbols", prompt="Find exported functions/types/constants in src/ that are never imported by other files. Cross-reference: for each export, grep the symbol name across src/ — if it only appears in its own file, it's a candidate. EXCLUDE: src/index.ts exports, test files. Return: file path, line, symbol name, export type.") ``` </parallel-scan> Collect all results into a master candidate list. --- ## PHASE 2: VERIFY — LSP Confirmation (Zero False Positives) For EACH candidate from Phase 1: ```typescript LspFindReferences(filePath, line, character, includeDeclaration=false) // 0 references → CONFIRMED dead // 1+ references → NOT dead, drop from list ``` Also apply the false-positive-guards above. Produce a confirmed list: ``` | # | File | Symbol | Type | Action | |---|------|--------|------|--------| | 1 | src/foo.ts:42 | unusedFunc | function | REMOVE | | 2 | src/bar.ts:10 | OldType | type | REMOVE | | 3 | src/baz.ts:7 | ctx | parameter | PREFIX _ | ``` **Action types:** - `REMOVE` — delete the symbol/import/file entirely - `PREFIX _` — unused function parameter required by signature → rename to `_paramName` If ZERO confirmed: report "No dead code found" and STOP. --- ## PHASE 3: BATCH — Group by File for Conflict-Free Parallelism <batching-rules> **Goal: maximize parallel agents with ZERO git conflicts.** 1. Group confirmed dead code items by FILE PATH 2. All items in the SAME file go to the SAME batch (prevents two agents editing the same file) 3. If a dead FILE (entire file deletion) exists, it's its own batch 4. Target 5-15 batches. If fewer than 5 items total, use 1 batch per item. **Example batching:** ``` Batch A: [src/hooks/foo/hook.ts — 3 unused imports] Batch B: [src/features/bar/manager.ts — 2 unused constants, 1 dead function] Batch C: [src/tools/baz/tool.ts — 1 unused param, src/tools/baz/types.ts — 1 unused type] Batch D: [src/dead-file.ts — entire file deletion] ``` Files in the same directory CAN be batched together (they won't conflict as long as no two agents edit the same file). Maximize batch count for parallelism. </batching-rules> --- ## PHASE 4: EXECUTE — Fire Parallel Deep Agents For EACH batch, fire a deep agent: ``` task( category="deep-low", load_skills=["typescript-programmer", "git-master"], run_in_background=true, description="Remove dead code batch N: [brief description]", prompt="[see template below]" ) ``` <agent-prompt-template> Every deep agent gets this prompt structure (fill in the specifics per batch): ``` ## TASK: Remove dead code from [file list] ## DEAD CODE TO REMOVE ### [file path] line [N] - Symbol: `[name]` — [type: unused import / unused constant / unused function / unused parameter / dead file] - Action: [REMOVE entirely / REMOVE from import list / PREFIX with _] ### [file path] line [N] - ... ## PROTOCOL 1. Read each file to understand exact syntax at the target lines 2. For each symbol, run LspFindReferences to RE-VERIFY it's still dead (another agent may have changed things) 3. Apply the change: - Unused import (only symbol in line): remove entire import line - Unused import (one of many): remove only that symbol from the import list - Unused constant/function/type: remove the declaration. Clean up trailing blank lines. - Unused parameter: prefix with `_` (do NOT remove — required by signature) - Dead file: delete with `rm` 4. After ALL edits in this batch, run: `bun run typecheck` 5. If typecheck fails: `git checkout -- [files]` and report failure 6. If typecheck passes: stage ONLY your files and commit: `git add [your-specific-files] && git commit -m "refactor: remove dead code from [brief file list]"` 7. Report what you removed and the commit hash ## CRITICAL - Stage ONLY your batch's files (`git add [specific files]`). NEVER `git add -A` — other agents are working in parallel. - If typecheck fails after your edits, REVERT all changes and report. Do not attempt to fix. - Pre-existing test failures in other files are expected. Only typecheck matters for your batch. ``
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 3da8ec0
git clone https://github.com/code-yeongyu/oh-my-openagent git -C oh-my-openagent checkout 3da8ec0ef9b3
The author documents no install command, so this uses the repository directly. Our verdict covers commit 3da8ec0ef9b3 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
3da8ec0ef9b3
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/code-yeongyu/remove-deadcode/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
code-yeongyu/oh-my-opencode
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
code-yeongyu/oh-my-opencode
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
code-yeongyu/oh-my-opencode
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
code-yeongyu/oh-my-opencode
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
code-yeongyu/oh-my-openagent
Compare HEAD with the latest published npm versions and list all unpublished changes by release layer. Triggers: unpublished changes, changelog, what changed, whats new.
code-yeongyu/oh-my-openagent
Read-only GitHub triage for issues AND PRs. 1 item = 1 background task (category: quick). Analyzes all open items and writes evidence-backed reports to /tmp/{datetime}/. Every claim requires a GitHub permalink as proof.…
Add this badge to your README
[](https://modelsatlas.com/skills/code-yeongyu/remove-deadcode/)
<a href="https://modelsatlas.com/skills/code-yeongyu/remove-deadcode/"><img src="https://modelsatlas.com/skills/code-yeongyu/remove-deadcode/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Remove Deadcode
What does the Remove Deadcode skill do?
Is Remove Deadcode safe to install?
What can Remove Deadcode access on my machine?
How current is this page?
Sources
- github.com/code-yeongyu/oh-my-openagent/tree/dev/.agents/skills/ — the audited source at commit 3da8ec0ef9b3 and every finding aboveObserved · 23 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Remove Deadcode skill do?
- Is Remove Deadcode safe to install?
- What can Remove Deadcode access on my machine?