Agent skill · Security · trailofbits

codeql agent skill by trailofbits

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis, with run-all and important-only scan modes.

View on GitHub Read SKILL.md

At a glance

PublisherTrail of Bits Official
Repositorytrailofbits/skills (83 listed skills)
CategorySecurity
LicenseCC-BY-SA-4.0
Last commitOctober 15, 2026 (repository)
SKILL.md280 lines, 2,441 words
Bundled files34 files, including references, scripts, assets or templates
Quality score92/100 · A Passes all seven graded checks
Security scanNot scanned
README badgeGet the badges for this listing

Before you install

Read from the skill's files at the directory's October 19, 2026 snapshot: what ships with it, what its code reads, and the terms it is published under.

Install codeql

The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.

Skills CLI
npx skills add https://github.com/trailofbits/skills/tree/main/plugins/static-analysis/skills/codeql
Claude Code, project-level copy
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"plugins/static-analysis/skills/codeql .claude/skills/
rm -rf "$tmp"
Codex installer
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
    --repo trailofbits/skills \
    --path plugins/static-analysis/skills/codeql

trailofbits/skills is third-party code. Read SKILL.md and any bundled scripts before you install it.

How the author describes it

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on "run codeql", "codeql scan", "build codeql database", "SAST scan", "taint analysis", "dataflow analysis", or "find vulnerabilities in this repo". Covers Python, JavaScript/TypeScript, Go, Java/Kotlin, C/C++, C#, Ruby, and Swift. Supports "run all" (security-and-quality + security-experimental) and "important only" (high-precision) scan modes, and creates data extension models for project-specific sources and sinks. For fast single-file pattern matching, or when no build is available for a compiled language, use the semgrep skill; to parse SARIF that already exists rather than produce it, use the sarif-parsing skill.

From the description field of SKILL.md. Agents read this line to decide when to load the skill.

Sections in SKILL.md

Files in the skill folder

Showing 24 of 34 files. Browse the folder on GitHub.

Suede Skill Check: 92/100 · A

Report snapshot · · graded-v2

The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.

Source revision: 5c99c03fb8a9. Report version 05680a5060c5. Badge URLs follow the latest listing; save the report to keep this version.

Download report · Request a fresh review

What to review next

  • Boundary clause: 0 of 4 points. 4 when the description says when not to use the skill (“Not for …”, “Do not use …”, “Use … instead”).
  • Description length: 3 of 5 points. 5 for 150–600 characters; 3 for 100–900; 1 for 50–1,024.
  • Compatibility declared: 0 of 2 points. 2 when the frontmatter declares compatibility.

Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.

codeql passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.

See the checks and points
CheckResult
Frontmatter parses and declares a name and a descriptionPass
Name uses lowercase letters, digits and hyphens, 64 characters or fewerPass
Name matches the skill's folder namePass
Description is between 50 and 1,024 charactersPass
Description says when an agent should use the skillPass
SKILL.md body is 500 lines or fewerPass
A license is declared in the frontmatter or the repositoryPass
Repository has a commit in the last 12 monthsPass
Score componentPoints
Structural checks56 of 56
Description length3 of 5
Boundary clause0 of 4
Example request3 of 3
Instruction depth7 of 7
Reference files3 of 3
Bundled scripts2 of 2
Recent maintenance9 of 9
Curated-list citations7 of 7
Tool permissions declared2 of 2
Compatibility declared0 of 2

Two badges for codeql

Suede Skill Check: 92/100Suede Skill Check: Grade A

Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede listing; either valid linked badge can qualify for the feature offer.

Markdown
[![Suede Skill Check: 92/100](https://skills.suedeai.ai/directory/trailofbits/skills/codeql/score.svg)](https://skills.suedeai.ai/directory/trailofbits/skills/codeql/)
[![Suede Skill Check: Grade A](https://skills.suedeai.ai/directory/trailofbits/skills/codeql/badge.svg)](https://skills.suedeai.ai/directory/trailofbits/skills/codeql/)
HTML
<a href="https://skills.suedeai.ai/directory/trailofbits/skills/codeql/"><img src="https://skills.suedeai.ai/directory/trailofbits/skills/codeql/score.svg" alt="Suede Skill Check: 92/100" width="160" height="175"></a>
<a href="https://skills.suedeai.ai/directory/trailofbits/skills/codeql/"><img src="https://skills.suedeai.ai/directory/trailofbits/skills/codeql/badge.svg" alt="Suede Skill Check: Grade A" width="160" height="175"></a>

Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.

Limited-time feature offer: display either the numeric or letter badge in your repository or skill README (both also qualify), then request badge verification. Eligible skills scoring 80–99 can receive a featured placement after Suede verifies at least one valid badge linked to the skill’s listing. Suede has not announced an end date.

Where this skill is cited

trailofbits/skills appears in 4 curated lists: BehiSecc/awesome-claude-skills, heilcheng/awesome-agent-skills, hesreallyhim/awesome-claude-code, travisvn/awesome-claude-skills.

All security skills

More from trailofbits/skills

All 83 skills in trailofbits/skills