Skip to content
Back to skills

Sentinel

ASecurity

Run one named, read-only diagnostic on the project''s server through its restricted key and read its redacted output, or list the diagnostics. Use when the owner types /saani:sentinel, or asks what a server says (disk space, the last application errors) and saani.toml has a [sentinel] section.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentpythonshellbash

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add lordlothar99/saani --skill sentinel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sentinel?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sentinel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordlothar99-sentinel/badge)](https://www.skillsdirectory.com/skills/lordlothar99-sentinel)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sentinel
description: 'Run one named, read-only diagnostic on the project''s server through its restricted key and read its redacted output, or list the diagnostics. Use when the owner types /saani:sentinel, or asks what a server says (disk space, the last application errors) and saani.toml has a [sentinel] section.'
argument-hint: "[name]"
---

# /saani:sentinel: a named diagnostic on the server

**Arguments:** `$ARGUMENTS`.

The command owns every ssh detail: never build or run an `ssh` command yourself, never read, print or copy the key file, never ask for
a passphrase. Only a name listed in `[sentinel] scripts` of saani.toml runs.

1. No name given: run `saani sentinel --list` and show the names with their descriptions. Say which one fits the owner's question, or
   ask which to run. "no [sentinel] scripts" means the project has no Sentinel set up (docs/CONFIG.md, `[sentinel]`).
2. A name given: run `saani sentinel <name>`, exactly one name, nothing after it, as a command of its own (no pipe, no `&`, not with the Bash tool's `run_in_background`: an auto
   run's guard allows only these forms, docs/SAANI.md, The guard). Its output is the script's, already redacted:
   `[redacted:<kind>]` stands for a value that was removed (a secret, an email, an IP address, a path, a host name, a phone number, a
   random-looking string, or the project's own pattern). Never try to recover a redacted value.
3. Read the last line, `saani sentinel: ...`, and the exit code, and say what they mean:
   - 0: the script ran and exited 0; summarise what its output says (a finding, not the raw log).
   - 1: the script ran and exited non-zero; its redacted output says why.
   - 2: refused before ssh (an unknown or unplain name, a `[sentinel]` setting missing or wrong, the key file missing or unreadable): the
     message names the setting to fix; that is the owner's to change in saani.toml or on the machine.
   - 3: ssh could not connect, authenticate or verify the server's host key (or ssh is not installed): the owner checks host, user,
     port, key, known_hosts and the server's key restriction. Do not retry in a loop.
   - 4: the script timed out and was stopped (`[sentinel] timeout_seconds`).
   - 5: the redaction refused, so nothing of the output is shown; do not run the script another way to see it.
4. `saani sentinel <name> --dry-run` prints the ssh command it would run (the key as `<key>`) and starts nothing.

## Running saani
Run `saani` with the Bash tool: the plugin's `bin/` puts it on that shell's PATH. If it is not found, run
`python -I "${CLAUDE_PLUGIN_ROOT}/saani.py"` instead. Run it from the project's folder (where saani.toml is). A command that fails: show its
message as it is, say what it means, never work around it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.