skills-catalog/ln-015-hex-line-uninstaller/SKILL.md
Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style.
npx skillsauth add levnikolaevich/claude-code-skills ln-015-hex-line-uninstallerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths are relative to skills repo root. Locate this SKILL.md directory and go up one level for repo root.
Type: L3 Worker Category: 0XX Shared
Removes Claude-side hex-line integration surfaces. This worker is standalone-capable but also supports managed ln-010 family transport.
MANDATORY READ: Load shared/references/coordinator_summary_contract.md, shared/references/environment_worker_runtime_contract.md, and shared/references/worker_runtime_contract.md
This worker cleans Claude-side state directly from config files and CLI state. Missing MCP connectivity is not a blocker; continue with local cleanup and verification wherever possible.
| Direction | Content |
|-----------|---------|
| Input | optional dry_run, optional runId, optional summaryArtifactPath |
| Output | Structured summary envelope with summary_kind = env-cleanup, payload.status = completed / skipped / error, plus cleanup outcomes in changes / detail |
Transport inputs:
runId and summaryArtifactPathrunId and summaryArtifactPathRuntime family: environment-worker-runtime
Phase profile:
PHASE_0_CONFIGPHASE_1_RESOLVE_CLAUDE_STATEPHASE_2_REMOVE_HEXLINE_REGISTRATIONPHASE_3_REMOVE_HEXLINE_ARTIFACTSPHASE_4_VERIFY_CLEANUPPHASE_5_WRITE_SUMMARYPHASE_6_SELF_CHECKRuntime rules:
summary_kind=env-cleanuprun_id and write the default worker-family artifact pathrunId and summaryArtifactPath and must write the summary to the exact provided pathAlways build a structured env-cleanup summary envelope per:
shared/references/coordinator_summary_contract.mdshared/references/environment_worker_runtime_contract.mdPayload fields:
mcp_removedpermissions_cleanedhooks_removedoutput_style_removedverificationstatus| Surface | Location | Action |
|---------|----------|--------|
| MCP registration | claude mcp list / user scope | Remove hex-line registration via claude mcp remove -s user hex-line when present |
| Permission entries | ~/.claude/settings.json and ~/.claude/settings.local.json | Remove permissions.allow entries that target mcp__hex-line__* |
| Hook entries | ~/.claude/settings.json and ~/.claude/settings.local.json | Remove hook entries matching the current hex-line hook signature |
| Output style file | ~/.claude/output-styles/hex-line.md | Delete file |
| Output style setting | ~/.claude/settings.json and ~/.claude/settings.local.json | Clear only if value is "hex-line" |
| Hook directory | ~/.claude/hex-line/ | Delete only if empty after artifact cleanup |
~/.claude/settings.json if present~/.claude/settings.local.json if presenthex-line MCP registration in user scopepermissions.allow entries for mcp__hex-line__*outputStyle = "hex-line"hex-line registration exists, run:claude mcp remove -s user hex-line
already removedpermissions.allow entries for mcp__hex-line__*hooks only when emptyoutputStyle only when it is exactly "hex-line"~/.claude/output-styles/hex-line.md if present~/.claude/hex-line/hook.mjs if present~/.claude/hex-line/ only when it is empty after file removalRules:
Confirm:
hex-line MCP registration remainspermissions.allow entry targets mcp__hex-line__*outputStyle is not "hex-line"~/.claude/output-styles/hex-line.md does not exist~/.claude/hex-line/hook.mjs does not existhex-line MCP registration removed or confirmed absentpermissions.allow no longer contains mcp__hex-line__*outputStyle: "hex-line" cleared where ownedVersion: 1.0.0 Last Updated: 2026-03-27
testing
Audits architecture config boundaries: typed settings, scattered env reads, config leakage, and layer ownership. Use for config architecture.
tools
Finds architecture-level modernization opportunities: obsolete custom mechanisms, overbuilt extension points, and simplifiable architecture. Use when auditing architecture evolution.
development
Builds dependency topology, detects cycles, validates import rules, and calculates coupling metrics. Use when auditing architecture topology.
testing
Checks layer, resource ownership, and orchestration boundaries. Use when auditing architecture boundary enforcement.