Loading...
Loading...
AST-based semantic code search skill for AI agents. Teaches agents to use sqry's 34 MCP tools for finding symbols by structure (functions, classes, types), tracing relationships (callers, callees, imports, inheritance), analyzing dependencies, and detecting code quality issues. Unlike embedding-based search, sqry parses code like a compiler. Supports 37 languages. Uses tiered discovery: start with Quick Tool Selection below, load reference files only when you need parameter details or advanced workflows.
npx skill4agent add verivus-oss/sqry-skills sqry-semantic-searchkind:function name:*auth*callers:authenticateauthenticate()kind:class impl:Serializereturns:Result# Install
curl -fsSL https://raw.githubusercontent.com/verivus-oss/sqry/main/scripts/install.sh | bash -s -- --component all
# Index your project
sqry index .
# Configure MCP for your agent
sqry mcp setup --tool claude # or codex, gemini
sqry mcp statusget_definitionget_hover_infoget_referencesdirect_callersrelation_querydirect_calleesrelation_queryrelation_queryrelation_typecall_hierarchyexplain_codedependency_impactis_node_in_cyclesearch_similarpattern_searchget_workspace_symbolssemantic_searchhierarchical_searchfind_cyclesfind_unusedfind_duplicatessemantic_diffget_graph_statsget_insightscomplexity_metricsexpand_cache_statusshow_dependenciessubgraphexport_graphtrace_pathcross_language_edgesget_index_statuslist_fileslist_symbolsget_document_symbolsrebuild_indexsqry_askmcp__sqry__| Category | Tools | When to load details |
|---|---|---|
| Search (6) | semantic_search, hierarchical_search, explain_code, search_similar, pattern_search, get_workspace_symbols | Need |
| Navigation (4) | get_definition, get_references, get_hover_info, get_document_symbols | Usually no extra params needed |
| Relations (6) | relation_query, direct_callers, direct_callees, call_hierarchy, trace_path, dependency_impact | Need |
| Graph (4) | subgraph, export_graph, show_dependencies, cross_language_edges | Need |
| Analysis (7) | semantic_diff, find_duplicates, find_cycles, is_node_in_cycle, find_unused, complexity_metrics, sqry_ask | Need |
| Index (7) | get_index_status, get_graph_stats, get_insights, list_files, list_symbols, rebuild_index, expand_cache_status | Usually no extra params needed |
field:valuekind:function name:*auth* # functions with "auth" in name
callers:authenticate # who calls authenticate?
kind:class path:src/models # classes in src/models
lang:rust kind:struct impl:Debug # Rust structs implementing Debugnamekindpathfilelanglanguageparentscope.namescope.typescope.ancestorcallerscalleesimportsexportsreturnsimplreferencesfield:valuefield~=patternvisibilitylanguagesymbol_kindscore_minnewinithandleprocessfile_path{ "symbol": "handle", "file_path": "src/api/router.rs" }"symbol": "UserService::authenticate"get_referencespathsemantic_searchkind:name:path:file_pathdirect_callerscall_hierarchymax_resultsmax_depthmax_nodespathkindlanguageget_hover_infoexplain_codeHighWallClock--include-high-costSQRY_INCLUDE_HIGH_COST=1--enable-plugin json--enable-plugin servicenow-xml