跳到正文
TakoAPI
返回技能列表

repo-analyzer

由 don-gbot 提供

Coding Agents & IDEs
626下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

GitHub repository trust scoring and due diligence.

描述

该技能的功能

Analyzes GitHub repositories across 14 scoring categories and produces a trust score out of 100. Covers commit health, dependency audits, AI-generated code detection, crypto rug patterns, and agent safety checks. Also extracts and analyzes GitHub links found inside X/Twitter URLs.

Running 14 scoring categories in a single zero-dependency script replaces manually checking stars, CI config, commit history, and secrets across separate tools.

何时使用

  • Checking if a new DeFi project's repo is legitimate before investing
  • Auditing a dependency for malicious packages or install hooks
  • Batch scanning multiple repos from a crypto project shortlist
  • Extracting and scoring GitHub repos linked in a tweet
  • Verifying contributor diversity and bus factor on an open-source tool

示例工作流

输入

User asks: analyze this tweet https://x.com/someuser/status/123 and tell me if the project is legit

智能体
  1. 1

    Extracts the GitHub URL embedded in the tweet

  2. 2

    Runs node scripts/analyze.js with the extracted repo and GITHUB_TOKEN loaded

  3. 3

    Scores the repo across 14 categories including crypto safety and agent safety

  4. 4

    Checks for rug patterns, hardcoded secrets, and suspicious dependency hooks

  5. 5

    Returns the grade, score, and notable flags in a concise summary

输出

ProjectName: 62/100 [C] — 3 contributors, no GPG sigs, mint function detected, 1 hardcoded API key found in src/config.js. Agent safety: CAUTION.

前置要求

  • GitHub Personal Access Token (GITHUB_TOKEN environment variable) for full scoring accuracy

安装

clawhub install don-gbot/repo-analyzer

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接