yeaight7/agent-powerups/structured-code-search-mcp

Claude Code and agent skill by yeaight7/agent-powerups

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when designing or using MCP-backed structured code search with search, AST query, symbol inventory, and bounded extraction workflows.

Install

npx vskill@latest install yeaight7/agent-powerups/structured-code-search-mcp

SKILL.md

The same SKILL.md was published earlier as yeaight7/agent-powerups/structured-code-search-mcp.

Structured Code Search MCP

When to use

Use when an agent needs to search, navigate, or extract code using structural queries — AST patterns, symbol lookups, or cross-file reference tracing — beyond what simple grep or glob can provide, via an MCP-backed code search server.

Requirements / Checks

  • Prefer installed/pinned structured code search binaries over remote npx -y ...@latest execution.
  • Confirm the MCP client supports the required transport and method filtering.
  • Bound any search path to the current workspace unless the user explicitly approves otherwise.

Workflow

  1. Choose the right tool for the query:
NeedTool
Text/boolean search across filessearch_code
Structural pattern (function shape, class with field)query_code
Extract a specific file, range, or symbolextract_code
List all symbols in target filessymbols_code
  1. Bound scope before searching — set base path and default paths to the workspace. Set a result limit before running broad queries (e.g., max 20 results).
  1. Iterate from broad to narrow:
  • Start with search_code or symbols_code to identify candidate files.
  • Use query_code to narrow to the specific structural pattern.
  • Use extract_code to retrieve the exact code range needed.
  1. Filter methods at the server — use allowlists for read/search methods. Block write and edit methods by default; only enable if code modification is explicitly part of the task.
  1. Handle transport — support stdio or HTTP intentionally; set connect and tool call timeouts.
  1. Debug minimally — enable debug logs only long enough to capture connection, tool discovery, and failed calls. Disable after diagnosis.

Tool Interface (illustrative — actual names depend on your server)

  • search_code — text/boolean search with session dedup and result limits.
  • query_code — AST/structural search for code shapes.
  • extract_code — file/line/symbol extraction after search narrows scope.
  • symbols_code — symbol inventory for target files.

Exact tool names and schemas vary by implementation. Read the server's tool list before assuming names.

Safety Constraints

  • Validate all input arguments against the defined JSON schema before execution.
  • Enforce strict path boundaries — refuse requests for paths outside the workspace.
  • Do not expose write or edit modes unless code modification is explicitly requested.
  • Do not include test files or broad directories by default when the task asks for production behavior only.

Validation / Done Criteria

  • MCP setup has bounded paths, strict schemas, filtered methods, and timeouts configured.
  • Search and extract workflow returns enough source context without flooding the model context window.

References

  • references/code-search-tool-selection.md

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6
Repository forks
5
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yeaight7/agent-powerups/structured-code-search-mcp/badge)](https://verified-skill.com/skills/yeaight7/agent-powerups/structured-code-search-mcp)

Something wrong with this skill or its page? Tell us.