/gaac:third-party-callfrom gaac
Unified interface for calling external AI tools (Claude CLI, Codex, Gemini) in non-interactive mode for independent code review, idea proposal, and design analysis.
Ships in gaac. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides a unified interface for invoking external AI tools in GAAC workflows. It manages:
External tools provide:
| Tool | Primary Use | Detection |
|---|---|---|
codex | Code review, analysis | which codex |
claude | Fallback for codex | which claude |
gemini | Web research, proposals | which gemini |
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/check-tools.sh"
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-analysis.sh" \
--prompt-file ./prompt.md \
--output-file ./output.md \
--tool codex \
--context-files "src/**/*.ts"
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-web-research.sh" \
--topic "React state management best practices 2024" \
--output-file ./research.md
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-peer-check.sh" \
--issue-number 42 \
--output-file ./peer-review.md
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-code-review.sh" \
--issue-number 42 \
--output-file ./code-review.md
Outputs structured markers: <!-- GAAC_REVIEW_SCORE: NN --> and <!-- GAAC_REVIEW_ASSESSMENT: ... -->
Model configuration is read from gaac.md. The --role parameter determines which model config to use:
| Role | gaac.md Key | Default | Purpose |
|---|---|---|---|
analyzer | gaac.models.analyzer | codex:gpt-5.2-codex:high | Synthesis and analysis |
analyzer (fallback) | gaac.models.analyzer_fallback | claude:opus | Fallback for analyzer |
checker | gaac.models.checker | claude:opus | Critical checking |
proposer | gaac.models.proposer | claude:sonnet | Creative proposals |
proposer_secondary | gaac.models.proposer_secondary | gemini:gemini-3-pro-preview | Secondary proposer (Gemini) |
code_reviewer | gaac.models.code_reviewer | codex:gpt-5.2-codex:high | Independent code review |
code_reviewer (fallback) | gaac.models.code_reviewer_fallback | claude:opus | Fallback for code review |
Usage:
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-analysis.sh" \
--role analyzer \
--prompt-file ./prompt.md \
--output-file ./output.md
Model Config Format: tool:model:reasoning (e.g., codex:gpt-5.2-codex:high)
| Prompt | Purpose |
|---|---|
prompts/CODE_REVIEWER_PROMPT.md | 100-point scoring rubric for code review |
prompts/CHECKER_PROMPT.md | Critical checker for proposer-checker-analyzer debates |
codex exec \
-m gpt-5.2-codex \
-c model_reasoning_effort=high \
--enable web_search_request \
-s read-only \
-o "$OUTPUT_FILE" \
-C "$PROJECT_ROOT" \
< prompt.txt
Features:
high effort)claude -p \
--model opus \
--permission-mode bypassPermissions \
--tools "Read,Grep,Glob,WebSearch,WebFetch" \
--allowedTools "Read,Grep,Glob,WebSearch,WebFetch" \
< prompt.txt > output.md
Features:
GEMINI_CLI_SYSTEM_SETTINGS_PATH="$TEMP_SETTINGS" \
gemini \
--output-format json \
--approval-mode yolo \
"prompt" > output.json
Settings file:
{
"tools": {
"core": ["list_directory", "read_file", "glob", "search_file_content", "web_fetch", "google_web_search"],
"exclude": ["write_file", "replace", "run_shell_command"]
}
}
Features:
All external tools run with:
| Capability | Allowed | Enforced By |
|---|---|---|
| Read codebase | Yes | Tool config |
| Search codebase | Yes | Tool config |
| Web search | Yes | Tool config |
| Write files | No | Sandbox/tool exclusion |
| Execute commands | No | Sandbox/tool exclusion |
Uses Codex (or Claude fallback) to review implementation:
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-peer-check.sh" --issue-number 42
Output: PASS/NEEDS_WORK with detailed findings
Uses Gemini for web-enhanced proposals:
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-web-research.sh" \
--topic "distributed cache invalidation patterns" \
--output-file ./proposal.md
Uses Codex/Claude for synthesizing multiple inputs:
bash "${CLAUDE_PLUGIN_ROOT}/skills/third-party-call/scripts/run-analysis.sh" \
--prompt-file ./analysis-prompt.md \
--context-files "./docs/draft/*.md" \
--output-file ./synthesis.md
| Exit Code | Meaning | Action |
|---|---|---|
| 0 | Success | Use output |
| 1 | Tool not available | Try fallback |
| 2 | Tool execution failed | Try fallback |
| 3 | Invalid input | Fix and retry |
| 4 | Timeout | Increase timeout or simplify |
| Tool | Default | Env Variable |
|---|---|---|
| Codex | 5400s | CODEX_TIMEOUT |
| Claude | 300s | CLAUDE_TIMEOUT |
| Gemini | 300s | GEMINI_TIMEOUT |
| GAAC Stage | Third-Party Usage |
|---|---|
| Research | Gemini for web proposals |
| Refinement | Codex/Claude for analysis |
| Planning | Codex for design review |
| Work | Peer-check for code review |
| File | Purpose |
|---|---|
SKILL.md | This documentation |
scripts/check-tools.sh | Detect available tools |
scripts/run-analysis.sh | General analysis wrapper with role-based config |
scripts/run-web-research.sh | Gemini web research |
scripts/run-peer-check.sh | Quick feedback via external model |
scripts/run-code-review.sh | Independent scoring review (mandatory) |
prompts/CODE_REVIEWER_PROMPT.md | 100-point scoring rubric |
prompts/CHECKER_PROMPT.md | Critical checker for debates |
prompts/ANALYZER_PROMPT.md (opens in a new tab)prompts/CHECKER_PROMPT.md (opens in a new tab)prompts/CODE_REVIEWER_PROMPT.md (opens in a new tab)prompts/CODE_REVIEW_PROMPT.md (opens in a new tab)prompts/PEER_CHECK_PROMPT.md (opens in a new tab)prompts/PROPOSER_PROMPT.md (opens in a new tab)scripts/check-tools.sh (opens in a new tab)scripts/run-analysis.sh (opens in a new tab)scripts/run-code-review.sh (opens in a new tab)scripts/run-peer-check.sh (opens in a new tab)scripts/run-web-research.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sihaoliu/gaac --plugin gaac4 skills in this plugin
/docs-refactorDocument refactoring skill for splitting large markdown files and validating internal links. Use when documents exceed 1000-1500 lines or when checking documentation integrity. Ensures atomic document structure with proper cross-references./github-managerCore GitHub integration skill for GAAC. Manages issues, PRs, project board integration, and PR comments. Provides templates and scripts for all GitHub operations. Use for any GitHub-related actions in GAAC workflows./init-validatorValidates GAAC prerequisites and command arguments. Checks for required tools (gh, jq), validates gaac.md configuration, and validates input arguments for all GAAC slash commands. Use before starting any GAAC workflow.Other plugins' skills for the same job