# HTML Skills Stop

> Tears down server mode for html-skills for THIS Claude Code session — kills the receiver, stops the `Monitor` armed by `html-skills-listen`, and cleans up its temp files. Parallel sessions are unaffected. Invoke when the user is done with html-skills artifacts ("I'm done with html-skills", "stop the listener", "end html-skills session"), OR at session end if the user mentions cleanup. Safe to invoke when nothing is active — it reports inactive and exits.

- Skill: `f-labs-io/html-skills-stop` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add f-labs-io/html-skills-stop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/f-labs-io/html-skills-stop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- License: MIT
- Author: f-labs-io (https://skillmd.com/u/f-labs-io)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/f-labs-io/html-skills-stop

---


# html-skills-stop — tear down server mode

Pairs with `html-skills-listen`. Runs a bundled script that kills this session's receiver and removes its temp files, then stops the `Monitor` task whose id `html-skills-listen` saved.

## Steps

1. **Run the teardown script** with this session's id:

   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/skills/html-skills-stop/scripts/stop.sh" "${CLAUDE_SESSION_ID}"
   ```

   Output: `KEY=VALUE` lines. Always: `SID`, `STATUS`. When a Monitor was armed by `html-skills-listen` and saved, also: `MONITOR_ID`.

2. **If `MONITOR_ID` is printed, stop the Monitor task:**

   Call `TaskStop(task_id: "<MONITOR_ID>")`. If it fails because the task is already gone, that's fine — continue.

3. **Branch on `STATUS`:**

   - **`STATUS=WEB`** — Tell the user: `✓ html-skills server was inactive (web mode).`
   - **`STATUS=INACTIVE`** — Tell the user: `✓ html-skills server was already inactive — nothing to stop.`
   - **`STATUS=STOPPED`** — Tell the user: `✓ html-skills server stopped for this session.`

