bernstein-agents

bernstein-agents is a skill for Cursor from sipyourdrink-ltd/bernstein. It costs 49 tokens per session (450 once invoked), scanned A, original, Apache-2.0.

A set of tools for managing Bernstein's running coding agents.

In plain words
What is it for?
Use it to list active agents, inspect their recent output, stream logs, or stop an agent and return its task to the queue.
Why use it?
It helps you see what agents are doing and deal with agents that are stalled or misbehaving.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: positional $N argument.

Part of the bernstein plugin — 8 skills shipped together

Good fit Use it to list active agents, inspect their recent output, stream logs, or stop an agent and return its task to the queue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sipyourdrink-ltd/bernstein/bernstein-agents
About the project

Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.

sipyourdrink-ltd/bernstein · 1,384 stars · on GitHub · bernstein.run

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sipyourdrink-ltd/bernstein --skill bernstein-agents
Clone the repo
git clone --depth 1 https://github.com/sipyourdrink-ltd/bernstein

Made for: Cursor.

Or install bernstein, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bernstein-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-agents/github.svg)](https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-agents)
Your own site
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-agents"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bernstein-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-agents"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00450
Opus 5.5 $0.00020 $0.00180
Sonnet 5.5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 1mo ago against content hash d3607e5ccf6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bernstein-agents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agents.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/cursor-plugin/skills/bernstein-agents/SKILL.md · 52 lines

What it actually says

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.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 52 lines · 49 tokens per session scan A d3607e5ccf6b

Subscribe to this mod's changes

bernstein-agents is a skill published in the GitHub repository sipyourdrink-ltd/bernstein (1,384 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 450 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ara-research-manager

Records research provenance as a post-task epilogue, scanning conversation history at the end of a coding or research session to extract decisions, experiments, dead ends, claims, heuristics, and pivots, and writing them into the ara/ directory with user-vs-AI provenance tags. Use as a session epilogue — never during…

Orchestra-Research/AI-Research-SKILLs · 91 tokens

review-task

Task status / backlog progress report; identifies tasks ready to start. Triggers: "revisar tarefas", "status das tarefas", "progresso do projeto", "review tasks". Skip for executing (execute-task) or creating tasks (create-tasks).

JotJunior/cstk · 56 tokens

create-tasks

Decompose scope or spec into task backlog with phases, dependencies, criticality. Triggers: "criar tarefas", "backlog", "task list", "decomposicao". Skip for executing tasks (use execute-task) or technical plan (use plan).

JotJunior/cstk · 58 tokens

execute-task

Execute one backlog task end-to-end following the project mandatory step-by-step workflow with hard gates. Triggers: "executar tarefa", "execute task {id}", "implementar tarefa". Skip for building the backlog (create-tasks), technical planning (plan), or bug investigation (bugfix).

JotJunior/cstk · 63 tokens

jira-convert

Converte uma feature documentada localmente (spec.md + tasks.md) num Epic do Jira com Tasks e Sub-tasks correspondentes, gravando o mapeamento entre local e Jira (jira-map.tsv). Reexecucao cria apenas o que falta. Triggers: "jira-convert", "converter para jira", "criar epic no jira", "sincronizar backlog com jira"…

JotJunior/cstk · 127 tokens

jira-setup

Guided setup of the cstk-jira plugin for a target project: Jira site, project key, credential (own terminal, never chat), issue-type mapping (Epic/Task/Sub-task) and status workflow mapping (pending/inprogress/pass/fail), plus filter+board. Triggers: "jira-setup", "configurar jira", "conectar projeto ao jira", "setup…

JotJunior/cstk · 121 tokens