fit-framework: Command for Claude Code

.codex/commands/fit-check-task.md

fit-check-task is a command for Claude Code, Codex from ModelEngine-Group/fit-framework. It costs 8 tokens per session (627 once invoked), scanned A, original, MIT.

A task-status command that reads a task file and reports its workflow stage, progress, context files, and suggested next command.

In plain words
What is it for?
Use it to inspect an active, blocked, or completed task and decide whether to plan, implement, review, or commit it.
Why use it?
It saves you from checking several task folders and files by hand. It also shows what information or review is still missing.

Command for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also installed under .codex/. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

This is ModelEngine-Group/fit-framework's own configuration. It tells Claude Code and Codex how to work on fit-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fit-framework configures →

About the project

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.

ModelEngine-Group/fit-framework · 2,117 stars · on GitHub · modelengine-ai.net

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ModelEngine-Group/fit-framework/main/.codex/commands/fit-check-task.md
Clone the repo
git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for fit-check-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-check-task/github.svg)](https://agentmods.dev/commands/modelengine-group/fit-framework/fit-check-task)
Your own site
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-check-task"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-check-task/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fit-check-task

Your own site · 80×15
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-check-task"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-check-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.00627
Opus 5.5 $0.00003 $0.00251
Sonnet 5.5 $0.00002 $0.00125
Haiku 4.5 $0.00001 $0.00063

Measured 2mo ago against content hash 4ef7fd6c6f49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fit-check-task 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 2mo 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.

.codex/commands/fit-check-task.md · 73 lines

What it actually says

查看任务 $1 的当前状态、进度和上下文文件。

执行以下步骤:

  1. 查找任务文件: 按以下优先级搜索:

    • .ai-workspace/active/$1/task.md(优先)
    • .ai-workspace/blocked/$1/task.md
    • .ai-workspace/completed/$1/task.md 如果都不存在,提示用户任务不存在。
  2. 读取任务信息: 从 task.md 中获取: id, type, workflow, status, current_step, assigned_to, created_at, updated_at

  3. 检查上下文文件是否存在:

    • analysis.md - 需求分析
    • plan.md - 技术方案
    • implementation.md - 实现报告
    • review.md - 审查报告
  4. 输出状态报告:

    📋 任务状态报告
    
    **基本信息**:
    - 任务ID: $1
    - 任务标题: <title>
    - 任务类型: <type>
    - 创建时间: <created_at>
    
    **当前状态**:
    - 工作流: <workflow>
    - 当前步骤: <current_step>
    - 执行者: <assigned_to>
    
    **工作流进度**:
    ✅ / ⏳ / ⏸️ 各步骤状态
    
    **上下文文件**:
    ✅ / ❌ 各文件存在状态
    
    **下一步建议**:
    根据当前状态给出具体命令建议
    

下一步建议规则:

  • 需求分析完成:
    • Claude Code / OpenCode: /plan-task $1
    • Gemini CLI: /fit:plan-task $1
    • Codex CLI: /prompts:fit-plan-task $1
  • 技术方案完成 → ⚠️ 等待人工审查,审查通过后:
    • Claude Code / OpenCode: /implement-task $1
    • Gemini CLI: /fit:implement-task $1
    • Codex CLI: /prompts:fit-implement-task $1
  • 实现完成:
    • Claude Code / OpenCode: /review-task $1
    • Gemini CLI: /fit:review-task $1
    • Codex CLI: /prompts:fit-review-task $1
  • 审查完成(批准):
    • Claude Code / OpenCode: /commit
    • Gemini CLI: /fit:commit
    • Codex CLI: /prompts:fit-commit
  • 审查完成(需修改):
    • Claude Code / OpenCode: /refine-task $1
    • Gemini CLI: /fit:refine-task $1
    • Codex CLI: /prompts:fit-refine-task $1
  • 任务阻塞 → 显示阻塞原因和解除条件
Changes

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.

  1. 2mo ago First seen · 73 lines · 8 tokens per session scan A 4ef7fd6c6f49

Subscribe to this mod's changes

fit-check-task is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 8 tokens to every session and 627 once invoked, about $0.0000 per session on Opus 5.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.