Answer: A mod is a plugin directory containing `.claude-plugin/plugin.json` (required), `hooks/hooks.json` (required), the hooks module such as `hooks/register.js` (required), `types/index.d.ts` (required when the mod uses `$.state` or adds a namespace to the mods API, unless `types` in the manifest names another path), and optionally files whose names end in `.test.ts` or `.test.tsx`. Status: Confirmed Entry: tool/claude-code/features/mod-required-files Revision: 3 Digest: sha256:aaaeee47806eb676 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:17Z Last changed: 2026-11-20T12:23:50Z (minimum version for omitting types: — → v2.1.299) Last verified: 2026-11-20T12:23:50Z Next check: 2026-11-21T12:23:50Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of manifest file | .claude-plugin/plugin.json | [1] | 2026-11-20 hooks config file | hooks/hooks.json | [1] | 2026-11-20 hooks module | hooks/register.js | [1] | 2026-11-20 types file | types/index.d.ts | [1] | 2026-11-20 test files | .test.ts | [1] | 2026-11-20 minimum version for omitting types | v2.1.299 | [1] | 2026-11-20 Sources: [1] Anthropic. "Mods reference". https://code.claude.com/docs/en/plugins/mods/reference.md Role: primary. Accessed: 2026-11-20T12:23:50Z Quote: "| `.claude-plugin/plugin.json` | Yes | The plugin [manifest]" (Supports: manifest file) Quote: "| `hooks/hooks.json` | Yes | `modules`: an array with one path" (Supports: hooks config file) Quote: "The hooks module, such as [`hooks/register.js`]" (Supports: hooks module) Quote: "[`types/index.d.ts`](https://code.claude.com/docs/en/plugins/mods/interface#declare-the-values), unless `types` in the manifest names another path" (Supports: types file) Quote: "Files whose names end in `.test.ts` or `.test.tsx`" (Supports: test files) Quote: "To leave `types` out of the manifest, you need v2.1.299 or later." (Supports: minimum version for omitting types) Published: 2026-11-20T02:55:29Z Snapshot SHA-256: 68af2b8c3585c594b6fd2cf5d66f5c3b5075cfb7f1822606dc98ddb5e7b1135f (captured 2026-11-19T12:19:13Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:19:13Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:23:50Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:23:50Z Last attempt: 2026-11-20T12:23:50Z Notes and limitations: Extracted automatically from a single official source (section "Files"). Related: https://latestn.com/tool/claude-code/features/output-style-vs-other-features What is the difference between an output style and other Claude Code features like CLAUDE.md? https://latestn.com/tool/claude-code/features/parallel-sessions-worktrees How do I run parallel Claude Code sessions using worktrees? https://latestn.com/tool/claude-code/features/plan-before-editing How do I make Claude Code plan before editing files? https://latestn.com/tool/claude-code/features/mod-keyboard-focus-hotkeys How do I handle keyboard focus and hotkeys for controls in a Claude Code mod pane? https://latestn.com/tool/claude-code/features/mod-markdown-element How do I display Markdown text in a Claude Code mod interface? https://latestn.com/tool/claude-code/features/mod-render-sites Where can a Claude Code mod draw its interface, such as a pane, band above the prompt, or transcript row? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:23:50Z | changed | minimum version for omitting types: — → v2.1.299 | [1] 2026-11-20T12:23:50Z | changed | test files: — → .test.ts | [1] 2026-11-20T12:23:50Z | changed | types file: — → types/index.d.ts | [1] 2026-11-20T12:23:50Z | changed | hooks module: — → hooks/register.js | [1] 2026-11-20T12:23:50Z | changed | hooks config file: — → hooks/hooks.json | [1] 2026-11-20T12:23:50Z | changed | manifest file: — → .claude-plugin/plugin.json | [1] 2026-11-20T12:23:50Z | changed | Minimum version for omitting types: v2.1.299 → — | [1] 2026-11-20T12:23:50Z | changed | Test files: .test.ts → — | [1] 2026-11-20T12:23:50Z | changed | Types file: types/index.d.ts → — | [1] 2026-11-20T12:23:50Z | changed | Hooks module: hooks/register.js → — | [1] 2026-11-20T12:23:50Z | changed | Hooks config file: hooks/hooks.json → — | [1] 2026-11-20T12:23:50Z | changed | Manifest file: .claude-plugin/plugin.json → — | [1] 2026-11-15T12:24:04Z | changed | Minimum version for omitting types: — → v2.1.299 | [1] 2026-11-15T12:24:04Z | changed | Test files: — → .test.ts | [1] 2026-11-15T12:24:04Z | changed | Types file: — → types/index.d.ts | [1] 2026-11-15T12:24:04Z | changed | Hooks module: — → hooks/register.js | [1] 2026-11-15T12:24:04Z | changed | Hooks config file: — → hooks/hooks.json | [1] 2026-11-15T12:24:04Z | changed | Manifest file: — → .claude-plugin/plugin.json | [1] 2026-11-15T12:24:04Z | changed | minimum version for omitting types: v2.1.299 → — | [1] 2026-11-15T12:24:04Z | changed | test file extensions: .test.ts → — | [1] 2026-11-15T12:24:04Z | changed | types file: types/index.d.ts → — | [1] 2026-11-15T12:24:04Z | changed | hooks module: hooks/register.js → — | [1] 2026-11-15T12:24:04Z | changed | hooks config file: hooks/hooks.json → — | [1] 2026-11-15T12:24:04Z | changed | manifest file: .claude-plugin/plugin.json → — | [1] 2026-11-13T03:05:17Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/features/mod-required-files/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/features/mod-required-files POST: https://latestn.com/dispute/tool/claude-code/features/mod-required-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/features/mod-required-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What files does a Claude Code mod need in its plugin directory? Revision 3, last verified 2026-11-20T12:23:50Z. https://latestn.com/tool/claude-code/features/mod-required-files (accessed 2026-11-21T09:53:16Z). @misc{LatestN_tool_claude_code_features_mod_required_files_r3, title = {What files does a Claude Code mod need in its plugin directory?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/features/mod-required-files}}, note = {Revision 3; digest sha256:aaaeee47806eb676; last verified 2026-11-20T12:23:50Z; accessed 2026-11-21T09:53:16Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/features/mod-required-files