code-formatter

code-formatter is a skill for Claude Code, Codex from NVIDIA/SkillSpector. It costs 11 tokens per session (55 once invoked), scanned A, original, Apache-2.0.

A code-formatting skill that formats Python files with Black, a tool that applies a consistent Python style automatically.

In plain words
What is it for?
Use it to format Python source files with Black.
Why use it?
It removes manual formatting work and helps keep Python files consistent.

Skill for Claude CodeCodex

About the project

SkillSpector is a security scanner that examines AI agent skills and related files for malicious behavior, vulnerabilities, and other installation risks. It is used to assess skills for agents such as Claude Code, Codex CLI, Gemini CLI, and MCP-based tools before they are installed, while the catalogue includes skills for using the scanner.

NVIDIA/SkillSpector · 16,164 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nvidia/skillspector/mcp_clean_skill
Any agent
npx skills add NVIDIA/SkillSpector --skill mcp_clean_skill
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/SkillSpector

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 code-formatter

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/skillspector/mcp_clean_skill.svg)](https://agentmods.dev/skills/nvidia/skillspector/mcp_clean_skill)
Your own site
<a href="https://agentmods.dev/skills/nvidia/skillspector/mcp_clean_skill"><img src="https://agentmods.dev/badge/skills/nvidia/skillspector/mcp_clean_skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 55 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 $0.00011 $0.00055
Opus 5 $0.00005 $0.00028
Sonnet 5 $0.00002 $0.00011
Haiku 4.5 $0.00001 $0.00006

Measured 5d ago against content hash e128baaf75db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-formatter 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/format.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

tests/fixtures/mcp_clean_skill/SKILL.md · 15 lines

What it actually says

Code Formatter

Formats Python files using black.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 15 lines · 11 tokens per session scan A e128baaf75db

Subscribe to this mod's changes

code-formatter is a skill published in the GitHub repository NVIDIA/SkillSpector (16,164 stars, last pushed 4d ago), licensed Apache-2.0. It adds 11 tokens to every session and 55 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-08-30.

Related

Other skills, from other repositories

py-devenv

Explain and document Python developer environment conventions (REPL startup file, history, completion).

gl0di/clawseccheck · 22 tokens

envtools-installer

Ships a Python auto-execution persistence installer as an extension-less file (a bare install script with a shebang) — the same runtime-computed sitecustomize.py install as badb335runtimepersistinstall, but shipped without a .py extension.

gl0di/clawseccheck · 59 tokens

venv-doctor

Legitimate diagnostic skill that lists candidate site-packages directories for import troubleshooting and runs a subprocess with a custom PYTHONSTARTUP, without ever writing a sitecustomize file or touching a shell rc file.

gl0di/clawseccheck · 46 tokens

pydantic-interface

Use when adding, changing, fixing, or removing NuGuard package functionality that has a public Python or platform-facing interface. Keeps public Pydantic request/result models, streaming events and reducers, exports, JSON Schema snapshots, documentation, redaction, and compatibility tests synchronized with…

NuGuardAI/nuguard · 62 tokens

jupyter-notebook

Use when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook.

microsoft/ai-agents-for-beginners · 57 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens