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/apigee/devrel/apigee-policy-top10npx skills add apigee/devrel --skill apigee-policy-top10git clone --depth 1 https://github.com/apigee/devrelWrote 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/apigee/devrel/apigee-policy-top10)<a href="https://agentmods.dev/skills/apigee/devrel/apigee-policy-top10"><img src="https://agentmods.dev/badge/skills/apigee/devrel/apigee-policy-top10.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.00053 | $0.00642 |
| Opus 5 | $0.00026 | $0.00321 |
| Sonnet 5 | $0.00011 | $0.00128 |
| Haiku 4.5 | $0.00005 | $0.00064 |
Grade A, and why
apigee-policy-top10 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
apigee-policy-top10
Use this skill when the user asks "what are the top N policies in use in my Apigee org" or any close paraphrase.
Runtime dispatch
This skill ships ONE behavioural contract that runs on two runtimes. Choose the invocation path that matches the runtime you are running in. The downstream behaviour and output contract are identical.
| Runtime | How you invoke top10.py |
|---|---|
| OpenCode | Use the !bash`` injection below. OpenCode auto-executes the bash on SKILL.md load. |
| Gemini CLI / Claude Code / other agents | (install location varies; consult the agent's documentation) |
| Any other runtime | Invoke top10.py via whatever bash mechanism the runtime provides, substituting ${SKILL_DIR} with the install path and ${APIGEE_ORG} with the value from the shell environment. |
Steps
-
Resolve the target organization from the environment variable
APIGEE_ORG. If unset, ask the user once for the org id and then proceed. -
Invoke the bundled enumerator using the runtime path from the table above. The exact command is:
Command (this is what OpenCode runs automatically; in other agent runtimes you run it yourself via the bash tool):
!
python3 ${SKILL_DIR}/scripts/top10.py --org "${APIGEE_ORG}" -
The enumerator's FIRST line of stdout is a customer-facing announcement that begins
Querying your Apigee org now —. Surface this line verbatim to the user as it appears, before anything else. Do not paraphrase it. (The script is the source of truth for the announcement string; the SKILL.md does NOT contain a verbatim copy that the agent must remember.) -
After the announcement, the script prints a markdown table with two columns (
policy_type,count) sorted descending. Reproduce the table verbatim as the answer. Add a brief preface ("Here are the top 10 policy types in use…") and stop. -
Lines beginning
[apigee-policy-top10]are log lines for operator debugging; do NOT surface them in the answer unless they sayFAILED. On anyFAILEDline, surface the verbatim error to the user; do not retry.
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.
- 6d ago First seen · 64 lines · 53 tokens per session scan A 700ce5ff3d2a
apigee-policy-top10 is a skill published in the GitHub repository apigee/devrel (220 stars, last pushed 23d ago), licensed Apache-2.0. It adds 53 tokens to every session and 642 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-30.
Other skills, from other repositories
implementing-api-threat-protection-with-apigee
Implement API threat protection using Google Apigee policies including JSON/XML threat protection, OAuth 2.0, SpikeArrest, and Advanced API Security for OWASP Top 10 defense.
auditing-gcp-iam-permissions
Auditing Google Cloud Platform IAM permissions to identify overly permissive bindings, primitive role usage, service account key proliferation, and cross-project access risks using gcloud CLI, Policy Analyzer, and IAM Recommender.
implementing-gcp-binary-authorization
Implement GCP Binary Authorization to enforce deploy-time security controls that ensure only trusted, attested container images are deployed to Google Kubernetes Engine and Cloud Run.
gcp-cloud-logging
Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.
notion
Notion workspace integration for searching pages, managing databases, creating postmortems, and exporting RCA findings.
datadog
Datadog monitoring integration for querying logs, metrics, monitors, events, traces, hosts, and incidents during RCA investigations.