Skip to content
Back to skills

Progress Protocol

ASecurity

Use when launching any shell command or script expected to run longer than ~30 seconds (training, builds, downloads, data processing, test suites, migrations), or when writing such a script. The tqdm-claude mod shows live progress bars for background tasks; this explains how to make them informative and how to report how a task ended.

  • 7 stars
  • 0 votes
  • 1 copy
  • 1 view
  • Added October 19, 2026
ai-agentspythongoshellbash

Works with

  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add ExtReMLapin/tqdm-claude --skill progress-protocol --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Progress Protocol?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Progress Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/extremlapin-progress-protocol/badge)](https://www.skillsdirectory.com/skills/extremlapin-progress-protocol)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: progress-protocol
description: Use when launching any shell command or script expected to run longer than ~30 seconds (training, builds, downloads, data processing, test suites, migrations), or when writing such a script. The tqdm-claude mod shows live progress bars for background tasks; this explains how to make them informative and how to report how a task ended.
---

# Long-running commands with tqdm-claude

The person sees a live band above the prompt for every background Bash or
PowerShell task: a bar per task, read from its output file each second, plus a
red line when a task fails and a warning when it goes silent.

## Launching

1. Run it with `run_in_background: true` when it may take more than ~30 s.
2. Give the call a short `description`: it is the task's title in the band.
3. Make output unbuffered, or the band sees nothing until the end:
   `python -u`, `PYTHONUNBUFFERED=1`, `print(..., flush=True)`, `stdbuf -oL`.
4. Keep tqdm's output: it is parsed as is (nested bars included). Do not pass
   `disable=True` or redirect it to `/dev/null`.

## Writing a script

Print progress lines, one per update, two to ten a second at most:

```text
##progress step=3/7 label="Training" sub=1840/2400 sublabel="Epoch 3"
```

`sub=1840` with no total when unknown; `pct=45` for a bare percentage;
`ok=12 fail=2` to count outcomes (the bar turns red for the failed part);
`msg="..."` for a status; `done=ok` or `done=fail` when a process that keeps
running has finished its work. The full spec is `PROTOCOL.md` in the mod.

## Work in several steps

For your own work in several steps (not a script's), call the
`mcp__tqdm-claude__progress` tool when you start each step:
`step=2, total=5, label="Running the tests"`, then `done=true` at the end.
A subagent's step shows on its row in the tasks list; the main conversation's
in the band. Only at a new step: every call is a tool call.

## When it ends

You get a task notification with the exit code. Report it to the person in
one line, success or not. Never infer success from silence: a task with no
notification is still running or stuck, and the band says which.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.