Stop Preview
Apps & Automationstop-previewStop 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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:
- Find any running Docker containers with the training-mkdocs image
- Stop the container(s)
- Confirm the server has been stopped
If no preview server is running, you'll be notified.
Use the following steps:
- Run
docker ps --filter "ancestor=ghcr.io/nextflow-io/training-mkdocs:latest" --format "{{.ID}}"to find running containers - If any container IDs are found, stop them with
docker stop <container_id> - Confirm they have been stopped