skynet-score

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Skynet Score

Skynet 评分

Use
{skillDir}/scripts/skynet_score.py
to inspect project score search results with the CertiK public project API.
Use 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.
使用
{skillDir}/scripts/skynet_score.py
通过CertiK公开项目API查看项目评分搜索结果。
当用户想要查询区块链项目的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

工作流程

  1. Extract the project keyword from the user request.
  2. Prefer the bundled Python script for execution.
  3. If Python is unavailable, use the documented
    curl
    fallback.
  4. If multiple projects match, list the best candidates instead of guessing.
  5. 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
  6. If the user asks for implementation details, provide a minimal request example and note rate limits.
  1. 从用户请求中提取项目关键词。
  2. 优先使用捆绑的Python脚本执行。
  3. 如果无法使用Python,使用文档中记录的
    curl
    备选方案。
  4. 如果有多个项目匹配,列出最相关的候选项目而非猜测。
  5. 当存在明确匹配项时,总结以下内容:
    • 项目名称
    • 整体Skynet评分
    • 等级
    • 最后更新时间
    • 与用户问题相关的评分细分项
  6. 如果用户询问实现细节,提供最简请求示例并说明速率限制。

Execution

执行方式

Prefer Python first:
bash
python3 scripts/skynet_score.py --keyword "uniswap"
If Python is unavailable, use
curl
:
bash
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,使用
curl
bash
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:
    keyword
    (required)
Example:
bash
curl -sG "https://open.api.certik.com/projects" \
  -H "Accept: application/json, text/plain, */*" \
  --data-urlencode "keyword=uniswap"
Important score fields:
  • score
    : overall Skynet score
  • scoreCodeSecurity
    : code security score
  • scoreCommunity
    : community score
  • scoreFundamental
    : fundamentals score
  • scoreGovernance
    : governance score
  • scoreMarket
    : market score
  • scoreOperation
    : operations score
  • tier
    : score tier
  • updatedAt
    : last update time
  • 基础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"
重要评分字段:
  • score
    : 整体Skynet评分
  • scoreCodeSecurity
    : 代码安全评分
  • scoreCommunity
    : 社区评分
  • scoreFundamental
    : 基本面评分
  • scoreGovernance
    : 治理评分
  • scoreMarket
    : 市场评分
  • scoreOperation
    : 运营评分
  • tier
    : 评分等级
  • updatedAt
    : 最后更新时间

Limits and errors

限制与错误

  • Rate limit: 50 requests per 60-second window per IP
  • Headers:
    • X-RateLimit-Limit
    • X-RateLimit-Remaining
    • X-RateLimit-Reset
    • Retry-After
      on
      429
Error payload:
json
{
  "error": "Human-readable error message"
}
Common status codes:
  • 400
    : missing or invalid parameters
  • 429
    : rate limit exceeded
  • 500
    : server-side failure
  • 速率限制: 每个IP每60秒窗口内最多50次请求
  • 响应头:
    • X-RateLimit-Limit
    • X-RateLimit-Remaining
    • X-RateLimit-Reset
    • 当状态码为
      429
      时的
      Retry-After
错误响应内容:
json
{
  "error": "Human-readable error message"
}
常见状态码:
  • 400
    : 参数缺失或无效
  • 429
    : 超出速率限制
  • 500
    : 服务器端故障