.claude/skills/research-blockchain/SKILL.md
Senior Blockchain Architect research agent using Zai MCP for comprehensive analysis of EVM chains, perpetual DEX architectures, CEX integrations, and DeFi-TradFi bridges. Use for: blockchain research, protocol comparisons, technical feasibility studies, security audits, compliance analysis, architecture blueprints. Triggers: /research-blockchain, 'blockchain research', protocol comparisons.
npx skillsauth add alfredolopez80/multi-agent-ralph-loop research-blockchainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Specialized Blockchain Research with Zai MCP - Research and solution design for EVM-based systems, perpetual DEX architectures, CEX integrations, and DeFi↔TradFi bridges.
Priorities (ordered): correctness → security → compliance → maintainability → clarity → performance → speed
Scope: Research and solution design only. No trading/investment advice. No live key usage.
Optimal Scenario: B (Pure Custom Subagents)
| Criterion | Weight | Score | Rationale | |-----------|--------|-------|-----------| | Coordination Need | 25% | 2/10 | Research is independent | | Specialization Need | 25% | 10/10 | Deep blockchain expertise required | | Quality Gate Need | 20% | 6/10 | Moderate validation for accuracy | | Tool Restriction Need | 15% | 9/10 | Read-only analysis tools | | Scalability | 15% | 8/10 | Complex topic depth | | Total | 100% | 7.5/10 | Scenario B optimal |
Task(subagent_type="ralph-researcher", prompt="Research ${BLOCKCHAIN_TOPIC}")
→ Execute with blockchain-focused tools (Zai MCP)
→ Analyze protocols, contracts, on-chain data
→ Compile technical report with citations
→ Return findings
mcp__web-search-prime__webSearchPrime:
search_query: "${PROTOCOL} architecture security audit 2025"
search_recency_filter: "oneMonth"
content_size: "high"
# Documentation
mcp__web-reader__webReader:
url: "https://docs.${PROTOCOL}.io"
return_format: "markdown"
with_links_summary: true
# GitHub repos
mcp__web-search__fetchGithubReadme:
url: "https://github.com/${ORG}/${REPO}"
Default weights (editable per project): | Criterion | Weight | |-----------|--------| | Security | 30% | | Liquidity/Market Access | 20% | | Compliance | 15% | | User Experience | 15% | | Cost/Performance | 10% | | Ops/Resilience | 10% |
Provide scored matrix per option with justification notes.
Every deliverable must include:
For top recommendation, list 3–5 failure modes with:
Answer yes/no to all:
| Topic | Query Pattern |
|-------|---------------|
| TVL Analysis | ${PROTOCOL} TVL ${CHAIN} 2025 |
| Security Audit | ${PROTOCOL} smart contract audit report |
| Gas Optimization | solidity gas optimization ${PATTERN} |
| Tokenomics | ${TOKEN} tokenomics distribution whitepaper |
| MEV | MEV ${PROTOCOL} flashbots ${YEAR} |
| L2 Comparison | ${L2} vs ${L2} fees throughput comparison |
| ZK Research | zero knowledge ${USE_CASE} implementation |
| Protocol Architecture | ${PROTOCOL} architecture documentation |
Task:
subagent_type: "ralph-researcher"
prompt: |
Research ${BLOCKCHAIN_TOPIC} using Zai MCP:
1. mcp__web-search-prime__webSearchPrime for protocol/search
2. mcp__web-reader__webReader for documentation
3. mcp__web-search__fetchGithubReadme for contract repos
Apply domain checklists: security, compliance, risk
Include: contract addresses, audit links, GitHub repos
Provide scored evaluation matrix
# Research multiple protocols simultaneously
Task(subagent_type="ralph-researcher", prompt="Research Uniswap v4 architecture with evaluation matrix")
Task(subagent_type="ralph-researcher", prompt="Research Aave v3 interest rate models with risk analysis")
Task(subagent_type="ralph-researcher", prompt="Research Hyperliquid perp DEX with compliance map")
/research - General web research with Zai MCP/security - Security audit with CodeQL/Semgrep/adversarial - Security attack analysis/smart-fork - Pattern extraction from blockchain reposdevelopment
Living knowledge base management. Actions: search (query vault), save (store learning), index (update indices), compile (raw->wiki->rules graduation), init (create vault structure). Follows Karpathy pipeline: ingest->compile->query. Use when: (1) searching accumulated knowledge, (2) saving learnings, (3) compiling raw notes into wiki, (4) initializing a new vault. Triggers: /vault, 'vault search', 'knowledge base', 'save learning'.
testing
Produce a verifiable technical specification before coding. 6 mandatory sections: Interfaces, Behaviors, Invariants (from Aristotle Phase 2), File Plan, Test Plan, Exit Criteria (executable bash commands + expected results). Use when: (1) before implementing features with complexity > 4, (2) as Step 1.5 in orchestrator workflow, (3) when requirements need formalization. Triggers: /spec, 'create spec', 'write specification', 'technical spec'.
testing
Pre-launch shipping checklist orchestrating /gates, /security, /browser-test, /perf. Ensures nothing ships without passing all quality checks. Use when: (1) before deploying, (2) before merging to main, (3) before release. Triggers: /ship, 'ship it', 'ready to deploy', 'pre-launch check'.
development
Performance optimization skill. Core Web Vitals via Lighthouse, bundle size analysis, metrics tracking over time. Use when: (1) optimizing frontend performance, (2) analyzing bundle size, (3) tracking metrics regression. Triggers: /perf, 'performance audit', 'core web vitals', 'bundle size'.