Agent skill

XiaoyaoSearch Local File Search

by dtsola in dtsola/xiaoyaosearch

Searches local files from an agent through the XiaoyaoSearch MCP server, using semantic, full-text, hybrid, image-similarity and voice queries.

Custom licenceAuto-check passedProductivity & Automation

SKILL.md written in Chinese; this summary is our English description.

Install XiaoyaoSearch Local File Search

skills CLI
$ npx skills add dtsola/xiaoyaosearch --skill xiaoyao-search -a claude-code

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

GitHub CLI
$ gh skill install dtsola/xiaoyaosearch xiaoyao-search --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/dtsola/xiaoyaosearch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xiaoyao-search .claude/skills/xiaoyao-search && 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
xiaoyao-search
GitHub stars
1k
Token cost
~836 tokens
SKILL.md length
170 words
Files
4
Skills in repo
4
Repo updated
First seen
Licence
Custom licence

At a glance

Searches local files from an agent through the XiaoyaoSearch MCP server, using semantic, full-text, hybrid, image-similarity and voice queries.

  • Works in 5 steps: semantic_search(语义搜索) → fulltext_search(全文搜索) → hybrid_search(混合搜索) → …
  • Finding local documents by describing them in natural language
  • SKILL.md covers When to use, Capability, Usage and Examples, plus 2 more sections
  • Calls curl

What it does

Written in Chinese, this skill exposes five search tools from the XiaoyaoSearch MCP server for finding local files. semantic_search matches natural-language descriptions with a BGE-M3 vector model, fulltext_search does exact keyword matching with Whoosh, hybrid_search fuses both with the RRF algorithm, image_search finds similar local images with CN-CLIP, and voice_search transcribes an audio file with FasterWhisper and then runs a semantic, full-text or hybrid search. Most tools take a query, a result limit of 1 to 100 that defaults to 20, a similarity threshold from 0.0 to 1.0 that defaults to 0.5, and an optional file type filter.

It requires the XiaoyaoSearch backend to be running, by default at 127.0.0.1 on port 8000, with the MCP feature enabled and an index already built. The agent discovers the tools over MCP and gets JSON results with totals and search time. Environment variables control the SSE endpoint, server name, default limit, default threshold and whether voice search is enabled, and a curl request to the /mcp endpoint tests the connection. Worked examples cover finding machine-learning documents, Python files containing async def, similar design drafts, a spoken request for last week's meeting notes, and a broad search on Vue 3 components.

When your agent uses it

  • Finding local documents by describing them in natural language
  • Searching for files that contain an exact keyword or code snippet
  • Finding local images similar to a given picture
  • Searching files by speaking the request

Example prompts

  • “Find my documents about machine learning algorithm optimization.”
  • “Find Python files containing async def.”
  • “Find design drafts similar to the screenshot at ~/Pictures/mockup.png.”
  • “Search for last week's meeting notes using the recording at ~/audio/query.wav.”

Requirements

  • The XiaoyaoSearch backend running locally with MCP enabled
  • A completed search index

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. semantic_search(语义搜索)
  2. fulltext_search(全文搜索)
  3. hybrid_search(混合搜索)
  4. image_search(图像搜索)
  5. voice_search(语音搜索)

What it can do on your machine

Read from SKILL.md and the folder at commit 0a9c6fc. 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

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    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

XiaoyaoSearch Local File Search loads about 836 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 170 words of instructions outside code blocks.

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

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 170 words (~836 tokens).

name
xiaoyao-search
metadata.tags
mcp, search, local-files, semantic-search, vector-search, ai-tools
metadata.version
1.0.0
metadata.author
xiaoyao-search

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files in skills/xiaoyao-search of dtsola/xiaoyaosearch.

  • SKILL.md
  • rules/connection.md
  • rules/examples.md
  • rules/tools.md

Open the folder on GitHubat commit 0a9c6fc

Compare with similar skills

XiaoyaoSearch Local File Search 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.

XiaoyaoSearch Local File Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
XiaoyaoSearch Local File Search this skilldtsola/xiaoyaosearch1k—~836Automated safety check: PassCustom licence
FilesystemMathews-Tom/armory329—~2.5kAutomated safety check: PassMIT
Vexa MeetingsVexa-ai/vexa2.9k—~631Automated safety check: PassApache-2.0
Frontmcp Setupagentfront/frontmcp146—~5.8kAutomated safety check: PassApache-2.0
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT
Cap Screen Recording CLICapSoftware/Cap23k—~1.7kAutomated safety check: PassCustom licence

Similar skills

  • Filesystem

    Mathews-Tom/armory

    File and directory operations via Claude Code built-in tools, replacing the Filesystem MCP server.

    329 GitHub stars~2.5k tokensUpdated 5 days ago
    Productivity & AutomationAuto-check passed
  • Vexa Meetings

    Vexa-ai/vexa

    Sends a Vexa bot into a meeting, follows the live transcript and writes meeting notes with speakers, decisions and action items into Obsidian, Notion or Markdown.

    2.9k GitHub stars~631 tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Frontmcp Setup

    agentfront/frontmcp

    A skill your agent uses when starting, scaffolding, or organizing a FrontMCP project.

    146 GitHub stars~5.8k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Operates Cap, the screen recording and sharing tool, through its local MCP tools or cap command instead of browser automation: library, transcripts, comments and sharing.

    23k GitHub stars~1.7k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Piece Builder

    activepieces/activepieces

    Build and edit Activepieces pieces (integrations) — creating new pieces, adding actions or triggers, or fixing bugs in existing ones.

    25k GitHub stars~3.1k tokensUpdated today
    Productivity & AutomationAuto-check: notes

More from dtsola/xiaoyaosearch

  • Video Podcast Maker

    dtsola/xiaoyaosearch

    Turns a topic into a 4K horizontal video podcast through research, scripting, text-to-speech, Remotion rendering and background music, and can learn styles from references.

    1k GitHub stars~3.4k tokensUpdated 9 days ago
    Auto-check passed
  • Better Icons

    dtsola/xiaoyaosearch

    Searches more than 200 Iconify icon libraries and fetches icons as SVG from a command line tool or an MCP server.

    1k GitHub starsUsed in 2 repos~895 tokens
    Auto-check passed
  • Excalidraw Diagram Generator

    dtsola/xiaoyaosearch

    Writes .excalidraw JSON diagrams and exports them to PNG or SVG through the Kroki API or a local Firefox-based CLI.

    1k GitHub stars~3.5k tokensUpdated 9 days ago
    Auto-check passed

Questions about XiaoyaoSearch Local File Search

What does XiaoyaoSearch Local File Search do?

Searches local files from an agent through the XiaoyaoSearch MCP server, using semantic, full-text, hybrid, image-similarity and voice queries. Written in Chinese, this skill exposes five search tools from the XiaoyaoSearch MCP server for finding local files. semantic_search matches natural-language descriptions with a BGE-M3 vector model, fulltext_search does exact keyword matching with Whoosh, hybrid_search fuses both with the RRF algorithm, image_search finds similar local images with CN-CLIP, and voice_search transcribes an audio file with FasterWhisper and then runs a semantic, full-text or hybrid search.

When should I use XiaoyaoSearch Local File Search?

XiaoyaoSearch Local File Search fits situations like: finding local documents by describing them in natural language; searching for files that contain an exact keyword or code snippet; finding local images similar to a given picture; searching files by speaking the request.

How do I install XiaoyaoSearch Local File Search in Claude Code?

Run `npx skills add dtsola/xiaoyaosearch --skill xiaoyao-search -a claude-code`. Or copy the skill folder (skills/xiaoyao-search in dtsola/xiaoyaosearch) into .claude/skills/xiaoyao-search in your project. Claude Code loads it when a task matches its description.

How do I install XiaoyaoSearch Local File Search in Codex?

Run `npx skills add dtsola/xiaoyaosearch --skill xiaoyao-search -a codex`. Or copy the skill folder (skills/xiaoyao-search in dtsola/xiaoyaosearch) into .agents/skills/xiaoyao-search in your project. Codex loads it when a task matches its description.

Can I use XiaoyaoSearch Local File Search 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 dtsola/xiaoyaosearch --skill xiaoyao-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaoyao-search, .gemini/skills/xiaoyao-search, .github/skills/xiaoyao-search and .opencode/skills/xiaoyao-search in your project.

What does XiaoyaoSearch Local File Search need to run?

Going by SKILL.md and its folder, XiaoyaoSearch Local File Search needs the command-line tools its instructions call (curl). Our summary lists: The XiaoyaoSearch backend running locally with MCP enabled; A completed search index.

Does XiaoyaoSearch Local File Search access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is XiaoyaoSearch Local File Search 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 XiaoyaoSearch Local File Search use?

XiaoyaoSearch Local File Search 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 XiaoyaoSearch Local File Search use?

About 836 tokens (SKILL.md is roughly 3.3k 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 XiaoyaoSearch Local File Search?

Skills that share tags, products or a category with XiaoyaoSearch Local File Search: Filesystem (Mathews-Tom/armory, 329 stars), Vexa Meetings (Vexa-ai/vexa, 2.9k stars), Frontmcp Setup (agentfront/frontmcp, 146 stars) and Composio (ComposioHQ/composio, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains XiaoyaoSearch Local File Search?

dtsola (a GitHub user) maintains it in dtsola/xiaoyaosearch, which has 1,036 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 2, 2026.

Source: dtsola/xiaoyaosearch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.