agentsclimarketplace

Codesearch install

Skill angpysha/api2skill/.agents/skills/codesearch-install

Install flupkede/codesearch — a local Rust MCP server for multi-repo semantic code search (vector + BM25 hybrid, symbol nav, offline). Downloads the right latest GitHub release binary by platform (defaults to the C#-enabled with-csharp variant) and optionally wires the MCP server into the host. Use during adapt/setup to give the code-search skill a Priority-1 semantic backend.From its SKILL.md

Install
npx -y skills add angpysha/api2skill --skill codesearch-install

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

codesearch-install

Installs codesearch — a fully-local, offline Rust MCP server for semantic code search across repositories. It satisfies Priority 1 of the code-search discovery order (semantic search before graphify / Grep).

The -with-csharp release variant bundles a scip-csharp helper for C# semantic analysis and is the default, since this pipeline targets .NET/C# projects. Pass -NoCsharp for the plain build.

Supported platforms

Only these release assets exist — the installer fails clearly on anything else:

OSArchArchive
Windowsx86_64.zip
Linuxx86_64.tar.gz
macOSarm64 (Apple Silicon).tar.gz

There is no Windows-ARM, Linux-ARM, or Intel-macOS build; build from source (cargo build --release) on those.

When to use

WhenWho
During agentic-tool apply / adapt setup, to stand up local semantic searchCoordinator / devops
mcp-codebase-search is unavailable and you want an offline backendAny agent hitting DEGRADED mode
Onboarding a new machine to the pipelineHuman

Usage

$CS = '.cursor/skills/codesearch-install/scripts/install-codesearch.ps1'   # or .claude/... / .agents/...

# Dry run — show which asset would be downloaded for this machine, then exit
pwsh $CS -DryRun

# Install latest, with-csharp (default), to ~/.local/bin
pwsh $CS

# Plain variant, pinned version, custom dir, reinstall
pwsh $CS -NoCsharp -Version v1.1.29 -InstallDir ~/tools/bin -Force

# Install and register the MCP server in the detected host config
pwsh $CS -ConfigureMcp                 # auto-detects cursor/claude/windsurf
pwsh $CS -ConfigureMcp -McpHost claude # force a specific host

Parameters

ParamDefaultPurpose
-VersionlatestRelease tag (e.g. v1.1.29) or latest
-NoCsharpoff (→ with-csharp)Install the plain variant instead
-InstallDir~/.local/binWhere the binary + helpers land
-ForceoffReinstall even if already present
-AddToPathoffAdd InstallDir to user PATH if missing (prints a hint on Unix)
-ConfigureMcpoffMerge a codesearch entry into the host MCP config
-McpHostautoauto | cursor | claude | windsurf
-TargetcwdRepo root (for the report + MCP config location)
-DryRunoffResolve + print the asset URL, download nothing

$GITHUB_TOKEN (if set) is sent as a bearer token to avoid GitHub API rate limits.

MCP wiring

-ConfigureMcp merges this into the host config without clobbering other servers (.cursor/mcp.json, Claude .mcp.json, .windsurf/mcp.json):

{ "mcpServers": { "codesearch": { "command": "codesearch", "args": ["mcp"] } } }

Set pipeline.manifest.jsoncode_search.primary to codesearch once wired, so the code-search skill prefers it.

Quick CLI usage (after install)

codesearch index .                 # index the current repo
codesearch search "auth middleware" # semantic CLI search
codesearch mcp                     # stdio MCP server (what -ConfigureMcp launches)
codesearch serve                   # multi-repo HTTP server

Outputs

FilePurpose
~/.local/bin/codesearch[.exe] (+ helpers)Installed binary
Host MCP config (with -ConfigureMcp)codesearch server entry
.agents/codesearch-install-report.jsonAudit trail: version, variant, platform, asset, paths

Constraints

  • pwsh 7+ and network access to GitHub Releases required.
  • macOS: the installer clears the Gatekeeper quarantine attribute best-effort; if it's still blocked, run xattr -d com.apple.quarantine <path> or approve in System Settings → Privacy.
  • Exit codes: 0 ok, 1 unsupported platform / asset not found, 2 download/extract/verify failed.

What ships with it: 1 file

10.9 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.