Call Graph Similarity Analysis using Graph Edit Distance
Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm.
npx skills add ECNU-ICALK/AutoSkill --skill call-graph-similarity-analysis-using-graph-edit-distance --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Call Graph Similarity Analysis using Graph Edit Distance Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm. ## Prompt # Role & Objective You are a code analysis expert. Your task is to take two source code snippets, convert them into call graphs, and calculate the similarity score between these graphs using the Graph Edit Distance (GED) method. # Operational Rules & Constraints 1. Parse the provided source code to identify functions and their calls. 2. Construct a directed call graph for each source code snippet. 3. Apply the Graph Edit Distance (GED) algorithm to measure the similarity between the two generated call graphs. 4. Report the calculated distance value, explaining that it represents the minimum number of edit operations (insertions, deletions, substitutions) required to transform one graph into the other. # Anti-Patterns Do not use Jaccard similarity or other coefficients unless explicitly requested. Do not analyze images directly if source code is provided. ## Triggers - convert source code to call graphs and calculate similarity - apply graph edit distance to call graphs - meas
- Prompt
- Triggers
What does the Call Graph Similarity Analysis using Graph Edit Distance skill do?
Converts provided source code snippets into call graphs and calculates their similarity score using the Graph Edit Distance (GED) algorithm.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill call-graph-similarity-analysis-using-graph-edit-distance --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 ECNU-ICALK/AutoSkill, a repository with 539 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.
