packmind: Skill for Claude Code

.agents/skills/playbook-cli-audit/SKILL.md

playbook-cli-audit is a skill for Claude Code, Codex from PackmindHub/packmind. It costs 113 tokens per session (2,348 once invoked), scanned A, original, Apache-2.0.

A compatibility audit for skills that use the Packmind command-line tool. It compares their commands, options, file formats, and version assumptions with the locally installed CLI.

In plain words
What is it for?
It checks installed CLI support and audits packmind skills for deprecated commands, invalid flags, wrong formats, and version mismatches.
Why use it?
A CLI can change while related skills remain unchanged, causing them to fail when users run them. This detects mismatches before a release or after a CLI upgrade, but does not fix them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

This is PackmindHub/packmind's own configuration. It tells Claude Code and Codex how to work on packmind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything packmind configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node ./dist/apps/cli/main.cjs --version.

Reuse

Borrowing it

Nothing to install: this file belongs to PackmindHub/packmind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PackmindHub/packmind/main/.agents/skills/playbook-cli-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PackmindHub/packmind

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 playbook-cli-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/packmindhub/packmind/playbook-cli-audit/github.svg)](https://agentmods.dev/skills/packmindhub/packmind/playbook-cli-audit)
Your own site
<a href="https://agentmods.dev/skills/packmindhub/packmind/playbook-cli-audit"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/playbook-cli-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playbook-cli-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/packmindhub/packmind/playbook-cli-audit"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/playbook-cli-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,348 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00113 $0.02348
Opus 5.5 $0.00045 $0.00939
Sonnet 5.5 $0.00023 $0.00470
Haiku 4.5 $0.00011 $0.00235

Measured 1mo ago against content hash f4ec63a609ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playbook-cli-audit 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 1mo 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.

.agents/skills/playbook-cli-audit/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playbook CLI Audit

Detect incompatibilities between the packmind-* skills deployed in .claude/skills/ and the current Packmind CLI. Skills evolve independently from the CLI — when the CLI deprecates or removes commands, renames flags, or changes accepted file formats, skills can silently break. This audit catches those issues before users hit them at runtime.

This skill only detects issues — it does not fix them.

Phase 1: Establish CLI Surface

Build the authoritative map of what the CLI currently supports.

1.1 Get CLI version

node ./dist/apps/cli/main.cjs --version

Remember this as $CLI_VERSION (e.g., 0.26.0). If the command fails, try packmind-cli --version as a fallback. If both fail, stop and tell the user the CLI is not available.

1.2 Build the command map from CLI source code

The CLI command definitions live in apps/cli/src/infra/commands/. Read the command registration files to build a complete map of:

  • Available top-level commands and their subcommands
  • Accepted options/flags for each command (names, types, whether required)
  • Accepted argument types (file paths, strings, etc.) and any format constraints
  • Deprecated commands — look for [Deprecated] in descriptions and has been removed in handler code
  • Migration paths — what the deprecated command's error message suggests instead

Structure this internally as a reference table. Here is the expected shape — adapt if the source reveals more or fewer commands:

Command Status Accepted Inputs Key Flags Migration
standards create REMOVED JSON file/stdin --space, --from-skill playbook add <path>
commands create REMOVED JSON file/stdin --space, --from-skill playbook add <path>
skills add REMOVED directory path --space, --from-skill playbook add <path>
install --list REMOVED — — packages list
install --show REMOVED — — packages show <slug>
diff DEPRECATED — --submit, -m playbook diff, playbook submit
diff add DEPRECATED file path -m playbook add
lint --diff DEPRECATED — — --changed-files / --changed-lines
playbook add ACTIVE .md, .mdc files --space —
playbook submit ACTIVE — -m (needed in non-TTY) —
packages add ACTIVE — --to, --standard/--command/--skill (one type per call) —
... ... ... ... ...

Read the full file on GitHub · 203 lines

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. 1mo ago First seen · 203 lines · 113 tokens per session scan A f4ec63a609ff

Subscribe to this mod's changes

playbook-cli-audit is a skill published in the GitHub repository PackmindHub/packmind (319 stars, last pushed 4d ago), licensed Apache-2.0. It adds 113 tokens to every session and 2,348 once invoked, about $0.0005 per session on Opus 5.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-09-22.