audit-cognitive-debt
Audits cognitive load across seven debt categories: dead code, over-engineering, duplication, abstraction quality, control flow, naming, and test debt.
Skill by dasobral
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dasobral-audit-cognitive-debt
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/audit-cognitive-debt
What's inside
- Skill name
audit-cognitive-debt- Description
- Audits cognitive load across seven debt categories: dead code, over-engineering, duplication, abstraction quality, control flow, naming, and test debt. Writes COGNITIVE_DEBT.md. Complements review-quality. Part of Codecraft plugin. Use when asked to audit cognitive load, find dead code, or analyze complexity.
- License
- MIT
- Instructions
- 64 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- debt-categories.md · references/
- judgment-guidelines.md · references/
- shared-heuristics.md · references/
- COGNITIVE_DEBT.md · templates/
SKILL.md (first lines)
# Audit Cognitive Debt Analyze **cognitive friction** — mental overhead when reading/modifying code. Distinct from functional correctness (tests) and security (review-quality P4). Primary output: **`COGNITIVE_DEBT.md`**. Conversation gets a brief digest only. ## Step 1 — Resolve Scope Path argument → attached files → full project. ## Step 2 — Load References - `references/debt-categories.md` — seven categories + per-language heuristics - `references/judgment-guidelines.md` — when NOT to flag - `references/shared-heuristics.md` — dedup with review-quality ## Step 3 — Scale Analysis | LOC | Mode | |-----|------| | <500 | Exhaustive — read every file | | 500–5000 | Structural + 20% deep sample | | >5000 | Sampled — 3–5 files per top-level module | ## Step 4 — Seven Categories | # | Category | |---|----------| | D1 | Dead code | | D2 | Over-engineering (defer to review-quality P2 for severity) | | D3 | Duplication | | D4 | Abstraction quality | | D5 | Control flow complexity | | D6 | Naming (defer to review-quality P1) | | D7 | Test debt (defer to review-quality P3) | Per finding: category, severity (HIGH/MEDIUM/LOW), file:line, evidence, cognitive cost, recommendation, confidence (CERTAIN/LIKELY/UNCERTAIN). ## Step 5 — Write Report Use `templates/COGNITIVE_DEBT.md`. Output priority: 1. `.cursor/COGNITIVE_DEBT.md` 2. `docs/COGNITIVE_DEBT.md` 3. `COGNITIVE_DEBT.md` (root) ## Step 6 — Digest ``` ✓ Cognitive debt analysis complete. Report: <path> HIGH: N | MEDIUM: N | LOW: N Top 3 priorities: ... ``` ## Rules - Never modify source files - Apply judgment guidelines — don't pathologize intentional design - Flag uncertainty with [UNCERTAIN] - Note "What's Working Well" patterns
From dasobral/skills, MIT.
More from dasobral/skills
- 0.529score
analyze-codebase
dasobral
Analyzes a codebase across 16 dimensions — naming, formatting, architecture, async patterns, error handling, testing, anti-patterns — and writes…
SkillBFreshness: BClaude Code +9 - 0.529score
agent-ste
dasobral
Use when rewriting user or planner instructions before planning or execution; when prompts contain vague verbs (optimize, improve, better, appropriate…
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-engineer
dasobral
Production-grade C++ for industrial/defense QKD ground-segment systems.
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-review
dasobral
Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full…
SkillBFreshness: BClaude Code +9 - 0.529score
create-agent
dasobral
Scaffolds platform-native Cursor Markdown or Codex TOML agent definitions through six layers: Role, Inputs, Process, Output contract, Constraints, and…
SkillBFreshness: BClaude Code +9 - 0.529score
orchestrate
dasobral
Top-level orchestrator that deploys specialized agents from an agents/ directory to complete complex tasks.
SkillBFreshness: BClaude Code +9 - 0.529score
local-inference
dasobral
Local LLM inference setup and optimization for agentic workflows.
SkillBFreshness: BClaude Code +9 - 0.526score
assess-repository-trust
dasobral
Inventory repository control-plane inputs and produce a private, hash-based trust record before an agent executes repository-supplied automation.
SkillBFreshness: BClaude Code +9 - 0.526score
build-attack-scenario
dasobral
Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.
SkillBFreshness: BClaude Code +9 - 0.525score
career-documents
dasobral
Write and edit professional career documents: CVs, cover letters, research statements, fellowship proposals, and resignation letters.
SkillBFreshness: BClaude Code +9 - 0.523score
audit-scientific-claim
dasobral
Audit claims against hashed evidence while separating verification, validation, and uncertainty quantification.
SkillBFreshness: BClaude Code +9 - 0.523score
capture-scientific-run
dasobral
Capture a replayable scientific run with units, provenance, numerical equivalence, and uncertainty contracts.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 15, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dasobral/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dasobral
- 0.529score
create-agent
dasobral
Scaffolds platform-native Cursor Markdown or Codex TOML agent definitions through six layers: Role, Inputs, Process, Output contract, Constraints, and…
SkillBFreshness: BClaude Code +9 - 0.529score
local-inference
dasobral
Local LLM inference setup and optimization for agentic workflows.
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-engineer
dasobral
Production-grade C++ for industrial/defense QKD ground-segment systems.
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-review
dasobral
Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full…
SkillBFreshness: BClaude Code +9 - 0.529score
orchestrate
dasobral
Top-level orchestrator that deploys specialized agents from an agents/ directory to complete complex tasks.
SkillBFreshness: BClaude Code +9 - 0.529score
agent-ste
dasobral
Use when rewriting user or planner instructions before planning or execution; when prompts contain vague verbs (optimize, improve, better, appropriate…
SkillBFreshness: BClaude Code +9
Cite this page
audit-cognitive-debt skill. Agent Mart. https://agentmart.dev/skills/dasobral-audit-cognitive-debt (last updated 2026-10-24)