Setup

From Geralt2026/RAG-learning · View interactive version

Setup is an AI agent skill from the GitHub repository Geralt2026/RAG-learning. First-time installation, authentication, and service configuration for NanoBob.

How to use this skill

Skill file

/setup - NanoBob Setup Skill

Purpose

First-time installation, authentication, and service configuration for NanoBob.

What This Skill Does

  1. Verifies Node.js 20+ is installed
  2. Installs npm dependencies
  3. Creates .env from .env.example
  4. Guides user through Qwen API authentication
  5. Builds the container image
  6. Creates initial group folders
  7. Optionally configures system service (launchd/systemd)

Usage

Inside the claude CLI, run:

/setup

Steps

1. Check Prerequisites

2. Install Dependencies

npm install

3. Setup Environment

cp .env.example .env

Then guide user to set:

4. Build Container

./container/build.sh

5. Create Initial Folders

mkdir -p groups/global
mkdir -p groups/qwen_main/logs
mkdir -p store data/sessions data/env data/ipc/{messages,tasks,input} logs

6. Initialize Database

Run npm run build then npm start once to initialize SQLite.

7. Optional: System Service

Configure launchd (macOS) or systemd (Linux) for auto-start.

Post-Setup

After setup completes, the user can:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.