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.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.svg" alt="Measured on agentmods" 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 $0.00000 $0.00176
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 8d ago against content hash 93b40785046e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 (13 stars, last pushed yesterday), 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

Other skills, from other repositories

analyzing-powershell-script-block-logging

Parse Windows PowerShell Script Block Logs (Event ID 4104) from EVTX files to detect obfuscated commands, encoded payloads, and living-off-the-land techniques. Uses python-evtx to extract and reconstruct multi-block scripts, applies entropy analysis and pattern matching for Base64-encoded commands, Invoke-Expression…

mukul975/Anthropic-Cybersecurity-Skills · 88 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

intent-recognition

Classifies automation requests using two decisions: anchor (which primitive owns the top-level control flow — workflow-anchored, agent-anchored, needs-clarification, or out-of-scope) and embedsother (whether the other primitive appears embedded inside — an agent step inside a workflow, or a workflow invoked as an…

n8n-io/n8n · 146 tokens

post-build-flow

Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify/setup follow-up turns.

n8n-io/n8n · 53 tokens

data-table-manager

Load before calling data-tables or parse-file. Use for natural standalone requests like "what data tables do I have?", "show/list my tables", or "what columns are in this table?", and whenever the user asks to list, show, create, inspect, import, seed, query, update, clean up, rename columns in, or delete data tables…

n8n-io/n8n · 113 tokens

planned-task-runtime

Handles system follow-up turns: planned-task-follow-up (synthesize, replan, build-workflow, checkpoint), background-task-completed, running-tasks context, and create-tasks silence rules. Load whenever any of these tags appear or after calling create-tasks.

n8n-io/n8n · 58 tokens