> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating Memory Blocks

> How to create, edit, and manage memory blocks in Promptr.

Memory blocks are the core unit of Promptr. Each block holds a reusable piece of AI content (brand context, guidelines, campaign briefs, or any reference material) that you can inject into any AI conversation from the browser extension.

## Create a new block

<Steps>
  <Step title="Navigate to a space and click Add new">
    Open any space from the sidebar, then click **Add new** in the filter bar. You can also create a block directly from the browser extension using [Quick Add](/guides/using-the-extension#quick-add).
  </Step>

  <Step title="Write your title and content">
    Click the title area at the top of the editor and type a descriptive name. The content area below the divider is a **[Markdown](https://commonmark.org/help/) editor**. Type `/` to open the slash command menu for headings, lists, code blocks, and other formatting options.

    The editor auto-saves as you type. A subtle **✓ Saved** indicator appears in the header when your changes are persisted.
  </Step>

  <Step title="Add optional metadata">
    Below the title, you'll find a set of property rows:

    | Property        | What it does                                                                                                                                      |
    | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
    | **Tags**        | Categorize the block for filtering and search. You can create new tags inline or pick from existing ones.                                         |
    | **Description** | A short summary shown on block cards in the space view. Helps teammates understand the block at a glance.                                         |
    | **Icon**        | A visual identifier for the block. Click **Add icon** to choose an emoji, select a flat icon from the built-in library, or upload a custom image. |
  </Step>

  <Step title="Set the AI behavior">
    Click the **Add to prompt as** property row to choose how the block is inserted when you use it from the extension:

    <AccordionGroup>
      <Accordion title="Attachment (recommended)">
        The block content is attached as a separate context block alongside your message, similar to uploading a file. The AI reads it as supporting material without it cluttering your typed message. This is the default.
      </Accordion>

      <Accordion title="Inline text">
        The block content is injected directly into the system prompt or conversation. Best when you want the content woven into the prompt flow rather than presented as a separate attachment.
      </Accordion>

      <Accordion title="Full replacement">
        The block replaces your entire input field. Use this for complete, standalone prompt templates where the block *is* your message.
      </Accordion>
    </AccordionGroup>

    <Tip>
      When in doubt, use **Attachment**. It keeps your message clean and works well for the vast majority of context blocks.
    </Tip>
  </Step>

  <Step title="Your block is saved">
    Because Promptr auto-saves on every change (with a short debounce), there is no save button to click. Once the **✓ Saved** indicator appears, your block is stored and available in the extension immediately.
  </Step>
</Steps>

***

## Edit an existing block

Open a block from the space grid or table view. It opens in a slide-over panel on the right. Click any field to edit it inline. To open the block as a full page (for a larger writing surface), click the **expand** icon in the slide-over header.

All changes are saved automatically.

***

## Move a block to a different space

To move a single block, open it and click the **···** actions menu in the top-right corner, then select **Move**. A picker lists all spaces in your workspace. Select the destination and confirm.

To move multiple blocks at once, switch to **Table** view in the space, select the checkboxes next to the blocks you want to move, then click **Move** in the bulk action bar that appears at the top.

***

## Duplicate a block

Open a block and click the **···** actions menu, then select **Duplicate**. Promptr creates a copy in the same space and opens it immediately so you can make edits.

***

## Delete a block

Open a block and click the **···** actions menu, then select **Delete**. Deletion is permanent. Promptr will confirm before removing the block.

To delete multiple blocks at once, select them in **Table** view and click **Delete** in the bulk action bar.

***

## Slash commands in the editor

While writing block content, press `/` anywhere in the editor to open the command menu. From there you can insert:

* Headings (H1, H2, H3)
* Bulleted and numbered lists
* Code blocks (with language syntax highlighting)
* Blockquotes
* Dividers

***

## Block usage stats

Each block tracks how often it has been inserted from the extension. Open a block to see:

* **Times used:** a cumulative count of how many times the block has been injected into an AI tool
* **Last modified:** shown as a relative timestamp (e.g., "3 days ago")
* **Date created:** the calendar date the block was first saved

These stats are visible in both the block editor and on block cards in the space grid view, helping you identify your most valuable blocks over time.
