Claude
Skills
Sign in
Back

setup

Included with Lifetime
$97 forever

Install, upgrade, or verify ctx persistent memory system

General

What this skill does


# ctx Setup

Install, upgrade, or verify the ctx persistent memory system.

## Steps

1. Check if `ctx` binary is in PATH and get current version:
   ```bash
   command -v ctx && ctx version
   ```

2. Check for updates from GitHub releases:
   ```bash
   bash ${CLAUDE_PLUGIN_ROOT}/scripts/check-update.sh
   ```

3. If binary not found OR an update is available, install/upgrade from GitHub releases:
   ```bash
   bash ${CLAUDE_PLUGIN_ROOT}/scripts/install-binary.sh
   ```

4. Verify database exists:
   ```bash
   ls -la ~/.ctx/store.db
   ```

5. If database missing, initialize:
   ```bash
   ctx init
   ```

6. Show current status:
   ```bash
   ctx status
   ```

7. Report results to user: binary location, version, database path, node count, tier breakdown. If an upgrade was performed, mention the old and new versions.
Files: 1
Size: 1.1 KB
Complexity: 8/100
Category: General

Related in General