Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Find unused functions and dead code in the codebase
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-22 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -41% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -76% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -57% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -32% | 0% |
Find unused functions and dead code using TLDR static analysis.
bash# Scan entire project tldr dead . # Scan specific directory tldr dead src/ # Specify entry points (functions to exclude from analysis) tldr dead . --entry main cli test_ # Specify language tldr dead . --lang python tldr dead . --lang typescript
Dead code analysis:
Total functions: 150
Dead functions: 12
Unused functions:
- old_helper (src/utils.py:42)
- deprecated_func (src/legacy.py:15)
- _unused_method (src/api.py:230)Works on Windows, Mac, and Linux (including WSL).
bash# Windows (PowerShell) tldr dead . # Mac/Linux tldr dead .
Functions matching entry patterns are excluded from dead code analysis:
main, cli - Application entry pointstest_*, *_test - Test functionssetup, teardown - Fixtures@app.route, @api.endpoint - Framework handlersbash# Custom entry points tldr dead src/ --entry main api_handler background_job
This skill replaces the session-start-dead-code hook with on-demand analysis.
| Approach | Pros | Cons | |----------|------|------| | Hook (removed) | Automatic | Slowed startup by 3s | | Skill (this) | On-demand, fast | Manual invocation |
bash# Impact analysis (who calls this?) tldr impact func_name . # Architecture layers tldr arch src/ # Full codebase structure tldr structure . --lang python
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-22 | fail→pass | 12,821 | 2,796 | -78% | 1 | 1 | 0% | 1,771 | 804 | -55% | 0 | 0 | — |
case-23 | pass→pass | 14,341 | 1,720 | -88% | 1 | 1 | 0% | 2,547 | 719 | -72% | 0 | 0 | — |
case-01 | fail→pass | 6,408 | 5,568 | -13% | 1 | 1 | 0% | 1,103 | 653 | -41% | 0 | 0 | — |
case-02 | fail→pass | 12,035 | 977 | -92% | 1 | 1 | 0% | 2,338 | 550 | -76% | 0 | 0 | — |
case-03 | fail→pass | 11,558 | 3,468 | -70% | 1 | 1 | 0% | 2,042 | 882 | -57% | 0 | 0 | — |
case-04 | fail→pass | 7,074 | 2,558 | -64% | 1 | 1 | 0% | 1,260 | 860 | -32% | 0 | 0 | — |
case-05 | fail→pass | 7,169 | 1,943 | -73% | 1 | 1 | 0% | 1,353 | 791 | -42% | 0 | 0 | — |
case-06 | fail→pass | 10,206 | 2,139 | -79% | 1 | 1 | 0% | 1,914 | 752 | -61% | 0 | 0 | — |
case-07 | fail→pass | 8,912 | 1,891 | -79% | 1 | 1 | 0% | 1,464 | 705 | -52% | 0 | 0 | — |
case-08 | fail→pass | 15,127 | 3,828 | -75% | 1 | 1 | 0% | 2,495 | 1,140 | -54% | 0 | 0 | — |
case-09 | fail→pass | 14,037 | 3,389 | -76% | 1 | 1 | 0% | 2,382 | 1,011 | -58% | 0 | 0 | — |
case-10 | fail→pass | 11,770 | 1,655 | -86% | 1 | 1 | 0% | 1,946 | 717 | -63% | 0 | 0 | — |
case-11 | fail→pass | 9,844 | 2,157 | -78% | 1 | 1 | 0% | 1,675 | 742 | -56% | 0 | 0 | — |
case-12 | pass→pass | 9,786 | 2,199 | -78% | 1 | 1 | 0% | 1,766 | 755 | -57% | 0 | 0 | — |
case-13 | fail→pass | 10,686 | 4,958 | -54% | 1 | 1 | 0% | 1,711 | 1,297 | -24% | 0 | 0 | — |
case-14 | fail→pass | 12,557 | 1,725 | -86% | 1 | 1 | 0% | 2,340 | 721 | -69% | 0 | 0 | — |
case-15 | pass→pass | 11,070 | 1,860 | -83% | 1 | 1 | 0% | 1,949 | 743 | -62% | 0 | 0 | — |
case-16 | fail→pass | 10,728 | 1,661 | -85% | 1 | 1 | 0% | 1,857 | 727 | -61% | 0 | 0 | — |
case-17 | fail→pass | 10,644 | 1,552 | -85% | 1 | 1 | 0% | 1,696 | 689 | -59% | 0 | 0 | — |
case-18 | fail→pass | 12,503 | 3,094 | -75% | 1 | 1 | 0% | 2,224 | 734 | -67% | 0 | 0 | — |
case-19 | fail→pass | 7,384 | 1,511 | -80% | 1 | 1 | 0% | 1,311 | 621 | -53% | 0 | 0 | — |
case-20 | fail→pass | 13,793 | 3,344 | -76% | 1 | 1 | 0% | 2,300 | 1,034 | -55% | 0 | 0 | — |
case-21 | pass→pass | 10,233 | 1,831 | -82% | 1 | 1 | 0% | 1,750 | 714 | -59% | 0 | 0 | — |
case-24 | pass→pass | 12,783 | 2,754 | -78% | 1 | 1 | 0% | 2,013 | 938 | -53% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +79 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/29/2026 | +86% |
Other measured skills in the registry, with their headline benchmark lift.