Agent skill

Codebase Pattern Finder

by shopsys in shopsys/shopsys

codebase-pattern-finder is a useful subagent for finding similar implementations, usage examples, or existing patterns that can be modeled after.

Custom licenceAuto-check passedDevelopment

Install Codebase Pattern Finder

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

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

GitHub CLI
$ gh skill install shopsys/shopsys codebase-pattern-finder --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/.agents/skills/codebase-pattern-finder .claude/skills/codebase-pattern-finder && 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-pattern-finder
GitHub stars
350
Token cost
~305 tokens
SKILL.md length
79 words
Files
1
Skills in repo
46
Repo updated
First seen
Licence
Custom licence

At a glance

codebase-pattern-finder is a useful subagent for finding similar implementations, usage examples, or existing patterns that can be modeled after.

  • Tasks that involve Subagents
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codebase Pattern Finder is an agent skill from shopsys/shopsys. codebase-pattern-finder is a useful subagent for finding similar implementations, usage examples, or existing patterns that can be modeled after. It will give you concrete code examples based on what you're looking for! It's sorta like codebase-locator, but it will not only tell you the location of files, it will also give you code details!

Its SKILL.md is about 310 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 Development, covering Subagents. The repository describes itself as: Main repository for maintaining Shopsys Platform packages. Open for ISSUES and PULL REQUESTS.

When your agent uses it

  • Tasks that involve Subagents

Example prompts

  • “re looking for! It”
  • “/codebase-pattern-finder”

What it can do on your machine

Read from SKILL.md and the folder at commit 494a8a6. 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 Pattern Finder loads about 305 tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 79 words of instructions outside code blocks.

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

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 79 words (~305 tokens).

“The canonical instructions for this skill are authored from the project perspective. Read them first:”

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

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/codebase-pattern-finder of shopsys/shopsys.

Open the folder on GitHubat commit 494a8a6

Compare with similar skills

Codebase Pattern Finder 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 Pattern Finder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Pattern Finder this skillshopsys/shopsys350—~305Automated safety check: PassCustom licence
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0
Cherry Studio PR ReviewCherryHQ/cherry-studio52k—~3.9kAutomated safety check: PassAGPL-3.0
Jevgrepdzhng/jevgrep2.4k—~741Automated safety check: PassMIT
PR Cyclejaemk/cached2.1k—~4.8kAutomated safety check: NotesMIT
PR Reviewjaemk/self_update961—~1.5kAutomated safety check: NotesMIT

Similar skills

  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Jevgrep

    dzhng/jevgrep

    A skill your agent uses for questions about how, why, or where behavior works in a repository, including questions that name a function or setting.

    2.4k GitHub stars~741 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/self_update

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.

    961 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Cursor Composer Task Delegate

    Chachamaru127/claude-code-harness

    Hands one implementation task to Cursor Composer in an isolated git worktree, then reviews its diff and cherry-picks the result into the main branch.

    3.2k GitHub stars~4.4k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes

More from shopsys/shopsys

All 46 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

Questions about Codebase Pattern Finder

What does Codebase Pattern Finder do?

codebase-pattern-finder is a useful subagent for finding similar implementations, usage examples, or existing patterns that can be modeled after. Codebase Pattern Finder is an agent skill from shopsys/shopsys. codebase-pattern-finder is a useful subagent for finding similar implementations, usage examples, or existing patterns that can be modeled after.

When should I use Codebase Pattern Finder?

Codebase Pattern Finder fits situations like: tasks that involve Subagents.

How do I install Codebase Pattern Finder in Claude Code?

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

How do I install Codebase Pattern Finder in Codex?

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

Can I use Codebase Pattern Finder 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-pattern-finder -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-pattern-finder, .gemini/skills/codebase-pattern-finder, .github/skills/codebase-pattern-finder and .opencode/skills/codebase-pattern-finder in your project.

What does Codebase Pattern Finder need to run?

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

Does Codebase Pattern Finder 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 Pattern Finder 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 Pattern Finder use?

Codebase Pattern Finder 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 Pattern Finder use?

About 305 tokens (SKILL.md is roughly 1.2k 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 Pattern Finder?

Skills that share tags, products or a category with Codebase Pattern Finder: GitHub Review Iteration (prisma/orm, 48k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 52k stars), Jevgrep (dzhng/jevgrep, 2.4k stars) and PR Cycle (jaemk/cached, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Pattern Finder?

shopsys (a GitHub organization) maintains it in shopsys/shopsys, which has 350 GitHub stars. The repository holds 46 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.