codeql-permission-classification

codeql-permission-classification is a skill for Claude Code from dryvist/claude-code-plugins. It costs 13 tokens per session (1,864 once invoked), scanned A, original, Apache-2.0.

A reference guide for choosing the access permissions that GitHub Actions workflows need. It lists permission scopes and common actions with their usual requirements.

In plain words
What is it for?
Use it when writing or reviewing GitHub Actions workflows that check out code, handle artifacts, set up runtimes, or run GitHub scripts.
Why use it?
It helps avoid granting too much or too little access to automated workflows. Developers can check the needed scope before configuring a workflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/_validate.yml.

Part of the codeql-resolver plugin — 2 skills, 1 command, 3 agents shipped together

Good fit Use it when writing or reviewing GitHub Actions workflows that check out code, handle artifacts, set up runtimes, or run GitHub scripts.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/dryvist/claude-code-plugins
agentmods
npx agentmods add skills/dryvist/claude-code-plugins/codeql-permission-classification

Made for: Claude Code.

Or install codeql-resolver, the plugin that ships this one along with the rest of its 2 skills, 1 command, 3 agents.

Wrote 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.

agentmods badge for codeql-permission-classification

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/codeql-permission-classification/github.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/codeql-permission-classification)
Your own site
<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.

agentmods 80×15 button for codeql-permission-classification

Your own site · 80×15
<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>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash c719c8d969ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

codeql-resolver/skills/codeql-permission-classification/SKILL.md · 298 lines

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) or issues: 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

Read the full file on GitHub · 298 lines

Changes

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.

  1. 3mo ago First seen · 298 lines · 13 tokens per session scan A c719c8d969ef

Subscribe to this mod's changes

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.

Related

codeql-permission-classification compared with skills from other repositories

codeql-permission-classification next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codeql-permission-classificationdryvist/claude-code-pluginsSkill314d agoApache-2.0A13Claude Code
agent-mobile-release-managertravisjneuman/.claudeSkill115yesterdayMITA83Claude Code
agent-devsecops-engineertravisjneuman/.claudeSkill115yesterdayMITA89Claude Code
mobile-cicdtravisjneuman/.claudeSkill115yesterdayMITA57Claude Code
agent-devops-engineertravisjneuman/.claudeSkill115yesterdayMITA12Claude Code
devops-cloudtravisjneuman/.claudeSkill115yesterdayMITA38Claude Code
cloudflare-ops0xDarkMatter/claude-modsSkill866d agoMITA100Claude Code