tailcallhq/forgecode/test-reasoning
Claude Code and agent skill by tailcallhq/forgecode
- community
Checking that the SKILL.md file is still in the repository.
Validate that reasoning parameters are correctly serialized and sent to provider APIs. Use when the user asks to test reasoning serialization, run reasoning tests, verify reasoning config fields, or check that ReasoningConfig maps correctly to provider-specific JSON (OpenRouter, Anthropic, GitHub Copilot, Codex).
Install
npx vskill@latest install tailcallhq/forgecode/test-reasoningSKILL.md
The same SKILL.md was published earlier as tailcallhq/forgecode/test-reasoning.
Test Reasoning Serialization
Validates that ReasoningConfig fields are correctly serialized into provider-specific JSON for OpenRouter, Anthropic, GitHub Copilot, and Codex.
Quick Start
Run all tests with the bundled script:
The script builds forge in debug mode, runs each provider/model combination, captures the outgoing HTTP request body via FORGE_DEBUG_REQUESTS, and asserts the correct JSON fields.
Running a Single Test Manually
Then inspect .forge/forge.request.json for the expected fields.
Test Coverage
| Provider | Model | Config fields | Expected JSON field | ||||||
|---|---|---|---|---|---|---|---|---|---|
open_router | openai/o4-mini | `effort: none\ | minimal\ | low\ | medium\ | high\ | xhigh` | reasoning.effort | |
open_router | openai/o4-mini | max_tokens: 4000 | reasoning.max_tokens | ||||||
open_router | openai/o4-mini | effort: high + exclude: true | reasoning.effort + .exclude | ||||||
open_router | openai/o4-mini | enabled: true | reasoning.enabled | ||||||
open_router | anthropic/claude-opus-4-5 | max_tokens: 4000 | reasoning.max_tokens | ||||||
open_router | moonshotai/kimi-k2 | max_tokens: 4000 | reasoning.max_tokens | ||||||
open_router | moonshotai/kimi-k2 | effort: high | reasoning.effort | ||||||
open_router | minimax/minimax-m2 | max_tokens: 4000 | reasoning.max_tokens | ||||||
open_router | minimax/minimax-m2 | effort: high | reasoning.effort | ||||||
anthropic | claude-opus-4-6 | `effort: low\ | medium\ | high\ | max` | output_config.effort | |||
anthropic | claude-3-7-sonnet-20250219 | enabled: true + max_tokens: 8000 | thinking.type + budget_tokens | ||||||
github_copilot | o4-mini | `effort: none\ | minimal\ | low\ | medium\ | high\ | xhigh` | reasoning_effort (top-level) | |
codex | gpt-5.1-codex | `effort: none\ | minimal\ | low\ | medium\ | high\ | xhigh` | reasoning.effort + .summary | |
codex | gpt-5.1-codex | effort: medium + exclude: true | reasoning.summary = "concise" | ||||||
| all providers | one model each | effort: invalid | non-zero exit, no request written |
Tests for unconfigured providers are skipped automatically. Invalid-effort tests run regardless of credentials — the rejection happens at config parse time before any provider interaction.
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.forge/skills/test-reasoning/SKILL.md
Popularity
- Repository stars
- 7,433
- Repository forks
- 1,449
- 7-day trend score
- 45
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tailcallhq/forgecode/test-reasoning)