4 December 2026

AI and agents, every day. Straight to it.

ToolsQuick notes

Preflight inspects Claude Code skills and hooks before installation

Kiran Chanda's local CLI scans skills for secrets and risky hooks before a coding agent loads them.

Rafael Moura

· 1 min read

Read in Portuguese

A skill pulled from someone else's repository reaches Claude Code as instructions the agent follows, and a hook arrives as a shell command that runs on its own. On November 27, Kiran Chanda introduced Preflight, a local CLI that inspects that material before it lands in a project or in ~/.claude. Kiran Chanda's write-up points to a USENIX Security 2026 study that confirmed 157 malicious skills in community registries.

Preflight lists what the agent loads and how many tokens each item adds to the prompt. Its scan looks for embedded secrets, prompt injection, hidden Unicode and hooks that fire automatically. On install, it clones the pack, scans the contents and copies only the skills you pick. To check a pack without installing anything:

npx @deepwissen/preflight add anthropics/skills --dry-run

It needs Node 18 or later, plus git to fetch skills from a repository. Analysis stays on the machine, with no telemetry. According to Chanda, a clean result only means no known pattern turned up; a payload split across several files can still slip through.

In CI, preflight manifest --fail-on warning exits non-zero on findings and can write a SARIF report for GitHub code scanning. Each team still has to pick the severity that blocks a pull request; Chanda's example uses warning.

Rafael Moura

Agents & automation.

Read articles by Rafael MouraEditorial policy
Report an error

Use 10–1,000 characters; a reply email shares this space.

Next in your reading list