queue
Run long commands in the background without tool timeouts. Use for anything that may run longer than 10 seconds (builds, test suites, deploys)
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- queue
- description
- Run long commands in the background without tool timeouts. Use for anything that may run longer than 10 seconds (builds, test suites, deploys)
03 SKILL.md 正文
The command is read from stdin:
queue run <<'EOF'
nix build .#package --no-link -L
EOF
task=<id> is printed first.
Output streams until the command finishes and the exit code is the command's exit code.
Queues detach after ~100s queue with exit code 75.
The task keeps running.
queue wait <id> # re-attach; replays output from the start
queue wait # barrier: wait for all my tasks
queue log <id> # full output so far + status, works while running
queue status [--all] # my tasks (--all: everyone's); --json for scripts
queue ps <id> # pid, RSS, CPU of the task's process tree
queue restart <id> # rerun a failed task without retyping the command
queue kill <id>
queue run [--after ID] [--tail-ok N] [-C DIR]
# dependency; tail output on success; working dir
Rules:
- Exit code 75 always means a detached build.
- Never pipe the queued command through head/tail. Use
queue logor--tail-okinstead, otherwise output is lost forever.
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.