cortex

Query and manage NexusOS Cortex knowledge base collections via REST API.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/cryptopafi/nexusos-skills --skill cortex-cryptopafi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cortex
Source: https://github.com/cryptopafi/nexusos-skills/tree/main/cortex
Command: npx skills add https://github.com/cryptopafi/nexusos-skills --skill cortex-cryptopafi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies interacting with the NexusOS Cortex knowledge base by providing clear REST API workflows for health checks, searches, and storing content so users can avoid manual curl command construction and JSON troubleshooting.

Core Features & Use Cases

  • Health checks: Verify Cortex availability and version before performing operations.
  • Search: Query collections with optional scoping to procedures, intelligence, technical, business, or training_procedures and return scored results.
  • Store: Add new items to collections; enforce FORGE format and required metadata when storing procedures to ensure valid procedural documents.
  • Use case: An operator can confirm Cortex is healthy, search for a procedure by rule_id, and store investigation notes or new intelligence entries.

Quick Start

Use the cortex skill to search the NexusOS Cortex for "privileged access" and return the top five results.

Frequently Asked Questions about cortex

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

FAQPage Schema
How do I search the NexusOS Cortex knowledge base using a REST API?

You can query the NexusOS Cortex knowledge base via REST API by scoping searches to specific collections such as procedures, intelligence, technical, business, or training_procedures, and returning scored results without manual curl command construction.

What do I need to run Cortex API queries and store documents?

You need a reachable Cortex endpoint and common CLI tools curl and jq, with a python3 -m json.tool fallback, to execute REST API queries and store documents successfully.

How do I check if my Cortex knowledge base endpoint is available?

Perform a health check operation to verify your Cortex endpoint reachability and version, ensuring the knowledge base is available before executing search or store operations.

What format is required to store new procedures in Cortex collections?

Storing procedures in Cortex collections requires enforcing the FORGE format and including required metadata, ensuring valid procedural documents are created within the knowledge base.

Can I scope my REST API search to only technical or intelligence collections?

Yes, you can scope your REST API search to technical or intelligence collections by specifying the collection parameter during the query, returning targeted scored results from the knowledge base.