ln-015-hex-line-uninstaller
Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style.
- License 许可
- MIT
- 最近更新
- 2026-06-15
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- ln-015-hex-line-uninstaller
- model
- claude-haiku-4-5
- license
- MIT
- description
- Use when removing Claude-side hex-line integration surfaces such as MCP registration, permissions, hooks, and output style.
02 资源文件 7
- 参考文档references/audit_scoring.md1.1 KB
- 参考文档references/audit_summary_contract.md2.2 KB
- 参考文档references/audit_worker_core_contract.md1.8 KB
- 参考文档references/coordinator_summary_contract.md1009 B
- 参考文档references/environment_worker_runtime_contract.md1.6 KB
- 参考文档references/templates/audit_worker_report_template.md1.6 KB
- 参考文档references/worker_runtime_contract.md1.7 KB
03 SKILL.md 正文
Paths: File paths are relative to skills repo root. Locate this SKILL.md directory and go up one level for repo root.
Hex-Line Uninstaller
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.
Input / Output
| 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:
- standalone: omit
runIdandsummaryArtifactPath - managed: pass both
runIdandsummaryArtifactPath
Runtime
Runtime 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_CHECK
Runtime rules:
- emit
summary_kind=env-cleanup - standalone runs generate their own
run_idand write the default worker-family artifact path - managed runs require both
runIdandsummaryArtifactPathand must write the summary to the exact provided path - always write the validated summary artifact before terminal outcome
Output Contract
Always build a structured env-cleanup summary envelope per:
references/coordinator_summary_contract.mdreferences/environment_worker_runtime_contract.md
Payload fields:
mcp_removedpermissions_cleanedhooks_removedoutput_style_removedverificationstatus
What It Removes
| 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 |
Workflow
Phase 1: Resolve Claude State
- Read
~/.claude/settings.jsonif present - Read
~/.claude/settings.local.jsonif present - Detect:
hex-lineMCP registration in user scopepermissions.allowentries formcp__hex-line__*- hook entries whose command points to the installed hex-line hook
outputStyle = "hex-line"- installed style file and hook directory
- Record exactly which owned surfaces exist before mutating anything
Phase 2: Remove Hex-Line Registration
- If user-scope
hex-lineregistration exists, run:
claude mcp remove -s user hex-line
- If registration is already absent, report
already removed - Do not uninstall the npm package here. This worker owns Claude-side integration surfaces only
Phase 3: Remove Hex-Line Artifacts
- Update Claude settings surfaces:
- remove
permissions.allowentries formcp__hex-line__* - remove hook entries whose command contains the active hex-line hook path
- remove empty hook event arrays and remove
hooksonly when empty - clear
outputStyleonly when it is exactly"hex-line"
- remove
- Delete
~/.claude/output-styles/hex-line.mdif present - Delete
~/.claude/hex-line/hook.mjsif present - Delete
~/.claude/hex-line/only when it is empty after file removal
Rules:
- preserve all non-hex-line settings
- never claim cache cleanup unless a concrete cache deletion step exists
- do not touch unrelated MCP registrations or permission entries
Phase 4: Verify Cleanup
Confirm:
- no user-scope
hex-lineMCP registration remains - no
permissions.allowentry targetsmcp__hex-line__* - no hex-line hook entry remains in managed Claude settings files
outputStyleis not"hex-line"~/.claude/output-styles/hex-line.mddoes not exist~/.claude/hex-line/hook.mjsdoes not exist
Notes
- This worker removes Claude-side hex-line integration only
- It does not remove the npm package itself
- It is safe to run multiple times
Definition of Done
- [ ] Claude user-scope
hex-lineMCP registration removed or confirmed absent - [ ]
permissions.allowno longer containsmcp__hex-line__* - [ ] No hex-line hook entries remain in managed Claude settings files
- [ ]
outputStyle: "hex-line"cleared where owned - [ ] Installed style and hook artifacts removed
- [ ] Structured summary returned
- [ ] Summary artifact written to the managed or standalone runtime path
Version: 1.0.0 Last Updated: 2026-03-27
04 同仓库更多 Skills
solana-dev
Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to devnet", or "explain Solana concepts" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor/Pinocchio programs, Codama client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana/client + @solana/react-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana/kit for client/RPC code, and @solana/web3-compat for legacy boundaries.
generating-trading-signals
Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".
prediction-monitor
Prediction Monitor - Auto-activating skill for ML Deployment. Triggers on: prediction monitor, prediction monitor Part of the ML Deployment skill category.
strategy-advisor
High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.
app-paywall-pilot
Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans/prices/trials, review RevenueCat/Adapty/Apphud/Superwall setup, calculate LTV/ROAS, or build paywall implementation.
figma
Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.