gsd:second-opinion
Get a second opinion from OpenAI Codex (GPT-5.2-codex) on code, architecture, or implementation decisions. Use when you want independent verification or an alternative perspective.
- License 许可
- AGPL-3.0
- 所属仓库
- baisharg/ASTN
- 最近更新
- 2026-11-04
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- gsd:second-opinion
- description
- Get a second opinion from OpenAI Codex (GPT-5.2-codex) on code, architecture, or implementation decisions. Use when you want independent verification or an alternative perspective.
- argument-hint
- [question or topic]
02 资源文件 4
- 脚本scripts/route-sibling-test-check.sh2.7 KB
- 脚本scripts/structural-test-nudge-check.sh2.0 KB
- 参考文档SETUP.md3.6 KB
- 参考文档SOAK-TESTING.md6.3 KB
03 SKILL.md 正文
GSD Second Opinion
Query OpenAI's Codex CLI for an independent perspective on code, architecture, or implementation decisions.
Usage
/gsd:second-opinion [your question]
Examples
/gsd:second-opinion Review the auth flow for security issues
/gsd:second-opinion Is there a better way to structure the API routes?
/gsd:second-opinion Check if the database schema handles edge cases
/gsd:second-opinion What did I miss in this implementation?
How It Works
- Runs codex-oracle with
gpt-5.2-codexmodel andxhighreasoning - Codex sees the same codebase (read-only access)
- Returns Codex's analysis without the full execution trace
Execution
Run the codex-oracle script with the user's question:
QUESTION="$ARGUMENTS"
if [ -z "$QUESTION" ]; then
echo "Usage: /gsd:second-opinion [your question]"
echo ""
echo "Examples:"
echo " /gsd:second-opinion Review the error handling in src/api/"
echo " /gsd:second-opinion Is this the right architecture for real-time updates?"
exit 1
fi
# Support both project-local (.claude/) and global (~/.claude/) installs
if [[ -f ".claude/skills/codex-oracle/scripts/ask_codex.sh" ]]; then
RESULT=$(bash .claude/skills/codex-oracle/scripts/ask_codex.sh "$QUESTION")
else
RESULT=$(bash ~/.claude/skills/codex-oracle/scripts/ask_codex.sh "$QUESTION")
fi
echo "$RESULT"
When to Use
- Before major decisions: Get Codex's take on architectural choices
- After implementation: Independent code review
- When stuck: Different perspective on debugging
- For verification: Confirm Claude's analysis is complete
Integration with GSD
This skill is also called automatically by GSD workflows:
verify-phase.md- Parallel verification + final checkdiagnose-issues.md- Alternative hypothesesexecute-plan.md- Post-completion code review
04 同仓库更多 Skills
schema-builder
Design and generate Convex database schemas with proper validation, indexes, and relationships. Use when creating schema.ts or modifying table definitions.
integration-tanstack-start
PostHog integration for TanStack Start full-stack applications
migration-helper
Plan and execute Convex schema migrations safely, including adding fields, creating tables, and data transformations. Use when schema changes affect existing data.
gsd:sprint
Autonomous phase execution with Codex validation. Runs plan/execute/verify cycles in a bash loop until done or halted.
gsd:milestone-sprint
Run entire milestone autonomously with Codex validation. Auto-detects current milestone, executes all phases, and runs audit.
gsd:health-check
Verify GSD setup - checks Claude, Codex, skills, and MCP servers are working correctly.