Skip to main content

CLI Commands Overview

Mega Brain provides a comprehensive set of slash commands for managing your AI knowledge system. These commands run inside Claude Code and orchestrate the entire pipeline from content ingestion to multi-agent deliberation.

Quick Reference

Setup

Configure API keys and dependencies

Ingest

Import materials from YouTube, PDFs, or local files

Process

Run the 8-phase knowledge extraction pipeline

Briefing

View system status and health metrics

Extract DNA

Generate cognitive DNA from expert materials

Conclave

Multi-agent decision framework

Save Session

Save and resume work context

Command Categories

System Management

Commands for initial setup and system monitoring:
CommandPurposeFrequency
/setupConfigure environment and API keysOnce (first run)
/jarvis-briefingSystem health and statusDaily

Content Pipeline

Commands for ingesting and processing knowledge:
CommandPurposeTypical Usage
/ingestAdd new materials to inboxPer video/document
/process-jarvisTransform raw content into structured knowledgePer source
/extract-dnaGenerate cognitive DNA schemasPer expert (3+ sources)

AI Agents

Commands for working with AI agents:
CommandPurposeUse Case
/conclaveMulti-agent deliberationStrategic decisions

Session Management

Commands for preserving work context:
CommandPurposeWhen to Use
/saveSave current contextEnd of session
/resumeRestore previous contextStart of session

Common Workflows

First-Time Setup

# 1. Install dependencies
npm install

# 2. Configure environment (interactive wizard)
/setup

# 3. Check system status
/jarvis-briefing

Processing New Content

# 1. Ingest a YouTube video
/ingest https://youtube.com/watch?v=VIDEO_ID

# 2. Process through the pipeline
/process-jarvis "inbox/PERSON/TYPE/filename.txt"

# 3. Extract DNA (after 3+ sources)
/extract-dna person-name

Making Strategic Decisions

# Multi-agent deliberation with evidence
/conclave "Should we increase commission from 10% to 15%?"

Command Syntax

All commands start with / and run inside Claude Code. They are NOT terminal commands.

General Pattern

/command-name [required-arg] [--optional-flag]

Examples

/jarvis-briefing

Environment Requirements

Before using any command, ensure your environment is configured with /setup

Required

  • Claude Code (Max or Pro plan)
  • Node.js >= 18.0.0
  • Python >= 3.10
  • OpenAI API Key (for Whisper transcription)
  • Voyage API Key (for semantic search)
  • Google Drive credentials (for importing from Drive)

Getting Help

Each command includes built-in help:
# Show command usage
/command-name --help

# View system documentation
/jarvis-briefing

Next Steps

Setup Command

Start here: Configure your environment

Ingest Command

Add your first material

Architecture

Understand the system design

DNA Schema

Learn about the 5-layer knowledge model

Build docs developers (and LLMs) love