[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75FX2GAY3WX22Y9CTWAMTDY":3,"skill-same:01M75FX2GAY3WX22Y9CTWAMTDY":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M75FX2GAY3WX22Y9CTWAMTDY","orchata-rag",null,"Knowledge management and RAG platform with tree-based document indexing. Use this skill to search, browse, and manage Orchata knowledge bases via MCP tools.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fehudsn\u002Forchata\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: orchata-rag\ndescription: Knowledge management and RAG platform with tree-based document indexing. Use this skill to search, browse, and manage Orchata knowledge bases via MCP tools.\nmetadata:\n  version: 1.0.0\n  author: Orchata AI\n---\n\n# Orchata Skills\n\nThis document describes how to effectively use Orchata, a RAG (Retrieval-Augmented Generation) platform with tree-based document indexing. Load this into your context to interact with Orchata knowledge bases.\n\n## What is Orchata?\n\nOrchata is a knowledge management platform that:\n\n- **Organizes documents into Spaces** - Logical containers for related content\n- **Uses tree-based indexing** - Documents are parsed into hierarchical structures with sections, summaries, and page ranges\n- **Provides semantic search** - Find relevant content using natural language queries\n- **Exposes MCP tools** - AI assistants can directly manage and query knowledge bases\n\n## Core Concepts\n\n### Spaces\n\nA **Space** is a container for related documents. Think of it as a folder with semantic search capabilities.\n\n- Each space has a `name`, `description`, and optional `icon`\n- Descriptions are used by `smart_query` to recommend relevant spaces\n- Spaces can be archived (soft-deleted)\n\n### Documents\n\nA **Document** is content within a space. Supported formats include:\n\n- PDF (text-based and scanned with OCR)\n- Word documents (.docx)\n- Excel spreadsheets (.xlsx)\n- PowerPoint presentations (.pptx)\n- Markdown files (.md)\n- Plain text files (.txt)\n- Images (PNG, JPG, etc.)\n\n**Document Status:**\n\n| Status | Description |\n| ------ | ----------- |\n| `PENDING` | Uploaded, waiting for processing |\n| `PROCESSING` | Being parsed and indexed |\n| `COMPLETED` | Ready for queries |\n| `FAILED` | Processing error occurred |\n\n**Important:** Only query documents with `status: \"COMPLETED\"`. Other statuses won't return results.\n\n### Document Trees\n\nDocuments are indexed into **hierarchical tree structures**:\n\n- Each tree has nodes representing sections\u002Fchapters\n- Nodes contain: `title`, `summary`, `startPage`, `endPage`, `textContent`\n- Trees enable precise navigation of large documents\n\n### Queries\n\nTwo types of queries are available:\n\n1. **`query_spaces`** - Search document content using tree-based reasoning\n2. **`smart_query`** - Discover which spaces are relevant for a query\n\n---\n\n## MCP Tools Reference\n\n### Space Management\n\n#### list_spaces\n\nList all knowledge spaces in the organization.\n\n```text\nlist_spaces\nlist_spaces with status=\"active\"\nlist_spaces with page=1 pageSize=20\n```\n\n**Parameters:**\n\n- `page` (number, optional): Page number (default: 1)\n- `pageSize` (number, optional): Items per page (default: 10)\n- `status` (string, optional): Filter by `active`, `archived`, or `all`\n\n---\n\n#### manage_space\n\nCreate, get, update, or delete a space.\n\n```text\nmanage_space with action=\"create\" name=\"Product Docs\" description=\"Technical documentation\"\nmanage_space with action=\"create\" name=\"Legal\" description=\"Case files\" icon=\"briefcase\"\nmanage_space with action=\"get\" id=\"space_abc123\"\nmanage_space with action=\"update\" id=\"space_abc123\" description=\"Updated description\"\nmanage_space with action=\"delete\" id=\"space_abc123\"\n```\n\n**Parameters:**\n\n- `action` (string, required): `create`, `get`, `update`, or `delete`\n- `id` (string): Space ID (required for get\u002Fupdate\u002Fdelete)\n- `name` (string): Space name (required for create)\n- `description` (string, optional): Space description\n- `icon` (string, optional): Icon name. Defaults to \"folder\"\n- `slug` (string, optional): URL-friendly identifier\n- `isArchived` (boolean, optional): Archive status (for update)\n\n**Valid Icons:**\n`folder`, `book`, `file-text`, `database`, `package`, `archive`, `briefcase`, `inbox`, `layers`, `box`\n\nIf an invalid icon is provided, the tool returns an error with the list of valid options.\n\n---\n\n### Document Management\n\n#### list_documents\n\nList documents in a space.\n\n```text\nlist_documents with spaceId=\"space_abc123\"\nlist_documents with spaceId=\"space_abc123\" status=\"completed\"\nlist_documents with spaceId=\"space_abc123\" status=\"all\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `page` (number, optional): Page number\n- `pageSize` (number, optional): Items per page (max: 100)\n- `status` (string, optional): Filter by status. Values: `pending`, `processing`, `completed`, `failed`, or `all`. Omitting returns all documents.\n\n**Note:** Status values are case-insensitive (`completed` and `COMPLETED` both work).\n\n---\n\n#### save_document\n\nUpload or upsert documents (single or batch).\n\n**Single document:**\n\n```text\nsave_document with spaceId=\"space_abc123\" filename=\"guide.md\" content=\"# Guide\\n\\nContent here...\"\n```\n\n**Batch upload:**\n\n```text\nsave_document with spaceId=\"space_abc123\" documents=[{\"filename\": \"doc1.md\", \"content\": \"...\"}, {\"filename\": \"doc2.md\", \"content\": \"...\"}]\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `filename` (string): Filename (required for single)\n- `content` (string): Content (required for single)\n- `documents` (array, optional): Array of `{filename, content, metadata}` for batch\n- `metadata` (object, optional): Custom key-value pairs\n\n---\n\n#### get_document\n\nGet document content by ID or filename. Returns processed markdown text.\n\n```text\nget_document with spaceId=\"space_abc123\" id=\"doc_xyz789\"\nget_document with spaceId=\"space_abc123\" filename=\"guide.md\"\nget_document with spaceId=\"*\" filename=\"guide.md\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID, or `*` to search all spaces (requires filename)\n- `id` (string, optional): Document ID\n- `filename` (string, optional): Filename\n\n**Notes:**\n\n- Either `id` or `filename` is required\n- Use `spaceId=\"*\"` to search all spaces when you know the filename but not the space\n- For completed documents, returns the extracted markdown text (not raw PDF binary)\n- When using `*`, the response includes the `spaceId` where the document was found\n\n---\n\n#### update_document\n\nUpdate document content or metadata.\n\n```text\nupdate_document with spaceId=\"space_abc123\" id=\"doc_xyz789\" content=\"New content...\"\nupdate_document with spaceId=\"space_abc123\" id=\"doc_xyz789\" append=true content=\"Additional content\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `id` (string, required): Document ID\n- `content` (string, optional): New content\n- `metadata` (object, optional): New metadata\n- `append` (boolean, optional): Append instead of replace\n- `separator` (string, optional): Separator for append mode\n\n---\n\n#### delete_document\n\nPermanently delete a document.\n\n```text\ndelete_document with spaceId=\"space_abc123\" id=\"doc_xyz789\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `id` (string, required): Document ID\n\n---\n\n### Query Tools\n\n#### query_spaces\n\nSearch documents across one or more spaces using tree-based reasoning.\n\n```text\nquery_spaces with query=\"How do I authenticate API requests?\"\nquery_spaces with query=\"installation guide\" spaceIds=\"space_abc123\"\nquery_spaces with query=\"error handling\" spaceIds=[\"space_abc\", \"space_def\"] topK=10\n```\n\n**Parameters:**\n\n- `query` (string, required): Natural language search query\n- `spaceIds` (string or array, optional): Space ID(s) to search. Omit or use `*` for all spaces\n- `topK` (number, optional): Maximum results (default: 10)\n- `compact` (boolean, optional): Use compact format (default: false). See **When to Use Compact** below.\n\n**When to Use Compact:**\n\n| Mode | When to use | What you get |\n| ---- | ----------- | ------------ |\n| `compact=false` (default) | **Most queries.** Any time you need actual data, facts, numbers, dates, or details from documents. | Full results with document metadata, tree context, page ranges, and complete content. |\n| `compact=true` | Broad discovery queries where you only need to know *which* documents are relevant, not their content. | Minimal results: just content snippet, source filename, and score. |\n\n**Rule of thumb:** Default to `compact=false`. Only use `compact=true` when you're browsing\u002Fsurveying and don't need the actual content yet.\n\n**Response (compact=true format):**\n\n```json\n{\n  \"results\": [\n    {\n      \"content\": \"Relevant text content...\",\n      \"source\": \"filename.pdf\",\n      \"score\": 0.95\n    }\n  ],\n  \"total\": 5\n}\n```\n\n---\n\n#### smart_query\n\nDiscover which spaces are relevant for a query using LLM reasoning.\n\n```text\nsmart_query with query=\"How do I install the SDK?\"\nsmart_query with query=\"billing questions\" maxSpaces=3\n```\n\n**Parameters:**\n\n- `query` (string, required): Query to find relevant spaces for\n- `maxSpaces` (number, optional): Maximum spaces to return (default: 5)\n\n**Response:**\n\n```json\n{\n  \"query\": \"How do I install the SDK?\",\n  \"relevantSpaces\": [\n    {\"spaceId\": \"space_abc123\", \"relevance\": \"Contains SDK installation guides\"},\n    {\"spaceId\": \"space_def456\", \"relevance\": \"Has developer tutorials\"}\n  ],\n  \"totalFound\": 2\n}\n```\n\n**Use case:** When you don't know which space to search, use `smart_query` first to discover relevant spaces, then use `query_spaces` with those space IDs.\n\n---\n\n### Tree Visibility Tools\n\nThese tools let you explore the hierarchical structure of indexed documents.\n\n#### get_document_tree\n\nGet the tree structure of a document showing sections, summaries, and page ranges.\n\n```text\nget_document_tree with spaceId=\"space_abc123\" documentId=\"doc_xyz789\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `documentId` (string, required): Document ID\n\n**Response:**\n\n```json\n{\n  \"documentId\": \"doc_xyz789\",\n  \"totalPages\": 45,\n  \"totalNodes\": 12,\n  \"nodes\": [\n    {\n      \"nodeId\": \"0001\",\n      \"title\": \"Introduction\",\n      \"summary\": \"Overview of the system architecture...\",\n      \"pages\": \"1-5\",\n      \"depth\": 0\n    },\n    {\n      \"nodeId\": \"0002\",\n      \"title\": \"Installation\",\n      \"summary\": \"Step-by-step installation guide...\",\n      \"pages\": \"6-12\",\n      \"depth\": 0\n    }\n  ]\n}\n```\n\n**Use case:** Use this to understand a document's structure before drilling into specific sections.\n\n---\n\n#### get_tree_node\n\nGet the full text content of a specific tree node\u002Fsection.\n\n```text\nget_tree_node with documentId=\"doc_xyz789\" nodeId=\"0002\"\n```\n\n**Parameters:**\n\n- `documentId` (string, required): Document ID\n- `nodeId` (string, required): Node ID from the tree structure\n\n**Response:**\n\n```json\n{\n  \"documentId\": \"doc_xyz789\",\n  \"filename\": \"manual.pdf\",\n  \"nodeId\": \"0002\",\n  \"title\": \"Installation\",\n  \"summary\": \"Step-by-step installation guide...\",\n  \"pages\": \"6-12\",\n  \"depth\": 0,\n  \"content\": \"## Installation\\n\\nTo install the software, follow these steps:\\n\\n1. Download the installer...\\n\\n...\"\n}\n```\n\n**Use case:** After viewing the tree structure, use this to read the full content of a specific section.\n\n---\n\n## Workflow Patterns\n\n### Pattern 1: Search for Information (Default Approach)\n\n**For most questions, a single `query_spaces` call is all you need.** Start here before trying multi-step workflows.\n\n```text\nquery_spaces with query=\"your question\"\n```\n\nThis searches all spaces with full details (compact=false by default). One call, done.\n\n**If you want to narrow to specific spaces:**\n\n```text\nquery_spaces with query=\"your question\" spaceIds=\"known_space_id\"\n```\n\n**If you truly don't know which spaces exist:**\n\n```text\nsmart_query with query=\"your question\"\n# Then use the returned spaceIds:\nquery_spaces with query=\"your question\" spaceIds=[\"returned_space_id\"]\n```\n\n> **Avoid over-searching.** The multi-step workflow (`smart_query` -> `query_spaces` -> `get_document_tree` -> `get_tree_node`) is rarely necessary. For most questions, a single `query_spaces` call returns the answer directly. Only escalate to tree browsing if results are insufficient.\n\n### Pattern 2: Look Up Specific Data\n\nWhen looking for specific facts, numbers, dates, names, or details:\n\n**Just query directly -- one call:**\n\n```text\nquery_spaces with query=\"total amount on invoice #1234\"\n```\n\nThe default `compact=false` returns full content with document metadata, so you get the actual data you need in one step. Do **not** use `compact=true` for data lookups -- it strips the detail you need.\n\n### Pattern 3: Browse a Large Document\n\nWhen you need to navigate a large document's structure:\n\n1. **Get the document structure:**\n\n   ```text\n   get_document_tree with spaceId=\"space_id\" documentId=\"doc_id\"\n   ```\n\n2. **Identify relevant sections** from the node titles and summaries\n\n3. **Read specific sections:**\n\n   ```text\n   get_tree_node with documentId=\"doc_id\" nodeId=\"relevant_node_id\"\n   ```\n\n### Pattern 4: Add New Content\n\nWhen adding documents to a knowledge base:\n\n1. **Find or create the appropriate space:**\n\n   ```text\n   list_spaces\n   # or\n   manage_space with action=\"create\" name=\"New Space\" description=\"...\"\n   ```\n\n2. **Upload the content:**\n\n   ```text\n   save_document with spaceId=\"space_id\" filename=\"document.md\" content=\"...\"\n   ```\n\n3. **Wait for processing** (status will change from PENDING -> PROCESSING -> COMPLETED)\n\n4. **Verify it's ready:**\n\n   ```text\n   list_documents with spaceId=\"space_id\" status=\"COMPLETED\"\n   ```\n\n---\n\n## manage_space - Valid Icons\n\nWhen creating or updating a space, use one of these icon values:\n\n- `folder` (default)\n- `book`\n- `file-text`\n- `database`\n- `package`\n- `archive`\n- `briefcase`\n- `inbox`\n- `layers`\n- `box`\n\nInvalid icons will return a helpful error message with the list of valid options.\n\n---\n\n## list_documents - Status Parameter\n\nThe `status` parameter accepts the following values (case-insensitive):\n\n- `\"all\"` - Returns documents in any status (COMPLETED, FAILED, PENDING, PROCESSING)\n- `\"completed\"` - Returns only successfully processed documents\n- `\"failed\"` - Returns only documents that failed processing (includes `errorMessage` field)\n- `\"pending\"` - Returns documents waiting to be processed\n- `\"processing\"` - Returns documents currently being processed\n\nDocuments with `status=\"FAILED\"` will include an `errorMessage` field explaining what went wrong during processing.\n\n---\n\n## save_document - Processing Workflow\n\nDocuments are processed asynchronously:\n\n1. `save_document` returns immediately with `status=\"PROCESSING\"`\n2. Background job generates embeddings and indexes the document (typically 1-3 seconds)\n3. Status changes to `\"COMPLETED\"` when ready\n4. Document becomes searchable via `query_spaces`\n\n**To check completion status:**\n\n- Use `get_document` to check a specific document's status\n- Use `list_documents` with `status=\"processing\"` to see all processing documents\n- Use `list_documents` with `status=\"failed\"` to see any failures\n\n**Example:**\n\n```javascript\n\u002F\u002F Save document\nconst result = await save_document({...});\n\u002F\u002F result.document.status === \"PROCESSING\"\n\n\u002F\u002F Check status after a moment\nconst doc = await get_document({id: result.document.id});\n\u002F\u002F doc.status === \"COMPLETED\" (when ready)\n```\n\n---\n\n## get_tree_node - Content Availability\n\n`get_tree_node` may return `\"(No text content cached for this node)\"` for certain nodes. This occurs for:\n\n- Structural\u002Forganizational nodes without associated text content\n- Nodes that serve as section headers in the tree hierarchy\n\n**This is expected behavior.**\n\n**To read actual document content:**\n\n- Use `get_document` to retrieve the full processed markdown\n- Use `query_spaces` to search and retrieve relevant content chunks\n\nThe tree structure (via `get_document_tree`) is always available and shows document organization, summaries, and page ranges.\n\n---\n\n## Best Practices\n\n### DO\n\n- **Start with a single `query_spaces` call** - it usually has the answer in one step\n- **Use `compact=false` (the default) for most queries** - you get full content and context\n- **Check document status** before querying - only `COMPLETED` documents are searchable\n- **Use descriptive queries** - natural language works best\n- **Use tree tools for large documents** - navigate structure instead of reading everything\n- **Write good space descriptions** - they're used by `smart_query` for discovery\n\n### DON'T\n\n- **Don't over-search** - avoid multi-step workflows (`smart_query` -> `query_spaces` -> `get_document_tree` -> `get_tree_node`) when a single `query_spaces` call suffices\n- **Don't use `compact=true` for data lookups** - it strips the content you need; only use it for broad discovery\n- **Don't query PENDING\u002FPROCESSING documents** - they won't return results\n- **Don't use very short queries** - more context = better results\n- **Don't forget to check processing status** after uploading new documents\n\n---\n\n## Error Handling\n\nCommon errors and solutions:\n\n| Error | Cause | Solution |\n| ----- | ----- | -------- |\n| \"Document not found\" | Wrong ID or no access | Verify the document ID with `list_documents` |\n| \"Space not found\" | Wrong ID or archived | Use `list_spaces` to find valid space IDs |\n| Empty search results | Document not COMPLETED or no matches | Check document status; try broader query |\n| \"Tree not found\" | Document uses vector indexing or not processed | Check if document status is COMPLETED |\n| \"Invalid icon\" | Icon name not in allowed list | Use one of: folder, book, file-text, database, package, archive, briefcase, inbox, layers, box |\n| \"No text content cached\" | Tree node content not cached | This is normal for structural nodes; use `get_document` for full content |\n\n### Troubleshooting Tips\n\n**If `save_document` fails:**\n\n1. Verify the space exists with `manage_space with action=\"get\" id=\"...\"`\n2. Ensure content is valid text\u002Fmarkdown\n3. Check that the space is not archived\n\n**If `list_documents` returns 0 results:**\n\n1. Try `status=\"all\"` or omit the status parameter entirely\n2. Verify the spaceId is correct with `list_spaces`\n3. Check if documents are still processing (status=\"processing\")\n\n**If `get_tree_node` returns no content:**\n\n- Some nodes are structural and don't have cached text content\n- Use `get_document` to get the full processed document text instead\n- Or use `query_spaces` to search for specific content\n\n---\n\n## Quick Reference\n\n| Task | Tool | Example |\n| ---- | ---- | ------- |\n| List all spaces | `list_spaces` | `list_spaces with status=\"active\"` |\n| Create a space | `manage_space` | `manage_space with action=\"create\" name=\"Docs\"` |\n| List documents | `list_documents` | `list_documents with spaceId=\"...\"` |\n| Upload content | `save_document` | `save_document with spaceId=\"...\" content=\"...\"` |\n| Get document text | `get_document` | `get_document with spaceId=\"...\" id=\"...\"` |\n| Search content | `query_spaces` | `query_spaces with query=\"...\"` |\n| Find relevant spaces | `smart_query` | `smart_query with query=\"...\"` |\n| View doc structure | `get_document_tree` | `get_document_tree with spaceId=\"...\" documentId=\"...\"` |\n| Read a section | `get_tree_node` | `get_tree_node with documentId=\"...\" nodeId=\"...\"` |\n","# Orchata Skills\n\nThis document describes how to effectively use Orchata, a RAG (Retrieval-Augmented Generation) platform with tree-based document indexing. Load this into your context to interact with Orchata knowledge bases.\n\n## What is Orchata?\n\nOrchata is a knowledge management platform that:\n\n- **Organizes documents into Spaces** - Logical containers for related content\n- **Uses tree-based indexing** - Documents are parsed into hierarchical structures with sections, summaries, and page ranges\n- **Provides semantic search** - Find relevant content using natural language queries\n- **Exposes MCP tools** - AI assistants can directly manage and query knowledge bases\n\n## Core Concepts\n\n### Spaces\n\nA **Space** is a container for related documents. Think of it as a folder with semantic search capabilities.\n\n- Each space has a `name`, `description`, and optional `icon`\n- Descriptions are used by `smart_query` to recommend relevant spaces\n- Spaces can be archived (soft-deleted)\n\n### Documents\n\nA **Document** is content within a space. Supported formats include:\n\n- PDF (text-based and scanned with OCR)\n- Word documents (.docx)\n- Excel spreadsheets (.xlsx)\n- PowerPoint presentations (.pptx)\n- Markdown files (.md)\n- Plain text files (.txt)\n- Images (PNG, JPG, etc.)\n\n**Document Status:**\n\n| Status | Description |\n| ------ | ----------- |\n| `PENDING` | Uploaded, waiting for processing |\n| `PROCESSING` | Being parsed and indexed |\n| `COMPLETED` | Ready for queries |\n| `FAILED` | Processing error occurred |\n\n**Important:** Only query documents with `status: \"COMPLETED\"`. Other statuses won't return results.\n\n### Document Trees\n\nDocuments are indexed into **hierarchical tree structures**:\n\n- Each tree has nodes representing sections\u002Fchapters\n- Nodes contain: `title`, `summary`, `startPage`, `endPage`, `textContent`\n- Trees enable precise navigation of large documents\n\n### Queries\n\nTwo types of queries are available:\n\n1. **`query_spaces`** - Search document content using tree-based reasoning\n2. **`smart_query`** - Discover which spaces are relevant for a query\n\n---\n\n## MCP Tools Reference\n\n### Space Management\n\n#### list_spaces\n\nList all knowledge spaces in the organization.\n\n```text\nlist_spaces\nlist_spaces with status=\"active\"\nlist_spaces with page=1 pageSize=20\n```\n\n**Parameters:**\n\n- `page` (number, optional): Page number (default: 1)\n- `pageSize` (number, optional): Items per page (default: 10)\n- `status` (string, optional): Filter by `active`, `archived`, or `all`\n\n---\n\n#### manage_space\n\nCreate, get, update, or delete a space.\n\n```text\nmanage_space with action=\"create\" name=\"Product Docs\" description=\"Technical documentation\"\nmanage_space with action=\"create\" name=\"Legal\" description=\"Case files\" icon=\"briefcase\"\nmanage_space with action=\"get\" id=\"space_abc123\"\nmanage_space with action=\"update\" id=\"space_abc123\" description=\"Updated description\"\nmanage_space with action=\"delete\" id=\"space_abc123\"\n```\n\n**Parameters:**\n\n- `action` (string, required): `create`, `get`, `update`, or `delete`\n- `id` (string): Space ID (required for get\u002Fupdate\u002Fdelete)\n- `name` (string): Space name (required for create)\n- `description` (string, optional): Space description\n- `icon` (string, optional): Icon name. Defaults to \"folder\"\n- `slug` (string, optional): URL-friendly identifier\n- `isArchived` (boolean, optional): Archive status (for update)\n\n**Valid Icons:**\n`folder`, `book`, `file-text`, `database`, `package`, `archive`, `briefcase`, `inbox`, `layers`, `box`\n\nIf an invalid icon is provided, the tool returns an error with the list of valid options.\n\n---\n\n### Document Management\n\n#### list_documents\n\nList documents in a space.\n\n```text\nlist_documents with spaceId=\"space_abc123\"\nlist_documents with spaceId=\"space_abc123\" status=\"completed\"\nlist_documents with spaceId=\"space_abc123\" status=\"all\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `page` (number, optional): Page number\n- `pageSize` (number, optional): Items per page (max: 100)\n- `status` (string, optional): Filter by status. Values: `pending`, `processing`, `completed`, `failed`, or `all`. Omitting returns all documents.\n\n**Note:** Status values are case-insensitive (`completed` and `COMPLETED` both work).\n\n---\n\n#### save_document\n\nUpload or upsert documents (single or batch).\n\n**Single document:**\n\n```text\nsave_document with spaceId=\"space_abc123\" filename=\"guide.md\" content=\"# Guide\\n\\nContent here...\"\n```\n\n**Batch upload:**\n\n```text\nsave_document with spaceId=\"space_abc123\" documents=[{\"filename\": \"doc1.md\", \"content\": \"...\"}, {\"filename\": \"doc2.md\", \"content\": \"...\"}]\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `filename` (string): Filename (required for single)\n- `content` (string): Content (required for single)\n- `documents` (array, optional): Array of `{filename, content, metadata}` for batch\n- `metadata` (object, optional): Custom key-value pairs\n\n---\n\n#### get_document\n\nGet document content by ID or filename. Returns processed markdown text.\n\n```text\nget_document with spaceId=\"space_abc123\" id=\"doc_xyz789\"\nget_document with spaceId=\"space_abc123\" filename=\"guide.md\"\nget_document with spaceId=\"*\" filename=\"guide.md\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID, or `*` to search all spaces (requires filename)\n- `id` (string, optional): Document ID\n- `filename` (string, optional): Filename\n\n**Notes:**\n\n- Either `id` or `filename` is required\n- Use `spaceId=\"*\"` to search all spaces when you know the filename but not the space\n- For completed documents, returns the extracted markdown text (not raw PDF binary)\n- When using `*`, the response includes the `spaceId` where the document was found\n\n---\n\n#### update_document\n\nUpdate document content or metadata.\n\n```text\nupdate_document with spaceId=\"space_abc123\" id=\"doc_xyz789\" content=\"New content...\"\nupdate_document with spaceId=\"space_abc123\" id=\"doc_xyz789\" append=true content=\"Additional content\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `id` (string, required): Document ID\n- `content` (string, optional): New content\n- `metadata` (object, optional): New metadata\n- `append` (boolean, optional): Append instead of replace\n- `separator` (string, optional): Separator for append mode\n\n---\n\n#### delete_document\n\nPermanently delete a document.\n\n```text\ndelete_document with spaceId=\"space_abc123\" id=\"doc_xyz789\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `id` (string, required): Document ID\n\n---\n\n### Query Tools\n\n#### query_spaces\n\nSearch documents across one or more spaces using tree-based reasoning.\n\n```text\nquery_spaces with query=\"How do I authenticate API requests?\"\nquery_spaces with query=\"installation guide\" spaceIds=\"space_abc123\"\nquery_spaces with query=\"error handling\" spaceIds=[\"space_abc\", \"space_def\"] topK=10\n```\n\n**Parameters:**\n\n- `query` (string, required): Natural language search query\n- `spaceIds` (string or array, optional): Space ID(s) to search. Omit or use `*` for all spaces\n- `topK` (number, optional): Maximum results (default: 10)\n- `compact` (boolean, optional): Use compact format (default: false). See **When to Use Compact** below.\n\n**When to Use Compact:**\n\n| Mode | When to use | What you get |\n| ---- | ----------- | ------------ |\n| `compact=false` (default) | **Most queries.** Any time you need actual data, facts, numbers, dates, or details from documents. | Full results with document metadata, tree context, page ranges, and complete content. |\n| `compact=true` | Broad discovery queries where you only need to know *which* documents are relevant, not their content. | Minimal results: just content snippet, source filename, and score. |\n\n**Rule of thumb:** Default to `compact=false`. Only use `compact=true` when you're browsing\u002Fsurveying and don't need the actual content yet.\n\n**Response (compact=true format):**\n\n```json\n{\n  \"results\": [\n    {\n      \"content\": \"Relevant text content...\",\n      \"source\": \"filename.pdf\",\n      \"score\": 0.95\n    }\n  ],\n  \"total\": 5\n}\n```\n\n---\n\n#### smart_query\n\nDiscover which spaces are relevant for a query using LLM reasoning.\n\n```text\nsmart_query with query=\"How do I install the SDK?\"\nsmart_query with query=\"billing questions\" maxSpaces=3\n```\n\n**Parameters:**\n\n- `query` (string, required): Query to find relevant spaces for\n- `maxSpaces` (number, optional): Maximum spaces to return (default: 5)\n\n**Response:**\n\n```json\n{\n  \"query\": \"How do I install the SDK?\",\n  \"relevantSpaces\": [\n    {\"spaceId\": \"space_abc123\", \"relevance\": \"Contains SDK installation guides\"},\n    {\"spaceId\": \"space_def456\", \"relevance\": \"Has developer tutorials\"}\n  ],\n  \"totalFound\": 2\n}\n```\n\n**Use case:** When you don't know which space to search, use `smart_query` first to discover relevant spaces, then use `query_spaces` with those space IDs.\n\n---\n\n### Tree Visibility Tools\n\nThese tools let you explore the hierarchical structure of indexed documents.\n\n#### get_document_tree\n\nGet the tree structure of a document showing sections, summaries, and page ranges.\n\n```text\nget_document_tree with spaceId=\"space_abc123\" documentId=\"doc_xyz789\"\n```\n\n**Parameters:**\n\n- `spaceId` (string, required): Space ID\n- `documentId` (string, required): Document ID\n\n**Response:**\n\n```json\n{\n  \"documentId\": \"doc_xyz789\",\n  \"totalPages\": 45,\n  \"totalNodes\": 12,\n  \"nodes\": [\n    {\n      \"nodeId\": \"0001\",\n      \"title\": \"Introduction\",\n      \"summary\": \"Overview of the system architecture...\",\n      \"pages\": \"1-5\",\n      \"depth\": 0\n    },\n    {\n      \"nodeId\": \"0002\",\n      \"title\": \"Installation\",\n      \"summary\": \"Step-by-step installation guide...\",\n      \"pages\": \"6-12\",\n      \"depth\": 0\n    }\n  ]\n}\n```\n\n**Use case:** Use this to understand a document's structure before drilling into specific sections.\n\n---\n\n#### get_tree_node\n\nGet the full text content of a specific tree node\u002Fsection.\n\n```text\nget_tree_node with documentId=\"doc_xyz789\" nodeId=\"0002\"\n```\n\n**Parameters:**\n\n- `documentId` (string, required): Document ID\n- `nodeId` (string, required): Node ID from the tree structure\n\n**Response:**\n\n```json\n{\n  \"documentId\": \"doc_xyz789\",\n  \"filename\": \"manual.pdf\",\n  \"nodeId\": \"0002\",\n  \"title\": \"Installation\",\n  \"summary\": \"Step-by-step installation guide...\",\n  \"pages\": \"6-12\",\n  \"depth\": 0,\n  \"content\": \"## Installation\\n\\nTo install the software, follow these steps:\\n\\n1. Download the installer...\\n\\n...\"\n}\n```\n\n**Use case:** After viewing the tree structure, use this to read the full content of a specific section.\n\n---\n\n## Workflow Patterns\n\n### Pattern 1: Search for Information (Default Approach)\n\n**For most questions, a single `query_spaces` call is all you need.** Start here before trying multi-step workflows.\n\n```text\nquery_spaces with query=\"your question\"\n```\n\nThis searches all spaces with full details (compact=false by default). One call, done.\n\n**If you want to narrow to specific spaces:**\n\n```text\nquery_spaces with query=\"your question\" spaceIds=\"known_space_id\"\n```\n\n**If you truly don't know which spaces exist:**\n\n```text\nsmart_query with query=\"your question\"\n# Then use the returned spaceIds:\nquery_spaces with query=\"your question\" spaceIds=[\"returned_space_id\"]\n```\n\n> **Avoid over-searching.** The multi-step workflow (`smart_query` -> `query_spaces` -> `get_document_tree` -> `get_tree_node`) is rarely necessary. For most questions, a single `query_spaces` call returns the answer directly. Only escalate to tree browsing if results are insufficient.\n\n### Pattern 2: Look Up Specific Data\n\nWhen looking for specific facts, numbers, dates, names, or details:\n\n**Just query directly -- one call:**\n\n```text\nquery_spaces with query=\"total amount on invoice #1234\"\n```\n\nThe default `compact=false` returns full content with document metadata, so you get the actual data you need in one step. Do **not** use `compact=true` for data lookups -- it strips the detail you need.\n\n### Pattern 3: Browse a Large Document\n\nWhen you need to navigate a large document's structure:\n\n1. **Get the document structure:**\n\n   ```text\n   get_document_tree with spaceId=\"space_id\" documentId=\"doc_id\"\n   ```\n\n2. **Identify relevant sections** from the node titles and summaries\n\n3. **Read specific sections:**\n\n   ```text\n   get_tree_node with documentId=\"doc_id\" nodeId=\"relevant_node_id\"\n   ```\n\n### Pattern 4: Add New Content\n\nWhen adding documents to a knowledge base:\n\n1. **Find or create the appropriate space:**\n\n   ```text\n   list_spaces\n   # or\n   manage_space with action=\"create\" name=\"New Space\" description=\"...\"\n   ```\n\n2. **Upload the content:**\n\n   ```text\n   save_document with spaceId=\"space_id\" filename=\"document.md\" content=\"...\"\n   ```\n\n3. **Wait for processing** (status will change from PENDING -> PROCESSING -> COMPLETED)\n\n4. **Verify it's ready:**\n\n   ```text\n   list_documents with spaceId=\"space_id\" status=\"COMPLETED\"\n   ```\n\n---\n\n## manage_space - Valid Icons\n\nWhen creating or updating a space, use one of these icon values:\n\n- `folder` (default)\n- `book`\n- `file-text`\n- `database`\n- `package`\n- `archive`\n- `briefcase`\n- `inbox`\n- `layers`\n- `box`\n\nInvalid icons will return a helpful error message with the list of valid options.\n\n---\n\n## list_documents - Status Parameter\n\nThe `status` parameter accepts the following values (case-insensitive):\n\n- `\"all\"` - Returns documents in any status (COMPLETED, FAILED, PENDING, PROCESSING)\n- `\"completed\"` - Returns only successfully processed documents\n- `\"failed\"` - Returns only documents that failed processing (includes `errorMessage` field)\n- `\"pending\"` - Returns documents waiting to be processed\n- `\"processing\"` - Returns documents currently being processed\n\nDocuments with `status=\"FAILED\"` will include an `errorMessage` field explaining what went wrong during processing.\n\n---\n\n## save_document - Processing Workflow\n\nDocuments are processed asynchronously:\n\n1. `save_document` returns immediately with `status=\"PROCESSING\"`\n2. Background job generates embeddings and indexes the document (typically 1-3 seconds)\n3. Status changes to `\"COMPLETED\"` when ready\n4. Document becomes searchable via `query_spaces`\n\n**To check completion status:**\n\n- Use `get_document` to check a specific document's status\n- Use `list_documents` with `status=\"processing\"` to see all processing documents\n- Use `list_documents` with `status=\"failed\"` to see any failures\n\n**Example:**\n\n```javascript\n\u002F\u002F Save document\nconst result = await save_document({...});\n\u002F\u002F result.document.status === \"PROCESSING\"\n\n\u002F\u002F Check status after a moment\nconst doc = await get_document({id: result.document.id});\n\u002F\u002F doc.status === \"COMPLETED\" (when ready)\n```\n\n---\n\n## get_tree_node - Content Availability\n\n`get_tree_node` may return `\"(No text content cached for this node)\"` for certain nodes. This occurs for:\n\n- Structural\u002Forganizational nodes without associated text content\n- Nodes that serve as section headers in the tree hierarchy\n\n**This is expected behavior.**\n\n**To read actual document content:**\n\n- Use `get_document` to retrieve the full processed markdown\n- Use `query_spaces` to search and retrieve relevant content chunks\n\nThe tree structure (via `get_document_tree`) is always available and shows document organization, summaries, and page ranges.\n\n---\n\n## Best Practices\n\n### DO\n\n- **Start with a single `query_spaces` call** - it usually has the answer in one step\n- **Use `compact=false` (the default) for most queries** - you get full content and context\n- **Check document status** before querying - only `COMPLETED` documents are searchable\n- **Use descriptive queries** - natural language works best\n- **Use tree tools for large documents** - navigate structure instead of reading everything\n- **Write good space descriptions** - they're used by `smart_query` for discovery\n\n### DON'T\n\n- **Don't over-search** - avoid multi-step workflows (`smart_query` -> `query_spaces` -> `get_document_tree` -> `get_tree_node`) when a single `query_spaces` call suffices\n- **Don't use `compact=true` for data lookups** - it strips the content you need; only use it for broad discovery\n- **Don't query PENDING\u002FPROCESSING documents** - they won't return results\n- **Don't use very short queries** - more context = better results\n- **Don't forget to check processing status** after uploading new documents\n\n---\n\n## Error Handling\n\nCommon errors and solutions:\n\n| Error | Cause | Solution |\n| ----- | ----- | -------- |\n| \"Document not found\" | Wrong ID or no access | Verify the document ID with `list_documents` |\n| \"Space not found\" | Wrong ID or archived | Use `list_spaces` to find valid space IDs |\n| Empty search results | Document not COMPLETED or no matches | Check document status; try broader query |\n| \"Tree not found\" | Document uses vector indexing or not processed | Check if document status is COMPLETED |\n| \"Invalid icon\" | Icon name not in allowed list | Use one of: folder, book, file-text, database, package, archive, briefcase, inbox, layers, box |\n| \"No text content cached\" | Tree node content not cached | This is normal for structural nodes; use `get_document` for full content |\n\n### Troubleshooting Tips\n\n**If `save_document` fails:**\n\n1. Verify the space exists with `manage_space with action=\"get\" id=\"...\"`\n2. Ensure content is valid text\u002Fmarkdown\n3. Check that the space is not archived\n\n**If `list_documents` returns 0 results:**\n\n1. Try `status=\"all\"` or omit the status parameter entirely\n2. Verify the spaceId is correct with `list_spaces`\n3. Check if documents are still processing (status=\"processing\")\n\n**If `get_tree_node` returns no content:**\n\n- Some nodes are structural and don't have cached text content\n- Use `get_document` to get the full processed document text instead\n- Or use `query_spaces` to search for specific content\n\n---\n\n## Quick Reference\n\n| Task | Tool | Example |\n| ---- | ---- | ------- |\n| List all spaces | `list_spaces` | `list_spaces with status=\"active\"` |\n| Create a space | `manage_space` | `manage_space with action=\"create\" name=\"Docs\"` |\n| List documents | `list_documents` | `list_documents with spaceId=\"...\"` |\n| Upload content | `save_document` | `save_document with spaceId=\"...\" content=\"...\"` |\n| Get document text | `get_document` | `get_document with spaceId=\"...\" id=\"...\"` |\n| Search content | `query_spaces` | `query_spaces with query=\"...\"` |\n| Find relevant spaces | `smart_query` | `smart_query with query=\"...\"` |\n| View doc structure | `get_document_tree` | `get_document_tree with spaceId=\"...\" documentId=\"...\"` |\n| Read a section | `get_tree_node` | `get_tree_node with documentId=\"...\" nodeId=\"...\"` |\n",{"name":5,"metadata":24,"description":7},{"author":25,"version":26},"Orchata AI","1.0.0","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fehudsn\u002Forchata",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill orchata-rag",{"tool":42,"command":43},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill orchata-rag",{"tool":45,"command":46},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill orchata-rag","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fehudsn\u002Forchata\u002FSKILL.md",true,[],[51,59,66,73,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":58},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":58},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":58},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":58},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":58},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":58},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]