jimmystacks

AgentSentinel Safety Layer

AI Agentv0.1.2
By jimmystacksUpdated 2026-05-113 versions · latest released 2026-04-05agent-sentinel@clawhub_jimmystacks/agent-sentinel
Workflow OrchestrationTool Use#Policy#Sync

According to AlphaMoat, as of 2026-09, AgentSentinel Safety Layer has 4,046 downloads and 2 stars — ranked #2,524 of 5,078 AI skills overall, and #492 of 969 in AI Agent.

Installs
131
Downloads
4.0K
Stars
2
Overall Rank
#2,524
Top 50% overall · Top 51% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1313.9K22
SkillHub ↗1314.0K2—

Platforms count differently and update at different times.

What this skill does

AgentSentinel can locally check whether a proposed action fits policy and budget, report status, create default policy files, reset local spend tracking, and upload events only when an operator explicitly runs sync with an API key configured. Decisions are advisory and should not be treated as a security boundary. Review policy configuration, make denied-action rules explicit, and require human review for destructive or high-cost actions. The wrapper records raw command text locally; avoid checking secrets, review event files before upload, and sync only with a trusted service.

Profile published 2026-10-29

What you can do with it

  • Developers and operators adding local policy and budget checks before costly or risky agent actions.

When to use it

  • Do not treat advisory checks as the only safeguard. Make denied-action rules explicit and require human review for high-risk actions. Avoid checking commands containing secrets, and review local event logs before upload.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain the difference between local policy checks, budget status, and optional sync; do not run commands, change policies, or upload events.

Monthly Trend

Downloads4.0K
2.6K3.4K4.2K2026-03 · Downloads 2.7K2026-05 · Downloads 3.3K2026-06 · Downloads 3.5K2026-07 · Downloads 3.7K2026-08 · Downloads 3.8K2026-09 · Downloads 4.0K26-0326-09
Stars2
1232026-03 · Stars 22026-05 · Stars 22026-06 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.0K—2
2026-083.8K+3.8%2
2026-073.7K+6.2%2
2026-063.5K+5.2%2
2026-053.3K—2
2026-032.7K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.8 KB · ClawHub v0.1.2
---
name: agent-sentinel
description: Local-first budget and policy guardrails for agent actions, with optional remote sync to AgentSentinel.
homepage: https://github.com/jimmystacks/agent-sentinel
metadata: {"openclaw":{"emoji":"🛡️","homepage":"https://github.com/jimmystacks/agent-sentinel/tree/main/skills/agent-sentinel","primaryEnv":"AGENT_SENTINEL_API_KEY","files":["sentinel_wrapper.py","README.md","CHANGELOG.md"],"requires":{"bins":["python3"]}}}
---

# AgentSentinel Protection Layer

Use this skill when you want a local policy gate before an agent performs a costly or risky action.
Show all (117 lines)

This OpenClaw skill is the lightweight entry point to the broader AgentSentinel product:
- this skill for local-first OpenClaw guardrails
- AgentSentinel SDK for deeper Python agent instrumentation
- AgentSentinel platform for centralized monitoring, dashboards, and approval workflows

AgentSentinel is local-first by default:
- Policy checks run locally.
- Budget tracking runs locally.
- No remote sync is attempted unless the operator runs `sync` with an API key configured.

## When To Use It

Use AgentSentinel before:
- expensive model or API calls
- file deletion or destructive shell commands
- high-volume automation loops
- actions that should be blocked by policy or capped by budget

## Commands

### `check`

Check whether a proposed action is allowed under the current local policy and budget.

```bash
python3 sentinel_wrapper.py check --cmd "rm -rf build" --cost 0.05
```

### `status`

Show the current local status, including budget usage and whether optional remote sync is enabled.

```bash
python3 sentinel_wrapper.py status
```

### `sync`

Upload locally recorded events to AgentSentinel cloud when `AGENT_SENTINEL_API_KEY` is set.

```bash
python3 sentinel_wrapper.py sync
```

### `bootstrap`

Create a default `callguard.yaml` in the current workspace if one does not already exist.

```bash
python3 sentinel_wrapper.py --bootstrap
```

### `reset`

Reset local tracked spend for the current run, or for the entire local session state.

```bash
python3 sentinel_wrapper.py reset --scope run
python3 sentinel_wrapper.py reset --scope all
```

## Configuration

Policy is loaded from `callguard.yaml` in the current workspace when present.

Optional cloud mode is enabled by setting:
- `AGENT_SENTINEL_API_KEY`

If the API key is not present, the skill remains local-only.
Locally recorded events stay on-machine until `sync` is run.

## AgentSentinel Product Path

Use this skill if you want fast local guardrails inside OpenClaw.

Use the AgentSentinel SDK when you want:
- richer Python integrations
- broader policy and telemetry coverage
- framework-level instrumentation outside OpenClaw

Use the AgentSentinel platform when you want:
- centralized visibility across agents
- dashboards and historical analysis
- human approval workflows and operational review

## External Endpoints

| Endpoint | When it is called | Data sent |
| --- | --- | --- |
| `https://api.agentsentinel.dev` | Only when `AGENT_SENTINEL_API_KEY` is present and `python3 sentinel_wrapper.py sync` is run | locally recorded action events generated by AgentSentinel |

## Security And Privacy

- Local mode does not send data off-machine.
- The wrapper does not write API keys to `.env` or other files.
- Remote sync is opt-in and requires both `AGENT_SENTINEL_API_KEY` and an explicit `sync` command.
- If remote sync fails, policy checks still continue locally.

## Model Invocation Note

OpenClaw may invoke this skill automatically when the task suggests budget enforcement, policy checks, or action gating. That behavior is expected for an installed skill.

## Trust Statement

By enabling remote sync, you allow AgentSentinel telemetry to be sent to `agentsentinel.dev`. Only enable that mode if you trust the service and want centralized monitoring.

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.