Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/catlog22/claude-code-workflow/integration-test-cyclegit clone --depth 1 https://github.com/catlog22/Claude-Code-WorkflowWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00030 | $0.09043 |
| Opus 5 | $0.00015 | $0.04522 |
| Sonnet 5 | $0.00006 | $0.01809 |
| Haiku 4.5 | $0.00003 | $0.00904 |
Grade A, and why
integration-test-cycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 1,077 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auto Mode
When --yes or -y: Auto-confirm exploration decisions, use recommended test strategies, skip interactive checkpoints.
Workflow Integration-Test-Cycle Command
Quick Start
# Basic - explore and test a module
/workflow:integration-test-cycle "用户认证模块的集成测试"
# Auto mode - fully autonomous
/workflow:integration-test-cycle -y "支付流程端到端集成测试"
# Continue interrupted session
/workflow:integration-test-cycle --continue "认证模块"
# Custom iteration limit
/workflow:integration-test-cycle --max-iterations=15 "API网关集成测试"
Context Source: cli-explore-agent + Gemini/Claude analysis
Output Directory: .workflow/.integration-test/{session-id}/
Core Innovation: Reflection-driven self-iterating test cycle with documented learning evolution
What & Why
Core Concept
Unified integration test workflow: Explore → Design → Develop → Test → Reflect → Adjust → Re-test — a closed-loop that autonomously improves test quality through text-based reflection.
vs Existing Commands:
- test-fix-gen: Only generates test tasks, requires manual
workflow-test-fixskill - test-cycle-execute: Only executes pre-existing tasks, no exploration or test design
- This command: Full lifecycle — from zero knowledge to passing integration tests, with self-reflection
Value Proposition
- Zero-to-Tests: No prior session needed — starts from exploration
- Self-Improving: Reflection log drives strategy adjustment between iterations
- Integration Focus: Specifically targets cross-module boundaries and API contracts
- Documented Learning: Every decision, failure, and adjustment recorded in reflection-log.md
Output Artifacts
2 核心文件 + 1 追踪目录,全流程产物最小化:
| Artifact | Type | Description |
|---|---|---|
reflection-log.md |
人类可读 | ⭐ 唯一文本文档:探索发现、设计决策、迭代反思、累积认知、最终结论 |
state.json |
机器可读 | 唯一状态文件:探索上下文、测试设计、测试清单、迭代状态、测试结果、修复历史、最终摘要 |
.trace/ |
原始日志 | CLI 输出和测试日志,仅调试用:cli-{N}.txt、test-output.log |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 1,077 lines · 30 tokens per session scan A 59abd6defa9b
integration-test-cycle is a command published in the GitHub repository catlog22/Claude-Code-Workflow (2,134 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 9,043 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
verify-claim
Walk a claim through the SIFT method (Stop, Investigate, Find better coverage, Trace).
beat-brief
Draft a daily beat briefing from the files in sample-docs/.
cross-review
Run GitHub Copilot CLI and OpenAI Codex against the current git diff for cross-model review.
step-research
Always research before proposing a fix. The Untether bug you're chasing is often a known upstream engine quirk, a previously-fixed regression, or a documented config gotcha.
whats-next
Show current project status and suggest next steps.
ox-session-pause
belongs in the ox CLI JSON output (guidance field), not here. Skills are agent-specific wrappers; ox serves all agents (Codex, etc.). --> Suspend the current session recording. Local cache continues to receive entries, but the upload at stop time will exclude the suspended range.