Agent skill · Security

codeql

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on \"run codeql\", \"codeql scan\", \"codeql analysis\", \"build codeql database\", or \"find vulnerabilities with codeql\". Supports \"run all\" (security-and-quality suite) and \"important only\" (high-precision security findings) scan modes. Also handles creating data extension models and processing CodeQL SARIF output.

Wayner Barrios443★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add waybarrios/opencode-power-pack --skill codeql --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 16
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/codeql/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 443
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# CodeQL Analysis Supported languages: Python, JavaScript/TypeScript, Go, Java/Kotlin, C/C++, C#, Ruby, Swift. **Skill resources:** Reference files and templates are located at `references/` and `workflows/`. ## Essential Principles 1. **Database quality is non-negotiable.** A database that builds is not automatically good. Always run quality assessment (file counts, baseline LoC, extractor errors) and compare against expected source files. A cached build produces zero useful extraction. 2. **Data extensions catch what CodeQL misses.** Even projects using standard frameworks (Django, Spring, Express) have custom wrappers around database calls, request parsing, or shell execution. Skipping the create-data-extensions workflow means missing vulnerabilities in project-specific code paths. 3. **Explicit suite references prevent silent query dropping.** Never pass pack names directly to `codeql database analyze` — each pack's `defaultSuiteFile` applies hidden filters that can produce zero results. Always generate a custom `.qls` suite file. 4. **Zero findings needs investigation, not celebration.** Zero results can indicate poor database quality, missing models, wrong query packs, or sil

What's inside
Steps it walks through
  1. Essential Principles
  2. Output Directory
  3. Database Discovery
  4. Quick Start
  5. When to Use
  6. When NOT to Use
  7. Rationalizations to Reject
  8. Workflow Selection
  9. Auto-Detection Logic
  10. Database Selection Prompt
  11. General Decision Prompt
  12. Reference Index
  13. Success Criteria
Ships with 15 files
  • references/build-fixes.md
  • references/diagnostic-query-templates.md
  • references/extension-yaml-format.md
  • references/important-only-suite.md
  • references/language-details.md
  • references/macos-arm64e-workaround.md
  • references/performance-tuning.md
  • references/quality-assessment.md
  • references/ruleset-catalog.md
  • references/run-all-suite.md
  • references/sarif-processing.md
  • references/threat-models.md
  • workflows/build-database.md
  • workflows/create-data-extensions.md
  • workflows/run-analysis.md
Commands it runs
Resolve output directory
if [ -n "$USER_SPECIFIED_DIR" ]; then
else
while [ -e "${BASE}_${N}" ]; do
done
fi
mkdir -p "$OUTPUT_DIR"
Find ALL CodeQL databases (top-level and one subdirectory deep)
find . -maxdepth 3 -name "codeql-database.yml" -not -path "*/\.*" 2>/dev/null \
For each database, extract language and creation time
More from opencode-power-pack
All skills →
About this skill
What does the codeql skill do?

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on \"run codeql\", \"codeql scan\", \"codeql analysis\", \"build codeql database\", or \"find vulnerabilities with codeql\". Supports \"run all\" (security-and-quality suite) and \"important only\" (high-precision security findings) scan modes. Also handles creating data extension models and processing CodeQL SARIF output.

How do I install it?

Run `npx skills add waybarrios/opencode-power-pack --skill codeql --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From waybarrios/opencode-power-pack, a repository with 443 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going