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 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.
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.
sentinel show SP….example-vault
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.
sentinel when transfer example-vault sBTC --out --over 2 --within 1dsentinel when call example-vault set-paused --to slack:#oncallsentinel when state example-vault get-total-assets --drops 20% --within 1hsentinel when sbtc stall --gap 5 --open 40 --to slack:#pegsentinel describe "alert if more than 5 sBTC leaves example-vault"
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.
claude mcp add --transport http sentinel https://api.runsentinel.app/mcpnpx skills add https://runsentinel.app
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.
sentinel when call example-dao execute --check "Does it move treasury funds?"
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.
sentinel destinations add slack '#oncall' --defaultsentinel destinations add webhook https://example.com/hook --label opssentinel test-alert example-vault --yes
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.
claude mcp add --transport http sentinel https://api.runsentinel.app/mcp # agentnpm i -g @secondlayer/sentinel && sentinel login # CLInpm i @secondlayer/sentinel # SDK