onyx-cli

Query the Onyx knowledge base and connected data sources via CLI.

305|81|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/onyx-dot-app/onyx-foss --skill onyx-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: onyx-cli
Source: https://github.com/onyx-dot-app/onyx-foss/tree/main/.cursor/skills/onyx-cli
Command: npx skills add https://github.com/onyx-dot-app/onyx-foss --skill onyx-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows users to query the Onyx knowledge base and retrieve information from company documents, internal knowledge, and connected data sources without needing to navigate the Onyx UI.

Core Features & Use Cases

  • Knowledge Base Querying: Ask questions about company-specific information, policies, and processes.
  • Data Source Search: Retrieve information from connected data sources like wikis, Google Drive, and Slack.
  • Agent Interaction: Query specific Onyx agents for specialized information.
  • Use Case: A new employee needs to understand the company's PTO policy. They can use this Skill to directly ask "What is our company's PTO policy?" and get an immediate answer.

Quick Start

Use the onyx-cli to ask "What are the steps to deploy to production?".

Frequently Asked Questions about onyx-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search company documents from the command line without using the web UI?

You can search company documents via the command line by using the onyx-cli to query the Onyx knowledge base. This allows you to retrieve information from internal wikis and connected data sources directly without navigating the Onyx UI.

Can I retrieve information from internal wikis and Google Drive through a CLI?

Yes, you can retrieve information from internal wikis and Google Drive through a CLI. The onyx-cli supports searching connected data sources, enabling you to find specific information across integrated application platforms.

What do I need to configure to query the Onyx knowledge base via CLI?

To query the Onyx knowledge base via CLI, you need to configure a server URL and an API key. This authentication setup is required to access connected data sources and retrieve company documents successfully.

How do I ask specific Onyx agents for specialized information using a command-line interface?

You can ask specific Onyx agents for specialized information by using the onyx-cli command-line interface. This feature supports querying designated agents to retrieve targeted answers from your company's connected data sources.

What is the best way to find company policies like PTO using a command-line search?

The best way to find company policies like PTO using a command-line search is to use the onyx-cli. It queries the Onyx knowledge base to provide immediate answers about company-specific information and processes.

Does the onyx-cli work for querying specific application data and Slack history?

Yes, the onyx-cli works for querying specific application data and Slack history. It enables searching connected data sources like Slack to retrieve relevant internal knowledge directly from your terminal.