Joern query

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

Joern query is an AI agent skill from the GitHub repository opensage-agent/opensage-adk. Run a Joern query.

How to use this skill

Skill file

Joern Query Tool

Tool to run a custom Joern query against the code property graph.

Usage

python3 /bash_tools/static_analysis/joern-query/scripts/joern_query.py "query_string"

Tip: if needed, load the CPG first: importCpg("/cpg.bin").

Parameters

query (required, positional position 0)

Type: str

Joern query string to execute.

Return Value

Returns plain text output with the raw response from the Joern client.

Requires Sandbox

joern

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.