Package a CSV Audit Skill as a Claude Code Plugin

Bundle a manually run audit skill in a local plugin and verify its results against a small sample export.

Package the practice skill

Create a practice folder named csv-audit-practice. Put the manifest at .claude-plugin/plugin.json under that folder. Copy the finished SKILL.md from the CSV audit skill guide into skills/audit-csv-counts/SKILL.md directly under the plugin folder. Keep the manual invocation setting from the skill example.

csv-audit-practice/
  .claude-plugin/
    plugin.json
  skills/
    audit-csv-counts/
      SKILL.md

Use this manifest.

{
  "name": "csv-audit-practice",
  "version": "1.0.0",
  "description": "Practice reviewing CSV count fields with a manually invoked skill."
}

The example package consists of the manifest and one skill. Run the deterministic Python check from the skill guide separately in your practice directory.

Verify the package and then the draft

From the directory containing csv-audit-practice, run the validation command first. Review the final result and fix any validation errors before starting a session. The local validator can pass with an attribution warning. It can also list separate issues for publication in a plugin directory. For the second command, use an existing Claude Code practice setup approved by your organization and paste only the fictional inputs.

claude plugin validate ./csv-audit-practice
claude --plugin-dir ./csv-audit-practice

In that session, start /csv-audit-practice:audit-csv-counts and paste the fictional excerpt from the CSV audit prompt with its source version, header, delimiter, and codebook. For a matching test, specify that counts have one to six ASCII digits. The plugin name is the namespace. The folder-based loading command applies to the session you start with that flag.

TestExpected result
Original file and codebookSubtotal 12 across two valid reports. C is documented missing, D is an empty field, and E and F are malformed.
B changed to unknownSubtotal 0 across one valid report. B appears in the exceptions.
Excerpt pasted without a codebookThe draft asks for the codebook and gives no subtotal.

Manifest validation checks the package manifest. Compare the assistant's draft separately against the manual result or the Python check. Have the data owner confirm its coverage statement before anyone uses reporting figures.

Browse the plugins library.

Sources

Claude Code’s local plugin walkthrough shows the directory layout, single-session load and namespaced invocation. The manifest reference documents the validation command. Checked November 27, 2026.

WhatsAppEmail

Source and Scope

  • Create a Claude Code plugin

    Living official documentation checked November 27, 2026

    Plugin layout; Load a plugin for one session; Name the plugin’s skills

    Supports one local skill layout, the one-session flag and namespaced invocation. The practice requires an existing approved setup.

  • Plugin manifest reference

    Living official documentation checked November 27, 2026

    Validate the manifest

    Supports local verification with possible warnings. The saved packaging receipt records separate directory diagnostics. Interactive behavior is a separate check.