# Send Repo Analyzer to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "repo-analyzer",
    "name": "Repo Analyzer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Don-GBot/repo-analyzer",
    "canonicalUrl": "https://clawhub.ai/Don-GBot/repo-analyzer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/repo-analyzer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=repo-analyzer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "data/malware-hashes.json",
      "package.json",
      "scripts/analyze.js",
      "scripts/setup.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/repo-analyzer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/repo-analyzer",
    "downloadUrl": "https://openagent3.xyz/downloads/repo-analyzer",
    "agentUrl": "https://openagent3.xyz/skills/repo-analyzer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/repo-analyzer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/repo-analyzer/agent.md"
  }
}
```
## Documentation

### Repo Analyzer

Zero-dependency GitHub trust scorer. Runs 29 analysis modules across 12 scoring categories.

### Usage

# Single repo
node scripts/analyze.js <owner/repo or github-url> [flags]

# From a tweet (auto-extracts GitHub links)
node scripts/analyze.js <x.com-or-twitter.com-url> [flags]

# Batch mode
node scripts/analyze.js --file <repos.txt> [--json]

### Flags

--json — JSON output (for pipelines)
--oneline — compact one-line score
--badge — shields.io markdown badge
--verbose — show progress
--token <pat> — GitHub PAT (or set GITHUB_TOKEN env)
--file <path> — batch mode, one repo per line (# comments ok)

### Environment

CRITICAL: Always run with GITHUB_TOKEN loaded. Without it, scores are severely degraded (missing stars, forks, commits).
Before running: source ~/.bashrc (token is in ~/.bashrc as GITHUB_TOKEN).
Or pass explicitly: GITHUB_TOKEN="$(grep GITHUB_TOKEN ~/.bashrc | cut -d'"' -f2)" node scripts/analyze.js ...

### Scoring (14 categories, 168pts normalized to 100)

CategoryMaxWhat it checksCommit Health20Human vs bot, GPG sigs, code dumps, fake timestampsContributors15Bus factor, contributor diversityCode Quality25Tests, CI, license, docs, lock filesAI Authenticity15AI slop detection in code/READMESocial10Stars, forks, star/fork ratio, botted starsActivity10Recent pushes, releasesCrypto Safety5Token mints, rug patterns, wallet addressesDependency Audit10Known malicious packages, typosquatting, install hooks, lock filesFork Quality8Fork divergence, suspicious changes, gutted vs meaningful forksREADME Quality10Install guide, examples, structure, API docsMaintainability10File sizes, nesting, code/doc ratioProject Health10Abandoned detection, velocity, issue response, PR reviewOriginality5Copy-paste, template detection, backer verificationAgent Safety15Install hooks, prompt injection, secrets, CI audit, permissions

### Grade Scale

A (85+): LEGIT
B (70-84): SOLID
C (55-69): MIXED
D (40-54): SKETCHY
F (<40): AVOID

### Key Features

Enhanced dependency audit: Detects known malicious packages (event-stream, ua-parser-js, etc.), typosquatting attacks, install hooks, and estimates transitive dependency bloat
Fork comparison: Analyzes fork divergence, detects cosmetic vs meaningful changes, flags suspicious modifications (removed CI, added wallets), identifies gutted forks
Agent safety: Detects prompt injection, credential harvesting, install script hooks, obfuscated code
Secrets detection: Finds hardcoded API keys, tokens, private keys via regex + entropy
Network mapping: Categorizes all outbound domains (API, CDN, unknown)
CI/CD audit: Checks GitHub Actions for pull_request_target, unpinned actions, secret leaks
Permissions manifest: Summarizes what the code needs to run (like an app permissions list)
Author reputation: Org memberships, suspicious repos, account age
Backer verification: Cross-references investor claims vs committer org membership
Complexity hotspots: Flags large files with deep nesting and high conditional density

### Batch File Format

# One repo per line, # for comments
Uniswap/v3-core
https://github.com/aave/aave-v3-core
OpenZeppelin/openzeppelin-contracts

### Output

Default: rich terminal report with bar charts, sections, verdict.
--json: Full structured data for programmatic use.
--oneline: RepoName: 85/100 [A] — 2 flags

### When Reporting to User

Keep it concise. Lead with score/grade and notable findings. Skip sections with nothing interesting. Example:

"Uniswap/v3-core scored 75/B — 96% GPG-signed, 11 authors, MIT license. Flagged: abandoned (466 days no push), 2,597 transitive deps (bloated), secrets in CI run commands. Agent safety: CAUTION."
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Don-GBot
- Version: 1.2.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/repo-analyzer)
- [Send to Agent page](https://openagent3.xyz/skills/repo-analyzer/agent)
- [JSON manifest](https://openagent3.xyz/skills/repo-analyzer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/repo-analyzer/agent.md)
- [Download page](https://openagent3.xyz/downloads/repo-analyzer)