Backboard.io
by @chrisk60331
Integrate Backboard.io for assistants, threads, memories, and document RAG via a local backend on http://localhost:5100.
clawhub install backboardπ About This Skill
name: backboard description: Integrate Backboard.io for assistants, threads, memories, and document RAG via a local backend on http://localhost:5100.
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 assistantsystem_prompt (string, required): System instructions for the assistantExample:
{
"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 assistantbackboard_delete_assistant
Delete an assistant.
Parameters:
assistant_id (string, required): ID of the assistant to deletebackboard_create_thread
Create a new conversation thread for an assistant.
Parameters:
assistant_id (string, required): ID of the assistant to create thread forbackboard_list_threads
List all conversation threads, optionally filtered by assistant.
Parameters:
assistant_id (string, optional): Filter threads by assistant IDbackboard_get_thread
Get a thread with its message history.
Parameters:
thread_id (string, required): ID of the threadbackboard_send_message
Send a message to a thread and get a response.
Parameters:
thread_id (string, required): ID of the threadcontent (string, required): Message contentmemory (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 assistantcontent (string, required): Memory content to storemetadata (object, optional): Additional metadata for the memoryExample:
{
"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 assistantbackboard_get_memory
Get a specific memory.
Parameters:
assistant_id (string, required): ID of the assistantmemory_id (string, required): ID of the memorybackboard_update_memory
Update an existing memory.
Parameters:
assistant_id (string, required): ID of the assistantmemory_id (string, required): ID of the memorycontent (string, required): New content for the memorybackboard_delete_memory
Delete a memory.
Parameters:
assistant_id (string, required): ID of the assistantmemory_id (string, required): ID of the memory to deletebackboard_memory_stats
Get memory statistics for an assistant.
Parameters:
assistant_id (string, required): ID of the assistantbackboard_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 fileSupported 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 assistantthread_id (string, optional): ID of the threadbackboard_document_status
Check the processing status of an uploaded document.
Parameters:
document_id (string, required): ID of the documentbackboard_delete_document
Delete a document.
Parameters:
document_id (string, required): ID of the document to deleteInstructions
When the user asks about:
Memory Operations
backboard_add_memorybackboard_list_memories or backboard_get_memorybackboard_delete_memorybackboard_update_memoryDocument Operations
backboard_upload_documentbackboard_list_documentsbackboard_document_statusAssistant Management
backboard_create_assistantbackboard_list_assistantsbackboard_delete_assistantConversation Threading
backboard_create_threadbackboard_get_threadbackboard_send_messageGeneral Guidelines
1. Always confirm successful operations with the user 2. When creating assistants, suggest meaningful names and system prompts 3. For document uploads, verify the file type is supported before attempting 4. When using memory, explain what information is being stored 5. Thread IDs and assistant IDs should be stored/tracked for the user's contextExamples
Example 1: Store a User Preference
backboard_add_memory with content "User prefers dark mode interfaces and Python code examples" and metadata {"category": "preferences"}Example 2: Create an Assistant
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."Example 3: Upload and Query a Document
backboard_upload_document with the filebackboard_document_statusbackboard_send_message with memory="Auto" to query about the documentExample 4: Start a Threaded Conversation
backboard_create_thread with the assistant_idBackend Setup
The skill requires a running backend server. To start:
1. Set the BACKBOARD_API_KEY environment variable
2. Navigate to the backend directory
3. 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 |
π‘ Examples
Example 1: Store a User Preference
backboard_add_memory with content "User prefers dark mode interfaces and Python code examples" and metadata {"category": "preferences"}Example 2: Create an Assistant
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."Example 3: Upload and Query a Document
backboard_upload_document with the filebackboard_document_statusbackboard_send_message with memory="Auto" to query about the documentExample 4: Start a Threaded Conversation
backboard_create_thread with the assistant_id