← 插件

Saved Prompts

Save prompts locally or in Langfuse and attach them when starting a workspace.

$ paseo plugin add stephaneminisini/saved-prompts
报告问题
Saved Prompts 截图 1Saved Prompts 截图 2Saved Prompts 截图 3

该插件的概览尚未翻译为你的语言,因此以英文显示。

Saved Prompts keeps the prompts you run again and again, such as a PR review, release prep, or a triage checklist, and lets you attach one to the first message of a new workspace. Open New workspace, choose the project, branch, and agent as usual, then pick Attach > Saved prompt. The prompt text goes to the agent with anything you type, so it works the same for Claude, Codex, and other providers.

Where prompts are stored

Choose the storage in the plugin settings.

  • Local (default): prompts live on the Paseo host. Create, edit, and delete them on the Prompts screen in the sidebar. Each host has its own list; a prompt saved on one host does not appear on another.
  • Langfuse: prompts are read from a Langfuse instance, using the version that carries the label you choose (production by default). The Prompts screen is read-only; edit prompts in Langfuse. Only text prompts are listed; chat prompts are skipped. Use this mode to share the same prompts across several hosts.

Using several hosts

Paseo plugins run per host. Each host where you start workspaces needs the plugin installed and configured on its own:

  • Settings are per host. Storage mode, Langfuse URL, label, and key file path are set separately on each host.
  • The key file is per machine. In Langfuse mode, each host's daemon machine needs its own key file.
  • Local prompts stay on the host that saved them. The Attach > Saved prompt picker only shows prompts from the host the new workspace runs on, so a prompt saved on your desktop does not appear when you start a workspace on another machine.

To use the same prompts on every host, choose Langfuse storage on each host. They all read the same list from Langfuse.

Langfuse setup

The base URL defaults to Langfuse Cloud (US, https://us.cloud.langfuse.com); change it for the EU region (https://cloud.langfuse.com) or a self-hosted instance. Set the label in the plugin settings. The plugin reads your Langfuse keys from a file on the daemon machine, never from the app or the settings. By default the file is ~/.config/paseo-saved-prompts/langfuse.env:

LANGFUSE_PUBLIC_KEY=pk-lf-...
LANGFUSE_SECRET_KEY=sk-lf-...

The file must be readable only by you (chmod 600); the plugin refuses it otherwise. Use Test connection in the settings to check the URL and keys. The plugin calls only the Langfuse API at the URL you set.

Limits

  • Prompts are sent as written. {{placeholders}} are not filled in; type extra context next to the attached prompt.
  • Removing the plugin deletes its local prompts on that host.