Collections
Organize your prompts and documents into themed groups with custom icons and colors, and browse everything in one place.
Collections let you group related prompts and documents together. A "Code Review" collection might hold your review checklist prompt alongside reference documents, while a "Marketing" collection keeps campaign briefs and tone-of-voice guides in one spot.
You can create as many collections as you need, customize each with an icon and color, and add or remove items at any time.
Creating a Collection
Click New Collection on the collections page to open the creation dialog. You'll see these fields:
| Field | Required | Description |
|---|---|---|
| Name | Yes | A short label for the collection — this is how it appears in your list and in the collection selector |
| Description | No | A brief note about what this collection contains |
| Icon | No | An emoji to visually identify the collection (defaults to 📁). Pick from the quick-select grid or type any emoji |
| Color | No | A hex color code for the collection badge (defaults to #3b82f6). Use the color picker or enter a value like #ef4444 |
Click Create Collection and you'll be taken straight to the new collection's detail page.
You can also create collections on the fly from the collection selector when creating or editing a prompt or document. Click Create new collection at the bottom of the dropdown.
Adding Items to a Collection
There are two ways to add prompts and documents to a collection:
From the Prompt or Document Editor
When you create or edit a prompt or document, use the Collections selector to assign it to one or more collections. Search for an existing collection or create a new one right from the dropdown.
From Inside a Collection
Open a collection's detail page and use the toolbar buttons to create content directly within it:
- New Prompt — opens the prompt creation dialog with this collection pre-selected
- Scrape Page — scrapes a web page and adds the resulting document to this collection
Items created from inside a collection are automatically assigned to it.
Removing Items from a Collection
Open the collection's detail page to see all its items in a data table. To remove an item:
- Click the actions menu (three-dot icon) on any row
- Select Remove from Collection
The item stays in your workspace — it's only removed from the collection. You can also select multiple items using the checkboxes and remove them in bulk.
Viewing Collection Contents
Click any collection in your list to open its detail page. The page shows:
- The collection name, icon, and description at the top
- A data table listing every prompt and document in the collection
- Each row displays the item's type (Document or Prompt), title, description, status, and last update time
Use the search bar to filter items within the collection, or click any row to open that prompt or document directly.
Collection Stats
The collection header displays counts for your content at a glance:
- Documents — the number of documents in this collection
- Prompts — the number of prompts in this collection
- Total items — the combined count
These stats update in real time as you add or remove items.
Deleting a Collection
To delete a collection, open it and click the actions menu (three-dot icon) in the top-right corner, then select Delete Collection. You'll see a confirmation dialog before anything happens.
Deleting a collection does not delete the prompts and documents inside it. Your content stays in your workspace — only the collection grouping is removed. If you need to delete individual items, do that separately from their own detail pages.
You can also delete a collection from the main collections list by clicking the actions menu on the row and selecting Delete.
Related Pages
Prompts
Create reusable AI prompt templates with variables and version history.
Documents
Upload files, scrape web pages, and build your knowledge base.
Search
Find prompts, documents, and collections with semantic or keyword search.
Collection Chat
Chat with AI about the contents of a collection using RAG-powered Q&A.
Documents
Add documents to your Context Repo workspace by typing content, uploading files in 75+ formats, or scraping web pages — then listen, search, version, and chat with them.
Search
Find prompts, documents, and collections across your workspace using AI-powered semantic search or fast keyword matching.