Skip to content
Back to skills

Bernstein Agents

ASecurity

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.

  • 1,332 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aifrontendbackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add sipyourdrink-ltd/bernstein --skill bernstein-agents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bernstein Agents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bernstein Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sipyourdrink-ltd-bernstein-agents/badge)](https://www.skillsdirectory.com/skills/sipyourdrink-ltd-bernstein-agents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bernstein-agents
description: >
  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.
---

# 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

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

### Kill agent

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

### Stall detection

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

Files in this skill

  • SKILL.md1.6 KB
  • scripts/agents.sh1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.