format-changed

A wrapper around an existing repository formatter, a tool that rewrites code into the project's chosen style. It runs a pinned Prettier command on changed or selected files.

In plain words
What is it for?
Use it to format a repository or a chosen subset of files with Prettier, provided the project uses Node.js and accepts the required command.
Why use it?
It avoids formatting files by hand and applies the repository's formatting rules consistently. The command changes files in place, so the resulting diff should be reviewed.

Skill for Claude CodeCodex

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/777genius/plugin-kit-ai/format-changed
Any agent
npx skills add 777genius/plugin-kit-ai --skill format-changed
Clone the repo
git clone --depth 1 https://github.com/777genius/plugin-kit-ai

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 259 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.00000 $0.00259
Opus 5 $0.00000 $0.00130
Sonnet 5 $0.00000 $0.00052
Haiku 4.5 $0.00000 $0.00026

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

Security

Grade A, and why

format-changed 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 2d 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.

examples/skills/cli-wrapper-formatter/generated/skills/claude/format-changed/SKILL.md · 43 lines

What it actually says

format-changed

Claude generate for skills/format-changed/SKILL.md. Edit the canonical source, then re-run plugin-kit-ai skills generate.

Summary

Format changed files through an existing external formatter command.

Command

Compatibility

  • Requires: node >=20
  • Supported OS: darwin, linux
  • Requires a repository checkout
  • May require network access
  • The first run may download the pinned package through npm.

Allowed tools

  • bash
  • node

Canonical instructions

Format Changed Files

What it does

Runs a repository formatter through an existing external CLI instead of custom Go code.

When to use

Use this when the repository already standardizes on a formatter and you want a reusable skill wrapper around it.

How to run

Run npx [email protected] --write . from the repository root or adapt the command to the subset of files you want to format.

Constraints

  • This is a non-interactive command.
  • It may download dependencies on the first run.
  • It writes files in place, so review the diff after execution.
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. 2d ago First seen · 43 lines · 0 tokens per session scan A 15f863eca5b9

Subscribe to this mod's changes

format-changed is a skill published in the GitHub repository 777genius/plugin-kit-ai (10 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 259 tokens. 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-31.