Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Codenpx agentmods add skills/hermeticormus/libresecops-claude-code/security-gatesWrote 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.
[](https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/security-gates)<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/security-gates"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/security-gates/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.
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/security-gates"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/security-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.02194 |
| Opus 5.5 | $0.00022 | $0.00878 |
| Sonnet 5.5 | $0.00011 | $0.00439 |
| Haiku 4.5 | $0.00006 | $0.00219 |
Grade A, and why
security-gates 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.
How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Gates
Quality gate definitions, threshold configuration, and the decision framework for when to break the build versus when to warn.
Knowledge Base
What is a Security Gate
A security gate is a decision point in a CI/CD pipeline where security findings are evaluated against defined thresholds to determine if the build should proceed, warn, or fail. Gates are the enforcement mechanism that turns security scanning from informational noise into actionable workflow.
Gate Types
Hard Gate (Block): The pipeline fails. The PR cannot be merged, the artifact cannot be deployed. Reserved for findings that represent unacceptable risk.
Soft Gate (Warn): The pipeline succeeds, but findings are surfaced prominently -- in PR comments, dashboard alerts, or Slack notifications. Used for findings that need attention but should not block velocity.
Log Gate (Track): Findings are recorded for metrics and trending but not surfaced to developers in real time. Used for low-severity findings and baseline tracking.
The Gate Paradox
Too strict: Developers route around security (force-merge, disable checks, move to unprotected branches). Too loose: Vulnerabilities ship to production. The goal is a gate configuration that developers perceive as fair, consistent, and actionable.
Patterns
Pattern 1: Severity-Based Gate Matrix
The most common approach. Gate decisions based on finding severity.
# gate-config.yml -- conceptual, implemented per-tool
gates:
sast:
block:
- severity: critical
confidence: high
- severity: high
confidence: high
new_only: true # Only block on NEW high findings
warn:
- severity: high
confidence: medium
- severity: medium
log:
- severity: low
- severity: info
sca:
block:
- severity: critical
fix_available: true # Only block if there's a fix
- cisa_kev: true # Block any actively exploited vuln
warn:
- severity: critical
fix_available: false # No fix yet -- track closely
- severity: high
log:
- severity: medium
- severity: low
secrets:
block:
- any: true # Any secret detection blocks
exceptions:
- pattern: "example_*" # Test/example values allowed
- path: "test/**" # Test fixtures may contain fake secrets
container:
block:
- severity: critical
fix_available: true
warn:
- severity: critical
fix_available: false
- severity: high
log:
- severity: medium
- severity: low
iac:
block:
- severity: critical # Public buckets, unencrypted data stores
warn:
- severity: high
log:
- severity: medium
- severity: low
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.
- 1mo ago Changed · +5 lines · +55 tokens per session cb8f392e0f4f
- 3mo ago First seen · 248 lines · 0 tokens per session scan A c72f677f7719
security-gates is a skill published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 2,194 once invoked, about $0.0002 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-08-31.
security-gates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-gatesHermeticOrmus/LibreSecOps-Claude-Code | Skill | 4 | 1mo ago | MIT | A | 55 | Claude Code |
| implementing-devsecops-security-scanningxalgorix/xalgorix | Skill | 1.5k | today | Apache-2.0 | A | 109 | Claude Code, Codex |
| building-devsecops-pipeline-with-gitlab-cixalgorix/xalgorix | Skill | 1.5k | today | Apache-2.0 | A | 43 | Claude Code, Codex |
| integrating-dast-with-owasp-zap-in-pipelinexalgorix/xalgorix | Skill | 1.5k | today | Apache-2.0 | A | 76 | Claude Code, Codex |
| integrating-dast-with-owasp-zap-in-pipelineadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | A | 76 | Claude Code, Codex |
| building-devsecops-pipeline-with-gitlab-ciadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | A | 43 | Claude Code, Codex |
| building-devsecops-pipeline-with-gitlab-ci26zl/cybersec-toolkit | Skill | 113 | 4d ago | MIT | A | 101 | Claude Code |