Static analysis

From opensage-agent/opensage-adk · View interactive version

Static analysis is an AI agent skill from the GitHub repository opensage-agent/opensage-adk. Static code analysis tools using Joern and Neo4j. These tools perform advanced code analysis including control flow analysis, data flow analysis, call graph traversal, and program slicing. Available tools: joern-query, joern-slice, search-function, get-caller, get-callee, get-call-paths-to-function.

How to use this skill

Skill file

Static Analysis Tools

Category of tools for advanced static code analysis using Joern and Neo4j. These tools provide sophisticated code analysis capabilities including call graph analysis, program slicing, control flow analysis, and graph-based queries.

Available Tools

Usage

These tools work with joern and main sandbox types, depending on the specific tool.

The graph data lives in the analysis Neo4j database, populated by Joern/CodeQL initializers when the joern / codeql sandboxes start. Schema:

The high-level skills below wrap common queries; for ad-hoc Cypher, use the neo4j-query skill against --database analysis.

Common Use Cases

Requires Sandbox

joern, main, neo4j, codeql

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.