Agent skill

Close Codescan

by ModelEngine-Group in ModelEngine-Group/fit-framework

关闭 Code Scanning (CodeQL) 告警,需提供合理理由。当用户要求关闭 Code Scanning 告警、dismiss CodeQL 告警时触发。参数为告警编号。

MITAuto-check passedSecurity

Install Close Codescan

skills CLI
$ npx skills add ModelEngine-Group/fit-framework --skill close-codescan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ModelEngine-Group/fit-framework close-codescan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/close-codescan .claude/skills/close-codescan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
close-codescan
GitHub stars
2.1k
Token cost
~185 tokens
SKILL.md length
41 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

关闭 Code Scanning (CodeQL) 告警,需提供合理理由。当用户要求关闭 Code Scanning 告警、dismiss CodeQL 告警时触发。参数为告警编号。

  • Works in 5 steps: 获取告警信息 → 展示告警详情(规则 ID、严重程度、源码位置、告警消息)。 → 询问关闭理由 → …
  • Tasks that involve Static analysis and SAST
  • Calls gh

What it does

Close Codescan is an agent skill from ModelEngine-Group/fit-framework. 关闭 Code Scanning (CodeQL) 告警,需提供合理理由。当用户要求关闭 Code Scanning 告警、dismiss CodeQL 告警时触发。参数为告警编号。

Its SKILL.md is about 190 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Static analysis and SAST. The repository describes itself as: FIT: 企业级AI开发框架,提供多语言函数引擎(FIT)、流式编排引擎(WaterFlow)及Java生态的LangChain替代方案(FEL)。原生/Spring双模运行,支持插件热插拔与智能聚散部署,无缝统一大模型与业务系统。 The licence is MIT.

When your agent uses it

  • Tasks that involve Static analysis and SAST

Example prompts

  • “/close-codescan”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 获取告警信息
  2. 展示告警详情(规则 ID、严重程度、源码位置、告警消息)。
  3. 询问关闭理由
  4. 要求详细说明(最少 20 个字符)。
  5. 最终确认后执行关闭

What it can do on your machine

Read from SKILL.md and the folder at commit e2f285d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Close Codescan loads about 185 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 41 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~185

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ModelEngine-Group/fit-framework at commit e2f285d, republished under its MIT licence (© ModelEngine-Group). 41 words, ~185 tokens.

Download SKILL.mdSave it as .claude/skills/close-codescan/SKILL.md (or your agent's skills folder).
name
close-codescan
description
关闭 Code Scanning (CodeQL) 告警,需提供合理理由。当用户要求关闭 Code Scanning 告警、dismiss CodeQL 告警时触发。参数为告警编号。

关闭 Code Scanning 告警

执行步骤

  1. 获取告警信息:

    bash
    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. 最终确认后执行关闭:

    bash
    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 进行详细分析。

© ModelEngine-Group, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/close-codescan of ModelEngine-Group/fit-framework.

Open the folder on GitHubat commit e2f285d

Compare with similar skills

Close Codescan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Close Codescan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Close Codescan this skillModelEngine-Group/fit-framework2.1k—~185Automated safety check: PassMIT
Semgrepvigolium/piolium1381 repos~2.4kAutomated safety check: NotesMIT
C To AstNarwhal-Lab/MagicSkills316—~1.1kAutomated safety check: PassMIT
Semgrep Security Scantrailofbits/skills7.4k—~3.7kAutomated safety check: NotesCC-BY-SA-4.0
LLM Sast ScannerSunWeb3Sec/llm-sast-scanner286—~6.2kAutomated safety check: PassNone
Sast SemgrepAgentSecOps/SecOpsAgentKit2192 repos~2.4kAutomated safety check: PassCustom licence

Similar skills

  • Semgrep

    vigolium/piolium

    Run Semgrep static analysis scan on a codebase using parallel subagents.

    138 GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check: notes
  • C To Ast

    Narwhal-Lab/MagicSkills

    Parse C source code into an Abstract Syntax Tree (AST). An agent skill from Narwhal-Lab/MagicSkills.

    316 GitHub stars~1.1k tokensUpdated 6 mo ago
    SecurityAuto-check passed
  • Semgrep Security Scan

    trailofbits/skills

    Official

    Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.

    7.4k GitHub stars~3.7k tokensUpdated 5 days ago
    SecurityAuto-check: notes
  • LLM Sast Scanner

    SunWeb3Sec/llm-sast-scanner

    General-purpose Static Application Security Testing (SAST) skill for code vulnerability analysis.

    286 GitHub stars~6.2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Sast Semgrep

    AgentSecOps/SecOpsAgentKit

    Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping.

    219 GitHub starsUsed in 2 repos~2.4k tokens
    SecurityAuto-check passed
  • Wp Phpstan

    Automattic/agent-skills

    A skill your agent uses when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and…

    211 GitHub starsUsed in 1 repo~1k tokens
    SecurityAuto-check passed

More from ModelEngine-Group/fit-framework

All 21 skills in this repo
  • Commit

    ModelEngine-Group/fit-framework

    提交当前变更到 Git,包含版权头年份检查和任务状态更新。当用户要求提交代码、git commit、保存变更时触发. An agent skill from ModelEngine-Group/fit-framework.

    2.1k GitHub stars~268 tokensUpdated 6 mo ago
    Auto-check passed
  • Create Release Note

    ModelEngine-Group/fit-framework

    从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。

    2.1k GitHub stars~255 tokensUpdated 6 mo ago
    Auto-check passed
  • Test Integration

    ModelEngine-Group/fit-framework

    执行 FIT Framework 集成测试(服务启动 + 接口验证),需要先完成 Maven 构建。当用户要求运行集成测试、验证服务接口时触发。

    2.1k GitHub stars~218 tokensUpdated 6 mo ago
    Auto-check passed
  • Analyze Codescan

    ModelEngine-Group/fit-framework

    分析 Code Scanning (CodeQL) 告警,评估安全风险并创建修复任务。当用户要求分析 Code Scanning 告警、CodeQL 告警时触发。参数为告警编号。

    2.1k GitHub stars~187 tokensUpdated 6 mo ago
    Auto-check passed
  • Create PR

    ModelEngine-Group/fit-framework

    创建 Pull Request 到指定或自动推断的目标分支。当用户要求创建 PR、提交 PR、发起合并请求时触发。可选参数为目标分支。

    2.1k GitHub stars~179 tokensUpdated 6 mo ago
    Auto-check passed
  • Create Task

    ModelEngine-Group/fit-framework

    根据用户的自然语言描述创建任务并执行需求分析。当用户描述一个新功能、Bug 或改进需求,要求创建任务时触发。参数为任务的自然语言描述。

    2.1k GitHub stars~189 tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about Close Codescan

What does Close Codescan do?

关闭 Code Scanning (CodeQL) 告警,需提供合理理由。当用户要求关闭 Code Scanning 告警、dismiss CodeQL 告警时触发。参数为告警编号。. Close Codescan is an agent skill from ModelEngine-Group/fit-framework.

When should I use Close Codescan?

Close Codescan fits situations like: tasks that involve Static analysis and SAST.

How do I install Close Codescan in Claude Code?

Run `npx skills add ModelEngine-Group/fit-framework --skill close-codescan -a claude-code`. Or copy the skill folder (.agents/skills/close-codescan in ModelEngine-Group/fit-framework) into .claude/skills/close-codescan in your project. Claude Code loads it when a task matches its description.

How do I install Close Codescan in Codex?

Run `npx skills add ModelEngine-Group/fit-framework --skill close-codescan -a codex`. Or copy the skill folder (.agents/skills/close-codescan in ModelEngine-Group/fit-framework) into .agents/skills/close-codescan in your project. Codex loads it when a task matches its description.

Can I use Close Codescan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ModelEngine-Group/fit-framework --skill close-codescan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/close-codescan, .gemini/skills/close-codescan, .github/skills/close-codescan and .opencode/skills/close-codescan in your project.

What does Close Codescan need to run?

Going by SKILL.md and its folder, Close Codescan needs the command-line tools its instructions call (gh).

Does Close Codescan access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Close Codescan safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Close Codescan use?

Close Codescan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Close Codescan use?

About 185 tokens (SKILL.md is roughly 740 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Close Codescan?

Skills that share tags, products or a category with Close Codescan: Semgrep (vigolium/piolium, 138 stars), C To Ast (Narwhal-Lab/MagicSkills, 316 stars), Semgrep Security Scan (trailofbits/skills, 7.4k stars) and LLM Sast Scanner (SunWeb3Sec/llm-sast-scanner, 286 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Close Codescan?

ModelEngine-Group (a GitHub organization) maintains it in ModelEngine-Group/fit-framework, which has 2,117 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on March 13, 2026.

Source: ModelEngine-Group/fit-framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.