skills-vote
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Discovery And Feedback
技能发现与反馈
Read only this file first. Do not read or any other files in this skill unless this file or a script output explicitly tells you to do so.
scripts/Use this skill in two moments:
- Before you fetch or invoke external skills for the current task.
- After the task is effectively done, to report what skills were actually useful.
Skip this skill if you are not considering any external skills at all.
All paths mentioned in this file are relative to this skill root. to this root directory before running any command here.
cd请首先仅阅读此文件。除非此文件或脚本输出明确要求,否则不要读取该技能中的目录或其他任何文件。
scripts/该技能适用于两个场景:
- 为当前任务获取或调用外部技能之前。
- 任务实际完成后,报告哪些技能确实起到了作用。
如果你完全不考虑使用任何外部技能,则跳过此技能。
此文件中提到的所有路径均相对于该技能的根目录。运行此处的任何命令前,请先到该根目录。
cdPreconditions
前置条件
Before using this skill, ensure that:
- is set in the environment
SKILLS_VOTE_API_KEY - is installed and available on
uvPATH - the runtime can execute local scripts with
uv run - or
GITHUB_TOKENmay be needed later if GitHub blocks skill downloads because the repo is private or rate-limitedGH_TOKEN
- Confirm is set:
SKILLS_VOTE_API_KEY- macOS or Linux:
bash scripts/check_api_key.sh - Windows PowerShell:
powershell -ExecutionPolicy Bypass -File scripts/check_api_key.ps1
- macOS or Linux:
- Verify that is installed:
uvuv -V - If is missing, install it from the official docs.
uv- macOS or Linux:
- If curl is available,
curl -LsSf https://astral.sh/uv/install.sh | sh - Otherwise
wget -qOhttps://astral.sh/uv/install.sh | sh
- If curl is available,
- Windows PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- macOS or Linux:
- Verify again:
uv -V
使用此技能前,请确保:
- 环境中已设置
SKILLS_VOTE_API_KEY - 已安装且可在
uv中找到PATH - 运行时可通过执行本地脚本
uv run - 如果GitHub因为仓库为私有或触发速率限制而阻止技能下载,后续可能需要或
GITHUB_TOKENGH_TOKEN
- 确认已设置:
SKILLS_VOTE_API_KEY- macOS或Linux:
bash scripts/check_api_key.sh - Windows PowerShell:
powershell -ExecutionPolicy Bypass -File scripts/check_api_key.ps1
- macOS或Linux:
- 验证已安装:
uvuv -V - 如果缺少,请从官方文档安装:
uv- macOS或Linux:
- 如果有curl,执行
curl -LsSf https://astral.sh/uv/install.sh | sh - 否则执行
wget -qOhttps://astral.sh/uv/install.sh | sh
- 如果有curl,执行
- Windows PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- macOS或Linux:
- 再次验证:
uv -V
Recommend
推荐
Request schema
请求结构
recommend.py- (
query): A standalone and explicit description of the task, suitable for use as an independent skill-recommendation prompt. You may rewrite the user's original request to improve clarity, specificity, and retrieval performance, and may add reasonable implied details or likely substeps when helpful.str - (
client_name): Name of this agent. If unknown/unverified or not listed, omit the field or returnLiteral["codex", "codex-app", "claude-code", "cursor", "gemini-cli", "openclaw-cli", "opencode"] | None = None.null - (
client_version): Version of this agent. Prefer the exact version string reported by the client itself. If unknown/unverified, omit the field or returnstr | None = None.null - (
download_dir): Directory to download recommended skills into. Relative paths are resolved from the current working directory. The path must be writable from the current runtime.str = ".skills_vote/"
recommend.py- (
query):对任务的独立、明确描述,适合作为独立的技能推荐提示词。你可以重写用户的原始请求以提升清晰度、特异性和检索效果,必要时可以添加合理的隐含细节或可能的子步骤。str - (
client_name):该Agent的名称。如果未知/未验证或不在列表中,省略该字段或返回Literal["codex", "codex-app", "claude-code", "cursor", "gemini-cli", "openclaw-cli", "opencode"] | None = None。null - (
client_version):该Agent的版本。优先使用客户端自身上报的准确版本字符串。如果未知/未验证,省略该字段或返回str | None = None。null - (
download_dir):下载推荐技能的目录。相对路径从当前工作目录解析。该路径必须对当前运行时可写。str = ".skills_vote/"
Example
示例
Before sending the request, try to identify the and from the executable or CLI when possible. If no command exists to extract the version and it cannot be retrieved from the environment (e.g., some desktop apps), omit these fields.
client_nameclient_version | | | |
|---|---|---|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
Next, run exactly once with one JSON object on stdin via EOF. Do not pass prose around the JSON, multiple JSON objects, or extra shell flags.
recommend.pyrecommend.pybash
uv run -qq scripts/recommend.py <<'EOF'
{
"query": "Add integration tests for a FastAPI skill recommendation flow, mock the gateway, and verify the returned skills and feedback flow.",
"client_name": "codex",
"client_version": "0.117.0",
"download_dir": ".skills_vote/"
}
EOF发送请求前,尽可能从可执行文件或CLI中识别和。如果没有命令可以提取版本,也无法从环境中获取(例如部分桌面应用),则省略这些字段。
client_nameclient_version | | | |
|---|---|---|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
接下来,通过EOF将一个JSON对象传入stdin,仅执行一次。不要在JSON周围添加文本、传入多个JSON对象或额外的shell标志。
recommend.pyrecommend.pybash
uv run -qq scripts/recommend.py <<'EOF'
{
"query": "Add integration tests for a FastAPI skill recommendation flow, mock the gateway, and verify the returned skills and feedback flow.",
"client_name": "codex",
"client_version": "0.117.0",
"download_dir": ".skills_vote/"
}
EOF