{
  "schemaVersion": "1.0",
  "item": {
    "slug": "astrai-code-review",
    "name": "Astrai Code Review",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/beee003/astrai-code-review",
    "canonicalUrl": "https://clawhub.ai/beee003/astrai-code-review",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/astrai-code-review",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrai-code-review",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "config.example.toml",
      "plugin.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/astrai-code-review"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/astrai-code-review",
    "agentPageUrl": "https://openagent3.xyz/skills/astrai-code-review/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrai-code-review/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrai-code-review/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Astrai Code Review",
        "body": "AI-powered code review with intelligent model routing.\nComplex logic goes to powerful models. Formatting and style goes to fast, cheap ones. You save 40%+ without sacrificing quality."
      },
      {
        "title": "What it does",
        "body": "Smart routing for reviews: Astrai analyzes the diff complexity and routes to the optimal model. A gnarly concurrency bug gets Opus. A missing semicolon gets Haiku. You only pay for the intelligence you need.\nStructured output: Every review returns typed issues with file, line number, severity (critical/warning/info), message, and a concrete suggestion.\nStrictness modes: Standard catches bugs and logic errors. Strict adds style and best-practice checks. Security mode focuses on vulnerabilities, injection, auth, and data exposure.\nBYOK (Bring Your Own Keys): Your provider API keys stay with you. Astrai decides which model to use, then calls the provider using YOUR key. You pay providers directly.\nCost tracking: Every review response includes the cost and how much you saved vs always using the most expensive model.\nLocal-only mode: If you only set ASTRAI_API_KEY without provider keys, Astrai uses its own hosted models. Still routed intelligently, still cheap."
      },
      {
        "title": "Setup",
        "body": "Get a free API key at as-trai.com\nSet ASTRAI_API_KEY in your environment or skill config\nOptionally add provider API keys for BYOK routing (e.g. ANTHROPIC_API_KEY, OPENAI_API_KEY)\nRun /review on any diff or PR"
      },
      {
        "title": "Usage",
        "body": "/review                     Review the current diff (staged changes)\n/review --strict            Strict mode: bugs + style + best practices\n/review --focus security    Security-focused review (vulns, injection, auth)\n/review --file src/auth.py  Review a specific file"
      },
      {
        "title": "Examples",
        "body": "Basic review of staged changes:\n\n/review\n\nReturns issues found in the current diff with severity levels and suggestions.\n\nStrict review for a PR:\n\n/review --strict\n\nCatches not just bugs but also style violations, naming issues, and missed best practices.\n\nSecurity audit:\n\n/review --focus security\n\nFocuses on SQL injection, XSS, auth bypass, hardcoded secrets, insecure deserialization, and other vulnerability classes."
      },
      {
        "title": "Environment Variables",
        "body": "VariableRequiredDescriptionDefaultASTRAI_API_KEYYesYour API key from as-trai.com--ANTHROPIC_API_KEYNoAnthropic key for BYOK routing--OPENAI_API_KEYNoOpenAI key for BYOK routing--GOOGLE_API_KEYNoGoogle key for BYOK routing--DEEPSEEK_API_KEYNoDeepSeek key for BYOK routing--MISTRAL_API_KEYNoMistral key for BYOK routing--GROQ_API_KEYNoGroq key for BYOK routing--TOGETHER_API_KEYNoTogether key for BYOK routing--FIREWORKS_API_KEYNoFireworks key for BYOK routing--COHERE_API_KEYNoCohere key for BYOK routing--PERPLEXITY_API_KEYNoPerplexity key for BYOK routing--REVIEW_STRICTNESSNostandard, strict, or securitystandard"
      },
      {
        "title": "External Endpoints",
        "body": "EndpointPurposeData Senthttps://as-trai.com/v1/chat/completionsCode review inference via intelligent routingDiff content, file context, review instructions"
      },
      {
        "title": "Security & Privacy",
        "body": "All requests authenticated via API key in the Authorization header\nDiffs are sent to the Astrai routing API, which forwards to the selected provider\nIn BYOK mode, provider keys are sent via encrypted header (X-Astrai-Provider-Keys) and never stored\nNo diffs, code, or review results are retained by Astrai after the request completes\nSource code is fully open: github.com/beee003/astrai-openclaw"
      },
      {
        "title": "Model Invocation",
        "body": "This skill sends code diffs to the Astrai routing API. The router classifies the review complexity and selects the best model:\n\nHigh complexity (concurrency, security, architecture): Routes to Claude Opus, GPT-4o, or Gemini Pro\nMedium complexity (logic errors, missing edge cases): Routes to Claude Sonnet, GPT-4o-mini, or Gemini Flash\nLow complexity (formatting, typos, naming): Routes to Claude Haiku, GPT-4o-mini, or Gemini Flash\n\nYour prompts are processed by third-party LLM providers according to the routing decision. In BYOK mode, calls are made using your own provider API keys."
      },
      {
        "title": "Pricing",
        "body": "Same as Astrai platform pricing:\n\nFree: 1,000 requests/day, smart routing, all strictness modes\nPro ($49/mo): Unlimited requests, priority routing, analytics dashboard\nBusiness ($199/mo): Team dashboards, compliance exports, SLA guarantee"
      }
    ],
    "body": "Astrai Code Review\n\nAI-powered code review with intelligent model routing. Complex logic goes to powerful models. Formatting and style goes to fast, cheap ones. You save 40%+ without sacrificing quality.\n\nWhat it does\nSmart routing for reviews: Astrai analyzes the diff complexity and routes to the optimal model. A gnarly concurrency bug gets Opus. A missing semicolon gets Haiku. You only pay for the intelligence you need.\nStructured output: Every review returns typed issues with file, line number, severity (critical/warning/info), message, and a concrete suggestion.\nStrictness modes: Standard catches bugs and logic errors. Strict adds style and best-practice checks. Security mode focuses on vulnerabilities, injection, auth, and data exposure.\nBYOK (Bring Your Own Keys): Your provider API keys stay with you. Astrai decides which model to use, then calls the provider using YOUR key. You pay providers directly.\nCost tracking: Every review response includes the cost and how much you saved vs always using the most expensive model.\nLocal-only mode: If you only set ASTRAI_API_KEY without provider keys, Astrai uses its own hosted models. Still routed intelligently, still cheap.\nSetup\nGet a free API key at as-trai.com\nSet ASTRAI_API_KEY in your environment or skill config\nOptionally add provider API keys for BYOK routing (e.g. ANTHROPIC_API_KEY, OPENAI_API_KEY)\nRun /review on any diff or PR\nUsage\n/review                     Review the current diff (staged changes)\n/review --strict            Strict mode: bugs + style + best practices\n/review --focus security    Security-focused review (vulns, injection, auth)\n/review --file src/auth.py  Review a specific file\n\nExamples\n\nBasic review of staged changes:\n\n/review\n\n\nReturns issues found in the current diff with severity levels and suggestions.\n\nStrict review for a PR:\n\n/review --strict\n\n\nCatches not just bugs but also style violations, naming issues, and missed best practices.\n\nSecurity audit:\n\n/review --focus security\n\n\nFocuses on SQL injection, XSS, auth bypass, hardcoded secrets, insecure deserialization, and other vulnerability classes.\n\nEnvironment Variables\nVariable\tRequired\tDescription\tDefault\nASTRAI_API_KEY\tYes\tYour API key from as-trai.com\t--\nANTHROPIC_API_KEY\tNo\tAnthropic key for BYOK routing\t--\nOPENAI_API_KEY\tNo\tOpenAI key for BYOK routing\t--\nGOOGLE_API_KEY\tNo\tGoogle key for BYOK routing\t--\nDEEPSEEK_API_KEY\tNo\tDeepSeek key for BYOK routing\t--\nMISTRAL_API_KEY\tNo\tMistral key for BYOK routing\t--\nGROQ_API_KEY\tNo\tGroq key for BYOK routing\t--\nTOGETHER_API_KEY\tNo\tTogether key for BYOK routing\t--\nFIREWORKS_API_KEY\tNo\tFireworks key for BYOK routing\t--\nCOHERE_API_KEY\tNo\tCohere key for BYOK routing\t--\nPERPLEXITY_API_KEY\tNo\tPerplexity key for BYOK routing\t--\nREVIEW_STRICTNESS\tNo\tstandard, strict, or security\tstandard\nExternal Endpoints\nEndpoint\tPurpose\tData Sent\nhttps://as-trai.com/v1/chat/completions\tCode review inference via intelligent routing\tDiff content, file context, review instructions\nSecurity & Privacy\nAll requests authenticated via API key in the Authorization header\nDiffs are sent to the Astrai routing API, which forwards to the selected provider\nIn BYOK mode, provider keys are sent via encrypted header (X-Astrai-Provider-Keys) and never stored\nNo diffs, code, or review results are retained by Astrai after the request completes\nSource code is fully open: github.com/beee003/astrai-openclaw\nModel Invocation\n\nThis skill sends code diffs to the Astrai routing API. The router classifies the review complexity and selects the best model:\n\nHigh complexity (concurrency, security, architecture): Routes to Claude Opus, GPT-4o, or Gemini Pro\nMedium complexity (logic errors, missing edge cases): Routes to Claude Sonnet, GPT-4o-mini, or Gemini Flash\nLow complexity (formatting, typos, naming): Routes to Claude Haiku, GPT-4o-mini, or Gemini Flash\n\nYour prompts are processed by third-party LLM providers according to the routing decision. In BYOK mode, calls are made using your own provider API keys.\n\nPricing\n\nSame as Astrai platform pricing:\n\nFree: 1,000 requests/day, smart routing, all strictness modes\nPro ($49/mo): Unlimited requests, priority routing, analytics dashboard\nBusiness ($199/mo): Team dashboards, compliance exports, SLA guarantee"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/beee003/astrai-code-review",
    "publisherUrl": "https://clawhub.ai/beee003/astrai-code-review",
    "owner": "beee003",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/astrai-code-review",
    "downloadUrl": "https://openagent3.xyz/downloads/astrai-code-review",
    "agentUrl": "https://openagent3.xyz/skills/astrai-code-review/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrai-code-review/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrai-code-review/agent.md"
  }
}