Agent skill

Techdebt

by jh941213 in jh941213/my-cc-harness

Technical debt cleanup - inspects and cleans up duplicate code, console.log, unused imports, etc.

No licenceAuto-check: notesDevelopment

Install Techdebt

skills CLI
$ npx skills add jh941213/my-cc-harness --skill techdebt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jh941213/my-cc-harness techdebt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jh941213/my-cc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_en/techdebt .claude/skills/techdebt && rm -rf skills-src

Use ~/.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/

Facts

Skill name
techdebt
GitHub stars
126
Token cost
~503 tokens
SKILL.md length
104 words
Files
1
Skills in repo
62
Repo updated
First seen
Licence
None found

At a glance

Technical debt cleanup - inspects and cleans up duplicate code, console.log, unused imports, etc.

  • Works in 4 steps: Duplicate Code → Unused Code → Debug Code → …
  • Console.log cleanup
  • SKILL.md covers Inspection Items, Inspection Commands, Output Format and Auto-Fix Scope
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Techdebt is an agent skill from jh941213/my-cc-harness. Technical debt cleanup - inspects and cleans up duplicate code, console.log, unused imports, etc. Recommended before ending a session. Triggers on "technical debt", "techdebt", "console.log cleanup", "unused imports", "dead code cleanup", "dependency cleanup", "tech debt scan". Anti-triggers: "add new features", "refactoring", "code simplification (simplify)".

Its SKILL.md is about 500 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 Technical debt and Code simplification.

When your agent uses it

  • Console.log cleanup
  • Dead code cleanup
  • Dependency cleanup

Example prompts

  • “technical debt”
  • “techdebt”
  • “console.log cleanup”
  • “/techdebt”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Edit, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Duplicate Code
  2. Unused Code
  3. Debug Code
  4. Code Quality

What it can do on your machine

Read from SKILL.md and the folder at commit e9210e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Edit
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Techdebt loads about 503 tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 104 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~503

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Edit, Bash

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 104 words (~503 tokens).

“Finds and cleans up technical debt in the codebase before ending a session.”

— opening of SKILL.md by jh941213
name
techdebt
allowed-tools
Read, Grep, Glob, Edit, Bash
disable-model-invocation
true
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills_en/techdebt of jh941213/my-cc-harness.

Open the folder on GitHubat commit e9210e2

Compare with similar skills

Techdebt 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.

Techdebt compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Techdebt this skilljh941213/my-cc-harness126—~503Automated safety check: NotesNone
Code Simplification for ego-litecitrolabs/ego-lite17k—~1.2kAutomated safety check: PassMIT
Codebase Health Refactoringkucherenko/jscpd6.4k—~2.5kAutomated safety check: PassMIT
DRY Refactoring With jscpdkucherenko/jscpd6.4k—~2.1kAutomated safety check: PassMIT
Dead Code Removal with Knipshift-editor/shift347—~1.8kAutomated safety check: PassApache-2.0
Dead Code Removercode-yeongyu/oh-my-openagent70k1 repos~1.8kAutomated safety check: PassCustom licence

Similar skills

  • Finds and implements evidence-backed simplifications in the ego-lite repository, such as dead code, duplicated state and speculative abstractions, without hiding behavior changes.

    17k GitHub stars~1.2k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • A three-part cleanup guided by jscpd: measure health, then fix duplicated code, remove dead code and simplify the most complex files, finishing by re-measuring the score.

    6.4k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Removes copy-paste duplication found by jscpd, starting with exact clones and hotspots, then renamed and near-miss copies, using proven refactoring strategies.

    6.4k GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dead Code Removal with Knip

    shift-editor/shift

    Finds unused files, exports and class members with Knip, then verifies each candidate through reference tracing before removing anything, never using knip --fix.

    347 GitHub stars~1.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dead Code Remover

    code-yeongyu/oh-my-openagent

    Finds unused code in a TypeScript project, confirms each candidate has no references through the language server, then hands removals to parallel agents.

    70k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Simplify Implementation

    codeaholicguy/ai-devkit

    AI DevKit · Analyze and simplify existing implementations to reduce complexity, improve maintainability, and enhance scalability.

    1.6k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed

More from jh941213/my-cc-harness

All 62 skills in this repo
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 20 repos~3.4k tokens
    Auto-check passed
  • Tailwind Design System

    jh941213/my-cc-harness

    Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns.

    126 GitHub starsUsed in 10 repos~4.7k tokens
    Auto-check passed
  • Docs Architecture

    jh941213/my-cc-harness

    Generate/update architecture docs — ARCHITECTURE.md (codemap), architecture diagrams (C4 mermaid), ADRs (MADR), data model ERD.

    126 GitHub stars~923 tokensUpdated 2 mo ago
    Auto-check: notes
  • Auto Memory

    jh941213/my-cc-harness

    A skill your agent uses when starting substantial work in a repo (implementation, fixes, deploys, debugging), when first exploring a new repo, or when finishing work that produced reusable knowledge.

    126 GitHub stars~890 tokensUpdated 2 mo ago
    Auto-check passed
  • Async Python Patterns

    jh941213/my-cc-harness

    Python asyncio 및 async/await 패턴 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 14 repos~4.7k tokens
    Auto-check passed
  • Python Testing Patterns

    jh941213/my-cc-harness

    Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.

    126 GitHub starsUsed in 17 repos~5.4k tokens
    Auto-check passed

Categories

Questions about Techdebt

What does Techdebt do?

Technical debt cleanup - inspects and cleans up duplicate code, console.log, unused imports, etc. Techdebt is an agent skill from jh941213/my-cc-harness.log, unused imports, etc.

When should I use Techdebt?

Techdebt fits situations like: console.log cleanup; dead code cleanup; dependency cleanup.

How do I install Techdebt in Claude Code?

Run `npx skills add jh941213/my-cc-harness --skill techdebt -a claude-code`. Or copy the skill folder (skills_en/techdebt in jh941213/my-cc-harness) into .claude/skills/techdebt in your project. Claude Code loads it when a task matches its description.

How do I install Techdebt in Codex?

Run `npx skills add jh941213/my-cc-harness --skill techdebt -a codex`. Or copy the skill folder (skills_en/techdebt in jh941213/my-cc-harness) into .agents/skills/techdebt in your project. Codex loads it when a task matches its description.

Can I use Techdebt in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jh941213/my-cc-harness --skill techdebt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/techdebt, .gemini/skills/techdebt, .github/skills/techdebt and .opencode/skills/techdebt in your project.

What does Techdebt need to run?

SKILL.md names no scripts, command-line tools or credentials: Techdebt is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Edit, Bash.

Does Techdebt access the network?

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.

Is Techdebt safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Techdebt use?

No licence was found for Techdebt or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Techdebt use?

About 503 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Techdebt?

Skills that share tags, products or a category with Techdebt: Code Simplification for ego-lite (citrolabs/ego-lite, 17k stars), Codebase Health Refactoring (kucherenko/jscpd, 6.4k stars), DRY Refactoring With jscpd (kucherenko/jscpd, 6.4k stars) and Dead Code Removal with Knip (shift-editor/shift, 347 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Techdebt?

jh941213 (a GitHub user) maintains it in jh941213/my-cc-harness, which has 126 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on August 3, 2026.

Source: jh941213/my-cc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.