Alpha

sentinelryanwaits/sentinel

Monitoring for Stacks contracts

Problem
Most Stacks losses start with a stolen key, a rogue admin, or a bad proposal. The team hears last.
Read
Paste a contract. Sentinel reads its code and returns what is watchable, free, in seconds.
Watch
A watch is one line, backtested on the last 90 days as you add it.
Agent
Your agent sets it up over MCP, the CLI, or the SDK. Copy one setup prompt into Claude Code, Codex, or Cursor.
Alert
Email, Slack, or a signed webhook once the block lands. Block-to-alert latency is public.
Read only
Never signs, never acts onchain. An alert is a correlation; a person decides.
The Problem

The Team Hears Last

Most losses on Stacks start with a stolen key, a rogue admin, or a malicious proposal, not a clever bug. An audit is a snapshot; the contract stays live for years after. A generic chain alert doesn't know your contract, so it fires on noise and gets muted.

Start Here

It Reads Your Code First

Paste a contract id. Sentinel reads the code (which functions move value, who can call them, which powers someone holds by design) and returns the menu of what is watchable. Free, seconds, no sign-in. It is not a safety verdict: an empty menu never means safe.

Terminal
sentinel show SP….example-vault
Describe It

A Watch Is One Line

A trigger and a contract: a call, a transfer, a mint, a state read. Each line is backtested against the last 90 days as it is added, so you see what it would have caught. Or say it in a sentence and Sentinel shows the line it reads as. sBTC and PoX-5 are watched as a whole, no contract needed.

Terminal
sentinel when transfer example-vault sBTC --out --over 2 --within 1d
sentinel when call example-vault set-paused --to slack:#oncall
sentinel when state example-vault get-total-assets --drops 20% --within 1h
sentinel when sbtc stall --gap 5 --open 40 --to slack:#peg
sentinel describe "alert if more than 5 sBTC leaves example-vault"
Your Agent Sets It Up

One Prompt

Pick a contract and what to watch on runsentinel.app, copy the setup prompt, and paste it into Claude Code, Codex, or Cursor. The CLI, the hosted MCP server, and the SDK are the same verbs, so the agent can do the whole setup without a dashboard.

Terminal
claude mcp add --transport http sentinel https://api.runsentinel.app/mcp
npx skills add https://runsentinel.app
Optional

Checks Cite the Code

Add a question to a watch and a model answers it on each event. It alerts only on a yes whose reasons cite the code; a yes with no reason that checks out still alerts, but without the model's words, and isn't charged. Checks bill per run, with a cap you set per watch.

Terminal
sentinel when call example-dao execute --check "Does it move treasury funds?"

The Alert

After the Block Lands

An alert reaches email, Slack, or a signed webhook once the block holding the event is made. It says what happened and what to check first. How long that takes is measured, not promised: block-to-alert p50 and p95 are public at /v1/status.

Terminal
sentinel destinations add slack '#oncall' --default
sentinel destinations add webhook https://example.com/hook --label ops
sentinel test-alert example-vault --yes
●Read only. Sentinel never signs, never sends a transaction, and never acts onchain. A person decides.
Get Started

Agent, CLI, or SDK

Free to set up. A live mainnet contract counts toward your tier; events are counted, never billed. Built on secondlayer's Index, Subgraphs, Streams, and webhooks.

Terminal
claude mcp add --transport http sentinel https://api.runsentinel.app/mcp # agent
npm i -g @secondlayer/sentinel && sentinel login # CLI
npm i @secondlayer/sentinel # SDK