Files
claude-code-system-prompts/system-prompts/tool-description-suggestplugininstall.md
2026-09-22 11:28:08 -06:00

1.7 KiB

Render an inline card of plugins the user can add to claude.ai, taken from ${SEARCH_PLUGINS_TOOL_NAME} results. The card handles all install UI; do not describe the plugins in text.

Offer one when the task is the kind a plugin could take over or make repeatable (deploys, reviews against a team process, or the ticket, data and document workflows a user's org may have packaged as plugins) and nothing enabled covers it; the user does not need to ask about plugins. Also when they ask for plugin recommendations. First call ${SEARCH_PLUGINS_TOOL_NAME} with keywords drawn from the task, then pass the relevant results here: pluginId from each result's id, pluginName from its name, description as returned. Set trigger ('proactive' when you initiated this from task context, 'user_asked' when they asked). Use ${LIST_PLUGINS_TOOL_NAME} for plugins they already have.

After the card, continue the task. Example: "ship this to staging" and a deploy plugin that is not enabled → contextLabel "For your deploys".

Do NOT call this for one-off questions you can answer directly, when you are unsure a plugin would help, when ${SEARCH_PLUGINS_TOOL_NAME} returned nothing relevant (then continue the task without mentioning the search), or if you already rendered a plugin or skill suggestion this conversation and the user didn't engage.