fit-framework: Command for Claude Code

.codex/commands/fit-sync-issue.md

fit-sync-issue is a command for Claude Code, Codex from ModelEngine-Group/fit-framework. It costs 11 tokens per session (415 once invoked), scanned A, original, MIT.

A command that reads a task's workspace files and posts a progress summary as a comment on its GitHub Issue.

In plain words
What is it for?
Use it to publish a task's current progress to the related GitHub Issue.
Why use it?
It removes the need to manually collect status, completed work, decisions, and next steps before updating an Issue.

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 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,115 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-sync-issue.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-sync-issue

README.md
[![agentmods](https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-sync-issue.svg)](https://agentmods.dev/commands/modelengine-group/fit-framework/fit-sync-issue)
Your own site
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-sync-issue"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-sync-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00011 $0.00415
Opus 5 $0.00005 $0.00208
Sonnet 5 $0.00002 $0.00083
Haiku 4.5 $0.00001 $0.00042

Measured 3d ago against content hash 27b931c324d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fit-sync-issue 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.

.codex/commands/fit-sync-issue.md · 59 lines

What it actually says

将任务 $1 的处理进度摘要同步到对应的 GitHub Issue 评论。

执行以下步骤:

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

    • .ai-workspace/active/$1/task.md(优先)
    • .ai-workspace/blocked/$1/task.md
    • .ai-workspace/completed/$1/task.md 如果都不存在,提示用户任务不存在。
  2. 读取任务信息: 从 task.md 中获取 issue_number(如果没有,提示用户手动指定)、标题、current_step、status 等。

  3. 读取上下文文件(如果存在):

    • analysis.md、plan.md、implementation.md、review.md 从中提取关键进展和决策。
  4. 生成进度摘要: 按以下格式生成 Markdown 摘要:

    ## 🤖 任务进度更新
    
    **任务ID**: $1
    **更新时间**: <当前时间>
    **当前状态**: <状态描述>
    
    ### ✅ 已完成
    - [x] <已完成步骤及核心要点>
    
    ### 📋 当前进展
    <当前步骤详细说明>
    
    ### 🎯 下一步
    <下一步计划>
    
    ---
    *由 Codex 自动生成*
    
  5. 同步到 Issue:

    gh issue comment <issue-number> --body "<摘要内容>"
    
  6. 告知用户:

    • 显示同步的 Issue 链接
    • 输出同步的核心内容摘要

注意事项:

  • 摘要要简洁,每阶段只提取核心要点
  • 面向人类阅读,避免过多技术细节
  • 避免频繁同步,建议在完成一个完整阶段后同步
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. 3d ago First seen · 59 lines · 11 tokens per session scan A 27b931c324d7

Subscribe to this mod's changes

fit-sync-issue is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,115 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 415 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-09-03.