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 agentmods add skills/dineshdb/pie/securitynpx skills add dineshdb/pie --skill securitygit clone --depth 1 https://github.com/dineshdb/pieWhat 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 | $0.00010 | $0.00884 |
| Opus 5 | $0.00005 | $0.00442 |
| Sonnet 5 | $0.00002 | $0.00177 |
| Haiku 4.5 | $0.00001 | $0.00088 |
Grade A, and why
security scanned grade A with 1 finding 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -I https://example.com | grep -i "x-\|strict-\|content-\|referrer" How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security
Two modes: proactive (check while writing/reviewing) and reactive (scan on demand).
OWASP Top 10 — Quick Prevention
| Vulnerability | Prevention |
|---|---|
| SQL Injection | Parameterized queries, never concat |
| XSS | Output encoding, CSP headers |
| Command Injection | Avoid shell, use language APIs |
| Path Traversal | Validate and sanitize file paths |
| SSRF | URL allowlists, no raw user URLs |
| Hardcoded Secrets | Env vars or secret managers only |
| Insecure Crypto | SHA-256+, AES-256, no MD5/DES |
| Insecure Transport | HTTPS everywhere, verify certs |
| XXE | Disable external entities in XML |
| CSRF | Tokens on state-changing requests |
Language Priority Rules
| Language | Check First |
|---|---|
| Python | SQL injection, command injection, path traversal |
| JS/TS | XSS, prototype pollution, code injection |
| Rust | Memory safety, unsafe blocks, command injection |
| Go | SQL injection, command injection, path traversal |
Dependency Audit
npm audit # Node.js
npm audit fix # Auto-fix
bun pm audit # Bun
cargo audit # Rust
pip-audit # Python
govulncheck ./... # Go
Secrets Detection
# Gitleaks
gitleaks detect --source . --report-path report.json
# TruffleHog
trufflehog filesystem ./
# Quick ripgrep scan
rg -i "AKIA[0-9A-Z]{16}" . # AWS keys
rg "ghp_[a-zA-Z0-9]{36}" . # GitHub tokens
rg "xox[pbar]-[a-zA-Z0-9-]{14,255}" . # Slack tokens
rg -i "api[_-]?key['\"]?\s*[:=]" . # API keys
rg -i "(mongo|mysql|postgres|redis)://[^ ]+:[^ ]+@" . # DB URLs
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.
- 2d ago First seen · 129 lines · 10 tokens per session scan A 3654af080d7f
security is a skill published in the GitHub repository dineshdb/pie (2 stars, last pushed 3mo ago), licensed MIT. It adds 10 tokens to every session and 884 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
release
Create a new versioned release with changelog. Bumps version in code, updates CHANGELOG.md, commits, tags, and pushes using the repository release flow. GitHub Actions creates the release and uses only the current changelog section as release notes. Use when the user says "release", "cut a release", "bump version"…
qa
Regression test a San feature by name. Looks for a feature doc in docs/reference/ or docs/packages/2-feature/, runs automated Go tests and interactive tmux tests, then produces a pass/fail report. Use this skill when the user says "qa", "regression test", "test feature X", "verify feature", or references a feature…
openspec-explore
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
pi-sync
Daily upstream-sync job for the pi Go port — fetch upstream pi, triage every change since the recorded pin, port what's in scope, verify idiomatic + parity via independent reviews, update the ledger, and push. Use for "sync with upstream", "porting job", or as the scheduled daily run.
proactive-agent
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞.
openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.