ac-retrieval-and-vector-systems
Building the retrieval layer behind search and grounded answers: chunking strategy and what it costs, embedding models and their dimensional and multilingual trade-offs, vector index types and the recall-latency curve, hybrid search and reranking, freshness and the stale index problem, relevance evaluation with golden sets, and the written retrieval record. It explains how the index is built and measured; it never recommends a vendor and never promises an accuracy. Use when asking "vector database", "embedding model", "chunking strategy", "reranking", "hybrid search", "recall versus latency", "stale index", "retrieval quality", "why does search return nothing useful", "grounded answers". Not for prompt design and RAG prompting (ac-prompt-engineer), not for evaluating a dataset's provenance (ac-alternative-data), not for batch pipeline scheduling (ac-market-data-collection).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- ac-retrieval-and-vector-systems
- status
- seedling
- license
- MIT
- metadata
- { "domain": "software-engineering" }
- description
- Building the retrieval layer behind search and grounded answers: chunking strategy and what it costs, embedding models and their dimensional and multilingual trade-offs, vector index types and the recall-latency curve, hybrid search and reranking, freshness and the stale index problem, relevance evaluation with golden sets, and the written retrieval record. It explains how the index is built and measured; it never recommends a vendor and never promises an accuracy. Use when asking "vector database", "embedding model", "chunking strategy", "reranking", "hybrid search", "recall versus latency", "stale index", "retrieval quality", "why does search return nothing useful", "grounded answers". Not for prompt design and RAG prompting (ac-prompt-engineer), not for evaluating a dataset's provenance (ac-alternative-data), not for batch pipeline scheduling (ac-market-data-collection).
02 资源文件 10
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md387 B
- 参考文档subskills/chunking-strategy.md2.9 KB
- 参考文档subskills/embedding-models.md3.1 KB
- 参考文档subskills/freshness-and-rebuilds.md3.1 KB
- 参考文档subskills/hybrid-search-and-reranking.md3.0 KB
- 参考文档subskills/relevance-evaluation.md3.0 KB
- 参考文档subskills/retrieval-record.md3.1 KB
- 参考文档subskills/vector-index-types.md3.0 KB
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Retrieval and vector systems
Overview
Retrieval is a system with its own failure modes, and most of them are not model failures. A chunk that splits a sentence in half produces an embedding that means neither half; an index built last week returns last week's answer to today's question; a dense-only search misses the exact identifier that a keyword search would have found in one step. Each of those is a design decision, and each is measurable.
This skill covers that layer: how documents are split and why the split matters, what an embedding model's dimensions and training data decide, how index types trade recall against latency, where hybrid search and reranking add value, how freshness is maintained, and how relevance is evaluated against a fixed set rather than by impression. Prompting and evaluation of a model's output belong to another skill.
Primary sources: https://nlp.stanford.edu/IR-book/ and https://www.nist.gov/.
When to use
- When building or reviewing a retrieval index for search or grounded answers.
- When retrieval quality is poor and the cause is unknown.
- When index freshness or rebuild cost becomes a constraint.
- When choosing between dense, sparse, and hybrid retrieval.
When NOT to use
- For prompt design and RAG prompt construction (use ac-prompt-engineer).
- For evaluating an external dataset's provenance and bias (use ac-alternative-data).
- For batch ingestion pipeline scheduling (use ac-market-data-collection).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/chunking-strategy.md |
software-engineering/chunking-strategy |
Boundaries, overlap, and the size that matches the question being asked. |
subskills/embedding-models.md |
software-engineering/embedding-models |
Dimensions, training domain, multilingual coverage, and re-embedding cost. |
subskills/vector-index-types.md |
software-engineering/vector-index-types |
Flat, IVF, HNSW, and the recall-latency-memory trade each makes. |
subskills/hybrid-search-and-reranking.md |
software-engineering/hybrid-search-and-reranking |
Sparse plus dense fusion, and the second stage that fixes ranking. |
subskills/freshness-and-rebuilds.md |
software-engineering/freshness-and-rebuilds |
Incremental updates, tombstones, and the cost of a full re-embed. |
subskills/relevance-evaluation.md |
software-engineering/relevance-evaluation |
Golden sets, recall at k, and measuring a change honestly. |
subskills/retrieval-record.md |
software-engineering/retrieval-record |
The written record: chunking, model, index, freshness, and metrics. |
Status and honest limits
Embedding models and vector indexes change quickly, and a specific product's behaviour may differ from the general trade-offs described here. Relevance metrics measure agreement with a labelled set, which is a proxy for usefulness rather than a measurement of it, and a golden set that was built from one team's judgement inherits that judgement. Nothing here recommends a vendor, and a retrieval system that has not been evaluated against a fixed set has not been evaluated at all.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.