Fla Ascend Performance
fla-org/flash-linear-attention
Guidelines for Ascend NPU kernel / Triton-Ascend backend performance work in the FLA repo.
Run clang-format (prefer clang-format19), clang-tidy19, and cppcheck on staged C/C header changes before committing; auto-format then fail on serious diagnostics.
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .claude/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.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/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .claude/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .agents/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .agents/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .cursor/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .cursor/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MidnightBSD/src.git --path .agents/skills/cppcheck-clang-format-precommit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .gemini/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .gemini/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommitInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .github/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .github/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MidnightBSD/src cppcheck-clang-format-precommit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MidnightBSD/src.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/cppcheck-clang-format-precommit .opencode/skills/cppcheck-clang-format-precommit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cppcheck-clang-format-precommit" agent skill from https://github.com/MidnightBSD/src/tree/master/.agents/skills/cppcheck-clang-format-precommit into .opencode/skills/cppcheck-clang-format-precommit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cppcheck-clang-format-precommit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cppcheck-clang-format-precommitRun clang-format (prefer clang-format19), clang-tidy19, and cppcheck on staged C/C header changes before committing; auto-format then fail on serious diagnostics.
Cppcheck Clang Format Precommit is an agent skill from MidnightBSD/src. Run clang-format (prefer clang-format19), clang-tidy19, and cppcheck on staged C/C header changes before committing; auto-format then fail on serious diagnostics.
Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/precommit_c_sanity.sh`).
It sits in Security. The repository describes itself as: MidnightBSD OS source code.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9450100. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cppcheck Clang Format Precommit loads about 412 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 170 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 170 words (~412 tokens).
“Use this skill when you’re about to git commit C/C header changes and want an automated preflight for serious bugs/vulns and formatting consistency.”
SKILL.md and 1 other file (scripts) in .agents/skills/cppcheck-clang-format-precommit of MidnightBSD/src.
Open the folder on GitHubat commit 9450100
Cppcheck Clang Format Precommit 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cppcheck Clang Format Precommit this skillMidnightBSD/src | 114 | — | ~412 | Automated safety check: Pass | Custom licence | |
| Fla Ascend Performancefla-org/flash-linear-attention | 5.8k | — | ~6.3k | Automated safety check: Pass | MIT | |
| Deepsec Documentation Guidevercel-labs/deepsec | 8.1k | — | ~956 | Automated safety check: Pass | Apache-2.0 | |
| Skill Scannergetsentry/skills | 1k | 4 repos | ~2.5k | Automated safety check: Warn | Apache-2.0 | |
| Serenity Aleabitoreddityan-labs/serenity-aleabitoreddit | 480 | 1 repos | ~3.3k | Automated safety check: Pass | None | |
| Security Alert Triageelastic/agent-skills | 592 | 1 repos | ~3.5k | Automated safety check: Notes | Apache-2.0 |
fla-org/flash-linear-attention
Guidelines for Ascend NPU kernel / Triton-Ascend backend performance work in the FLA repo.
vercel-labs/deepsec
Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.
getsentry/skills
Scan agent skills for security issues. An agent skill from getsentry/skills.
yan-labs/serenity-aleabitoreddit
Apply trader Serenity's (@aleabitoreddit) AI/semiconductor supply-chain analytical lens to US-stock ideas and market judgment.
elastic/agent-skills
Triage Elastic Security alerts — gather context, classify threats, create cases, and acknowledge.
SummerSec/ShiroAttack2
当用户要求利用、检测或测试 Apache Shiro rememberMe 反序列化漏洞 (Shiro-550, CVE-2016-4437) 时使用。触发词包括 "Shiro"、"rememberMe"、"shiro attack"、"CVE-2016-4437"、"Shiro-550"、"爆破 Shiro key"、"利用 Shiro"、"Shiro…
MidnightBSD/src
Handle a security fix end to end for MidnightBSD src - triage a FreeBSD security advisory (FreeBSD-SA-) or CVE against this tree, port the fix to master and both stable branches, add the UPDATING…
MidnightBSD/src
Add an entry to the UPDATING file at the repository root. An agent skill from MidnightBSD/src.
MidnightBSD/src
Import a new upstream release of third-party software into a MidnightBSD vendor branch and merge it into master (and optionally stable branches).
MidnightBSD/src
Run splint after cppcheck/clang-format/clang-tidy precommit sanity to find memory issues, API misuse, and contract violations in staged C code (tolerates older C parser limitations).
Categories
Run clang-format (prefer clang-format19), clang-tidy19, and cppcheck on staged C/C header changes before committing; auto-format then fail on serious diagnostics. Cppcheck Clang Format Precommit is an agent skill from MidnightBSD/src. Run clang-format (prefer clang-format19), clang-tidy19, and cppcheck on staged C/C header changes before committing; auto-format then fail on serious diagnostics.
Cppcheck Clang Format Precommit fits situations like: security work in your project.
Run `npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a claude-code`. Or copy the skill folder (.agents/skills/cppcheck-clang-format-precommit in MidnightBSD/src) into .claude/skills/cppcheck-clang-format-precommit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a codex`. Or copy the skill folder (.agents/skills/cppcheck-clang-format-precommit in MidnightBSD/src) into .agents/skills/cppcheck-clang-format-precommit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MidnightBSD/src --skill cppcheck-clang-format-precommit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cppcheck-clang-format-precommit, .gemini/skills/cppcheck-clang-format-precommit, .github/skills/cppcheck-clang-format-precommit and .opencode/skills/cppcheck-clang-format-precommit in your project.
Going by SKILL.md and its folder, Cppcheck Clang Format Precommit needs a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: A Bash shell.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Cppcheck Clang Format Precommit has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 412 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cppcheck Clang Format Precommit: Fla Ascend Performance (fla-org/flash-linear-attention, 5.8k stars), Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Skill Scanner (getsentry/skills, 1k stars) and Serenity Aleabitoreddit (yan-labs/serenity-aleabitoreddit, 480 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MidnightBSD (a GitHub organization) maintains it in MidnightBSD/src, which has 114 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 4, 2026.
Source: MidnightBSD/src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.