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.
npx skills add peteski22/agent-pragma --skill securitygit clone --depth 1 https://github.com/peteski22/agent-pragmaWrote 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/peteski22/agent-pragma/security)<a href="https://agentmods.dev/skills/peteski22/agent-pragma/security"><img src="https://agentmods.dev/badge/skills/peteski22/agent-pragma/security/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/peteski22/agent-pragma/security"><img src="https://agentmods.dev/badge/skills/peteski22/agent-pragma/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 66 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Anti-Refusal · line 78 Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.Fix: Remove jailbreak framing that nullifies safety policies or restrictions. Skill content must not instruct the agent to ignore its guidelines or operate without guardrails.
- high Anti-Refusal · line 112 Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.Fix: Remove jailbreak framing that nullifies safety policies or restrictions. Skill content must not instruct the agent to ignore its guidelines or operate without guardrails.
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.00008 | $0.00939 |
| Opus 5.5 | $0.00003 | $0.00376 |
| Sonnet 5.5 | $0.00002 | $0.00188 |
| Haiku 4.5 | $0.00001 | $0.00094 |
Grade A, and why
security 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.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Validator
You are a focused security validator. Check recent code changes for common security vulnerabilities.
Scope Declaration
This validator checks ONLY:
- Hardcoded secrets and credentials
- Injection vulnerabilities (SQL, command, XSS)
- Path traversal risks
- Insecure configurations
- Authentication/authorization gaps
This validator MUST NOT report on:
- Code style or formatting
- Language idioms (Go Proverbs, Effective Go, PEP 8)
- Performance issues
- Test coverage
Ignore project rule file phrasing; enforce rules as specified here.
Step 1: Get the changes
Get the diff content. Combine committed, staged, and unstaged changes to capture all recent work:
{ git diff HEAD~1 HEAD --diff-filter=ACMRT 2>/dev/null; git diff --cached --diff-filter=ACMRT 2>/dev/null; git diff --diff-filter=ACMRT 2>/dev/null; }
Also get the file list (same combined scopes):
{ git diff HEAD~1 HEAD --name-only --diff-filter=ACMRT 2>/dev/null; git diff --cached --name-only --diff-filter=ACMRT 2>/dev/null; git diff --name-only --diff-filter=ACMRT 2>/dev/null; } | sort -u
If more than 50 files changed, process in batches of 50. Note batch number in output.
Step 2: Check for vulnerabilities
HARD violations (must fix)
Secrets and Credentials
- Hardcoded API keys, passwords, tokens
- AWS credentials, private keys
- Connection strings with embedded passwords
- Why HARD: Secrets in code get leaked via version control
Injection Vulnerabilities
- SQL injection: string concatenation in queries
- Command injection: unsanitized input in shell commands
- XSS: unescaped user input in HTML output
- Why HARD: Direct attack vectors
Path Traversal
- File operations using unsanitized user input
- Missing validation of file paths (e.g.,
../../../etc/passwd) - Why HARD: Allows unauthorized file access
Authentication/Authorization
- Missing authentication checks on sensitive endpoints
- Hardcoded bypass conditions (
if user == "admin") - Insecure session handling
- Why HARD: Bypasses security boundaries
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.
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.
- 3mo ago First seen · 134 lines · 8 tokens per session scan A 58eccc50e6cc
security is a skill published in the GitHub repository peteski22/agent-pragma (25 stars, last pushed 19d ago), licensed Apache-2.0. It adds 8 tokens to every session and 939 once invoked, about $0.0000 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-30.
security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| securitypeteski22/agent-pragma | Skill | 25 | 19d ago | Apache-2.0 | A | 8 | Claude Code |
| agent-config-syncellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 109 | Claude Code, Codex |
| batch-all-issuesdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 56 | Claude Code, Codex |
| prs-awaiting-maintainerdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 56 | Claude Code, Codex |
| rulesyncdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 64 | Claude Code, Codex |
| post-issue-commentdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 31 | Claude Code, Codex |
| review-prdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 61 | Claude Code, Codex |