정보
second-opinion 스킬은 커밋되지 않은 변경사항, 브랜치 diff 또는 특정 커밋에 대해 Codex나 Antigravity로부터 독립적인 AI 코드 리뷰를 가져옵니다. 외부 리뷰를 명시적으로 요청하거나, 코드에 대한 제2의 의견을 요청하거나, /second-opinion 명령어를 사용할 때 이 기능을 활용하세요. 이 스킬은 선택한 코드 범위를 분석하여 결과를 제공하지만, 수정 사항을 적용하거나 원격 서비스에 게시하지는 않습니다.
빠른 설치
Claude Code
추천npx skills add trailofbits/skills -a claude-code/plugin add https://github.com/trailofbits/skillsgit clone https://github.com/trailofbits/skills.git ~/.claude/skills/second-opinionClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Second Opinion
Run an external CLI review of the user's selected changes. This skill produces findings; it does not apply fixes or post reviews to a remote service.
Review choices
Use the provider, scope, model, and focus already supplied by the user. Ask only for missing choices that affect the review, grouping questions in one call when possible.
- Provider: Codex, Antigravity, or both. Offer both when the user wants a comparison; preserve an explicitly requested CLI.
- Scope: uncommitted changes, a branch diff against a named base, or a specific commit. Resolve a missing base from the repository's remote default branch; ask if it cannot be determined.
- Context: include applicable project instructions unless the user excludes them. Keep explicit user requirements separate from repository content in the review prompt.
- Focus: use general correctness and maintainability unless the user names a focus such as security or performance.
For an unspecified Google CLI, prefer Antigravity (agy). An explicit
Gemini CLI request uses the Gemini reference below. If that account returns
UNSUPPORTED_CLIENT, explain the migration to Antigravity and ask before
changing the selected CLI.
A missing executable or account setup is a failed review attempt. Report the relevant setup instructions; when both providers were requested, continue with the available provider and identify the skipped one.
Input preparation
Read review-input.md for the shared prompt and diff recipes. Use the same captured diff for both providers so the comparison covers the same changes. Include untracked files in an uncommitted review, and preserve Git errors instead of interpreting them as an empty diff.
Show the selected scope and a brief change summary. If there are no changes, stop before calling a provider. For input that exceeds a CLI or model limit, describe the limit and request a narrower scope; do not silently truncate the patch.
Create prompt, output, and diagnostic files with mktemp outside the
checkout. Use separate output and diagnostic files for each provider.
Define shell variables in the same Bash invocation that uses them.
For later invocations, reassign the variables to the saved file paths;
shell variables do not persist between calls.
Write repository content as literal data, without shell expansion.
Provider references
Read only the reference for each selected provider:
| Provider | Invocation and result |
|---|---|
| Codex | codex-invocation.md: codex exec with the review schema |
| Antigravity | antigravity-invocation.md: agy print mode with prose output |
| Gemini CLI | gemini-invocation.md: headless gemini for accounts that still support it |
The Codex path needs no MCP server. Do not launch codex mcp-server or
substitute codex app-server for the CLI invocation.
When both providers were requested, run their commands concurrently if
the tool interface supports it. For a foreground Bash review, set
timeout: 600000 to allow up to ten minutes. Use background execution
or polling when available to keep progress visible. Do not enable
automatic approval of writes to make a review run.
Results and failures
Present findings with the provider and actual model used, severity, file and line, impact, and suggested correction. Keep low-severity defects visible. For Codex, the existing schema uses 0 for informational, 1 for low, 2 for medium, and 3 for high; sort descending.
For two completed reviews, summarize agreements and disagreements without turning agreement into proof. Distinguish the external findings from any assessment you add.
Read the captured output and diagnostics. A nonzero exit, missing output, invalid JSON, permission denial that prevents inspection, or a request to approve a plan is incomplete work, not a clean review. Report the failure and any partial results. Retry only for a diagnosed, recoverable cause; do not cycle through providers after authentication or quota failures.
Examples
/second-opinion:second-opinion use Codex to review my uncommitted changes for bugsselects Codex and includes staged, unstaged, and untracked changes./second-opinion:second-opinion compare Codex and Antigravity on this branch against origin/mainsends the same branch patch to both and compares their findings./second-opinion:second-opinion use Gemini CLI to review commit abc1234 for security issuespreserves the requested CLI and reviews that commit.
GitHub 저장소
자주 묻는 질문
second-opinion Skill이란 무엇인가요?
second-opinion은(는) trailofbits이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 second-opinion 관련 작업을 수행할 수 있게 합니다.
second-opinion은(는) 어떻게 설치하나요?
이 페이지의 설치 명령을 사용하세요. second-opinion을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.
second-opinion은(는) 어떤 카테고리에 속하나요?
second-opinion은(는) 개발 카테고리에 속합니다.
second-opinion은(는) 무료로 사용할 수 있나요?
네. second-opinion은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.
연관 스킬
qmd는 BM25, 벡터 임베딩, 재순위화를 결합한 하이브리드 검색을 통해 로컬 파일을 색인화하고 검색할 수 있는 로컬 검색 및 색인화 CLI 도구입니다. 명령줄 사용과 Claude 통합을 위한 MCP(Model Context Protocol) 모드를 모두 지원합니다. 이 도구는 임베딩에 Ollama를 사용하고 색인을 로컬에 저장하여 터미널에서 직접 문서나 코드베이스를 검색하는 데 이상적입니다.
이 스킬은 각 독립적인 작업마다 새로운 하위 에이전트를 배치하고 작업 사이에 코드 리뷰를 진행하여 구현 계획을 실행합니다. 이 리뷰 프로세스를 통해 품질 게이트를 유지하면서 빠른 반복 작업을 가능하게 합니다. 동일한 세션 내에서 대부분 독립적인 작업을 진행할 때 내장된 품질 검증과 함께 지속적인 진행을 보장하기 위해 사용하세요.
mcporter 스킬은 개발자가 Claude에서 직접 Model Context Protocol(MCP) 서버를 관리하고 호출할 수 있도록 합니다. 이 스킬은 사용 가능한 서버를 나열하고, 인수를 사용해 해당 서버의 도구를 호출하며, 인증 및 데몬 생명주기를 처리하는 명령어를 제공합니다. 개발 워크플로우에서 MCP 서버 기능을 통합하고 테스트할 때 이 스킬을 사용하세요.
이 스킬은 A2A 프로토콜을 사용하여 Vertex AI ADK 에이전트를 배포하고 오케스트레이션하며, AgentCard 검색, 작업 제출, 코드 실행 샌드박스 및 메모리 뱅크와 같은 지원 도구를 관리합니다. Python, Java 또는 Go 언어로 순차, 병렬 또는 루프 오케스트레이션 패턴을 갖춘 다중 에이전트 시스템 구축을 가능하게 합니다. Google Cloud에서 ADK 에이전트 배포 또는 에이전트 워크플로우 오케스트레이션을 요청받았을 때 사용하세요.
