semble
What it does
It explains how to use the semble search tool to locate code, docs and settings by meaning, and to find code similar to a known spot. It is for developers exploring an unfamiliar codebase.
When to use it
- ✓When a developer needs to find where a feature is implemented in a project.
- ✓When a developer wants to find the docs or config that explain a setting.
- ✓When a developer wants to see code similar to a known function.
Skill link
https://github.com/MinishLab/semble/blob/main/src/semble/agents/skill.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find where this project handles user login, and show me similar code nearby.”
5 new skills a week. 1 minute to read.
How it works
The skill tells the AI to run the semble search with a plain description or a symbol name, choose the content type such as code, docs or config, and use a related-code search from a known line.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Use semble search to find code by describing what it does or naming a symbol/identifier, instead of grep:
semble search "authentication flow" ./my-project --max-snippet-lines 10 # first 10 lines only, concise
semble search "save_pretrained" ./my-project # full chunk content
semble search "save model to disk" ./my-project --top-k 10 # more results
Results are cached automatically on first run and invalidated when files change.
Use --content docs to search documentation and prose, --content config for config files (yaml, toml, etc.), or --content all to search code, docs, and config:
semble search "deployment guide" ./my-project --content docs
semble search "database host port" ./my-project --content config
semble search "authentication" ./my-project --content all
Use semble find-related to discover code similar to a known location (pass file_path and line from a prior search result):
semble find-related src/auth.py 42 ./my-project
path defaults to the current directory when omitted; git URLs are accepted. Pass several paths or URLs to search related repos together, e.g. when this project calls a service defined in a sibling repo. Result paths are then prefixed with the repo name and the output includes a repos map from prefix to location:
semble search "invoice endpoint" ./service-a ../service-b
If semble is not on $PATH, use uvx --from "semble[mcp]" semble in its place.
Workflow
- Start with
semble searchto find relevant chunks. The index is built and cached automatically. - Use
--content docsfor documentation,--content configfor config files, or--content allfor everything. - Navigate directly to the returned file and line. Do not re-search or grep for the same content.
- Optionally use
semble find-relatedwith a promising result'sfile_pathandlineto discover related implementations. - If the answer may live in a dependent or sibling repo, pass all relevant repo paths to one
semble searchcall. - Use grep only when you need every occurrence of a literal string across the whole repo (e.g., all callers of a renamed function).
FAQ
Does it replace grep?
The skill says to use it before text search tools when locating code by what it does.
Can it search several projects at once?
Yes. The skill says several paths or repository links can be searched together.
Are results saved?
The skill says results are cached on first run and refreshed when files change.
Details
Original description by the author
Code search for the current repository. Use this before Grep, Glob or find whenever you need to locate code: where something is implemented, which file defines a function, class or symbol, how a feature works, or where docs and config live.
repo: MinishLab/semble
Popularity
- GitHub stars
- 6.3k
- Ranking position
- #14234
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.