Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计提醒

agent-reviewAgent 审查

Agent Skill

agent-review 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,523

周安装

61

GitHub Stars

7,130

下载量

493
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-review(Agent 审查)
来源仓库:https://github.com/civitai/civitai
仓库路径:skills/agent-review
安装命令:
npx skills add https://github.com/civitai/civitai --skill agent-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/civitai/civitai --skill agent-review

简介

该技能通过外部 AI 代理获取代码审查或架构决策反馈。

  • 适用于需要第二意见、安全审计或复杂逻辑验证的开发环节。
  • 支持从文件或标准输入读取内容,并可附加上下文文件提升判断精度。
  • 调用时需提供清晰的问题描述,并区分模型类型以适配不同推理能力。
  • agent-review 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agent Review

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

Running Commands

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

# 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

# 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

# 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

# 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

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

# 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)

# 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)

# 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:

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"

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.94%
按下载量换算157

Gemini CLI

21.98%
按下载量换算108

OpenCode

16.91%
按下载量换算83

Codex

13.39%
按下载量换算66

Antigravity

8.03%
按下载量换算40

Cursor

3.31%
按下载量换算16

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills