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 skills/dryvist/claude-code-plugins/codeql-permission-classificationWrote 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/dryvist/claude-code-plugins/codeql-permission-classification)<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/codeql-permission-classification"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/codeql-permission-classification/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/dryvist/claude-code-plugins/codeql-permission-classification"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/codeql-permission-classification.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.00013 | $0.01864 |
| Opus 5.5 | $0.00005 | $0.00746 |
| Sonnet 5.5 | $0.00003 | $0.00373 |
| Haiku 4.5 | $0.00001 | $0.00186 |
Grade A, and why
codeql-permission-classification 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 — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeQL Permission Classification
Single source of truth for GitHub Actions permission requirements.
Permission Types
GitHub Actions provides these permission scopes:
contents # Read/write repository content (checkout, tags, releases)
pull-requests # Read/write PR comments, reviews, assignments
issues # Read/write issue comments, labels, projects
deployments # Read/write deployment status
packages # Read/write packages
actions # Read/write GitHub Actions (runners, artifacts, caches)
checks # Read/write check runs and annotations
statuses # Read/write commit statuses
security-events # Read/write code scanning and secret scanning results
Common Actions → Permissions Matrix
| Action | Required Permissions | Use Case |
|---|---|---|
actions/checkout@v6 |
contents: read |
Clone repository |
actions/upload-artifact@v6 |
None (usually) | Store build artifacts |
actions/download-artifact@v6 |
None (usually) | Retrieve artifacts |
actions/setup-node@v6 |
None | Install Node.js |
actions/github-script@v6 |
Depends on script | Usually contents: read minimum |
actions/create-release@v1 |
contents: write |
Create GitHub release |
github/codeql-action/upload-sarif@v2 |
security-events: write |
Upload CodeQL results |
Decision Tree
Q1: Does your job use actions/checkout?
- YES → Add
contents: read - NO → Continue to Q2
Q2: Does your job modify repository (create PR, tag, release)?
- YES → Add
contents: write - NO → Continue to Q3
Q3: Does your job post comments to PR or issues?
- YES → Add
pull-requests: write(PR) orissues: write(issues) - NO → Continue to Q4
Q4: Does your job modify deployments?
- YES → Add
deployments: write - NO → Continue to Q5
Q5: Does your job use github.rest API?
- YES → Add permission for the API endpoint you're calling
- NO → Continue to Q6
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 · 298 lines · 13 tokens per session scan A c719c8d969ef
codeql-permission-classification is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed 14d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,864 once invoked, about $0.0001 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-31.
codeql-permission-classification compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codeql-permission-classificationdryvist/claude-code-plugins | Skill | 3 | 14d ago | Apache-2.0 | A | 13 | Claude Code |
| agent-mobile-release-managertravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 83 | Claude Code |
| agent-devsecops-engineertravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 89 | Claude Code |
| mobile-cicdtravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 57 | Claude Code |
| agent-devops-engineertravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 12 | Claude Code |
| devops-cloudtravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 38 | Claude Code |
| cloudflare-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 100 | Claude Code |