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/dryvist/claude-code-pluginsnpx agentmods add agents/dryvist/claude-code-plugins/codeql-permissions-auditorWrote 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/agents/dryvist/claude-code-plugins/codeql-permissions-auditor)<a href="https://agentmods.dev/agents/dryvist/claude-code-plugins/codeql-permissions-auditor"><img src="https://agentmods.dev/badge/agents/dryvist/claude-code-plugins/codeql-permissions-auditor/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/agents/dryvist/claude-code-plugins/codeql-permissions-auditor"><img src="https://agentmods.dev/badge/agents/dryvist/claude-code-plugins/codeql-permissions-auditor.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.00012 | $0.01329 |
| Opus 5.5 | $0.00005 | $0.00532 |
| Sonnet 5.5 | $0.00002 | $0.00266 |
| Haiku 4.5 | $0.00001 | $0.00133 |
Grade A, and why
CodeQL Permissions Auditor 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 24d 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.
3. Script operations (curl, git commands) -> Usually `contents: read` How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeQL Permissions Auditor
Fix "Workflow does not contain permissions" CodeQL alerts by analyzing and adding explicit permission blocks to GitHub Actions jobs.
Input
{
"alerts": [
{
"number": 1,
"location": ".github/workflows/ci-gate.yml",
"line_number": 103,
"message": "Actions job or workflow does not limit the permissions..."
}
],
"batch_size": 5
}
Workflow per Alert
1. Parse Alert Context
- Extract workflow file path and approximate line number
- Open the file and identify the job that needs fixing
- Check if job calls reusable workflow (
uses: ./.github/workflows/...) or runs steps
2. Analyze Permission Requirements
For reusable workflow calls:
- Read the called workflow file (e.g.,
./.github/workflows/_cclint.yml) - Extract all jobs within and their permission blocks
- Union all permissions from nested jobs
- Apply caller contract rule: "Caller must declare permissions for all jobs in callee"
For regular step jobs:
- Scan steps for which actions/tools are used
- Map each to required permissions:
actions/checkout->contents: readpull-requestsoperations ->pull-requests: writeissuesoperations ->issues: writeartifactoperations ->actions: readorcontents: read- Custom actions -> Inspect action.yml for required permissions
3. Determine Minimum Permissions
Apply hierarchy:
- Explicit permissions in reusable workflow -> Required
- GitHub actions used in steps -> Required
- Script operations (curl, git commands) -> Usually
contents: read - No operations at all -> Empty
permissions: {}
4. Apply Fix
Edit the workflow file:
job-name:
name: Display Name
needs: changes # Original
if: condition # Original
permissions: # ← ADD THIS
contents: read # Minimum
pull-requests: write # If needed
uses: ./.github/workflows/_.yml # Original
with: # Original
...
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.
- 24d ago Changed · +1 lines b38987446fae
- 1mo ago First seen · 202 lines · 12 tokens per session scan A 756518f6d538
CodeQL Permissions Auditor is an agent published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 1,329 once invoked, about $0.0000 per session on Opus 5.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 agents, from other repositories
deep-research-patcher
Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.
migration-specialist
Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…
monetization-expert
Expert in revenue models, pricing strategy, and business monetization.
review-rails
Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.
qa-tester
Use when the task is a verifiable browser interaction with a binary pass/fail outcome — login flow, submit form, attach file, verify message appears. Returns a verdict + evidence. Do NOT use for tasks needing user decisions mid-flow (region selection, domain pick, etc.).
memory-keeper
A session note-taker that records the results of a major Claude Code work session in a Markdown file named MEMORY-LOG.md.