Skill: nextfrontierbuilds/prism-scanner (version 1.1.2)

--- name: prism-scanner description: Instant rug pull detection for any token. Holder concentration, liquidity locks, contract risks. DYOR before you ape. Works with AI agents. version: 1.1.1 keywords: rug-pull, token-scanner, crypto-safety, scam-detector, dyor, holder-analysis, liquidity-checker, solana-scanner, defi-security, ai, ai-agent, ai-coding, llm, cursor, claude, trading-bot, memecoin, web3, openclaw, moltbot, vibe-coding, agentic --- # Token Rug Checker **DYOR before you ape.** Instant rug pull detection for any crypto token. Scans holder concentration, liquidity locks, contract honeypots, and copycat scams. Works with Solana and EVM chains. Powered by Strykr PRISM. ## Quick Usage ```bash # Scan by symbol ./scan.sh PEPE # Scan by contract address ./scan.sh 0x6982508145454Ce325dDbE47a25d4ec3d2311933 # Get JSON output ./scan.sh PEPE --json ``` ## What It Checks | Check | Endpoint | Risk Factor | |-------|----------|-------------| | Copycat/Scam | `/analyze/copycat` | High | | Holder Concentration | `/analytics/holders` | Medium | | Liquidity Status | `/analyze` | High | | Contract Verification | `/analyze` | Medium | | Token Age | `/analyze` | Low | | Rebrand History | `/analyze/rebrand` | Info | ## Risk Score Calculation ``` 0-25: ✅ Lower Risk (Green) 26-50: ⚠️ Medium Risk (Yellow) 51-75: 🔶 Higher Risk (Orange) 76-100: 🚨 High Risk (Red) ``` ### Scoring Breakdown | Factor | Max Points | Trigger | |--------|------------|---------| | Copycat detected | 30 | Similarity > 70% to known scam | | Honeypot pattern | 25 | Buy/sell tax anomaly | | Holder concentration | 25 | Top 10 wallets > 60% | | Unlocked liquidity | 20 | LP not locked | | Unverified contract | 15 | Not verified on explorer | | New token (<7 days) | 10 | Recently launched | | Low liquidity | 10 | < $10K liquidity | ## Output Format ``` 🛡️ PRISM Token Scan: PEPE Contract: 0x6982508...2311933 Chain: Ethereum ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ RISK SCORE: 35/100 ████████░░░░░░░░░░░░ Lower Risk ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CHECKS: ✅ No copycat detected ✅ Contract verified on Etherscan ✅ Liquidity locked (12 months) ⚠️ Top 10 wallets hold 42% of supply ✅ Token age: 8 months ✅ Normal buy/sell taxes (0%/0%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HOLDER DISTRIBUTION: • Top holder: 3.2% • Top 10: 42% • Top 100: 68% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚠️ DYOR - This is not financial advice ``` ## API Endpoints Used ```bash # 1. Resolve token to canonical form GET /resolve/{symbol_or_address} # 2. Get general analysis GET /analyze/{symbol} # 3. Check for copycat/scam GET /analyze/copycat/{symbol} # 4. Get holder distribution GET /analytics/holders/{contract} # 5. Check rebrand history GET /analyze/rebrand/{symbol} ``` ## Integration Examples ### Telegram Bot ``` User: /scan PEPE Bot: 🛡️ Scanning PEPE... Risk Score: 35/100 (Lower Risk) ✅ No copycat detected ✅ Liquidity locked ⚠️ Top 10 hold 42% [Full Report] [Share] ``` ### Discord Bot ``` !scan 0x6982508... ``` ### Web App ```javascript const result = await prismScan('PEPE'); // { score: 35, checks: [...], holders: {...} } ``` ## Environment Variables ```bash PRISM_URL=https://strykr-prism.up.railway.app PRISM_API_KEY=your-api-key # Optional ``` --- Built by [@NextXFrontier](https://x.com/NextXFrontier)

path: scripts/scan.sh
content: #!/bin/bash
# PRISM Token Scanner
# Usage: ./scan.sh <token_or_address> [--json]

PRISM_URL="${PRISM_URL:-https://strykr-prism.up.railway.app}"
TOKEN="$1"
JSON_MODE="$2"

if [ -z "$TOKEN" ]; then
  echo "Usage: ./scan.sh <token_or_address> [--json]"
  exit 1
fi

# Fetch data in parallel
analyze=$(curl -s "$PRISM_URL/analyze/$TOKEN")
copycat=$(curl -s "$PRISM_URL/analyze/copycat/$TOKEN")

# Extract data (using jq)
risk_score=$(echo "$analyze" | jq -r '.risk_score // 0')
is_copycat=$(echo "$copycat" | jq -r '.is_copycat // false')
similarity=$(echo "$copycat" | jq -r '.similarity // 0')

# Calculate risk level
if [ "$risk_score" -le 25 ]; then
  risk_level="✅ Lower Risk"
  bar="████████░░░░░░░░░░░░"
elif [ "$risk_score" -le 50 ]; then
  risk_level="⚠️ Medium Risk"
  bar="████████████░░░░░░░░"
elif [ "$risk_score" -le 75 ]; then
  risk_level="🔶 Higher Risk"
  bar="████████████████░░░░"
else
  risk_level="🚨 High Risk"
  bar="████████████████████"
fi

if [ "$JSON_MODE" == "--json" ]; then
  echo "{\"token\": \"$TOKEN\", \"risk_score\": $risk_score, \"is_copycat\": $is_copycat, \"analyze\": $analyze, \"copycat\": $copycat}"
  exit 0
fi

# Pretty print
cat << EOF
🛡️ PRISM Token Scan: $TOKEN

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

RISK SCORE: $risk_score/100
$bar $risk_level

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ANALYSIS:
$(echo "$analyze" | jq -r '.summary // "No summary available"')

COPYCAT CHECK:
$(if [ "$is_copycat" == "true" ]; then echo "🚨 COPYCAT DETECTED (${similarity}% similar)"; else echo "✅ No copycat detected"; fi)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ DYOR - This is not financial advice
EOF


path: skill.json
content: {
  "name": "prism-scanner",
  "version": "1.0.0",
  "description": "Token safety scanner using Strykr PRISM API - detect rug pulls, copycat scams, and holder concentration",
  "author": {
    "name": "Next Frontier",
    "url": "https://x.com/NextXFrontier"
  },
  "repository": "https://github.com/NextFrontierBuilds/prism-scanner-skill",
  "keywords": [
    "prism",
    "token-scanner",
    "rug-pull",
    "scam-detection",
    "crypto-security",
    "defi",
    "safety"
  ],
  "config": {
    "PRISM_URL": {
      "description": "PRISM API base URL",
      "default": "https://strykr-prism.up.railway.app"
    }
  },
  "triggers": [
    "scan {token}",
    "is {token} safe",
    "check {token}",
    "rug check {token}",
    "analyze {token}"
  ],
  "platforms": ["macos", "linux"],
  "category": "security"
}


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)