Automated summary
Queries context-mode's persistent FTS5 knowledge base to retrieve previously indexed local project content, documentation, or session memory without rereading raw sources into the conversation.
Strengths
- Prefers the ctx_search MCP tool and batches related questions into a single call via the queries array
- Lets you narrow results to a specific project or indexed label with the source parameter
- Falls back to the context-mode CLI when MCP tools are unavailable
- Keeps conversation context lean by returning only matching snippets instead of whole files
Limitations
- Only searches content that was already indexed; an empty index requires running /context-mode:ctx-index or context-mode index <path> first
- Relies on FTS5 full-text matching, so queries must be short and technical (two to four terms) with no semantic search
- Requires context-mode to be installed with either the MCP tool or the CLI reachable
Use it when you need to quickly find information already indexed for a project or session notes without spending context on rereading source files.
Avoid it when the content has never been indexed or when you need conceptual reasoning that FTS5 keyword search cannot provide.
Security analysis
CautionThe skill performs local search via an MCP tool or CLI fallback. The actions are legitimate and non-destructive, but the CLI fallback executes a shell command with potentially user-influenced inputs, which warrants caution regarding argument handling and undeclared tool usage.
- •Uses shell CLI fallback with user-supplied query and source arguments; proper quoting/sanitization is necessary to prevent command injection.
- •No allowed-tools declared, but instructions include executing a bash command.
Examples
/context-mode:ctx-search look up "authentication middleware" and "token refresh" in project:acme-apiSearch the indexed docs for the deployment pipeline and release checklist and tell me what they say.Use ctx-search to find my earlier notes about the database migration and summarize the constraints we agreed on.name: ctx-search description: | Search context-mode's persistent FTS5 knowledge base for previously indexed local project content, documentation, or session memory. Trigger: /context-mode:ctx-search user-invocable: true
Context Mode Search
Search indexed content without rereading raw sources into conversation context.
Instructions
- Prefer the
ctx_searchMCP tool when it is available. - Batch all related questions in one
queriesarray. - Scope with
sourcewhen the user names a project or indexed label. - Use short, specific queries of two to four technical terms.
ctx_search({
source: "project:<name>",
queries: ["authentication middleware", "token refresh"],
limit: 5
})
- If MCP tools are unavailable, fall back to the CLI:
context-mode search "authentication middleware" --source project:<name> --limit 5
- If the index is empty, tell the user to run
/context-mode:ctx-indexorcontext-mode index <path>first.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/context-search-mte1lix5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/context-search-mte1lix5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/context-search-mte1lix5/download' --output '.skill-downloads/context-search-mte1lix5/SKILL.md.part' && mv '.skill-downloads/context-search-mte1lix5/SKILL.md.part' '.skill-downloads/context-search-mte1lix5/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/context-search-mte1lix5/SKILL.md' && test -s '.skill-downloads/context-search-mte1lix5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ctx-search' && cp -R '.skill-downloads/context-search-mte1lix5' '.claude/skills/ctx-search'Cursor
test -f '.skill-downloads/context-search-mte1lix5/SKILL.md' && test -s '.skill-downloads/context-search-mte1lix5/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/ctx-search' && cp -R '.skill-downloads/context-search-mte1lix5' '.cursor/skills/ctx-search'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/context-search-mte1lix5'openskills read 'context-search-mte1lix5'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/context-search-mte1lix5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.