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/modelengine-group/fit-framework/test-integrationgit clone --depth 1 https://github.com/ModelEngine-Group/fit-frameworkWhat 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.00015 | $0.00687 |
| Opus 5 | $0.00008 | $0.00344 |
| Sonnet 5 | $0.00003 | $0.00137 |
| Haiku 4.5 | $0.00002 | $0.00069 |
Grade A, and why
test-integration 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.
What it actually says
Integration Test Command
功能说明
执行 FIT Framework 的集成测试,包括服务启动和接口验证。
前置条件:需要先完成 Maven 构建,确保 build/ 目录存在。如果还没有构建,请先运行 /test 命令。
用法:
/test-integration- 执行集成测试流程
执行方式:
按照以下步骤顺序执行(每个步骤需等待前一步完成):
步骤 1:验证构建产物
if [ ! -d "build" ]; then
echo "错误: 构建产物不存在,请先运行 /test 命令"
exit 1
fi
步骤 2:加载公共脚本并初始化环境
source .agents/scripts/fit-service.sh
init_log_dir
init_plugin_dir
步骤 3:启动 FIT 服务
start_fit_service
步骤 4:执行所有验证
verify_all
TEST_RESULT=$?
步骤 5:清理测试环境
cleanup false
exit $TEST_RESULT
测试内容包括:
- ✅ 检查构建产物是否存在
- ✅ 启动 FIT 服务(自动等待健康检查,最多 60 秒)
- ✅ 验证健康检查接口
/actuator/health - ✅ 验证插件列表接口
/actuator/plugins - ✅ 验证 Swagger 文档页面
/openapi.html - ✅ 停止服务并清理临时文件
日志输出:
所有测试日志保存在 .ai-workspace/logs/ 目录(已被 git 忽略):
fit-server-{timestamp}.log- FIT 服务启动日志
下一步:
测试通过后,使用以下命令提交代码:
- Claude Code / OpenCode:
/commit - Gemini CLI:
/fit:commit - Codex CLI:
/prompts:fit-commit
注意事项:
- 前置条件:必须先运行
/test完成构建,或确保build/目录存在 - 端口冲突:确保 8080 端口未被占用(脚本会自动检测并清理)
- 超时设置:服务启动步骤设置 90 秒超时,验证步骤设置 30 秒超时
- 并行执行:各步骤需按顺序执行,不可并行
- 构建产物保留:测试结束后不会删除
build/目录,便于重复测试 - 权限配置:测试脚本已在
.claude/settings.json中配置自动授权 - 完全自动化:整个测试流程无需手动确认,自动执行所有步骤
- 预计时间:整个流程约 1-2 分钟(不包含构建时间)
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 · 85 lines · 15 tokens per session scan A b362bb101b2b
test-integration is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 5mo ago), licensed MIT. It adds 15 tokens to every session and 687 once invoked, about $0.0001 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
me-han-hu-draft
Draft a technical manuscript section in Han Hu manuscript mode using the private calibrated style corpus and evidence-preserving engineering workflow.
me-cfd-review
Review thermal-fluid CFD setup, boundary conditions, mesh, wall treatment, convergence, validation, and whether the claims are supported.
me-code-sanity
Run a fast preflight on thermal-fluid research code for units, baselines, leakage, physics checks, and result traceability.
me-correlation-check
Check thermal-fluid equations, empirical correlations, and dimensionless groups for validity range, assumptions, units, and claim strength.
me-experiment-plan
Plan thermal-fluid experiments with instrumentation, calibration, uncertainty, repeatability, heat-loss correction, operating envelope, and safety checks.
me-lit-matrix
Build a thermal-fluid literature matrix organized by mechanism, method, metric, validity range, benchmark value, and unresolved gap.