Agent skill

Codebase Locator

by shopsys in shopsys/shopsys

Locates files, directories, and components relevant to a feature or task in this Shopsys project.

Custom licenceAuto-check passedBackend & APIs

Install Codebase Locator

skills CLI
$ npx skills add shopsys/shopsys --skill codebase-locator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shopsys/shopsys codebase-locator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shopsys/shopsys.git skills-src && mkdir -p .claude/skills && cp -r skills-src/project-base/.agents/skills/codebase-locator .claude/skills/codebase-locator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codebase-locator
GitHub stars
350
Token cost
~1.3k tokens
SKILL.md length
435 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Locates files, directories, and components relevant to a feature or task in this Shopsys project.

  • Works in 5 steps: Start with grep for keywords across app/… → glob for file-name patterns (see the… → LS directories to understand structure… → …
  • Backend & APIs work in your project
  • SKILL.md covers What this repository is (for…, Search strategy, Output format and Guidelines, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codebase Locator is an agent skill from shopsys/shopsys. Locates files, directories, and components relevant to a feature or task in this Shopsys project. Call it with a human-language description of what you're looking for. A "super Grep/Glob/LS" — reach for it whenever you'd otherwise run those tools more than once.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs. It works with GraphQL. The repository describes itself as: Main repository for maintaining Shopsys Platform packages. Open for ISSUES and PULL REQUESTS.

When your agent uses it

  • Backend & APIs work in your project

Example prompts

  • “re looking for. A”
  • “— reach for it whenever you”
  • “Use the codebase-locator skill to locate files, directories, and components relevant to a feature or task in this Shopsys project”
  • “/codebase-locator”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Start with grep for keywords across app/ and storefront/.
  2. glob for file-name patterns (see the naming conventions below).
  3. LS directories to understand structure and file counts.
  4. Follow the extension chain — when you find a project class in app/src/… that extends a Shopsys\… class, locate that base in…
  5. Widen to vendor/shopsys/ when a feature isn't in app/ — most platform behavior lives in the packages and is only extended (often not at…

What it can do on your machine

Read from SKILL.md and the folder at commit 3c4bf38. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codebase Locator loads about 1.3k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 435 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 435 words (~1,284 tokens).

“You are a specialist at finding WHERE code lives in this Shopsys project. Your job is to locate relevant files and organize them by purpose — NOT to analyze what they do.”

— opening of SKILL.md by shopsys, Custom licence
name
codebase-locator
tools
Grep, Glob, LS

Read the full SKILL.md on GitHub

Files

Just SKILL.md in project-base/.agents/skills/codebase-locator of shopsys/shopsys.

Open the folder on GitHubat commit 3c4bf38

Compare with similar skills

Codebase Locator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codebase Locator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Locator this skillshopsys/shopsys350—~1.3kAutomated safety check: PassCustom licence
VibexRaja0sama/vibex388—~7.8kAutomated safety check: PassMIT
Releasesourcegraph/src-cli359—~1.9kAutomated safety check: PassApache-2.0
Flow Next Resolve PRgmickel/flow-next707—~1.1kAutomated safety check: PassMIT
Dev Rulesrust-dd/tako162—~810Automated safety check: PassMIT
Release WorkflowGoldziher/spikard123—~909Automated safety check: PassMIT

Similar skills

  • Vibex

    Raja0sama/vibex

    Diagrams and checkable docs from a codebase. An agent skill from Raja0sama/vibex.

    388 GitHub stars~7.8k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Release

    sourcegraph/src-cli

    Official

    Guides Sourcegraph CLI patch, minor, and major releases. An agent skill from sourcegraph/src-cli.

    359 GitHub stars~1.9k tokensUpdated 9 days ago
    Backend & APIsAuto-check passed
  • Flow Next Resolve PR

    gmickel/flow-next

    Resolve PR review feedback. An agent skill from gmickel/flow-next.

    707 GitHub stars~1.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Dev Rules

    rust-dd/tako

    General coding-style rules to apply to every project. An agent skill from rust-dd/tako.

    162 GitHub stars~810 tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Release Workflow

    Goldziher/spikard

    Release/publish the spikard Rust core crate and CLI end-to-end.

    123 GitHub stars~909 tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Review PR Comments

    latitude-dev/latitude-llm

    Triages a PR with GitHub CLI: loads issue-level and inline review feedback (gh pr view, gh api REST, gh api graphql as appropriate), walks items in order, replies in the correct thread, optional…

    4.7k GitHub stars~2.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from shopsys/shopsys

All 38 skills in this repo
  • Adhoc PR

    shopsys/shopsys

    Ad-hoc Pull Request Publisher — commits the current changes, pushes the branch, opens a GitHub pull request against the repository's default branch, and creates a matching SSP Jira issue in the…

    350 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Commit

    shopsys/shopsys

    Interactive commit workflow — analyzes all uncommitted changes, proposes atomic, logically grouped commits with messages following commit-conventions, and executes them only after the user approves…

    350 GitHub stars~771 tokensUpdated today
    Auto-check: notes
  • Create Enum

    shopsys/shopsys

    Create a Shopsys-style enum (a class extending AbstractEnum with public typed constants, NOT a native PHP enum).

    350 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Docs Researcher

    shopsys/shopsys

    Searches and analyzes documentation to provide relevant information for development tasks.

    350 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • PR Comments

    shopsys/shopsys

    Work with GitHub PR review threads — list unresolved comments as a digest (who is waiting on whom), reply to threads, and resolve/unresolve them.

    350 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • PR Description

    shopsys/shopsys

    Generates a PR description focused on business value using the project's PR template.

    350 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Questions about Codebase Locator

What does Codebase Locator do?

Locates files, directories, and components relevant to a feature or task in this Shopsys project. Codebase Locator is an agent skill from shopsys/shopsys. Locates files, directories, and components relevant to a feature or task in this Shopsys project.

When should I use Codebase Locator?

Codebase Locator fits situations like: backend & APIs work in your project.

How do I install Codebase Locator in Claude Code?

Run `npx skills add shopsys/shopsys --skill codebase-locator -a claude-code`. Or copy the skill folder (project-base/.agents/skills/codebase-locator in shopsys/shopsys) into .claude/skills/codebase-locator in your project. Claude Code loads it when a task matches its description.

How do I install Codebase Locator in Codex?

Run `npx skills add shopsys/shopsys --skill codebase-locator -a codex`. Or copy the skill folder (project-base/.agents/skills/codebase-locator in shopsys/shopsys) into .agents/skills/codebase-locator in your project. Codex loads it when a task matches its description.

Can I use Codebase Locator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shopsys/shopsys --skill codebase-locator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-locator, .gemini/skills/codebase-locator, .github/skills/codebase-locator and .opencode/skills/codebase-locator in your project.

What does Codebase Locator need to run?

SKILL.md names no scripts, command-line tools or credentials: Codebase Locator is instructions for the agent only.

Does Codebase Locator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codebase Locator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codebase Locator use?

Codebase Locator has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Codebase Locator use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codebase Locator?

Skills that share tags, products or a category with Codebase Locator: Vibex (Raja0sama/vibex, 388 stars), Release (sourcegraph/src-cli, 359 stars), Flow Next Resolve PR (gmickel/flow-next, 707 stars) and Dev Rules (rust-dd/tako, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Locator?

shopsys (a GitHub organization) maintains it in shopsys/shopsys, which has 350 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 7, 2026.

Source: shopsys/shopsys on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.