security-policy

security-policy is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 29 tokens per session (1,111 once invoked), scanned A, original, MIT.

A command for writing or updating formal security policies, such as rules for access, passwords, incident reporting, remote work, data handling, or encryption.

In plain words
What is it for?
Use it to create organization-wide or role-specific policies aligned with requirements such as GDPR, HIPAA, SOC 2, or PCI-DSS.
Why use it?
It turns informal security practices and regulatory requirements into documents that an organization can review and follow. It also helps prepare policy material for audits and certifications.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the security-awareness plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to create organization-wide or role-specific policies aligned with requirements such as GDPR, HIPAA, SOC 2, or PCI-DSS.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/security-policy
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install security-awareness, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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-policy

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/security-policy/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/security-policy)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/security-policy"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/security-policy/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-policy

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/security-policy"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/security-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,111 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.00029 $0.01111
Opus 5.5 $0.00012 $0.00444
Sonnet 5.5 $0.00006 $0.00222
Haiku 4.5 $0.00003 $0.00111

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

Security

Grade A, and why

security-policy 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 1mo 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.

plugins/security-awareness/commands/security-policy.md · 152 lines

How it starts

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

/security-policy

Generate a security policy document tailored to organizational context, regulatory requirements, and workforce profile.

Trigger

Use when creating new security policies or updating existing ones. Appropriate for:

  • Establishing a security policy framework for a new organization
  • Updating policies for regulatory compliance (GDPR, HIPAA, SOC 2, PCI-DSS)
  • Creating role-specific policies (developer security, remote work, BYOD)
  • Standardizing informal security practices into formal documentation
  • Preparing for security audits or certifications

Input

  • Policy type: Which policy to create. Options include:
    • Acceptable Use Policy
    • Information Classification and Handling
    • Incident Reporting and Response
    • Access Control and Authentication
    • Password and Credential Management
    • Remote Work and BYOD
    • Data Retention and Disposal
    • Vendor and Third-Party Risk
    • Change Management
    • Physical Security
    • Social Media and Public Communication
    • Encryption and Key Management
    • Network Security
    • Mobile Device Management
  • Organization context: Industry, size, risk profile, existing policies
  • Regulatory requirements: Applicable regulations and standards
  • Audience: Who the policy applies to (all employees, IT staff, contractors, etc.)
  • Enforcement model: How violations are handled in the organization
  • Existing policies (optional): Related policies already in place for cross-referencing

Process

  1. Requirements gathering -- Identify the regulatory, business, and risk requirements the policy must address

  2. Scope definition -- Determine who the policy applies to, what systems/data/activities it covers, and any explicit exclusions

  3. Policy drafting -- Write the policy in clear, direct language:

    • Use active voice ("You must..." not "It is required that...")
    • Provide concrete examples for abstract requirements
    • Include the rationale for each requirement
    • Avoid unnecessary jargon (or define it in a glossary)
    • Keep sentences short and paragraphs focused on one topic

Read the full file on GitHub · 152 lines

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. 1mo ago Changed · +5 lines · +29 tokens per session 0586c65865ab
  2. 2mo ago First seen · 147 lines · 0 tokens per session scan A 489dd26cc4ec

Subscribe to this mod's changes

security-policy is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,111 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

security-policy compared with commands from other repositories

security-policy next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-policyHermeticOrmus/LibreSecOps-Claude-CodeCommand41mo agoMITA29Claude Code
scopeelementalsouls/Claude-BugHunterCommand28kyesterdayMITA63Claude Code
sicario.controlsdfirs1car1o/sicario-specCommand511d agoMITA0Claude Code
sicario.evidencedfirs1car1o/sicario-specCommand511d agoMITA0Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code