agent-manager
БесплатноЗапускает вложенные скриптыНе проверенtmux + Python agent lifecycle manager — start, stop, monitor, and assign tasks to AI agents running in tmux sessions. Use when managing multiple AI agents…
от akillness★ 63 звезды на GitHubОб этом скилле
Agent Manager
Simple, installation-agnostic AI agent lifecycle management using tmux + Python. Manage multiple AI agents without running a server, wiring HTTP APIs, or pulling in heavy dependencies.
When to use this skill
- Starting/stopping/monitoring AI agents in tmux sessions
- Scheduling agent tasks via cron (daily standups, code reviews, nightly tests)
- Sending heartbeat check-ins to running agents
- Assigning tasks to agents from files or stdin
- Managing agents defined in
agents/EMP_*.mdYAML frontmatter files
Instructions
Step 1: Confirm that agent-manager is the right surface
- Use
agent-managerwhen the user wants lightweight local agent orchestration withtmuxand Python instead of a hosted control plane. - Keep the answer centered on lifecycle management: start, stop, status, monitoring, task assignment, schedules, and heartbeats.
- If the request is only about one in-process subagent run with no persistent sessions, route to the native orchestration surface instead of stretching
agent-manager.
Step 2: Install or verify before changing live sessions
- Start with
scripts/install.shandscripts/setup.shwhen the environment is new or unclear. - Recommend
$CLI doctorbefore the first real run, after moving the repo, or before enabling schedules and heartbeats. - Use
schedule sync --dry-runandheartbeat sync --dry-runbefore applying live schedule updates.
Step 3: Model agents through markdown frontmatter
- Keep each agent in
agents/EMP_*.mdwith explicitworking_directory,launcher,skills, and optionalschedulesorheartbeat. - Use
enabled: falseto park an agent safely without deleting the config. - Prefer a stable
nameand a narrow responsibility per agent so session ownership stays clear.
Step 4: Operate with explicit runtime evidence
- Use
$CLI list,$CLI status, and$CLI monitorto inspect the current state before sending new work. - After
start,assign, or schedule changes, verify with$CLI status NAMEor$CLI monitor NAME --follow. - Prefer
--task-filefor long assignments so the task stays readable and auditable.
Quick Start
# Install
bash scripts/install.sh
# Setup in your project
bash scripts/setup.sh
# Define CLI alias (point to your installed agent-manager main.py entrypoint)
CLI="python3 /path/to/agent-manager/scripts/main.py"
# Use
$CLI list
$CLI start EMP_0001
$CLI status EMP_0001
$CLI monitor EMP_0001 --follow
$CLI stop EMP_0001
Core Concepts
Agent Configuration
Agents are defined as agents/EMP_*.md files with YAML frontmatter:
---
name: dev
description: Dev Agent
working_directory: ${REPO_ROOT}
launcher: claude
launcher_args:
- --dangerously-skip-permissions
skills:
- review-pr
schedules:
- name: daily-standup
cron: "0 9 * * 1-5"
task: |
Review GitHub issues, prioritize today's work
max_runtime: 30m
heartbeat:
cron: "*/30 * * * *"
max_runtime: 5m
session_mode: auto
---
# DEV AGENT
## Role
You are the Dev Agent...
Key fields: name, description, enabled (default: true), working_directory (supports ${REPO_ROOT}), launcher, launcher_args, launcher_config, skills, schedules, heartbeat, tmux
Launcher Types
# Full path (Claude Code)
launcher: ${REPO_ROOT}/path/to/launcher
launcher_args: ["--dangerously-skip-permissions"]
# Provider name (Codex CLI)
launcher: codex
launcher_args: [--model=gpt-4.7]
launcher_config:
model_instructions_file: ${REPO_ROOT}/agents/prompt.md
Commands
$CLI list # All agents (running/stopped/disabled)
$CLI list --running # Only running agents
$CLI start dev # Start agent in tmux session agent-dev
$CLI start dev --working-dir /path # Override working dir
$CLI stop dev # Kill agent tmux session
$CLI status dev # Runtime snapshot + last heartbeat
$CLI monitor dev # Last 100 lines of output
$CLI monitor dev -n 500 # Last 500 lines
$CLI monitor dev --follow # Live tail (Ctrl+C to stop)
$CLI send dev "message" # Send message (auto-submits)
$CLI send dev --no-enter "draft" # Type without submitting
$CLI assign dev <<EOF # Assign task from stdin
Task: Fix login bug
1. Reproduce, 2. Fix, 3. Test
EOF
$CLI assign dev --task-file task.md # Assign from file
$CLI doctor # Sanity check setup
Scheduling
schedules:
- name: daily-standup
cron: "0 9 * * 1-5"
task: |
Review issues and prioritize work
max_runtime: 30m
enabled: true
$CLI schedule list # Show all scheduled jobs
$CLI schedule sync # Apply configured schedule entries (preview with --dry-run first)
$CLI schedule sync --dry-run # Preview changes
$CLI schedule run dev --job daily-standup # Manual trigger
Heartbeat
Each agent can have one heartbeat for periodic check-ins:
heartbeat:
cro
Установить agent-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditВложенные файлы
FAQ
Что делает скилл agent-manager?
tmux + Python agent lifecycle manager — start, stop, monitor, and assign tasks to AI agents running in tmux sessions. Use when managing multiple AI agents without a server, scheduling agent jobs via cron, monitoring agent heartbeats, or injecting skills into agent sessions. Zero dependencies beyond tmux + Python. Triggers on: "start agent", "stop agent", "monitor agent", "assign task to agent", "agent lifecycle", "agent scheduling", "tmux agent", "manage agents", "agent-manager".
Как установить скилл agent-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-manager запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic