Tools
This skill connects to a local Flask backend that wraps the Backboard SDK. The backend must be running on http://localhost:5100.
backboard_create_assistant
Create a new Backboard assistant with a name and system prompt.
Parameters:
name (string, required): Name of the assistant
system_prompt (string, required): System instructions for the assistant
Example:
{
"name": "Support Bot",
"system_prompt": "You are a helpful customer support assistant."
}
backboard_list_assistants
List all available Backboard assistants.
Parameters: None
backboard_get_assistant
Get details of a specific assistant.
Parameters:
assistant_id (string, required): ID of the assistant
backboard_delete_assistant
Delete an assistant.
Parameters:
assistant_id (string, required): ID of the assistant to delete
backboard_create_thread
Create a new conversation thread for an assistant.
Parameters:
assistant_id (string, required): ID of the assistant to create thread for
backboard_list_threads
List all conversation threads, optionally filtered by assistant.
Parameters:
assistant_id (string, optional): Filter threads by assistant ID
backboard_get_thread
Get a thread with its message history.
Parameters:
thread_id (string, required): ID of the thread
backboard_send_message
Send a message to a thread and get a response.
Parameters:
thread_id (string, required): ID of the thread
content (string, required): Message content
memory (string, optional): Memory mode - "Auto", "Readonly", or "off" (default: "Auto")
backboard_add_memory
Store a memory for an assistant that persists across conversations.
Parameters:
assistant_id (string, required): ID of the assistant
content (string, required): Memory content to store
metadata (object, optional): Additional metadata for the memory
Example:
{
"assistant_id": "asst_123",
"content": "User prefers Python programming and dark mode interfaces",
"metadata": {"category": "preferences"}
}
backboard_list_memories
List all memories for an assistant.
Parameters:
assistant_id (string, required): ID of the assistant
backboard_get_memory
Get a specific memory.
Parameters:
assistant_id (string, required): ID of the assistant
memory_id (string, required): ID of the memory
backboard_update_memory
Update an existing memory.
Parameters:
assistant_id (string, required): ID of the assistant
memory_id (string, required): ID of the memory
content (string, required): New content for the memory
backboard_delete_memory
Delete a memory.
Parameters:
assistant_id (string, required): ID of the assistant
memory_id (string, required): ID of the memory to delete
backboard_memory_stats
Get memory statistics for an assistant.
Parameters:
assistant_id (string, required): ID of the assistant
backboard_upload_document
Upload a document to an assistant or thread for RAG (Retrieval-Augmented Generation).
Parameters:
assistant_id (string, optional): ID of the assistant (use this OR thread_id)
thread_id (string, optional): ID of the thread (use this OR assistant_id)
file_path (string, required): Path to the document file
Supported file types: PDF, DOCX, XLSX, PPTX, TXT, CSV, MD, PY, JS, HTML, CSS, XML, JSON
backboard_list_documents
List documents for an assistant or thread.
Parameters:
assistant_id (string, optional): ID of the assistant
thread_id (string, optional): ID of the thread
backboard_document_status
Check the processing status of an uploaded document.
Parameters:
document_id (string, required): ID of the document
backboard_delete_document
Delete a document.
Parameters:
document_id (string, required): ID of the document to delete
Instructions
When the user asks about:
Memory Operations
- "Remember that..." or "Store this..." → Use
backboard_add_memory
- "What do you remember about..." → Use
backboard_list_memories or backboard_get_memory
- "Forget..." or "Delete memory..." → Use
backboard_delete_memory
- "Update my preference..." → Use
backboard_update_memory
Document Operations
- "Upload this document" or "Index this file" → Use
backboard_upload_document
- "What documents do I have?" → Use
backboard_list_documents
- "Is my document ready?" → Use
backboard_document_status
Assistant Management
- "Create a new assistant" → Use
backboard_create_assistant
- "List my assistants" → Use
backboard_list_assistants
- "Delete assistant" → Use
backboard_delete_assistant
Conversation Threading
- "Start a new conversation" → Use
backboard_create_thread
- "Show conversation history" → Use
backboard_get_thread
- "Send message to thread" → Use
backboard_send_message
General Guidelines
- Always confirm successful operations with the user
- When creating assistants, suggest meaningful names and system prompts
- For document uploads, verify the file type is supported before attempting
- When using memory, explain what information is being stored
- Thread IDs and assistant IDs should be stored/tracked for the user's context
Examples
Example 1: Store a User Preference
- User: "Remember that I prefer dark mode and Python code examples"
- Action: Call
backboard_add_memory with content "User prefers dark mode interfaces and Python code examples" and metadata {"category": "preferences"}
- Response: "I've stored your preferences. You prefer dark mode and Python code examples."
Example 2: Create an Assistant
- User: "Create a code review assistant"
- Action: Call
backboard_create_assistant with name "Code Reviewer" and system_prompt "You are an expert code reviewer. Analyze code for bugs, performance issues, and best practices. Provide constructive feedback."
- Response: "Created your Code Reviewer assistant (ID: asst_xxx). It's ready to review code and provide feedback."
Example 3: Upload and Query a Document
- User: "Upload my project documentation and then tell me what it covers"
- Action 1: Call
backboard_upload_document with the file
- Action 2: Wait for processing, check status with
backboard_document_status
- Action 3: Use
backboard_send_message with memory="Auto" to query about the document
- Response: "I've uploaded and indexed your documentation. Based on the content, it covers..."
Example 4: Start a Threaded Conversation
- User: "Start a new conversation with my support assistant"
- Action: Call
backboard_create_thread with the assistant_id
- Response: "Started a new conversation thread (ID: thread_xxx). You can now send messages to your support assistant."
Backend Setup
The skill requires a running backend server. To start:
- Set the
BACKBOARD_API_KEY environment variable
- Navigate to the backend directory
- Run
./start.sh
The backend will be available at http://localhost:5100.
API Endpoints Reference
| Endpoint |
Method |
Description |
/health |
GET |
Health check |
/assistants |
GET, POST |
List/create assistants |
/assistants/{id} |
GET, PATCH, DELETE |
Get/update/delete assistant |
/assistants/{id}/threads |
GET, POST |
List/create threads for assistant |
/assistants/{id}/memory |
GET, POST |
List/add memories |
/assistants/{id}/memory/{mid} |
GET, PATCH, DELETE |
Get/update/delete memory |
/assistants/{id}/memory/stats |
GET |
Memory statistics |
/assistants/{id}/documents |
GET, POST |
List/upload documents |
/threads |
GET |
List all threads |
/threads/{id} |
GET, DELETE |
Get/delete thread |
/threads/{id}/messages |
POST |
Send message |
/threads/{id}/documents |
GET, POST |
List/upload thread documents |
/documents/{id}/status |
GET |
Document processing status |
/documents/{id} |
DELETE |
Delete document |
1---
2name: backboard
3description: Integrate Backboard.io for assistants, threads, memories, and document RAG via a local backend on http://localhost:5100.
4metadata:
5 source: https://skillmd.com/skills/modbender/backboard
6---
7
8## Tools
9
10This skill connects to a local Flask backend that wraps the Backboard SDK. The backend must be running on `http://localhost:5100`.
11
12### backboard_create_assistant
13
14Create a new Backboard assistant with a name and system prompt.
15
16**Parameters:**
17- `name` (string, required): Name of the assistant
18- `system_prompt` (string, required): System instructions for the assistant
19
20**Example:**
21```json
22{
23 "name": "Support Bot",
24 "system_prompt": "You are a helpful customer support assistant."
25}
26```
27
28### backboard_list_assistants
29
30List all available Backboard assistants.
31
32**Parameters:** None
33
34### backboard_get_assistant
35
36Get details of a specific assistant.
37
38**Parameters:**
39- `assistant_id` (string, required): ID of the assistant
40
41### backboard_delete_assistant
42
43Delete an assistant.
44
45**Parameters:**
46- `assistant_id` (string, required): ID of the assistant to delete
47
48### backboard_create_thread
49
50Create a new conversation thread for an assistant.
51
52**Parameters:**
53- `assistant_id` (string, required): ID of the assistant to create thread for
54
55### backboard_list_threads
56
57List all conversation threads, optionally filtered by assistant.
58
59**Parameters:**
60- `assistant_id` (string, optional): Filter threads by assistant ID
61
62### backboard_get_thread
63
64Get a thread with its message history.
65
66**Parameters:**
67- `thread_id` (string, required): ID of the thread
68
69### backboard_send_message
70
71Send a message to a thread and get a response.
72
73**Parameters:**
74- `thread_id` (string, required): ID of the thread
75- `content` (string, required): Message content
76- `memory` (string, optional): Memory mode - "Auto", "Readonly", or "off" (default: "Auto")
77
78### backboard_add_memory
79
80Store a memory for an assistant that persists across conversations.
81
82**Parameters:**
83- `assistant_id` (string, required): ID of the assistant
84- `content` (string, required): Memory content to store
85- `metadata` (object, optional): Additional metadata for the memory
86
87**Example:**
88```json
89{
90 "assistant_id": "asst_123",
91 "content": "User prefers Python programming and dark mode interfaces",
92 "metadata": {"category": "preferences"}
93}
94```
95
96### backboard_list_memories
97
98List all memories for an assistant.
99
100**Parameters:**
101- `assistant_id` (string, required): ID of the assistant
102
103### backboard_get_memory
104
105Get a specific memory.
106
107**Parameters:**
108- `assistant_id` (string, required): ID of the assistant
109- `memory_id` (string, required): ID of the memory
110
111### backboard_update_memory
112
113Update an existing memory.
114
115**Parameters:**
116- `assistant_id` (string, required): ID of the assistant
117- `memory_id` (string, required): ID of the memory
118- `content` (string, required): New content for the memory
119
120### backboard_delete_memory
121
122Delete a memory.
123
124**Parameters:**
125- `assistant_id` (string, required): ID of the assistant
126- `memory_id` (string, required): ID of the memory to delete
127
128### backboard_memory_stats
129
130Get memory statistics for an assistant.
131
132**Parameters:**
133- `assistant_id` (string, required): ID of the assistant
134
135### backboard_upload_document
136
137Upload a document to an assistant or thread for RAG (Retrieval-Augmented Generation).
138
139**Parameters:**
140- `assistant_id` (string, optional): ID of the assistant (use this OR thread_id)
141- `thread_id` (string, optional): ID of the thread (use this OR assistant_id)
142- `file_path` (string, required): Path to the document file
143
144**Supported file types:** PDF, DOCX, XLSX, PPTX, TXT, CSV, MD, PY, JS, HTML, CSS, XML, JSON
145
146### backboard_list_documents
147
148List documents for an assistant or thread.
149
150**Parameters:**
151- `assistant_id` (string, optional): ID of the assistant
152- `thread_id` (string, optional): ID of the thread
153
154### backboard_document_status
155
156Check the processing status of an uploaded document.
157
158**Parameters:**
159- `document_id` (string, required): ID of the document
160
161### backboard_delete_document
162
163Delete a document.
164
165**Parameters:**
166- `document_id` (string, required): ID of the document to delete
167
168## Instructions
169
170When the user asks about:
171
172### Memory Operations
173- "Remember that..." or "Store this..." → Use `backboard_add_memory`
174- "What do you remember about..." → Use `backboard_list_memories` or `backboard_get_memory`
175- "Forget..." or "Delete memory..." → Use `backboard_delete_memory`
176- "Update my preference..." → Use `backboard_update_memory`
177
178### Document Operations
179- "Upload this document" or "Index this file" → Use `backboard_upload_document`
180- "What documents do I have?" → Use `backboard_list_documents`
181- "Is my document ready?" → Use `backboard_document_status`
182
183### Assistant Management
184- "Create a new assistant" → Use `backboard_create_assistant`
185- "List my assistants" → Use `backboard_list_assistants`
186- "Delete assistant" → Use `backboard_delete_assistant`
187
188### Conversation Threading
189- "Start a new conversation" → Use `backboard_create_thread`
190- "Show conversation history" → Use `backboard_get_thread`
191- "Send message to thread" → Use `backboard_send_message`
192
193### General Guidelines
1941. Always confirm successful operations with the user
1952. When creating assistants, suggest meaningful names and system prompts
1963. For document uploads, verify the file type is supported before attempting
1974. When using memory, explain what information is being stored
1985. Thread IDs and assistant IDs should be stored/tracked for the user's context
199
200## Examples
201
202### Example 1: Store a User Preference
203- User: "Remember that I prefer dark mode and Python code examples"
204- Action: Call `backboard_add_memory` with content "User prefers dark mode interfaces and Python code examples" and metadata `{"category": "preferences"}`
205- Response: "I've stored your preferences. You prefer dark mode and Python code examples."
206
207### Example 2: Create an Assistant
208- User: "Create a code review assistant"
209- Action: Call `backboard_create_assistant` with name "Code Reviewer" and system_prompt "You are an expert code reviewer. Analyze code for bugs, performance issues, and best practices. Provide constructive feedback."
210- Response: "Created your Code Reviewer assistant (ID: asst_xxx). It's ready to review code and provide feedback."
211
212### Example 3: Upload and Query a Document
213- User: "Upload my project documentation and then tell me what it covers"
214- Action 1: Call `backboard_upload_document` with the file
215- Action 2: Wait for processing, check status with `backboard_document_status`
216- Action 3: Use `backboard_send_message` with memory="Auto" to query about the document
217- Response: "I've uploaded and indexed your documentation. Based on the content, it covers..."
218
219### Example 4: Start a Threaded Conversation
220- User: "Start a new conversation with my support assistant"
221- Action: Call `backboard_create_thread` with the assistant_id
222- Response: "Started a new conversation thread (ID: thread_xxx). You can now send messages to your support assistant."
223
224## Backend Setup
225
226The skill requires a running backend server. To start:
227
2281. Set the `BACKBOARD_API_KEY` environment variable
2292. Navigate to the backend directory
2303. Run `./start.sh`
231
232The backend will be available at `http://localhost:5100`.
233
234## API Endpoints Reference
235
236| Endpoint | Method | Description |
237|----------|--------|-------------|
238| `/health` | GET | Health check |
239| `/assistants` | GET, POST | List/create assistants |
240| `/assistants/{id}` | GET, PATCH, DELETE | Get/update/delete assistant |
241| `/assistants/{id}/threads` | GET, POST | List/create threads for assistant |
242| `/assistants/{id}/memory` | GET, POST | List/add memories |
243| `/assistants/{id}/memory/{mid}` | GET, PATCH, DELETE | Get/update/delete memory |
244| `/assistants/{id}/memory/stats` | GET | Memory statistics |
245| `/assistants/{id}/documents` | GET, POST | List/upload documents |
246| `/threads` | GET | List all threads |
247| `/threads/{id}` | GET, DELETE | Get/delete thread |
248| `/threads/{id}/messages` | POST | Send message |
249| `/threads/{id}/documents` | GET, POST | List/upload thread documents |
250| `/documents/{id}/status` | GET | Document processing status |
251| `/documents/{id}` | DELETE | Delete document |