AugmentClaude

Bernstein Agent Manager

List, monitor, inspect, and control active Bernstein agents in real-time.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/bernstein-agents-sipyourdrink-ltd/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Manage Bernstein agents - list active agents, inspect their output, kill stalled agents, or stream live logs. Use when the user asks about agents, wants to see what an agent is doing, or needs to kill one.

What this skill does

Bernstein Agent Management

Inspect, monitor, and control active Bernstein agents.

When to Use

  • User asks "what agents are running?" or "show me the agents"
  • User wants to see what a specific agent is working on
  • User says "kill that agent" or "stop the backend agent"
  • User asks "why is that agent stuck?" or wants to inspect agent output
  • User wants to see agent logs

Instructions

List agents

  1. Run scripts/agents.sh list to get all active agents.
  2. Present them clearly:
## Active Agents (3)

| Agent | Role | Model | Status | Task | Runtime | Cost |
|-------|------|-------|--------|------|---------|------|
| ses-a1b2 | backend | claude-sonnet-4 | alive | TASK-042: Fix auth | 4m 12s | $0.32 |
| ses-c3d4 | qa | gpt-4.1 | alive | TASK-043: Write tests | 2m 45s | $0.18 |
| ses-e5f6 | frontend | claude-sonnet-4 | stalled | TASK-044: Update UI | 8m 03s | $0.51 |

Inspect agent

  1. To see what an agent is doing: scripts/agents.sh logs <session_id>
  2. Show the last ~20 lines of output.

Kill agent

  1. To kill a stalled or misbehaving agent: scripts/agents.sh kill <session_id>
  2. Confirm: "Agent ses-e5f6 terminated. Task TASK-044 returned to open queue."

Stall detection

  1. If any agent shows stalled status, proactively suggest killing it.
  2. An agent is stalled if it hasn't sent a heartbeat in >60 seconds.

Related skills