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/andypitcher/ponytail-sec/k8s-securitycontextnpx skills add andypitcher/ponytail-sec --skill k8s-securitycontextgit clone --depth 1 https://github.com/andypitcher/ponytail-secWrote 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/andypitcher/ponytail-sec/k8s-securitycontext)<a href="https://agentmods.dev/skills/andypitcher/ponytail-sec/k8s-securitycontext"><img src="https://agentmods.dev/badge/skills/andypitcher/ponytail-sec/k8s-securitycontext.svg" alt="Measured on agentmods" 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.00057 | $0.00412 |
| Opus 5 | $0.00028 | $0.00206 |
| Sonnet 5 | $0.00011 | $0.00082 |
| Haiku 4.5 | $0.00006 | $0.00041 |
Grade A, and why
k8s-securitycontext 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 6d 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.
What it actually says
Ask once before enforcing:
Enforce k8s-securitycontext skill? (yes / no)
If no: stop.
If yes: inspect locally first. Do not web-search by default. Web-search only if Kubernetes securityContext semantics are missing or ambiguous, and prefer the official Kubernetes docs.
Contract
Return exactly one line:
OKNOT_OK: RULE, RULE
No severity. No advisory text. No maybes. If a rule cannot be verified, it is not OK.
Rules
All rules are mandatory for every application container. Apply to init and ephemeral containers when present too.
SC_NON_ROOT— requirerunAsNonRoot: trueand no explicit root user (runAsUser: 0is not OK).SC_NO_PRIV_ESC— requireallowPrivilegeEscalation: false.SC_DROP_CAPS— requirecapabilities.drop: ["ALL"]; adding capabilities is not OK unless the manifest proves the workload needs them.SC_SEC_PROFILE— requireseccompProfile.type: RuntimeDefaultor a stricter local profile.SC_READ_ONLY_FS— requirereadOnlyRootFilesystem: true.SC_SELINUX_TYPE— when the workload targets an SELinux-enforcing node class, OpenShift, SELinux-labeled volumes, or policy says SELinux is required, requireseLinuxOptions.type. Missing type is not OK.
Output examples
OK
NOT_OK: SC_NON_ROOT, SC_NO_PRIV_ESC, SC_SELINUX_TYPE
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.
- 6d ago First seen · 52 lines · 57 tokens per session scan A 622222aff4cf
k8s-securitycontext is a skill published in the GitHub repository andypitcher/ponytail-sec (8 stars, last pushed 5d ago), licensed MIT. It adds 57 tokens to every session and 412 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
prowler-compliance
Creates, syncs, audits and manages Prowler compliance frameworks end-to-end. Covers the two supported JSON schemas (universal multi-provider and legacy per-provider), the SDK model tree (legacy attribute classes, universal ComplianceFramework, ConfigRequirements guardrails), output formatters (legacy per-framework +…
prowler-attack-paths-query
Creates Prowler Attack Paths openCypher queries using the Cartography schema as the source of truth for node labels, properties, and relationships. Covers Prowler-specific additions (Internet node, ProwlerFinding, internal isolation labels), $provideruid scoping, and list-property item nodes with typed HAS edges that…
django-migration-psql
Reviews Django migration files for PostgreSQL best practices specific to Prowler. Trigger: When creating migrations, running makemigrations/pgmakemigrations, reviewing migration PRs, adding indexes or constraints to database tables, modifying existing migration files, or writing data backfill migrations. Always use…
framework-compliance-triage
Make a cloud account compliant with a security or industry framework using Prowler Cloud.
postgresql-indexing
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing…
gh-aw
Create and maintain GitHub Agentic Workflows (gh-aw) for Prowler. Trigger: When creating agentic workflows, modifying gh-aw frontmatter, configuring safe-outputs, setting up MCP servers in workflows, importing Copilot Custom Agents, or debugging gh-aw compilation.