mcpField
H
html-skills-stop

html-skills-stop

github.com/f-labs-ioAgent workflows67215 installsUpdated 3w ago
Repository

About html-skills-stop

html-skills-stop is a skill for shutting down the session-specific receiver started by html-skills-listen. It runs the teardown script, removes temporary files, and stops the saved Monitor task when present.

Key features

  1. 01Runs the session teardown script
  2. 02Stops the session receiver
  3. 03Removes temporary files
  4. 04Stops the saved Monitor task when present
  5. 05Reports the resulting server status

Use cases

  1. 01Shutting down a receiver after an HTML skills session
  2. 02Cleaning temporary files after use
  3. 03Stopping a Monitor task saved by html-skills-listen

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/f-labs-io/agent-html-skills --skill html-skills-stop

After installing, type/html-skills-stopin Claude Code to confirm it loaded.

Bundled filesscripts/stop.sh

Details

From the project README

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 "${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.

Comments

Markdown supported