Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Codeshell Plugin Author?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cjhyy-codeshell-plugin-author)
---
name: codeshell-plugin-author
description: Author or debug a native CodeShell plugin that registers engine hooks, tools, or background effects using the plugin SDK.
---
Use the plugin directory name as the installation name. The native manifest at `.codeshell-plugin/plugin.json` declares the contributions that `setup(ctx)` registers. For a new project, `code-shell plugin init <directory>` creates a runnable entry.
Bundle a TypeScript entry that imports `definePlugin` into the manifest’s JavaScript entry. A running plugin receives its own copy of the directory. Only files included there resolve reliably. Register handlers during setup. Keep timers, open resources and their cleanup in `ctx.effect`.
Use `code-shell plugin dev <directory>` for a live preview, its terminal log and local debugger. The preview installs into a temporary profile.
Run `code-shell plugin validate <directory>` on the built plugin. To exercise a policy, use `code-shell plugin test-hook <directory> <event.json>` with the recorded event name, its data and the subagent flag. A hook can request a stricter permission decision. Approval to install a plugin in a user's workbench belongs to that user.
See [the author guide](../../AUTHOR.md) for the public names, SDK examples, and commands that run plugin code.