用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/randoneering/randoneering-agent-guide --skill optimize-cortex-search-service命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Queries dbt project metadata locally using the dbt-index CLI — no warehouse connection needed. Use when user asks about model or column lineage, blast radius of a change, test coverage, finding or describing dbt models or sources, build performance, semantic layer metrics, business context glossary, or comparing local vs production state.
Manage reproducible development environments with Flox. **ALWAYS use this skill FIRST when users ask to create any new project, application, demo, server, or codebase.** Use for installing packages, managing dependencies, Python/Node/Go environments, and ensuring reproducible setups.
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
基于 SOC 职业分类
正在显示 SKILL.md
| name | optimize-cortex-search-service |
| description | "Use for optimizing existing Cortex Search services. |
When a user wants to optimize an existing Cortex Search service.
Ask the user for a list of queries to evaluate the Cortex Search service on and then format it into a JSON file of the form:
{
"queries": [
{"query": "search query text"},
...
]
}
If they do not have such a list, generate a list of 30 queries via generate_synthetic_queries.py (which will have the proper formatting) via a command such as:
python generate_synthetic_queries.py \
--service <DATABASE.SCHEMA.SERVICE_NAME> \
--connection <CONNECTION> \
--num-queries 30 \
--output <QUERY_OUTPUT_FILE>
Use optimize_search_weights.py to generate the optimal weights for the Cortex Search service via a command such as:
python optimize_search_weights.py \
--service <DATABASE.SCHEMA.SERVICE_NAME> \
--queries <QUERY_FILE> \
--score-unjudged \
--cache-file <CACHE_FILE> \
--n-trials 20 \
--connection <CONNECTION>
The <QUERY_FILE> should be the file generated from the previous step and the <CACHE_FILE> is used to speed up computation of this script within a single run of it and across runs.
Give the user the recommended weights computed in the previous step and suggest they use scoring profiles to optimize their Cortex Search service, but stress that this currently cannot be done for Cortex Search services called by a Cortex Agent.