鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

agent-review

提供跨模型的外部智能体评审能力,支持对代码、架构设计、文档等内容进行多角度分析与反馈,可灵活指定模型、调整生成温度、限定审查范围、注入上下文,并区分本地订阅与第三方 API 调用路径。

效率工具文档处理数据与分析
访问 GitHub
文档Skills.MD
name
agent-review
description
Get external agent review and feedback. Routes Anthropic models through Claude Agent SDK (uses local subscription) and other models through OpenRouter API. Use for code review, architecture feedback, or any external consultation.

Agent Review

Get feedback from an external AI agent. Useful for code review, architecture decisions, or getting a second opinion.

Running Commands

▼
bash
复制代码
echo "code or prompt" | node .claude/skills/agent-review/query.mjs [options] "Your question" # or node .claude/skills/agent-review/query.mjs --file <path> [options] "Your question"

Options

FlagShortDescription
--model <model>-mModel or alias (default: gemini)
--file <path>-fRead input from file instead of stdin
--lines <start-end>-lExtract specific lines from file (e.g., 50-100)
--context <path>-cAdditional context file (can repeat)
--system <prompt>-sCustom system prompt
--temperature <n>-tTemperature 0-1 (default: 0.7)
--quiet-qSuppress status messages and usage stats
--listList available models
--jsonOutput raw JSON response

Available Models

Model IDAliasesProviderNotes
google/gemini-3-pro-previewgemini, g3OpenRouterDefault - good for external perspective
openai/gpt-5.1-codexgpt, codex, gpt5OpenRouterStrong at code analysis
anthropic/claude-opus-4.5opus, claude-opusAgent SDKUses local subscription
anthropic/claude-sonnet-4.5sonnet, claudeAgent SDKUses local subscription

Anthropic models route through Claude Agent SDK (uses your Claude subscription). Other models route through OpenRouter API (requires OPENROUTER_API_KEY).

Environment Variables

VariableRequiredDescription
OPENROUTER_API_KEYFor non-Anthropic modelsOpenRouter API key
AGENT_REVIEW_DEFAULT_MODELNoOverride default model

Examples

Code Review

▼
bash
复制代码
# Review a file for security issues cat src/server/auth.ts | node .claude/skills/agent-review/query.mjs \ "Review this authentication code for security vulnerabilities" # Review with a specific model (using alias) node .claude/skills/agent-review/query.mjs -m gpt -f src/utils/parser.ts \ "Review this parser for edge cases and error handling"

Reviewing Specific Lines

▼
bash
复制代码
# Review a specific function (lines 50-100) node .claude/skills/agent-review/query.mjs \ -f src/server/auth.ts -l 50-100 \ "Review this authentication function for security issues" # Review a single line node .claude/skills/agent-review/query.mjs \ -f src/utils/parser.ts -l 42 \ "Is this regex safe from ReDoS attacks?"

With Context Files

▼
bash
复制代码
# Review code with type definitions as context node .claude/skills/agent-review/query.mjs \ -f src/api/routes.ts \ -c src/types/api.ts \ -c src/types/models.ts \ "Review this API implementation" # Review component with its hooks as context node .claude/skills/agent-review/query.mjs \ -f src/components/UserProfile.tsx \ -c src/hooks/useUser.ts \ "Review this React component for performance issues"

Architecture Feedback

▼
bash
复制代码
# Get feedback on a proposed design cat docs/design-proposal.md | node .claude/skills/agent-review/query.mjs \ "What are the potential issues with this architecture?"

Custom System Prompt

▼
bash
复制代码
node .claude/skills/agent-review/query.mjs \ -f src/api/routes.ts \ -s "You are a security expert specializing in API design" \ "Audit this API for OWASP top 10 vulnerabilities"

Temperature Control

▼
bash
复制代码
# Lower temperature for more deterministic analysis node .claude/skills/agent-review/query.mjs -t 0.2 -f src/algo.ts \ "Analyze the time complexity" # Higher temperature for creative suggestions node .claude/skills/agent-review/query.mjs -t 0.9 -f src/ui.tsx \ "Suggest ways to improve the user experience"

Using Anthropic Models (Local Subscription)

▼
bash
复制代码
# Uses Claude Agent SDK - no API credits consumed node .claude/skills/agent-review/query.mjs -m opus -f complex-algorithm.ts \ "Analyze the time complexity and suggest optimizations"

Quiet Mode (for scripting)

▼
bash
复制代码
# Suppress all status messages, only output the response REVIEW=$(node .claude/skills/agent-review/query.mjs -q -f src/auth.ts \ "List security issues as JSON array") echo "$REVIEW" | jq .

Output

The response text is written to stdout. After the response, usage stats are shown on stderr:

▼
text
复制代码
Tokens: 189 in / 871 out (1060 total) Cost: $0.0108

This helps track token consumption and costs for OpenRouter requests. Use --quiet to suppress.

When to Use

  • Code Review: Get a second opinion on code quality, security, or performance
  • Architecture Decisions: Validate design choices with another perspective
  • Bug Analysis: Share error context and get debugging suggestions
  • Documentation Review: Check if docs are clear and complete
  • Test Coverage: Identify missing test cases

Tips

  • Default model (Gemini 3 Pro) is recommended for most external reviews
  • Use Anthropic models when you want consistency with Claude's style
  • Use -l to review specific functions without sending the entire file (saves tokens)
  • Use -c to include type definitions or related files for better context
  • Use -t 0.2 for more focused/deterministic responses, -t 0.8 for creative suggestions
  • Pipe code directly for quick reviews: cat file.ts | node ... "review this"
效率工具
文档处理
数据与分析

快捷安装

复制到终端去安装 Skill

npxskillsaddcivitai/civitai--skill"agent-review"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
webapp-testing
提供本地 Web 应用的端到端测试能力,支持页面导航、元素交互、表单填写、动态等待、断言验证、截图捕获、浏览器日志收集及网络请求拦截,适用于前端功能验证与 UI 行为调试。
definition-of-done-generator
自动生成项目完成标准的规范定义与配置文件,提供符合企业级工作流要求的最佳实践指导,输出可直接投入生产环境的代码和验证结果,适用于需要标准化流程审批、合规审查及跨系统集成的复杂项目管理场景。
implement
实现 Linus Dashboard 的功能开发与集成,基于 TypeScript 和 Python 构建前后端组件,遵循严格的代码规范与架构模式,完成视图、卡片、服务及传感器等模块的创建与验证,确保高质量交付并兼容 Home Assistant 生态。
cloud-scheduler-job-creator
自动处理 Google Cloud Platform 中的云调度任务创建,提供符合最佳实践的配置方案与生产级代码生成,支持计算、存储、大数据及机器学习服务的集成部署。
planning-with-files
通过创建任务计划、笔记与交付文件三个持久化文档,实现对复杂任务的结构化管理。在多阶段工作中保持目标清晰,动态更新进度并沉淀研究过程,适用于需长期跟踪的规划、研究及创作场景。