codeql-security-scanner

codeql-security-scanner is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 37 tokens per session (1,342 once invoked), scanned A, original, MIT.

A security scanner built around CodeQL, a tool that examines how code behaves to find vulnerability patterns. It can build code databases, run security checks, create SARIF reports for GitHub code scanning, and support custom queries.

In plain words
What is it for?
Use it to scan supported languages, investigate data-flow vulnerabilities, write custom security rules, and run checks locally or in GitHub Actions.
Why use it?
It helps investigate security problems in code and turn scan results into reports that development teams can review or use in continuous integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan supported languages, investigate data-flow vulnerabilities, write custom security rules, and run checks locally or in GitHub Actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner
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 seaworld008/Commonly-used-high-value-skills --skill codeql-security-scanner
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

Made for: Claude Code, Codex.

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-security-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner/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-security-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/codeql-security-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,342 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 203
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00037 $0.01342
Opus 5 $0.00018 $0.00671
Sonnet 5 $0.00007 $0.00268
Haiku 4.5 $0.00004 $0.00134

Measured 10d ago against content hash 601d8a67881a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

codeql-security-scanner 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 10d 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.

openclaw-skills/codeql-security-scanner/SKILL.md · 213 lines

How it starts

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

CodeQL Security Scanner

Trigger / When to Use

Use this skill when the user wants deep semantic code scanning, GitHub Advanced Security style analysis, custom CodeQL queries, SARIF output, or vulnerability investigation with CodeQL databases.

Good trigger phrases:

  • "run CodeQL locally"
  • "add CodeQL code scanning"
  • "scan JavaScript for security issues"
  • "write a CodeQL query"
  • "upload SARIF to GitHub"
  • "investigate a CodeQL alert"

Core Capabilities

  • Build CodeQL databases for supported languages.
  • Run default and security-extended query suites.
  • Produce SARIF reports for GitHub code scanning.
  • Investigate dataflow-based vulnerabilities.
  • Author and test custom queries for recurring insecure patterns.
  • Integrate scans in GitHub Actions or local CI.

Workflow

1. Identify Languages

Inspect the repository:

rg --files | sed -n '1,160p'

Determine:

  • Primary language.
  • Build command.
  • Whether generated code should be excluded.
  • Whether dependencies need to be installed before database creation.
  • Whether multiple CodeQL databases are required for a polyglot repo.

2. Verify CodeQL CLI

codeql version

If missing, use official GitHub CodeQL CLI installation guidance. For GitHub-hosted workflows, prefer github/codeql-action.

3. Create a Database

For compiled languages, provide the real build command:

codeql database create codeql-db --language=java --command="mvn -DskipTests package"

For JavaScript or TypeScript:

codeql database create codeql-db --language=javascript-typescript

For Python:

codeql database create codeql-db --language=python

If database creation fails, fix dependency installation or build steps before analyzing.

4. Run Queries

Default query suite:

codeql database analyze codeql-db --format=sarif-latest --output=codeql.sarif

Security extended suite:

codeql database analyze codeql-db codeql/javascript-queries:codeql-suites/javascript-security-extended.qls --format=sarif-latest --output=codeql.sarif

Read the full file on GitHub · 213 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. 10d ago First seen · 213 lines · 37 tokens per session scan A 601d8a67881a

Subscribe to this mod's changes

codeql-security-scanner is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (70 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 1,342 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

elasticsearch

Query and analyze logs in Elasticsearch. Use this skill when the user wants to search logs, query log data, count log entries, filter by trace IDs, or analyze application logs stored in Elasticsearch. Common use cases include debugging requests by trace ID, finding error logs, analyzing request patterns, and…

jawwadfirdousi/agent-skills · 68 tokens

svg-creator

Produce SVGs that are spec-correct (W3C SVG 2), CSS-independent, accessible when meaningful, safe to render in untrusted contexts, optimized in size, and readable enough to edit.

jawwadfirdousi/agent-skills · 95 tokens

prompt-template-wizard

Rigorously collects and validates all fields needed to produce a complete, unambiguous prompt template for features and bug fixes. The skill asks targeted questions until the template is fully filled, consistent, and ready to paste into a Codex/GPT-5.2 coding session.

jawwadfirdousi/agent-skills · 61 tokens

read-only-gh-pr-review

Review backend pull requests for correctness, security, performance, maintainability, and test coverage using GitHub CLI plus local repository inspection. Use when asked to review service-layer/API/database changes, audit backend branch diffs, summarize backend risk, or produce actionable must-fix/should-fix feedback.

jawwadfirdousi/agent-skills · 65 tokens

german-elster-tax-filing

Use this skill to run a complete intake for a german personal income tax return in elster for tax years 2024 onward, estimate the tax result, and map the final values into the correct official forms and fields.

jawwadfirdousi/agent-skills · 123 tokens

trello

Manage Trello boards, lists, and cards via the Trello REST API.

jawwadfirdousi/agent-skills · 19 tokens