skynet-score
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkynet Score
Skynet 评分
Use to inspect project score search results with the CertiK public project API.
{skillDir}/scripts/skynet_score.pyUse this skill when the user wants to look up a blockchain project's CertiK Skynet score or needs help integrating the public project score API.
使用通过CertiK公开项目API查看项目评分搜索结果。
{skillDir}/scripts/skynet_score.py当用户想要查询区块链项目的CertiK Skynet评分,或需要帮助集成公开项目评分API时,使用该技能。
When to use this skill
何时使用该技能
- Search projects by keyword or approximate project name
- Return a project's overall score, tier, and last update time
- Explain the score breakdown fields
- Show how to query the public endpoint from code or
curl
- 通过关键词或近似项目名称搜索项目
- 返回项目的整体评分、等级和最后更新时间
- 解释评分细分字段
- 展示如何通过代码或调用公开接口
curl
Workflow
工作流程
- Extract the project keyword from the user request.
- Prefer the bundled Python script for execution.
- If Python is unavailable, use the documented fallback.
curl - If multiple projects match, list the best candidates instead of guessing.
- When a clear match exists, summarize:
- project name
- overall Skynet score
- tier
- last updated time
- score breakdown fields that matter to the user's question
- If the user asks for implementation details, provide a minimal request example and note rate limits.
- 从用户请求中提取项目关键词。
- 优先使用捆绑的Python脚本执行。
- 如果无法使用Python,使用文档中记录的备选方案。
curl - 如果有多个项目匹配,列出最相关的候选项目而非猜测。
- 当存在明确匹配项时,总结以下内容:
- 项目名称
- 整体Skynet评分
- 等级
- 最后更新时间
- 与用户问题相关的评分细分项
- 如果用户询问实现细节,提供最简请求示例并说明速率限制。
Execution
执行方式
Prefer Python first:
bash
python3 scripts/skynet_score.py --keyword "uniswap"If Python is unavailable, use :
curlbash
curl -sG "https://open.api.certik.com/projects" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "keyword=uniswap"优先使用Python:
bash
python3 scripts/skynet_score.py --keyword "uniswap"如果无法使用Python,使用:
curlbash
curl -sG "https://open.api.certik.com/projects" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "keyword=uniswap"Output guidance
输出指引
- Do not invent a score when no project match is returned.
- If there are several close matches, ask the user to confirm which project they mean.
- When explaining the result, keep the overall score first and the component scores second.
- If the user asks for raw payloads or integration help, include the response shape below.
- 当没有匹配项目返回时,请勿编造评分。
- 如果有多个近似匹配项,请用户确认具体指哪个项目。
- 解释结果时,先展示整体评分,再展示分项评分。
- 如果用户询问原始响应内容或集成帮助,提供以下响应结构。
Public API
公开API
- Base URL:
https://open.api.certik.com - Endpoint:
GET /projects - Query parameter: (required)
keyword
Example:
bash
curl -sG "https://open.api.certik.com/projects" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "keyword=uniswap"Important score fields:
- : overall Skynet score
score - : code security score
scoreCodeSecurity - : community score
scoreCommunity - : fundamentals score
scoreFundamental - : governance score
scoreGovernance - : market score
scoreMarket - : operations score
scoreOperation - : score tier
tier - : last update time
updatedAt
- 基础URL:
https://open.api.certik.com - 接口:
GET /projects - 查询参数: (必填)
keyword
示例:
bash
curl -sG "https://open.api.certik.com/projects" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "keyword=uniswap"重要评分字段:
- : 整体Skynet评分
score - : 代码安全评分
scoreCodeSecurity - : 社区评分
scoreCommunity - : 基本面评分
scoreFundamental - : 治理评分
scoreGovernance - : 市场评分
scoreMarket - : 运营评分
scoreOperation - : 评分等级
tier - : 最后更新时间
updatedAt
Limits and errors
限制与错误
- Rate limit: 50 requests per 60-second window per IP
- Headers:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset- on
Retry-After429
Error payload:
json
{
"error": "Human-readable error message"
}Common status codes:
- : missing or invalid parameters
400 - : rate limit exceeded
429 - : server-side failure
500
- 速率限制: 每个IP每60秒窗口内最多50次请求
- 响应头:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset- 当状态码为时的
429Retry-After
错误响应内容:
json
{
"error": "Human-readable error message"
}常见状态码:
- : 参数缺失或无效
400 - : 超出速率限制
429 - : 服务器端故障
500