nvlabs/skill2env/agent-manager-skill
Claude Code and agent skill by nvlabs/skill2env
- community
Checking that the SKILL.md file is still in the repository.
Employee agent lifecycle management system. Use when working with agents/ directory employee agents - starting, stopping, monitoring, or assigning tasks to Dev/QA agents running in tmux sessions. Completely independent of CAO, uses only tmux + Python.
Install
npx vskill@latest install nvlabs/skill2env/agent-manager-skillSKILL.md
The same SKILL.md was published earlier as nvlabs/skill2env/agent-manager-skill.
Agent Manager
Employee agent orchestration system for managing AI agents in tmux sessions. A simple, dependency-light alternative to CAO.
Quick Start
Command Path Parity (Docs Baseline)
For consistency with README.md and runbook examples, define one CLI alias and reuse it in your session:
Core Concepts
Agent Configuration
Agents are defined in agents/EMP_*.md files with YAML frontmatter:
Fields:
name: Agent identifier (dev, qa)description: Agent descriptionenabled: Whether agent can be started (default:true, setfalseto disable)working_directory: Default working directory (supports${REPO_ROOT})launcher: Full path OR provider namelauncher_args: Arguments for launcherlauncher_config: Optional launcher/provider-specific startup configskills: Array of skill names from.agent/skills/(optional, injected at start)schedules: Array of scheduled jobs (optional, see Scheduling section)tmux: Optional tmux layout metadata (layout + target pane)
Tmux Sessions
Each agent runs in a dedicated tmux session (agent-{name}):
- Easy monitoring:
tmux capture-pane -t agent-dev - Direct interaction:
tmux attach -t agent-dev - Clean separation: No process pollution
Optional: Tmux Layouts
You can auto-create a tmux layout and launch the agent in a specific pane:
Notes:
split:h(left/right) orv(top/bottom).horizontal/verticalalso work.target_pane: dot-separated path of0/1indexes into the layout tree.
0 = left/top, 1 = right/bottom. "1.1" means right -> bottom.
- If
tmux.layoutis set,tmux.target_paneis required.
Launcher Types
Full path: Local Claude Code launcher
Provider name: CAO provider (optional integration)
Provider name: OpenAI Codex CLI
launcher_config is the generic escape hatch for launcher/provider-specific startup config. Each CLI provider adapts this flat mapping into its own startup flags (for Codex, each entry becomes -c key=value).
Reserved main agents default to the bundled skill prompt at agent-manager/.codex/main-codex-model.md when launcher: codex is used and no explicit launcher_config.model_instructions_file override is provided in the workspace agent config.
Note: For scheduled jobs, agent-manager will best-effort auto-dismiss Codex's first-run/upgrade model selection prompt to keep cron runs non-interactive.
Commands
All examples below assume you already defined $CLI in Command Path Parity (Docs Baseline).
list - List All Agents
Show all configured agents and their status.
Output:
start - Start an Agent
Start an agent in a tmux session.
- Rejects if already running (one agent, one terminal)
- Rejects if agent is disabled (
enabled: falsein config) - Loads skills and injects as system prompt
- Session named
agent-{name}
stop - Stop a Running Agent
Stop (kill) an agent's tmux session.
status - Show Agent Status
Show one agent's runtime snapshot, including running state, runtime state, and the most recent heartbeat marker/event.
monitor - Monitor Agent Output
View agent output from tmux session.
send - Send Message to Agent
Send a message/command to a running agent.
By default, send submits the message immediately (Enter is sent automatically). Use --no-enter to type without submitting.
assign - Assign Task to Agent
Assign a task to an agent (starts if not running).
assign submits automatically (Enter is sent by default), so no manual tmux Enter step is required.
Disabling Agents
Agents can be temporarily disabled to prevent them from being started (useful for maintenance, testing, or decommissioning).
Disable an Agent
Add enabled: false to the agent's YAML frontmatter:
Behavior
When an agent is disabled:
- ⛔
listcommand shows "Disabled" status - ⚠️
startcommand is rejected with error message schedule syncskips all schedules for the disabled agent- Running sessions are NOT automatically stopped (manual stop required)
To re-enable: Set enabled: true or remove the field (defaults to true)
Use Cases
- Maintenance: Temporarily disable an agent while updating its configuration
- Testing: Prevent a scheduled agent from running during testing
- Decommissioning: Mark an agent as obsolete before removing its file
Scheduling
Agents can be configured to run automatically on a schedule using cron expressions.
Schedule Configuration
Add a schedules array to the agent's YAML frontmatter:
Schedule Fields:
| Field | Type | Required | Description | |
|---|---|---|---|---|
name | string | ✓ | Unique job identifier | |
cron | string | ✓ | Cron expression (e.g., 0 9 * * 1-5) | |
task | string | △ | Inline task description | |
task_file | string | △ | Path to task file (supports ${REPO_ROOT}) | |
max_runtime | string | Maximum runtime (e.g., 30m, 2h, 8h) | ||
enabled | bool | Default: true |
Note: Eithertaskortask_filemust be provided.
Schedule Commands
schedule list - List All Scheduled Jobs
Output:
schedule sync - Sync Schedules to Crontab
Synchronize all agent schedules to the system crontab.
This generates crontab entries like:
schedule run - Run a Scheduled Job Manually
Manually trigger a scheduled job (useful for testing).
Heartbeat
Heartbeat is a special type of periodic job that sends a standard check-in message to running agents. Unlike schedules (which can have multiple jobs per agent), each agent can have 0 or 1 heartbeat configuration.
Heartbeat Configuration
Add a heartbeat dict to the agent's YAML frontmatter:
Heartbeat Fields:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSkillHub/skills/agent-manager-skill/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nvlabs/skill2env/agent-manager-skill)