query-enhancer SKILL.md skillA
query-enhancer from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chainlesschain/chainlesschain/query-enhancer@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chainlesschain/chainlesschain
- Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/query-enhancer/SKILL.md- Versions recorded
- 2
- Latest version
- v1.0.0, committed Aug 28, 2026
- First version recorded
- Jun 3, 2026
- Size
- 5,621 bytes
- Repository stars
- 11
- License
- a license file GitHub does not identify
RAG query optimization - rewrite, expand, decompose, and analyze search queries for better retrieval results.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Query Enhancer Skill Optimize search queries for better RAG retrieval results using NLP heuristics. ## Usage ``` /query-enhancer [action] "<query>" ``` ## Actions | Action | Flag | Description | | ----------- | ------------- | ---------------------------------------------------------- | | Rewrite | `--rewrite` | Generate multiple query variants with synonyms and context | | Multi-Query | `--multi` | Expand one question into 3-5 diverse search queries | | HyDE | `--hyde` | Generate a hypothetical answer passage for embedding | | Decompose | `--decompose` | Break complex question into atomic sub-queries | | Expand | `--expand` | Add related terms, synonyms, and context keywords | | Analyze | `--analyze` | Classify intent, extract entities, determine answer type | ## How It Works 1. **Rewrite**: Applies synonym substitution, rephrasing, and contextual expansion to produce 3-4 variant queries that cover different retrieval angles 2. **Multi-Query**: Generates 3-5 semantically diverse queries targeting different facets of the original question …
Read the whole file at its exact version.
How to install
mdr add chainlesschain/chainlesschain/query-enhancer@sha256:4775b84ea2ffb317The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jwt6cxkr2nnws2ll)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 86 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-28 | c29953e | 5,621 B | A | view · diff |
| v1.0.0 | 2026-06-03 | 3b0b2dc | 5,546 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5621 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jwt6cxkr2nnws2ll GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/query-enhancer GET https://markdownregistry.com/api/v1/blob/4775b84ea2ffb317dc8af7f4f88ed498a3c1f90958acc3292f396a81d56adec4
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.