context-search

Searches codebases semantically by meaning using the jbcontext CLI tool.

1|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Chia1104/agent-air --skill context-search-chia1104
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-search
Source: https://github.com/Chia1104/agent-air/tree/main/skills/claude/context-search
Command: npx skills add https://github.com/Chia1104/agent-air --skill context-search-chia1104

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keyword search fails when you don't know the exact symbol, file, or class name. This Skill finds code by describing its behavior or intent, helping you locate relevant code in unfamiliar codebases. ## Core Features & Use Cases - Semantic Code Search: Run jbcontext search with descriptive natural-language queries to find code by meaning rather than exact keywords. - Scoped Search: Narrow results to a specific directory with jbcontext search -p <path> for targeted follow-up queries. - Similar Snippet Discovery: Paste a code snippet as the query to find similar implementations across the project. - Use Case: When asked "where is JWT token validation handled?" in an unfamiliar repo, run one broad semantic search, inspect the best hit and its neighboring files, then narrow with a path-scoped retry if needed. ## Quick Start Ask the agent to find where user authentication and login flow is implemented in this project using semantic code search.

Frequently Asked Questions about context-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search code by meaning instead of keywords?▼

Use jbcontext search with a descriptive natural-language query, such as "function that validates user email addresses". Semantic search matches intent and behavior, so detailed queries outperform single keywords.

How to narrow semantic code search to a specific directory?▼

Run jbcontext search with the -p flag followed by a path relative to the project root, for example jbcontext search -p src/auth "JWT token validation". This scopes results to that directory.

When should I use semantic search instead of grep or keyword search?▼

Use semantic search when you don't know the exact file, class, or symbol names and only know the behavior or intent. If you already know the relevant symbol or file, direct navigation or keyword search is faster.

Can I find similar code snippets with semantic search?▼

Yes, pass a code snippet directly as the query to jbcontext search. It returns snippets with similar meaning or structure across the project, useful for finding duplicate logic or reference implementations.

What should I do if the first semantic search returns poor results?▼

Inspect at least one returned file and its neighboring code in the same directory first. If the needed area is still unclear, retry with a narrowed query using -p pointed at the directory of the best first hit.