firede/agent-skills54 installs
kimi-tools
通过 Python 脚本调用 kimi search 和 kimi fetch,用于网页搜索与页面抓取任务,返回结构化数据与 Markdown 内容。
How do I install this agent skill?
npx skills add https://github.com/firede/agent-skills --skill kimi-toolsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides tools to interface with the Kimi API for searching and fetching web content. It uses the Python standard library for network requests and follows standard practices for API key management via environment variables. The skill functions as intended and contains no malicious code or obfuscation.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerpass
2/3 files flagged
What does this agent skill do?
Kimi API Tools
前置条件
- 需要可用的 Kimi Code 订阅,并设置为环境变量:
KIMI_API_KEY - 需要 Python 3.9 或更高版本,视环境采用
python3或python命令 - 需要网络可访问权限
快速开始
- 设置 API Key:
export KIMI_API_KEY=... - 先用
kimi_search.py做关键词检索。 - 再用
kimi_fetch.py按 URL 抓取正文。
脚本说明
scripts/kimi_search.py
调用 POST /search。
python ./scripts/kimi_search.py \
--query "短剧创作指南" \
--limit 5 \
--timeout-seconds 30
参数:
--query-> 搜索关键词(必填)--limit-> 返回结果数量(1-20,默认 5)--include-content-> 是否启用页面抓取(默认 false)--timeout-seconds-> 超时时间(默认 30 秒)
scripts/kimi_fetch.py
调用 POST /fetch。
python ./scripts/kimi_fetch.py \
--url "https://example.com" \
--timeout-seconds 30
参数:
--url-> 目标 URL(必填)--timeout-seconds-> 超时时间(默认 30 秒)
逃生通道
若环境中没有 KIMI_API_KEY,可通过 --api-key 参数传入,但非常不建议在命令行中暴露敏感信息。
Agent 使用约定
- 按需开启
--include-content与--limit,以控制 token 成本。
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/firede/agent-skills/kimi-tools">View kimi-tools on skillZs</a>