longbkit/clisbot/clisbot-plugin
Claude Code and agent skill by longbkit/clisbot
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Build and manage trusted local Clisbot plugins. Use when the user asks to create, edit, install, reload, enable, disable, remove, or troubleshoot a Clisbot plugin; add lifecycle hooks; transform agent configuration, environment, MCP servers, or workspace creation; automate permissions or turn follow-ups; add a screen, sidebar header or footer item, workspace panel, or file panel; add Command Center items or slash commands; add composer pills or attachment sources; transform, render, or append a…
Install
npx vskill@latest install longbkit/clisbot/clisbot-pluginSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Clisbot plugins
Build or manage the requested plugin directly. Use the current public docs to catch contract changes, but keep working from this skill if the network is unavailable.
User's request: $ARGUMENTS
Check current documentation
Fetch https://clisbot.com/llms.txt first. Select and fetch the current plugin Markdown pages from that index before changing a plugin:
- Plugin quickstart (browser page)
- Publishing: npm package contents, dependencies, Git preparation, and private registries.
- Plugin reference (browser page)
Use the deployed docs when they disagree with this skill. Do not send the user away to read them instead of completing the work.
In the Clisbot repository, use public-docs/plugins/reference.md for the checkout's API, including unreleased changes. Use docs/plugins.md for maintainer guidance. Complete contracts belong in the public docs; this skill indexes the references and examples.
What a plugin can contribute
Pick the contribution that matches the request. Each row names the registration, when it fits, and where the full contract lives. Most plugins combine several: a slash command that calls an RPC, which appends a timeline row, which a renderer draws.
| Contribution | Registration | Use it when | Reference | |
|---|---|---|---|---|
| Screen and sidebar item | addScreen + addSidebarHeaderItem/addSidebarFooterItem | A full screen of plugin UI, or sidebar header or footer rows that open a screen or popover | reference.md → Screens and sidebar items | |
| Workspace panel | addWorkspacePanel | UI that lives as a tab beside agents, terminals, files, and diffs; locations: ["explorer"] for the Explorer | reference.md → Workspace panels | |
| File panel | addFilePanel | View or edit a matching file inside the file tab through its file handle | reference.md → File panels; plugin-examples/pdf-panel, plugin-examples/markdown-panel | |
| Command Center item | addCommandCenterItem | A global, workspace, or agent action reachable from ⌘K | reference.md → Command Center items | |
| Client slash command | addSlashCommand | A /command args in the composer that runs plugin code instead of prompting the agent | reference.md → Slash commands | |
| Composer pill | addComposerPill | A per-agent button in the composer track bar next to Tasks and Subagents | reference.md → Composer pills | |
| Timeline transformer | addTimelineTransformer + addTimelineRenderer | Replace, explode, or hide a built-in timeline item, including while it streams | reference.md → Timeline items; plugin-examples/timeline-items, plugin-examples/inline-thinking | |
| Timeline row | clisbot.agents.ref(id).timeline.append(...) | Push a plugin-owned row into an agent timeline from a server handler and update it later | reference.md → Append a timeline row from the daemon | |
| Attachment source | client.addAttachmentSource + server.handle | Let the user attach a searchable external resource, such as an issue, to a prompt | reference.md → Add a composer attachment source; plugin-examples/linear | |
| Theme | addTheme | A light or dark palette under Settings → Appearance | reference.md → Contribute a theme; plugin-examples/catppuccin | |
| Plugin RPC | defineRpc + server.handle + useRpc | Daemon-side work that is not a normal Clisbot operation: vendor APIs, credentials, local files | reference.md → Add plugin-specific backend behavior | |
| Lifecycle events | server.on | Observe agent/workspace lifecycle, inspect ended turns, and answer permission requests | Lifecycle hooks | |
| Creation and launch hooks | server.before | Change agent config, provider options, MCP servers, environment, or workspace isolation before the operation | Before hooks | |
| Clisbot SDK | useClisbot() / handler { clisbot } | Normal Clisbot operations: workspaces, agents, providers, config | reference.md → Use the Clisbot SDK |
| Lifecycle task | Example | |
|---|---|---|
| Log all eleven hooks | lifecycle-logger | |
| Follow-ups, permissions, environment, provider switching, worktrees | lifecycle-actions | |
| Inject MCP servers and change Codex sandbox/approval options | agent-configuration |
Create the project
Use an absolute path on the daemon machine. init writes files but does not install packages.
The generated project contains:
The manifest supplies the default install ID and supported Clisbot versions:
Keep requirements.clisbot correct whenever creating or editing a plugin. init uses >= followed by the CLI version. Raise the minimum when adopting newer APIs; add an upper bound when a later Clisbot release is incompatible. Use npm semver ranges and explicitly include beta versions when targeting betas. Missing requirements mean <0.8.0; complete the 0.8 entry migration before adding >=0.8.0. Verify compatibility with both the daemon and the app running client contributions. See requirements.
Each runtime has its own optional entry. A plugin must have at least one. Both entries accept .ts or .tsx; use .tsx when an entry imports components.
| Path | Runtime | |
|---|---|---|
index.client.tsx and client/ | App | |
index.server.ts and server/ | Daemon subprocess | |
shared/ | Both |
Do not put any other code modules in the plugin root.
A client import of server/, a server import of client/, and every node: import reachable from client code is a compile error. A relative import to another code file in the plugin root is also a compile error; move it into client/, server/, or shared/. Shared modules contain Zod contracts and plain values; they do not import Node or React Native runtime APIs.
Default-export one contribution function from each entry and return cleanup:
Cleanup can be async. Use it for timers, watchers, sockets, subscriptions, and other resources created by plugin code. Every client add* method returns an idempotent remover. Clisbot calls the entry cleanup first, removes registrations that remain, rejects pending RPCs, closes the plugin session, and stops the subprocess when the plugin stops.
Add a workspace panel
Workspace panels live beside agents, terminals, files, and diffs. Plugins run on desktop and mobile, and Clisbot has multiple themes. Every Text must take its color from theme.colors. Use layout.compact for padding and stacking. Unstyled text is black and fails in dark themes.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clisbot-plugin/SKILL.md
Popularity
- Repository stars
- 131
- Repository forks
- 50
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/longbkit/clisbot/clisbot-plugin)