Agent skill

Get Call Paths

by opensage-agent in opensage-agent/opensage-adk

Get a path in the call graph from a source function to a specified destination function in the codebase.

Apache-2.0Auto-check passedDevelopment

Install Get Call Paths

skills CLI
$ npx skills add opensage-agent/opensage-adk --skill get-call-paths -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opensage-agent/opensage-adk get-call-paths --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opensage-agent/opensage-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/opensage/bash_tools/static_analysis/get-call-paths-to-function .claude/skills/get-call-paths && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
get-call-paths
GitHub stars
127
Token cost
~272 tokens
SKILL.md length
76 words
Files
2 (incl. scripts)
Skills in repo
21
Repo updated
First seen
Licence
Apache-2.0

At a glance

Get a path in the call graph from a source function to a specified destination function in the codebase.

  • Tasks that involve Codebase onboarding
  • SKILL.md covers Usage, Parameters, Return Value and Requires Sandbox
  • Runs Python scripts from its folder; calls python3
  • Tasks that involve Static analysis and SAST

What it does

Get Call Paths is an agent skill from opensage-agent/opensage-adk. Get a path in the call graph from a source function to a specified destination function in the codebase. It's very useful when you want to find call paths to a function.

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/get_call_paths_to_function.py`).

It sits in Development, covering Codebase onboarding and Static analysis and SAST. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Codebase onboarding
  • Tasks that involve Static analysis and SAST

Example prompts

  • “/get-call-paths”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 54d6470. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Get Call Paths loads about 272 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 76 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~272

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from opensage-agent/opensage-adk at commit 54d6470, republished under its Apache-2.0 licence (© opensage-agent). 76 words, ~272 tokens.

Download SKILL.mdSave it as .claude/skills/get-call-paths/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
get-call-paths
description
Get a path in the call graph from a source function to a specified destination function in the codebase. It's very useful when you want to find call paths to a function.
should_run_in_sandbox
main
returns_json
false

Get Call Paths Tool

Get a path in the call graph from a source function to a specified destination function in the codebase.

Usage

bash
python3 /bash_tools/static_analysis/get-call-paths-to-function/scripts/get_call_paths_to_function.py "DST_FUNCTION" \
  --dst-file "path/to/dst_file" \
  --src-function "SRC_FUNCTION" \
  --src-file "path/to/src_file"

Parameters

  • dst_function_name (positional): Destination function name.
  • --dst-file: File path where the destination function is defined (optional).
  • --src-function: Source function name (optional; default LLVMFuzzerTestOneInput).
  • --src-file: File path where the source function is defined (optional).

Return Value

Returns JSON text with a top-level key result containing call path info.

Requires Sandbox

neo4j, codeql, joern

© opensage-agent, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in src/opensage/bash_tools/static_analysis/get-call-paths-to-function of opensage-agent/opensage-adk.

  • SKILL.md
  • scripts/get_call_paths_to_function.py

Open the folder on GitHubat commit 54d6470

Compare with similar skills

Get Call Paths next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Get Call Paths compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Get Call Paths this skillopensage-agent/opensage-adk127—~272Automated safety check: PassApache-2.0
Gograph Go Repository Intelligenceozgurcd/gograph227—~4.8kAutomated safety check: NotesMIT
Ripwire Graph Queryredhat-et/ripwire2.4k—~1.1kAutomated safety check: NotesApache-2.0
Code Graph Mermaid Diagramstrailofbits/skills7.4k1 repos~1.7kAutomated safety check: PassCC-BY-SA-4.0
New Rule for sonar-javaSonarSource/sonar-java1.2k—~833Automated safety check: PassCustom licence
Golang Continuous Integrationsamber/cc-skills-golang3.4k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Gives an agent working in a Go codebase a structural view through a local MCP server: call graphs, blast-radius and impact analysis, and bounded first-call exploration.

    227 GitHub stars~4.8k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Ripwire Graph Query

    redhat-et/ripwire

    Answers call-graph questions that combine several conditions, such as complex functions that reach a target or untested symbols near main, using ripwire's graph-query mode.

    2.4k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Graph Mermaid Diagrams

    trailofbits/skills

    Official

    Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.

    7.4k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • New Rule for sonar-java

    SonarSource/sonar-java

    Official

    Sets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change.

    1.2k GitHub stars~833 tokensUpdated today
    DevelopmentAuto-check passed
  • Golang Continuous Integration

    samber/cc-skills-golang

    GitHub Actions CI/CD pipeline configuration for Golang projects — workflow files for test, lint, SAST, coverage and vulnerability-scan jobs, Dependabot and Renovate config files, GoReleaser release…

    3.4k GitHub stars~3.7k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Arandu Doctor Findings

    arandu-io/arandu

    Explains what each aru doctor architecture-check finding means in the Arandu Go framework, why it is never suppressed, and how to fix the line it points to.

    281 GitHub stars~1.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed

More from opensage-agent/opensage-adk

All 21 skills in this repo
  • Run Fuzzing Campaign

    opensage-agent/opensage-adk

    Run a fuzzing campaign using AFL++ with optional seeds; supports --custommutatorpath (you can write your own custom mutator and use this to execute).

    127 GitHub stars~542 tokensUpdated 2 mo ago
    Auto-check passed
  • Pool

    opensage-agent/opensage-adk

    Run N tasks under a concurrency cap K via a sliding-window worker pool.

    127 GitHub stars~462 tokensUpdated 2 mo ago
    Auto-check passed
  • Create New Tool

    opensage-agent/opensage-adk

    Scaffold a new bashtools Skill under bashtools/newtools/. An agent skill from opensage-agent/opensage-adk.

    127 GitHub stars~302 tokensUpdated 2 mo ago
    Auto-check passed
  • Extract Crashes

    opensage-agent/opensage-adk

    Extract crash inputs from fuzzing output into a target directory.

    127 GitHub stars~215 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Callee

    opensage-agent/opensage-adk

    Tool to get the callee of a function in the codebase by function name and file path.

    127 GitHub stars~223 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Caller

    opensage-agent/opensage-adk

    Tool to get the caller of a function in the codebase. An agent skill from opensage-agent/opensage-adk.

    127 GitHub stars~208 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Get Call Paths

What does Get Call Paths do?

Get a path in the call graph from a source function to a specified destination function in the codebase. Get Call Paths is an agent skill from opensage-agent/opensage-adk. Get a path in the call graph from a source function to a specified destination function in the codebase.

When should I use Get Call Paths?

Get Call Paths fits situations like: tasks that involve Codebase onboarding; tasks that involve Static analysis and SAST.

How do I install Get Call Paths in Claude Code?

Run `npx skills add opensage-agent/opensage-adk --skill get-call-paths -a claude-code`. Or copy the skill folder (src/opensage/bash_tools/static_analysis/get-call-paths-to-function in opensage-agent/opensage-adk) into .claude/skills/get-call-paths in your project. Claude Code loads it when a task matches its description.

How do I install Get Call Paths in Codex?

Run `npx skills add opensage-agent/opensage-adk --skill get-call-paths -a codex`. Or copy the skill folder (src/opensage/bash_tools/static_analysis/get-call-paths-to-function in opensage-agent/opensage-adk) into .agents/skills/get-call-paths in your project. Codex loads it when a task matches its description.

Can I use Get Call Paths in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opensage-agent/opensage-adk --skill get-call-paths -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/get-call-paths, .gemini/skills/get-call-paths, .github/skills/get-call-paths and .opencode/skills/get-call-paths in your project.

What does Get Call Paths need to run?

Going by SKILL.md and its folder, Get Call Paths needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Get Call Paths access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Get Call Paths safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Get Call Paths use?

Get Call Paths is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Get Call Paths use?

About 272 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Get Call Paths?

Skills that share tags, products or a category with Get Call Paths: Gograph Go Repository Intelligence (ozgurcd/gograph, 227 stars), Ripwire Graph Query (redhat-et/ripwire, 2.4k stars), Code Graph Mermaid Diagrams (trailofbits/skills, 7.4k stars) and New Rule for sonar-java (SonarSource/sonar-java, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Get Call Paths?

opensage-agent (a GitHub organization) maintains it in opensage-agent/opensage-adk, which has 127 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on August 4, 2026.

Source: opensage-agent/opensage-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.