fit-framework: Skill for Claude Code

.agents/skills/close-codescan/SKILL.md

close-codescan is a skill for Claude Code, Codex from ModelEngine-Group/fit-framework. It costs 48 tokens per session (295 once invoked), scanned A, original, MIT.

A workflow for dismissing GitHub Code Scanning alerts, which are warnings about possible security problems found in code.

In plain words
What is it for?
Use it to inspect an alert, choose a dismissal reason, add an explanation, and close it by its alert number.
Why use it?
It records why an alert is being dismissed and helps avoid closing serious warnings without review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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/.agents/skills/close-codescan/SKILL.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 close-codescan

README.md
[![agentmods](https://agentmods.dev/badge/skills/modelengine-group/fit-framework/close-codescan/github.svg)](https://agentmods.dev/skills/modelengine-group/fit-framework/close-codescan)
Your own site
<a href="https://agentmods.dev/skills/modelengine-group/fit-framework/close-codescan"><img src="https://agentmods.dev/badge/skills/modelengine-group/fit-framework/close-codescan/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 close-codescan

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelengine-group/fit-framework/close-codescan"><img src="https://agentmods.dev/badge/skills/modelengine-group/fit-framework/close-codescan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.00295
Opus 5.5 $0.00019 $0.00118
Sonnet 5.5 $0.00010 $0.00059
Haiku 4.5 $0.00005 $0.00030

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

Security

Grade A, and why

close-codescan 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.

.agents/skills/close-codescan/SKILL.md · 31 lines

What it actually says

关闭 Code Scanning 告警

执行步骤

  1. 获取告警信息:

    gh api "repos/{owner}/{repo}/code-scanning/alerts/<alert-number>"
    
  2. 展示告警详情(规则 ID、严重程度、源码位置、告警消息)。

  3. 询问关闭理由:

    1. 误报(False Positive)
    2. 不会修复(Won't Fix)
    3. 测试代码(Used in Tests)
  4. 要求详细说明(最少 20 个字符)。

  5. 最终确认后执行关闭:

    gh api --method PATCH "repos/{owner}/{repo}/code-scanning/alerts/<alert-number>" -f state=dismissed -f dismissed_reason="<reason>" -f dismissed_comment="<comment>"
    

    dismissed_reason 有效值: "false positive", "won't fix", "used in tests"

注意: 谨慎关闭高危告警,优先考虑修复源代码。建议先使用 analyze-codescan 进行详细分析。

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 · 31 lines · 48 tokens per session scan A b35def68047e

Subscribe to this mod's changes

close-codescan is a skill published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 48 tokens to every session and 295 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

reviewer-author-loop

Iterative manuscript improvement workflow where a reviewer agent critiques, an author agent revises, a verifier checks the revision, and the loop repeats until acceptance or a human-pause condition is reached. Use for virtual peer review, reviewer-author revision loops, rebuttal preparation, resubmission polishing…

hanhuark/mechanical-engineering-research-skill · 94 tokens

mechanical-engineering-research

Apply source-aware mechanical-engineering judgment to research, analysis, coding, writing, teaching, research identity, and release work. Use for thermal-fluid systems, heat transfer, fluid mechanics, thermodynamics, HVAC, energy systems, turbomachinery, piping, multiphase flow, experiments, correlations, CFD…

hanhuark/mechanical-engineering-research-skill · 122 tokens

research-schematic-design

Create publication-quality, editable scientific and engineering schematics with explicit physical meaning, exact labels, visual hierarchy, and provenance. Use for experimental facilities, thermal-fluid mechanisms, workflows, graphical abstracts, system architectures, or research diagrams.

hanhuark/mechanical-engineering-research-skill · 50 tokens

research-writing-literature

Write and revise rigorous research narratives, literature reviews, manuscript sections, citations, and figure discussions. Use for technical introductions, methods, results, discussions, review articles, abstracts, or related-work sections.

hanhuark/mechanical-engineering-research-skill · 45 tokens

research-mentor-review

Provide constructive, evidence-based research mentoring feedback on student manuscripts, proposals, analyses, code, figures, and presentations. Use for advisor-style review that teaches the next improvement without impersonating an advisor or making unsupported scientific judgments.

hanhuark/mechanical-engineering-research-skill · 49 tokens

thermal-fluid-analysis

Analyze thermal-fluid engineering systems, experiments, CFD, and correlations with explicit assumptions, validity limits, uncertainty, and mechanism-based interpretation. Use for heat transfer, fluid mechanics, phase change, HVAC, energy systems, turbomachinery, piping, or thermal management.

hanhuark/mechanical-engineering-research-skill · 56 tokens