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.
npx skills add pixel-cellar/Claude-Code-Game-Studios --skill tech-debtgit clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-StudiosWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt)<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/tech-debt/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/tech-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01002 |
| Opus 5.5 | $0.00000 | $0.00401 |
| Sonnet 5.5 | $0.00000 | $0.00200 |
| Haiku 4.5 | $0.00000 | $0.00100 |
Grade A, and why
tech-debt 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 3mo ago.
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.
What it actually says
可以将翻译结果写入 .claude/skills/tech-debt/SKILL.md 吗?
---
name: tech-debt
description: "跟踪、分类和优先级排序代码库中的技术债务(Technical Debt)。扫描债务指标,维护债务登记册,并推荐偿还计划。"
argument-hint: "[scan|add|prioritize|report]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write
---
当此技能被调用时:
1. **解析子命令**(Subcommand):
- `scan` — 扫描代码库中的技术债务指标
- `add` — 手动添加新的技术债务条目
- `prioritize` — 重新排列现有债务登记册的优先级
- `report` — 生成当前债务状态的汇总报告
2. **对于 `scan`**:
- 搜索代码库中的债务指标:
- `TODO` 注释(统计并分类)
- `FIXME` 注释(伪装成债务的 Bug)
- `HACK` 注释(需要正规解决方案的临时变通)
- `@deprecated` 标记
- 重复的代码块(多个文件中的相似模式)
- 超过 500 行的文件(潜在的上帝对象,God Object)
- 超过 50 行的函数(潜在的高复杂度)
- 对每个发现进行分类:
- **架构债务(Architecture Debt)**:错误的抽象、缺失的模式、耦合问题
- **代码质量债务(Code Quality Debt)**:重复、复杂度、命名、缺失类型
- **测试债务(Test Debt)**:缺失的测试、不稳定的测试(Flaky Test)、未覆盖的边界情况
- **文档债务(Documentation Debt)**:缺失的文档、过时的文档、未文档化的 API
- **依赖债务(Dependency Debt)**:过时的包、废弃的 API、版本冲突
- **性能债务(Performance Debt)**:已知的慢路径、未优化的查询、内存问题
- 更新 `docs/tech-debt-register.md` 中的债务登记册
3. **对于 `add`**:
- 提示输入:描述、类别、受影响的文件、预估修复工作量、不修复的影响
- 追加到债务登记册
4. **对于 `prioritize`**:
- 读取债务登记册
- 按以下公式对每项评分:`(不修复的影响 * 遇到频率) / 修复工作量`
- 按优先级分数重新排序登记册
- 推荐应纳入下一个 Sprint 的条目
5. **对于 `report`**:
- 读取债务登记册
- 生成汇总统计:
- 按类别统计的总条目数
- 总预估修复工作量
- 自上次报告以来新增 vs 已解决的条目
- 趋势方向(增长 / 稳定 / 减少)
- 标记在登记册中超过 3 个 Sprint 未处理的条目
- 输出报告
### 债务登记册格式
```markdown
## 技术债务登记册
Last updated: [日期]
Total items: [N] | Estimated total effort: [T恤尺码总和]
| ID | Category | Description | Files | Effort | Impact | Priority | Added | Sprint |
|----|----------|-------------|-------|--------|--------|----------|-------|--------|
| TD-001 | [类别] | [描述] | [文件] | [S/M/L/XL] | [Low/Med/High/Critical] | [分数] | [日期] | [修复的 Sprint 或 "Backlog"] |
规则
- 技术债务本身不是坏事 — 它是一种工具。登记册追踪的是有意识的决定。
- 每条债务条目必须说明接受它的原因(截止日期、原型验证、信息缺失)
- 每个 Sprint 至少应运行一次
scan以捕获新增债务 - 超过 3 个 Sprint 未采取行动的条目应予以修复,或有意识地接受并记录原因
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.
- 3mo ago First seen · 75 lines · 0 tokens per session scan A d7a380f0acb9
tech-debt is a skill published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (399 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,002 tokens. 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-03.
tech-debt compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tech-debtpixel-cellar/Claude-Code-Game-Studios | Skill | 399 | 8mo ago | MIT | A | 0 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | 3d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| loop-engineeringhuytieu/COG-second-brain | Skill | 1.6k | yesterday | MIT | A | 63 | Claude Code |