OpenParable
Skip to content
← Back to skills

Stop Preview

Apps & Automation
stop-preview

Stop Preview is an Agent Skill for apps & automation published in the nextflow-io/training repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Stop a running MkDocs preview server. Use when port 8000 is busy, switching tasks, or done editing documentation.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nextflow-io/training/blob/HEAD/.claude/skills/stop-preview/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stop-preview, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Stop the MkDocs preview server that is running in the background.

See ../shared/repo-conventions.md for directory structure.

This will:

  1. Find any running Docker containers with the training-mkdocs image
  2. Stop the container(s)
  3. Confirm the server has been stopped

If no preview server is running, you'll be notified.

Use the following steps:

  1. Run docker ps --filter "ancestor=ghcr.io/nextflow-io/training-mkdocs:latest" --format "{{.ID}}" to find running containers
  2. If any container IDs are found, stop them with docker stop <container_id>
  3. Confirm they have been stopped