PromptHub: organize a prompt before publishing
prompthub_organize_promptPrepares raw prompts for PromptHub publishing by rewriting them for clarity and converting reusable parts into {{variable}} template syntax so others can edit and reuse them.
Instructions
Call this FIRST whenever the user wants to upload, publish, share, or save a prompt to PromptHub (before create_repo / publish_session / update_repo). Returns the prompt-organize methodology: a step-by-step guide to (1) rewrite the user's raw prompt for clarity and (2) convert the genuinely reusable parts into PromptHub's {{variable}} template syntax (single-line, ... for multi-line, =a|b|c for choices) so others can edit and replace them. Apply the returned guide to the user's prompt, CONFIRM the variable list with the user, then publish. Skip only if the prompt is already a clean, templatized prompt the user explicitly does not want changed. No token required — safe to call before the user has authenticated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prompthub_organize_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||