edge-shard-query
Skill by qdrant
Runs single read queries against a read-only Qdrant edge shard stored on S3, GCS, or a live Qdrant peer. Built for developers who need to inspect, debug, or live-watch shard data without a Qdrant server.
Install edge-shard-query
Built from the published package, never by AI.
git clone --depth 1 https://github.com/qdrant/qdrant /tmp/qdrant && mkdir -p ~/.claude/skills && cp -r /tmp/qdrant/lib/edge/tools/shard_query ~/.claude/skills/edge-shard-queryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/qdrant/qdrant /tmp/qdrant && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/qdrant/lib/edge/tools/shard_query ~/.gemini/antigravity-cli/skills/edge-shard-queryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
edge-shard-query is an experimental CLI from Qdrant. It opens a read-only edge shard directly over S3, S3-compatible storage, GCS, or a running Qdrant peer through its StorageRead gRPC service. Each call runs one request: scroll, dense search, sparse search, BM25 text search, count, or facet. For object storage, the tool reads segment files itself through a local disk cache, so no Qdrant server is needed.
A live-reload mode re-runs the same request on a timer or when Enter is pressed, then prints added, removed, and changed points. This helps watch a leader's writes arrive and catch staleness in the follower read path. The source names developers who need to query, inspect, debug, or live-watch an edge shard on object storage as the intended users.
Written from the project's SKILL.md and checked against it.
What it can do
- scrollPaginates over points, optionally ordered by a payload field.
- searchRuns dense nearest-neighbour search, with options for named vectors, HNSW beam width, and exact mode.
- search-sparseRuns sparse nearest-neighbour search on a named sparse vector.
- textRuns BM25 text search over a payload field that has a text index with scoring.
- countCounts matching points, exact by default or approximate with a flag.
- facetCounts points per unique value of a payload key.
- Live reloadRe-runs a request on a timer or on Enter and prints a diff of changed results.
What you need
- Rust toolchain with cargo, as the source runs the tool with cargo run
- S3, S3-compatible, or GCS credentials, or a reachable Qdrant peer
- Peer started with QDRANT__FEATURE_FLAGS__WRITE_SEGMENT_MANIFEST=true for uio-grpc
Try asking
- Scroll the edge shard in my bucket with a filter on city equal to London
- Run a dense search on the shard using a query vector from a file
- Count points in the shard where a field matches a value
Good to know
- Experimental binary.
- The shard is opened read-only.
- The uio-grpc backend needs the peer to have the segment manifest feature flag enabled.
- --deferred-threshold-kb conflicts with --no-load-profile, and --live-reload-key cannot be used with stdin (@-) arguments.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: lib/edge/tools/shard_query/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
Cargo.toml677 B -
SKILL.md14 KB -
src/backend.rs4 KB -
src/cli.rs15 KB -
src/main.rs12 KB
Show all 8 files
-
src/parse.rs5 KB -
src/report.rs2 KB -
src/request.rs16 KB
Alternatives to edge-shard-query
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
edge-shard-query: common questions
Does edge-shard-query need a running Qdrant server?
No, for the object storage backends. The tool reads segment files directly from S3, S3-compatible stores, or GCS. It can also connect to a live Qdrant peer over gRPC.
Which storage backends are supported?
The source lists aws for S3 and S3-compatible stores such as MinIO, RustFS, and LocalStack, gcs for Google Cloud Storage, and uio-grpc for a running Qdrant peer.
Does the disk cache persist between runs?
Yes. The cache defaults to a stable subdirectory of the system temp dir, so it persists across runs. Delete it to force a cold read.
How do I install edge-shard-query?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is edge-shard-query free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is edge-shard-query safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to edge-shard-query?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
