similar-code
Find similar implementations and prior art for a code pattern across internal repositories — use when checking whether something already exists internally before building it, or looking for reference implementations to follow.
Install
With your agent
Install OMGSkills skill "gleanwork/claude-plugins:plugins/glean/skills/similar-code" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/gleanwork/claude-plugins /tmp/claude-plugins && ln -s /tmp/claude-plugins/plugins/glean/skills/similar-code ~/.claude/skills/similar-code
From README
Similar Code Search for similar implementations across the organization to find prior art, alternative approaches, or shared solutions. Determine the pattern or feature from the user's request. If not specified, ask before proceeding. Core Principles Find the blessed path: Look for official/platform solutions first Compare approaches: Different solutions have different tradeoffs Be skeptical: Not every implementation is worth following Quality over quantity: 3 vetted implementations beats 10 random matches Process Phase 1: Search for Direct Implementations Look for the pattern/feature across all repos: Phase 2: Search for Alternative Terms The same concept might be named differently: For example, "rate limiting" might also be called "throttling", "quota", "backpressure".
More from this repo
catch-up
Catch up on what you missed while away — meetings, decisions, action items, mentions, and important threads from a...
code-owners
Identify who owns, maintains, or has expertise in a specific code area — use when asked who to talk to about a system,...
codebase-context
Gather architectural context about an internal system from code and documentation across the organization — use when...
