artifact-vestige-hunt
Finds vestigial residue in code, docs, and agent instructions.
Skill by andresgongora
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/andresgongora-artifact-vestige-hunt
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: productivity, agent-building
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/artifact-vestige-hunt
What's inside
- Skill name
artifact-vestige-hunt- Description
- Finds vestigial residue in code, docs, and agent instructions. Load for post-rework cleanup, ghost steps, obsolete notes, or "why is this still here".
- License
- MIT
- Instructions
- 71 lines in SKILL.md · view on GitHub
Files (3)
- README.md
- SKILL.md
- prefilter · scripts/
SKILL.md (first lines)
Vestige: thing a from-scratch author, never told about removed behavior, would not write.
## Core mechanic
Establish current purpose, outcomes, constraints, and relevant state only from explicit target text, supplied task/context, or supplied behavior/output evidence. Never infer desired design from structure alone. Ask: *what whole segment can disappear while every evidenced outcome/constraint, endpoint, and recognizable purpose stay identical, with no maintainability loss?* Passes test → vestige. Missing baseline or equivalence proof → UNRESOLVED. Any required redesign, new abstraction, or behavior change → refactor, out of scope. Question is judge; path shapes and taxonomy only scan aids.
## Path shapes
- **Outcome-neutral excursion**: path leaves main sequence, then rejoins at same evidenced state. Test whole excursion, not isolated lines. This is conceptual; ordinary `for`/`while` loops are not candidates without independent zero-impact evidence.
- **Canceling bend**: rule, branch, or rationale pushes away from stated outcome; later material compensates and restores it. Test deviation plus compensation as one unit. If cutting both preserves every evidenced outcome/constraint with no maintainability loss, vestige. If straightening needs redesign, not this skill.
- **Required detour**: current obstacle forces deviation. KEEP only when obstacle and failure caused by removing detour are concrete. Rewrite history as current-state constraint. Obstacle existence unknown → UNRESOLVED.
Shapes locate; taxonomy labels. One label per finding.
## Taxonomy
1. **Negative doc** — text on what artifact does NOT do / no longer does. Ex: comment "no longer validates email format". Counter (keep): "deliberately skips validation, caller already validated" — live constraint, not history.
2. **Ghost step** — sequenced item, whole content is own obsolescence. Ex: "5. No longer check connectivity, push fails anyway." Counter (keep): step still performs check, even changed form.
3. **Meta-residue in agent-directed text** — file explains to future agent why shaped this way. Ex: "removed retry logic per user request 2026-01-01." Counter (keep): routing/scope line executing agent needs right now.
4. **Dead scaffolding** — visible scaffold whose own comment or prose explicitly frames it around an absent consumer. Proving consumer absence through call-graph, data-flow, or compiler analysis is out of scope.
5. **Superseded wording** — old phrasing beside replacement, two sources of truth. Ex: rule restated two ways same file, one stale.
6. **Defensive apology** — "intentionally does not X" / "deliberately avoid Y", no live decision behind it — no one risks re-adding X/Y, no ambiguity without note.
7. **Leaked implementation detail** — internal code, prose, or comment exposed in the public contract with no external benefit, where removing the exposure preserves the documented behavior and API.
## Runtime vs maintenance
| Context | Status | Action |
| --- | --- | --- |
| Runtime (executable code, agent instructions read at load/exec) | Obstacle — eats context, misroutes behavior | Cut |
| Maintenance (why changed, historical decision) | Real info, belongs git history/changelog not artifact | Cut from artifact |
| Current constraint: direct path causes concrete failure | Genuine survivor | Keep, state current obstacle + failure ("do X; Y fails otherwise"), never history note ("used to do X") |
Third row narrow. Claim survivor only with current obstacle + concrete failure mode; insufficient evidence → UNRESOLVED.
## Per-artifact-type notes
- **Code**: comments on removed behavior; visibly paired deviation/compensation; scaffolding whose own text declares its consumer absent. Consumer or reachability proof needing call-graph/data-flow analysis stays out of scope.
- **Docs/prose**: sentences justifying absence of arbitrary things ("does not cover X"), version-history asides in current-state description.
- **Agent-directed text**: workflow steps kept only to explain own removal; meta commentary aimed at maintaining agent not executing agent; "why" prose where file should carry only what/when/how.
## Output contract
Finding: `path:line — <label> — one-line why it passes zero-impact test`. Labels: `negative-doc`, `ghost-step`, `meta-residue`, `dead-scaffolding`, `superseded-wording`, `defensive-apology`, `leaked-implementation-detail`.
Survivor: `path:line — KEEP — current obstacle + concrete failure mode this segment prevents`.
Can't classify admitted semantic candidate with evidence at hand: `path:line — UNRESOLVED — what's missing to decide`. Never force KEEP or vestige without concrete basis. Never silently drop admitted candidate; proven lexical false positive never enters classification.
No findings: say so; do not force findings.
## Workflow
1. Read target fully or by section. Grep hits alone insufficient — vestiges semantic.
2. Optional: `scripts/prefilter` for lexical history-marker hits in text selected by installed scanner defaults. High recall only within that selected text, low precision; no signal on structural paths, never verdict.
3. Read each hit in context. Clearly unrelated marker use → reject before candidate admission, no output. Plausible residue → admit semantic candidate.
4. Trace evidenced current path. Inspect suspicious line, step, or whole section as one candidate; look for outcome-neutral excursions, canceling bends, and required detours. Missing stated path/outcome/state → UNRESOLVED.
5. Apply core mechanic. Classify admitted candidate: vestige (list for deletion), survivor (concrete current obstacle + failure mode), unresolved (state what's missing) if neither call confidently supportable.
6. Emit per contract. No deletion unless user/calling workflow asked direct edits — default read-only report.
## Boundaries
- Not code review, correctness check, style critique.
- Not static dead-code/unused-import analysis — linter/compiler job. This skill targets what tooling can't see: prose, intent, sequence, meta-commentary.
- Never relocates cut content to changelog/ADR. Git history is archive; skill only IDs what to cut, never where it should live.
- Distinct from correctness/alignment auditing of agent-directed instruction artifacts (AGENTS.md, agent defs, skills, commands): that asks artifact internally consistent + aligned with intent; this asks specific lines deletable with zero impact. Both can run same file, different question.
## Verification
- Every vestige finding passes core mechanic question explicitly, not pattern match alone.
- Every path/state judgment names its explicit or supplied evidence; absent evidence produces UNRESOLVED.
- Every KEEP states concrete failure mode, not "seems important."
- No deletions unless explicitly requested.From andresgongora/agent-config, MIT.
More from andresgongora/agent-config
- 0.570score
nixos
andresgongora
Ready-to-run NixOS commands: missing CLI tool, prebuilt binary failing with missing shared library or dynamic linker, package/option lookup, non-activating…
SkillAFreshness: AClaude Code +9 - 0.570score
minion-delegation
andresgongora
Pick and drive bounded minion workers: locate code, edit, lint, review, cleanup, or execute a frozen multi-step mission.
SkillAFreshness: AClaude Code +9 - 0.567score
artifact-markdown
andresgongora
Validates Markdown formatting and frontmatter against nearest repository config.
SkillAFreshness: AClaude Code +9 - 0.567score
docs-write
andresgongora
Manage durable `.agent/` docs: admit, place, update, prune, and validate notes, costly handoffs or bug logs, and plan metadata.
SkillAFreshness: AClaude Code +9 - 0.565score
agent-author
andresgongora
Workflow for creating, editing, or auditing agent-ecosystem artifacts: skills (SKILL.md), subagents and primary agents (agents/*.md), slash commands…
SkillAFreshness: AClaude Code +9 - 0.565score
minion-master
andresgongora
Prepare and dispatch the `minion-master` subagent for one frozen, bounded repository mission.
SkillAFreshness: AClaude Code +9 - 0.561score
planning
andresgongora
Plans non-trivial work interactively.
SkillAFreshness: AClaude Code +9 - 0.556score
tool-bash
andresgongora
Bash command-execution preflight.
SkillAFreshness: AClaude Code +9 - 0.526score
git
andresgongora
Guides safe Git state changes.
SkillBFreshness: BClaude Code +9 - 0.526score
docs
andresgongora
Discovers existing repository knowledge before exploration.
SkillBFreshness: BClaude Code +9 - 0.526score
file-tidy
andresgongora
Maintains file collections from metadata only.
SkillBFreshness: BClaude Code +9 - 0.521score
coding-unit-test
andresgongora
Guides unit-test work in any language.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/andresgongora/agent-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from andresgongora
- 0.570score
minion-delegation
andresgongora
Pick and drive bounded minion workers: locate code, edit, lint, review, cleanup, or execute a frozen multi-step mission.
SkillAFreshness: AClaude Code +9 - 0.570score
nixos
andresgongora
Ready-to-run NixOS commands: missing CLI tool, prebuilt binary failing with missing shared library or dynamic linker, package/option lookup, non-activating…
SkillAFreshness: AClaude Code +9 - 0.567score
artifact-markdown
andresgongora
Validates Markdown formatting and frontmatter against nearest repository config.
SkillAFreshness: AClaude Code +9 - 0.567score
docs-write
andresgongora
Manage durable `.agent/` docs: admit, place, update, prune, and validate notes, costly handoffs or bug logs, and plan metadata.
SkillAFreshness: AClaude Code +9 - 0.565score
agent-author
andresgongora
Workflow for creating, editing, or auditing agent-ecosystem artifacts: skills (SKILL.md), subagents and primary agents (agents/*.md), slash commands…
SkillAFreshness: AClaude Code +9 - 0.565score
minion-master
andresgongora
Prepare and dispatch the `minion-master` subagent for one frozen, bounded repository mission.
SkillAFreshness: AClaude Code +9
Cite this page
artifact-vestige-hunt skill. Agent Mart. https://agentmart.dev/skills/andresgongora-artifact-vestige-hunt (last updated 2026-10-24)