Skip to main content

1. Get Your API Key

Sign up at studio.lyzr.ai and copy your API key.

2. Install the Plugin

In Claude Code, run:
/plugin marketplace add Lyzr-Cognis/claude-cognis
/plugin install claude-cognis

3. Set Your API Key

Option A: Environment variable
export LYZR_API_KEY="your-api-key"
Option B: Persistent settings file Create ~/.cognis-claude/settings.json:
{ "apiKey": "your-api-key" }

That’s It

Cognis now works automatically:
  • Session start — Loads relevant personal and team memories into context
  • During session — Surfaces memories based on what you’re working on
  • Session end — Summarizes and saves your conversation

Try It Out

CommandWhat it does
/claude-cognis:recallResume your last session — loads context from where you left off
/claude-cognis:memory-statsSee what Cognis has stored (memory count, session history)
/claude-cognis:indexAnalyze and index your current codebase for future reference
You can also use natural language:
  • “What did I work on yesterday?” — triggers memory search
  • “Remember that we decided to use JWT for auth” — saves to persistent memory

Next Steps

Configuration

Customize settings, per-project config, and privacy controls

Features

Full reference for hooks, MCP tools, skills, and commands