Back to list
kamushadenes

parallel-processing

by kamushadenes

My Nix (nix-darwin, NixOS, home-manager) configuration

0🍴 0📅 Jan 22, 2026

SKILL.md


name: parallel-processing description: Run multiple tasks in parallel using tmux windows triggers: background tasks, parallel execution, concurrent work, multi-task, batch processing, async operations, running multiple commands

Parallel Processing

Use tmux for background tasks and parallel work.

For simple parallel commands, launch multiple tmux-runner subagents in parallel:

# Launch all three in parallel (single message with multiple Task calls)
Task(subagent_type="tmux-runner", description="Run tests",
     prompt="Run 'npm test' and return results", model="haiku")
Task(subagent_type="tmux-runner", description="Run lint",
     prompt="Run 'npm run lint' and return results", model="haiku")
Task(subagent_type="tmux-runner", description="Run build",
     prompt="Run 'npm run build' and return results", model="haiku")

This saves context in the main conversation - you only see the results, not all the intermediate tmux operations.

Pattern: Background Task (Direct)

For long-running servers you need to monitor:

# Start background task
window_id = tmux_new_window(command="npm run dev", name="dev-server")

# Continue working...

# Check later
output = tmux_capture(target=window_id, lines=50)

# Clean up
tmux_kill(target=window_id)

Pattern: With Notification

window_id = tmux_new_window(command="npm run build", name="build")
status = tmux_wait_idle(target=window_id, timeout=300)
notify(title="Build Complete", message=f"Status: {status}")

Pattern: Multiple Parallel (Direct)

When you need to manage windows yourself:

test_win = tmux_new_window(command="npm test", name="tests")
lint_win = tmux_new_window(command="npm run lint", name="lint")
build_win = tmux_new_window(command="npm run build", name="build")

for w in [test_win, lint_win, build_win]:
    tmux_wait_idle(target=w, timeout=120)

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon