FIT is an enterprise AI development framework with a multilingual function engine, a flow orchestration engine, and Java tools for connecting language models, knowledge bases, and external tools. It is for Java-oriented teams building AI applications that can run locally or in distributed deployments with plugins. The catalogue add-ons provide commands, skills, instructions, and settings for working with FIT.
Borrowing it
Nothing to install: this file belongs to ModelEngine-Group/fit-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ModelEngine-Group/fit-framework/main/.codex/commands/fit-upgrade-dependency.mdgit clone --depth 1 https://github.com/ModelEngine-Group/fit-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/modelengine-group/fit-framework/fit-upgrade-dependency)<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-upgrade-dependency"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-upgrade-dependency.svg" alt="Measured on agentmods" height="20"></a>What 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.1 | $0.00004 | $0.00525 |
| Opus 5 | $0.00002 | $0.00262 |
| Sonnet 5 | $0.00001 | $0.00105 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
fit-upgrade-dependency 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 3d 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
升级项目中的指定依赖包到新版本,并验证变更。
例如: /upgrade-dependency swagger-ui 5.30.0 5.30.2
参数:
- 包名: $1
- 原版本: $2
- 新版本: $3
执行以下步骤:
-
查找依赖文件:
grep -r "$1" --include="pom.xml" --include="package.json" --include="build.gradle" --include="requirements.txt" . grep -r "$2" --include="pom.xml" --include="package.json" --include="build.gradle" --include="requirements.txt" . -
更新依赖版本: 根据项目类型更新对应的依赖文件:
- Maven(pom.xml): 使用 Edit 工具将 $2 替换为 $3
- Node.js(package.json): 使用 Edit 工具更新版本号
- Gradle(build.gradle): 使用 Edit 工具更新版本号
-
更新相关静态资源: 如果依赖包含静态资源(如 swagger-ui),同步更新版本号引用、CDN 链接等。
-
验证变更:
git diff git diff --name-only | wc -l编译验证:
mvn clean package -Dmaven.test.skip=true运行测试(推荐):
mvn test -
输出变更摘要:
✅ 依赖升级完成 包名: $1 原版本: $2 新版本: $3 变更文件: <列表> 编译状态: <成功/失败> 测试状态: <通过/失败/未运行> 下一步: 请人工检查变更后提交: - Claude Code / OpenCode: /commit - Gemini CLI: /fit:commit - Codex CLI: /prompts:fit-commit
注意事项:
- 升级前检查 CHANGELOG 和 Migration Guide
- 注意破坏性变更(Breaking Changes)
- 不要自动执行 git commit,等待人工检查
- 一次只升级一个依赖
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.
- 3d ago First seen · 66 lines · 4 tokens per session scan A ed8e10082e81
fit-upgrade-dependency is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,115 stars, last pushed 5mo ago), licensed MIT. It adds 4 tokens to every session and 525 once invoked, about $0.0000 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-09-03.
Other commands, from other repositories
backlog-status
Display a live backlog status dashboard — active tasks table with PR state and branch-to-test. Optional flag: --qa also generates a QA test guide for all Ready-for-Review tasks.
status
Display project status, active tracks, and next actions.
portfolio
Show a read-only hub-wide portfolio of canonical Ideas and active Projects without duplicating topic-owned records.
tracker-sync
Project a flow spec to a tracker (Linear/GitHub/GitLab/Jira) and reconcile body/status/comments two-way — projection, not coordination. NOT plan-sync (/flow-next:sync).
dashboard-session-fork
Fork a session into a new one. Usage /dashboard:session-fork.
dashboard-session-hide
Hide a session from the dashboard list. Usage /dashboard:session-hide.