AugmentClaude

Bernstein Alerts

Surface active alerts for failed tasks, stalled agents, and budget warnings.

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-alerts-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

Show active alerts from Bernstein - failed tasks, stalled agents, budget warnings, blocked tasks needing human intervention. Use when the user asks about problems, errors, warnings, or what needs attention.

What this skill does

Bernstein Alerts

Surface problems that need attention right now.

When to Use

  • User asks "any problems?" or "what needs my attention?"
  • User asks about errors, failures, or warnings
  • Something seems wrong and user wants a diagnostic
  • User says "is anything broken?"

Instructions

  1. Run scripts/alerts.sh to fetch current alerts.
  2. Categorize and present by severity:
## Alerts

### Critical
- Task TASK-042 FAILED: "TypeError in auth middleware" - agent ses-a1b2 (backend)
  → Fix: Review the error, create a follow-up task, or retry

### Warning
- Budget at 85% ($4.25 / $5.00) - consider increasing budget or pausing low-priority tasks
- Agent ses-e5f6 stalled for 3m 20s - consider killing it with /bernstein-agents

### Info
- 2 tasks blocked, waiting for human approval - use /bernstein-approve to review
  1. For each alert, suggest a concrete action:
    • Failed task → offer to create a retry task or inspect the error
    • Stalled agent → offer to kill it
    • Budget warning → show cost breakdown
    • Blocked task → link to approval flow

Related skills