ComfyUI Node

Save Persona

Write your own reusable system prompt to disk

By heshengtao·Created 2 years ago·Updated 7 days ago· 2,321
Save Persona
      persona_nameexample
      text

      This pack ships with a library of ready-made system prompts you pick from a dropdown via its Load Persona node. Save Persona is how that library grows: write your own persona text once, give it a name, and it gets saved alongside the pack's own bundled ones - for you to reuse across workflows without retyping the same system prompt every time.

      How it works

      text is the persona content itself - a role, an instruction set, whatever system prompt you want to reuse. persona_name (default "example") is the name it gets saved under. Run the node, and that persona is written to disk under this pack's persona storage, the same place Load Persona's dropdown reads from.

      The inputs and outputs that matter

      • persona_name (default "example") - the name to save under. Change this from the default, or you'll overwrite whatever else is already using that name.
      • text - the actual persona/system-prompt content. Required.

      No outputs - this is a pure sink node (is_output_node: true, empty output list). Its entire job is the file it writes, not anything it hands back to the graph.

      How to install it

      • ComfyUI Manager: search "comfyui_LLM_party", install, restart.
      • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/heshengtao/comfyui_LLM_party, then pip install -r requirements.txt from inside the pack folder using ComfyUI's own Python, then restart.

      No external dependency of its own - plain text written to disk.

      Common issues & troubleshooting

      Reusing an existing persona_name replaces the old one. Saving overwrites rather than appends, most likely - treat persona_name like a filename, and don't reuse one you want to keep if you're saving a new variant.

      The persona doesn't show up in Load Persona's dropdown right away. That dropdown is populated from what's on disk, read when the node loads its options - it's not necessarily live. If your newly saved persona isn't showing up, refreshing the browser or restarting ComfyUI is the first thing to try before assuming the save itself failed.

      You left persona_name at the default "example". Every save without a changed name lands in the same place, silently replacing the last one. If you're building up a real library of personas, get in the habit of naming each one deliberately the moment you write it.

      The pack fails to import at all. Separate from this node, comfyui_LLM_party has a real, recurring install issue where the whole node set fails to load after a fresh Manager install - a dependency conflict in its bundled requirements.txt, not anything specific to personas. Check the ComfyUI console for an import error if this node isn't showing up in your browser.

      Category大模型派对(llm_party)/面具(persona)

      Inputs (2)

      NameTypeDefaultDescription
      persona_nameSTRINGexample
      textSTRING

      Outputs (0)

      No outputs