security-mode-escalation

security-mode-escalation is a skill for Claude Code, Codex from Threat-Vector-Security/guardian-agent. It costs 0 tokens per session (351 once invoked), scanned A, original, Apache-2.0.

A decision guide for choosing how tightly to restrict a system when there may be a security problem. Its choices range from monitoring to guarded operation, lockdown, or assisted response.

In plain words
What is it for?
Use it to assess security posture, check containment, and decide whether escalation should be advised or temporarily applied.
Why use it?
It helps match the response to the confidence of the alert, possible damage, reversibility, and effect on users. This avoids imposing the most disruptive response without enough evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess security posture, check containment, and decide whether escalation should be advised or temporarily applied.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/threat-vector-security/guardian-agent/security-mode-escalation
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 Threat-Vector-Security/guardian-agent --skill security-mode-escalation
Clone the repo
git clone --depth 1 https://github.com/Threat-Vector-Security/guardian-agent

Made for: Claude Code, 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 security-mode-escalation

README.md
[![agentmods](https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/security-mode-escalation/github.svg)](https://agentmods.dev/skills/threat-vector-security/guardian-agent/security-mode-escalation)
Your own site
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/security-mode-escalation"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/security-mode-escalation/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 security-mode-escalation

Your own site · 80×15
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/security-mode-escalation"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/security-mode-escalation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 351 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.00000 $0.00351
Opus 5.5 $0.00000 $0.00140
Sonnet 5.5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 3mo ago against content hash 93b40785046e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-mode-escalation 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 3mo 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/security-mode-escalation/SKILL.md · 35 lines

What it actually says

Security Mode Escalation

Use this when the job is to decide whether the system should remain in monitor or move to guarded, lockdown, or ir_assist.

Workflow

  1. Start with security_posture_status.
  2. Follow with security_containment_status when the user needs the effective bounded-response state, not just the recommendation.
  3. Explain the decision in terms of:
    • alert confidence
    • blast radius
    • reversibility
    • user impact
  4. Keep monitor as the default unless current evidence justifies more control.

Escalation Discipline

  • Prefer advising escalation before enforcing it when the mode is currently monitor.
  • guarded is the normal next step for credible but still bounded risk.
  • lockdown and ir_assist should be framed as higher-friction states and justified explicitly.
  • If policy allows temporary automatic escalation, describe it as temporary and bounded.

Boundaries

  • Use security-triage, host-firewall-defense, or native-av-management to interpret the underlying evidence.
  • Use security-response-automation when the user wants this posture logic turned into repeatable automation.

Gotchas

  • Do not recommend lockdown from one weak or noisy signal.
  • Do not describe a recommendation as an enforced state unless security_containment_status shows it is effective now.
  • Do not conflate deployment profile (personal, home, organization) with operating mode (monitor, guarded, lockdown, ir_assist).

Use templates/mode-decision.md when you need a short, repeatable containment recommendation format.

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. 3mo ago First seen · 35 lines · 0 tokens per session scan A 93b40785046e

Subscribe to this mod's changes

security-mode-escalation is a skill published in the GitHub repository Threat-Vector-Security/guardian-agent (14 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 351 tokens. 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-30.

Related

security-mode-escalation compared with skills from other repositories

security-mode-escalation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-mode-escalationThreat-Vector-Security/guardian-agentSkill142mo agoApache-2.0A0Claude Code, Codex
kaneo-cliusekaneo/kaneoSkill10.0kyesterdayMITA73Claude Code, Codex
humanizern8n-io/n8nSkill213ktodaynoneA69Claude Code, Codex
agent-squad-typescript2FastLabs/agent-squadSkill7.8k22d agoApache-2.0A87Claude Code, Codex
intent-recognitionn8n-io/n8nSkill213ktodaynoneA182Claude Code, Codex
n8n-clin8n-io/n8nSkill213ktodaynoneA55Claude Code
debugging-executionsn8n-io/n8nSkill213ktodaynoneA86Claude Code, Codex