Codebase Locator
This skill quickly identifies codebases based on keywords and context, streamlining project discovery and boosting developer efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add codebase-locator npx -- -y @trustedskills/codebase-locator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"codebase-locator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/codebase-locator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The codebase-locator skill helps AI agents quickly find specific files or code snippets within a codebase. It can identify file paths based on keywords, function names, or other relevant identifiers. This significantly reduces the time spent manually searching through large projects to locate desired code elements.
When to use it
- Debugging: Quickly pinpoint the location of a bug report's mentioned file.
- Code Review: Locate specific functions or classes being discussed during a review.
- Feature Implementation: Find existing code related to a new feature you are implementing.
- Documentation Updates: Easily locate the source code corresponding to a particular documentation entry.
Key capabilities
- File path identification based on keywords.
- Identification of files containing specific function names.
- Code snippet location via identifier search.
Example prompts
- "Find the file containing the
calculate_interestfunction." - "Locate all files that mention 'database connection'."
- "Where is the code for handling user authentication?"
Tips & gotchas
The skill's effectiveness depends on clear and consistent naming conventions within the codebase. It assumes a relatively well-structured project to accurately identify file locations.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.