with one click
ln-015-hex-line-uninstaller
// Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style.
// Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | ln-015-hex-line-uninstaller |
| description | Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style. |
| license | MIT |
| model | claude-haiku-4-5 |
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 references/coordinator_summary_contract.md, references/environment_worker_runtime_contract.md, and 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:
references/coordinator_summary_contract.mdreferences/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