onyx
Onyx (cloud.onyx.app) AI knowledge base API — search internal documents, send AI chat messages, and ingest content. Use when user mentions "Onyx", "Danswer", "knowledge base search", "internal search", or "RAG search".
What this skill does
# Onyx
Onyx is an AI-powered knowledge base that connects to 40+ internal tools (Slack, Notion, Google Drive, Confluence, and more) and lets you search, chat, and ingest documents via API.
> Official docs: `https://docs.onyx.app/developers/overview`
---
## When to Use
Use this skill when you need to:
- Search your company's internal knowledge base
- Ask questions answered by internal documents
- Index new documents or content into Onyx
- Start or continue an AI chat session grounded in internal data
---
## Prerequisites
Connect the **Onyx** connector at [app.vm0.ai/connectors](https://app.vm0.ai/connectors).
> **Troubleshooting:** If requests fail, run `zero doctor check-connector --env-name ONYX_TOKEN` or `zero doctor check-connector --url https://cloud.onyx.app/api/chat/get-user-chat-sessions --method GET`
---
## How to Use
### 1. Search Internal Documents
`POST /api/search/handle-search-request`
Write to `/tmp/onyx_search.json`:
```json
{
"query": "How does our onboarding process work?",
"search_type": "semantic",
"filters": {},
"offset": 0,
"limit": 10
}
```
```bash
curl -s -X POST "https://cloud.onyx.app/api/search/handle-search-request" --header "Authorization: Bearer $ONYX_TOKEN" --header "Content-Type: application/json" -d @/tmp/onyx_search.json | jq '.top_documents[] | {title: .semantic_identifier, score: .score, link: .link}'
```
### 2. Create a New Chat Session
`POST /api/chat/create-chat-session`
Write to `/tmp/onyx_session.json`:
```json
{
"persona_id": null,
"description": null
}
```
```bash
curl -s -X POST "https://cloud.onyx.app/api/chat/create-chat-session" --header "Authorization: Bearer $ONYX_TOKEN" --header "Content-Type: application/json" -d @/tmp/onyx_session.json | jq '.chat_session_id'
```
### 3. Send a Chat Message
`POST /api/chat/send-chat-message`
Replace `<chat-session-id>` with the session ID from step 2.
Write to `/tmp/onyx_message.json`:
```json
{
"message": "What is our vacation policy?",
"chat_session_id": "<chat-session-id>",
"parent_message_id": null,
"search_filters": {},
"stream": false,
"include_citations": true
}
```
```bash
curl -s -X POST "https://cloud.onyx.app/api/chat/send-chat-message" --header "Authorization: Bearer $ONYX_TOKEN" --header "Content-Type: application/json" -d @/tmp/onyx_message.json | jq '.answer'
```
### 4. List Chat Sessions
```bash
curl -s "https://cloud.onyx.app/api/chat/get-user-chat-sessions" --header "Authorization: Bearer $ONYX_TOKEN" | jq '.sessions[] | {id: .id, description: .description}'
```
### 5. Ingest a Document
`POST /api/onyx-api/ingestion`
Replace `<cc-pair-id>` with your connector pair ID (visible in the Admin Panel URL, e.g. `https://cloud.onyx.app/admin/connector/308`).
Write to `/tmp/onyx_ingest.json`:
```json
{
"document": {
"id": "custom-doc-001",
"sections": [
{
"text": "Document content to index.",
"link": "https://example.com/doc"
}
],
"source": "ingestion_api",
"semantic_identifier": "My Custom Document",
"metadata": {},
"doc_updated_at": null
},
"cc_pair_id": <cc-pair-id>
}
```
```bash
curl -s -X POST "https://cloud.onyx.app/api/onyx-api/ingestion" --header "Authorization: Bearer $ONYX_TOKEN" --header "Content-Type: application/json" -d @/tmp/onyx_ingest.json
```
---
## Guidelines
1. PAT tokens (`onyx_pat_...`) work for all non-admin endpoints; Admin API Keys are required for endpoints prefixed with `/admin/`
2. For multi-turn conversations, always pass `chat_session_id` and `parent_message_id` to maintain context
3. Use `search/handle-search-request` for raw document retrieval; use `chat/send-chat-message` for synthesized AI answers
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.