codeql-query-model

Community

Design CodeQL query models with relational rigor.

Authorhafley66
Version1.0.0
Installs0

System Documentation

What problem does it solve?

CodeQL query modeling helps security engineers and developers reason about complex relational representations of codebases. It clarifies how to structure queries over AST relations, enabling consistent and scalable code analysis.

Core Features & Use Cases

  • Relational Code Abstractions: Treats AST nodes, edges, and types as first-class relations for robust code queries.
  • Query Language Design Guidance: Demonstrates how to express analyses with derived predicates, transitive closures, and constrained sets.
  • Taint Tracking & Data Flow Foundations: Illustrates building reusable security analysis patterns over code graphs.
  • Use Case: Build a library of per-language CodeQL patterns that can be composed to detect common vulnerabilities across languages.

Quick Start

Write a simple CodeQL model to classify functions by taint flow and produce a basic report.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: codeql-query-model
Download link: https://github.com/hafley66/claude-research/archive/main.zip#codeql-query-model

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.