Search code repositories for code related to a given code snippet, ranking results by call chain similarity, textual similarity, and functional similarity. Use when finding related code, locating similar implementations, discovering code dependencies, or identifying code that performs similar operations. Outputs ranked file lists with matching code snippets and relevance scores.
85
81%
Does it follow best practices?
Impact
87%
1.27xAverage score across 3 eval scenarios
Risky
Do not use without reviewing
Three-dimensional similarity scoring and output format
Call chain dimension
50%
100%
Textual dimension
50%
100%
Functional dimension
70%
100%
Per-result score breakdown
20%
100%
Scoring formula applied
0%
100%
Score range labels
0%
100%
Why it matches explanation
100%
100%
File path in results
100%
100%
Code snippet included
100%
100%
Structural element extraction
100%
100%
Ranking adjustments and result formatting
Same-directory boost
0%
0%
Test file penalty
50%
100%
Vendor/generated penalty
0%
100%
Line numbers in results
100%
100%
Top 10 limit
100%
100%
Code snippet length
100%
100%
Glob used for file discovery
0%
0%
Grep used for candidate search
33%
0%
Results ranked by score
100%
100%
Functional search categories and score range classification
Functional category identified
100%
100%
Validation search terms used
100%
90%
Regex/conditional check pattern
100%
100%
Score range tier applied
100%
100%
Multiple tier levels present
100%
100%
All three dimensions applied
50%
100%
Per-dimension sub-scores shown
100%
100%
Functional element extraction
100%
100%
Why it matches included
100%
100%
Results in ranked order
100%
100%
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.