octo-sentinel

octo-sentinel is a command for Claude Code from CES-Ltd/Lumi. It costs 16 tokens per session (1,465 once invoked), scanned A, original, MIT.

A GitHub work monitor that reviews issues, pull requests, and continuous-integration failures, then suggests what to do next. It can run a one-time scan or keep watching, including after a deployment.

In plain words
What is it for?
Use it to triage labeled issues, review-requested pull requests, and failed CI checks. You can also monitor a deployed URL for early problems.
Why use it?
It gives you a structured, prioritized view of repository work instead of requiring manual checks across GitHub. It recommends workflows but does not run them automatically.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is OCTOPUS_SENTINEL_ENABLED=true bash scripts/orchestrate.sh sentinel $ARGUMENTS.

Part of the octo plugin — 10 skills, 47 commands shipped together

Good fit Use it to triage labeled issues, review-requested pull requests, and failed CI checks. You can also monitor a deployed URL for early problems.

Compare 6 commands from other repositories ↓
View source ↗ CES-Ltd/Lumi
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/Lumi
agentmods
npx agentmods add commands/ces-ltd/lumi/octo-sentinel

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 10 skills, 47 commands.

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 octo-sentinel

README.md
[![agentmods](https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-sentinel/github.svg)](https://agentmods.dev/commands/ces-ltd/lumi/octo-sentinel)
Your own site
<a href="https://agentmods.dev/commands/ces-ltd/lumi/octo-sentinel"><img src="https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-sentinel/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 octo-sentinel

Your own site · 80×15
<a href="https://agentmods.dev/commands/ces-ltd/lumi/octo-sentinel"><img src="https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-sentinel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00016 $0.01465
Opus 5 $0.00008 $0.00732
Sonnet 5 $0.00003 $0.00293
Haiku 4.5 $0.00002 $0.00146

Measured 12d ago against content hash c226d3c15d3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

octo-sentinel scanned grade A with 1 finding 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 12d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Implementation:** Canary uses the Bash tool with `curl` for HTTP checks, and optionally the browser MCP (Playwright or Chrome DevTools) for screenshot comparison and console monitoring if available. Falls back to `curl
resources/seed/octopus/commands/octo-sentinel.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sentinel (/octo:sentinel)

MANDATORY COMPLIANCE — DO NOT SKIP

When the user invokes /octo:sentinel, you MUST execute the structured triage workflow below. You are PROHIBITED from:

  • Manually checking GitHub status without running the sentinel pipeline
  • Skipping the triage scan and just reading gh output directly
  • Deciding there's "nothing to triage" without actually running the checks
  • Substituting a quick gh pr list for the full sentinel workflow

The user chose /octo:sentinel for structured, prioritized triage — not a raw gh dump.


Your first output line MUST be: 🐙 Octopus Sentinel

GitHub-aware work monitor that triages issues, PRs, and CI failures. Sentinel observes and recommends workflows but never auto-executes them.

Usage

/octo:sentinel              # One-time triage scan
/octo:sentinel --watch       # Continuous monitoring
/octo:sentinel --canary      # Post-deploy canary monitoring
/octo:sentinel --canary URL  # Monitor specific URL after deploy

What Sentinel Monitors

Source Filter Recommended Action
Issues octopus label Classified via task type → workflow recommendation
PRs Review requested /octo:ink for code review
CI Runs Failed status /octo:debug for investigation
Deployments Post-deploy health Canary alerts → /octo:debug

Canary Mode (Post-Deploy Monitoring — Auto-Triggered)

Auto-trigger: Canary runs automatically when:

  • The /octo:deliver phase completes successfully (post-validation health check)
  • Sentinel --watch mode detects a new deployment via gh api (deployment event)
  • The user runs git push to a branch with an active Vercel/Netlify/Railway deployment

No manual --canary flag needed — sentinel detects deployments and starts monitoring.

When invoked explicitly with --canary, or auto-triggered, sentinel switches to post-deploy health monitoring:

  1. Detect deployment — reads the latest Vercel/GitHub deployment or uses the URL argument
  2. Baseline capture — screenshots + console output + performance timing from pre-deploy (or first run)
  3. Health checks (runs every 60s for 5 minutes, then every 5 minutes):
    • Page loads without errors (HTTP 200, no uncaught exceptions)
    • Console error detection (new errors not in baseline)
    • Core Web Vitals regression (LCP, CLS, FID compared to baseline)
    • Key UI elements render (checks for empty/broken layouts)
  4. Alert on anomalies — if any check fails, sentinel reports:
    🐙 Sentinel Canary Alert
    ⚠ [anomaly type]: [description]
    Baseline: [expected]  |  Current: [observed]
    Recommendation: /octo:debug "[anomaly description]"
    
  5. Results — written to .octo/sentinel/canary-<timestamp>.md

Read the full file on GitHub · 142 lines

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. 12d ago First seen · 142 lines · 16 tokens per session scan A c226d3c15d3b

Subscribe to this mod's changes

octo-sentinel is a command published in the GitHub repository CES-Ltd/Lumi (31 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 1,465 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.