codeql

codeql is a skill for Claude Code from devantler-tech/agent-plugins. It costs 64 tokens per session (3,282 once invoked), scanned A, a copy of codeql, Apache-2.0.

A guide for setting up CodeQL code scanning, which analyzes source code to find security problems. It covers GitHub Actions workflows, the CodeQL command-line tool, result files, languages, and troubleshooting.

In plain words
What is it for?
Creating or customizing CodeQL workflows, running scans locally, choosing languages and build modes, configuring query packs, and fixing analysis failures.
Why use it?
It helps teams configure security analysis correctly rather than relying on an incomplete or failing scan. It also addresses projects with multiple components, known as monorepos.

Skill for Claude Code

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

Part of the agentic-engineering plugin — 95 skills, 4 agents, 13 MCP servers shipped together

Good fit Creating or customizing CodeQL workflows, running scans locally, choosing languages and build modes, configuring query packs, and fixing analysis failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devantler-tech/agent-plugins/codeql
Install

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.

Any agent
npx skills add devantler-tech/agent-plugins --skill codeql
Clone the repo
git clone --depth 1 https://github.com/devantler-tech/agent-plugins

Made for: Claude Code.

Or install agentic-engineering, the plugin that ships this one along with the rest of its 95 skills, 4 agents, 13 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/codeql/github.svg)](https://agentmods.dev/skills/devantler-tech/agent-plugins/codeql)
Your own site
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/codeql"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/codeql/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/codeql"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/codeql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,282 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 89% copy Near-identical to another mod 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.00064 $0.03282
Opus 5.5 $0.00026 $0.01313
Sonnet 5.5 $0.00013 $0.00656
Haiku 4.5 $0.00006 $0.00328

Measured 25d ago against content hash 7ac0353b4c79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codeql 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 25d 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.

Origin

This is a copy

89% identical to codeql — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-engineering/skills/codeql/SKILL.md · 410 lines

How it starts

The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CodeQL Code Scanning

This skill provides procedural guidance for configuring and running CodeQL code scanning — both through GitHub Actions workflows and the standalone CodeQL CLI.

When to Use This Skill

Use this skill when the request involves:

  • Creating or customizing a codeql.yml GitHub Actions workflow
  • Choosing between default setup and advanced setup for code scanning
  • Configuring CodeQL language matrix, build modes, or query suites
  • Running CodeQL CLI locally (codeql database create, database analyze, github upload-results)
  • Understanding or interpreting SARIF output from CodeQL
  • Troubleshooting CodeQL analysis failures (build modes, compiled languages, runner requirements)
  • Setting up CodeQL for monorepos with per-component scanning
  • Configuring dependency caching, custom query packs, or model packs

Supported Languages

CodeQL supports the following language identifiers:

Language Identifier Alternatives
C/C++ c-cpp c, cpp
C# csharp —
Go go —
Java/Kotlin java-kotlin java, kotlin
JavaScript/TypeScript javascript-typescript javascript, typescript
Python python —
Ruby ruby —
Rust rust —
Swift swift —
GitHub Actions actions —

Alternative identifiers are equivalent to the standard identifier (e.g., javascript does not exclude TypeScript analysis).

Core Workflow — GitHub Actions

Step 1: Choose Setup Type

  • Default setup — Enable from repository Settings → Advanced Security → CodeQL analysis. Best for getting started quickly. Uses none build mode for most languages.
  • Advanced setup — Create a .github/workflows/codeql.yml file for full control over triggers, build modes, query suites, and matrix strategies.

To switch from default to advanced: disable default setup first, then commit the workflow file.

Step 2: Configure Workflow Triggers

Define when scanning runs:

on:
  push:
    branches: [main, protected]
  pull_request:
    branches: [main]
  schedule:
    - cron: '30 6 * * 1'  # Weekly Monday 6:30 UTC

Read the full file on GitHub · 410 lines

Files

What ships with it

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

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. 25d ago First seen · 410 lines · 64 tokens per session scan A 7ac0353b4c79

Subscribe to this mod's changes

codeql is a skill published in the GitHub repository devantler-tech/agent-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 64 tokens to every session and 3,282 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to codeql, differing in 8 lines, and is treated as a copy.

Related

codeql compared with skills from other repositories

codeql next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codeqldevantler-tech/agent-pluginsSkill32d agoApache-2.0A64Claude Code
design-everyday-thingswondelai/skillsSkill2.8ktodayMITA132Claude Code
traction-eoswondelai/skillsSkill2.8ktodayMITA147Claude Code, Codex
create-appwondelai/skillsSkill2.8ktodayMITA217Claude Code
clean-architecturewondelai/skillsSkill2.8ktodayMITA147Claude Code
cold-start-problemwondelai/skillsSkill2.8ktodayMITA168Claude Code
blue-ocean-strategywondelai/skillsSkill2.8ktodayMITA152Claude Code