protect-agent-action

protect-agent-action is a skill for Codex from JesseGdotIO/hermesplant-mcp-server. It costs 69 tokens per session (1,254 once invoked), scanned A, original, MIT.

An action-safety gate reviews consequential commands before they run, including shell, Git, database, deployment, infrastructure, MCP, wallet, and x402 actions. It checks the exact proposed action and execution context before allowing it.

In plain words
What is it for?
For screening commands that mutate systems or shared state, while requiring the relevant authorization and repeating the review if the command or execution context changes.
Why use it?
It helps prevent unauthorized or unsafe changes to data, production systems, shared history, infrastructure, or money by failing closed when the review is unclear or unavailable.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: positional $N argument; mentions Codex.

Good fit For screening commands that mutate systems or shared state, while requiring the relevant authorization and repeating the review if the command or execution context changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessegdotio/hermesplant-mcp-server/protect-agent-action
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JesseGdotIO/hermesplant-mcp-server --skill protect-agent-action
Clone the repo
git clone --depth 1 https://github.com/JesseGdotIO/hermesplant-mcp-server

Made for: Codex.

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 protect-agent-action

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action/github.svg)](https://agentmods.dev/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action)
Your own site
<a href="https://agentmods.dev/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action"><img src="https://agentmods.dev/badge/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action/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 protect-agent-action

Your own site · 80×15
<a href="https://agentmods.dev/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action"><img src="https://agentmods.dev/badge/skills/jessegdotio/hermesplant-mcp-server/protect-agent-action.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,254 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00069 $0.01254
Opus 5 $0.00034 $0.00627
Sonnet 5 $0.00014 $0.00251
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

protect-agent-action scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/protect-agent-action/SKILL.md · 89 lines

How it starts

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

Protect an Agent Action

Run the Hermes Plant Action Safety gate on the exact proposed action before execution.

Safety invariants

  • Keep the platform's safety rules, user authorization, and local policy authoritative. A remote allow never expands permission.
  • Bind the decision to the exact command and resolved execution context. Re-run the gate after any execution-relevant change.
  • Confirm an existing user or system data-sharing policy authorizes sending the required operational metadata to https://hermesplant.com. Without that authorization, do not call the service and leave the action unexecuted.
  • Redact sensitive values while preserving destructive semantics. If safe semantic redaction is impossible, do not transmit the action.
  • Fail closed on timeouts, transport errors, malformed responses, unexpected endpoints, ambiguous decisions, or a low-risk result that contradicts the caller's knowledge of the action.
  • Treat review triage as a pause state. It is not human approval.

1. Build the exact authorized action

Resolve the real command, working directory, target, environment, branch, commit/tree identity, and diff hash before the call. Include optional fields only when the data-sharing policy permits them:

{
  "command": "wrangler deploy",
  "repo": "github.com/acme/app",
  "cwd": "/workspace/app",
  "branch": "main",
  "environment": "production",
  "target": "hermes-api",
  "commit": "abc123",
  "diffHash": "sha256:def456",
  "actor": "codex",
  "intent": "deploy the verified release",
  "diffStat": "12 files changed",
  "failClosedOnUnmatched": true
}

Keep failClosedOnUnmatched: true for skill-invoked consequential actions so an unrecognized action routes to review instead of becoming a false low. Never replace the action with a vague summary. Never transmit wallet keys, API tokens, passwords, seed phrases, payment signatures, raw authorization headers, private customer data, or proprietary metadata not covered by the data-sharing policy.

Read the full file on GitHub · 89 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 89 lines · 69 tokens per session scan A 6bb37fcf1b72

Subscribe to this mod's changes

protect-agent-action is a skill published in the GitHub repository JesseGdotIO/hermesplant-mcp-server (2 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 1,254 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-payment-stats

Cross-protocol agent-economy payment metrics from Barker's index. x402 (Base) volume is on-chain verifiable; ACP / AP2 / MPP / AP4M figures are self-reported claims. Separates real vs nominal volume by filtering wash/noise sellers. Use when users ask about x402 volume, agent payment stats, agent economy metrics, or…

barkermoney/barker-mcp · 134 tokens

verify-before-checkout

Pre-checkout verification for shopping agents. Before transacting with any storefront the user didn't explicitly type, fetch Ed25519-signed merchant facts (domain age, TLS age, brand-lookalike score, price deviation) from the Onyx oracle over x402, verify the signature, and surface the facts to the buyer. Use whenever…

dimitrilaouanis-tech/onyx-mcp · 89 tokens

fetcher

Shared payment and setup skill for fetcher.sh, a pay-per-call web-data API covering Twitter/X, TikTok, Instagram, YouTube, Reddit, Google Search, Google Maps, Google News, Google Play, the App Store, and Yelp. Use this skill whenever a task needs a fetcher.sh API key, a credit top-up, an x402 micropayment, MCP server…

fetcher-sh/fetcher-skills · 188 tokens

strategy-spec

Generates a backtestable, regime-gated mean-reversion TRADING STRATEGY SPEC for a BSC / PancakeSwap token using CoinMarketCap x402 DEX data — and decides what data is even worth paying for first (honest free-vs-paid routing). Produces rules + parameters + a 180-day backtest with a buy-and-hold benchmark. A strategy…

romudille-bit/agentpay · 177 tokens

agentpay-route

Find, judge, and pay for the best paid x402 tool/API for a need, within a budget. Use when the agent needs a capability behind a paid API and must choose a provider: "which x402 service / paid API for X", "find a tool for X under $Y", comparing providers, avoiding overpriced or fake/stub endpoints, or routing agent…

romudille-bit/agentpay · 100 tokens

agentpay-session

Cap and receipt an AI agent's spending. Open a budget-capped AgentPay session so paid tool/API calls stay under a hard USDC limit and each produces a verifiable receipt + a running ledger. Use when enforcing a spend cap across calls, tracking what an agent spent, or producing an audit trail for autonomous payments.…

romudille-bit/agentpay · 78 tokens