Linked Prompts

  • Desktop app
  • All plans

What it does

Lets a prompt include other prompts from the same library, by copy. When you copy or send a prompt that has linked prompts, AgentsRoom appends every attached prompt after it, each under its own markdown H1 title, in the order you set. Chains are transitive (a linked prompt's own links are followed) and cycles are detected, so you can build a base "project conventions" prompt once and pull it into every task prompt instead of pasting it again.

Video (1 min 13 s): Linked Prompts, shown in the real app. A "Coding rules" prompt is linked to a saved "Add a feature" prompt, the copied prompt arrives in a Claude Code agent's message box with "# Coding rules" under the request, and the agent adds the test the rules ask for.

Where to find it

  • Prompt Library (button Prompts in the toolbar under the agent's message box > Open library) > hover a card > Edit (pencil) > field Linked prompts ("appended on copy or send"), below the prompt content and above Keyboard shortcut.
  • On a card: a badge shows how many linked prompts are included; hover it to see their titles. Copy +N copies the prompt with its links.

How to use it

  1. Edit a prompt and click Link a prompt; type in Search prompts to link… and click a result: it shows as a numbered chip ("1 Coding rules"). Click Link another prompt to add more.
  2. Reorder with Move up / Move down; Remove link detaches one. Save.
  3. Save prompt: the card shows a "+1" badge. Hover the card and click Copy +1, then paste it into the agent's message box (Cmd+V / Ctrl+V): the prompt comes first ("# Add a feature"), then each linked prompt under its own H1 ("# Coding rules"), in that order.

Settings

None.

Agent tools (MCP)

  • prompts_get: returns linkedPromptIds alongside the body, so an agent can resolve the chain itself.
  • prompts_list, prompts_save, prompts_update: the library tools; a link is saved as part of the prompt.

Providers

All providers, no difference: the composed text is plain text.

Mobile

The phone's Prompt library sheet edits titles, bodies and tags; the Linked prompts field is a desktop editor feature.

Limits

  • Links stay within one scope: project prompts link project prompts, global prompts link global prompts. No cross-scope links, to keep the dependency graph predictable.
  • Deleting a prompt that others link to breaks nothing: the stale link is skipped when composing and cleaned up the next time the parent is saved.
  • Duplicating a prompt in the same scope keeps its links.

Common questions

  • Can I link a project prompt to a global one? No, intentionally; copy the global prompt into the project first.
  • What if I delete a linked prompt? It is silently skipped in the composition and removed from the parent on its next save.
  • How many prompts can I attach? As many as you need, appended in the order you set.
  • How do I add my coding rules to every prompt I send? Save the rules as their own prompt, then edit each prompt that needs them, click Link a prompt under "Linked prompts" and pick the rules. Copying the prompt (Copy +1 on its card) adds the rules under it, with their title. Video: https://youtu.be/wa_umg5Xqi4
  • Is there a video that shows it? Yes, a 1-minute demo in the real app: https://youtu.be/wa_umg5Xqi4
  • Do the links show in the autocomplete insert? The linked prompts are appended when the prompt is copied or sent; the badge on the card tells you what will come along.
  • Prompt Library: the library that holds the prompts.
  • Skills Library: for reusable procedures, use skills instead of long prompt chains.
  • Prompt References: the other way to reuse a prompt, resolved at launch instead of copied.