Skip to content
Back to skills

1908 Install Aleph F718b7c7

CSecurity

Use this prompt with Claude Code (or any AI assistant with file access) to install Aleph on all your AI coding tools. ---

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentspythonshellbashgitapibackend

Works with

  • claude code
  • claude desktop
  • cursor
  • cli
  • api
  • mcp

Security analysis

C67/100
  • criticalModifies startup scripts or system services for persistence
  • criticalModifies startup scripts or system services for persistence
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1908-install-aleph_f718b7c7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1908 Install Aleph F718b7c7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1908 Install Aleph F718b7c7
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1908-install-aleph-f718b7c7/badge)](https://www.skillsdirectory.com/skills/tools-only-1908-install-aleph-f718b7c7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Prompt: Install Aleph Across All Environments

Use this prompt with Claude Code (or any AI assistant with file access) to install Aleph on all your AI coding tools.

---

## Prompt

```
I need you to install and configure Aleph (an MCP server for recursive LLM reasoning over large local data) across all my AI development environments.

**Target environments:**
1. Claude Code (CLI) - via ~/.claude/claude_desktop_config.json (macOS/Linux) or %USERPROFILE%\.claude\claude_desktop_config.json (Windows)
2. Claude Desktop - via ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
3. Cursor - via cursor MCP config
4. Windsurf - via windsurf MCP config
5. Codex CLI - via ~/.codex/config.toml (macOS/Linux) or %USERPROFILE%\.codex\config.toml (Windows)
6. Gemini CLI - via ~/.gemini/mcp.json
7. Kimi CLI - via ~/.kimi/mcp.json

**Tasks:**

1. First, check if aleph-rlm is installed:
   ```bash
   pip show aleph-rlm || pip install "aleph-rlm[mcp]"
   ```

2. Run the automatic installer and see what it detects:
   ```bash
   aleph-rlm install
   ```

3. For any environments not auto-detected, manually configure:

   **Claude Desktop:**
   - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
   - Windows: `%APPDATA%\Claude\claude_desktop_config.json`

   ```json
   {
      "mcpServers": {
        "aleph": {
          "command": "aleph",
          "args": ["--enable-actions", "--tool-docs", "concise", "--workspace-mode", "any"]
        }
      }
    }
   ```

   **Codex CLI:**
   - macOS/Linux: `~/.codex/config.toml`
   - Windows: `%USERPROFILE%\.codex\config.toml`

   ```toml
   [mcp_servers.aleph]
   command = "aleph"
   args = ["--enable-actions", "--tool-docs", "concise", "--workspace-mode", "any"]
   ```

   **Gemini CLI** (~/.gemini/mcp.json):
   ```json
   {
     "mcpServers": {
       "aleph": {
         "command": "aleph",
         "args": ["--enable-actions", "--tool-docs", "concise", "--workspace-mode", "any"]
       }
     }
   }
   ```

   **Kimi CLI** (~/.kimi/mcp.json):
   ```json
   {
     "mcpServers": {
       "aleph": {
         "transport": "stdio",
         "command": "aleph",
         "args": ["--enable-actions", "--tool-docs", "concise", "--workspace-mode", "any"]
       }
     }
   }
   ```

4. Install skills (optional but recommended):

   Download `docs/prompts/aleph.md` from the repo and save it to:

   **Claude Code:**
   - macOS/Linux: `~/.claude/commands/aleph.md`
   - Windows: `%USERPROFILE%\.claude\commands\aleph.md`

   **Codex CLI:**
   - macOS/Linux: `~/.codex/skills/aleph/SKILL.md`
   - Windows: `%USERPROFILE%\.codex\skills\aleph\SKILL.md`

   **Kimi CLI (recommended):**
   - User-level: `~/.config/agents/skills/aleph/SKILL.md`
   - Project-level: `.agents/skills/aleph/SKILL.md`

   Or from the installed package:
   ```bash
   # macOS/Linux
   mkdir -p ~/.codex/skills/aleph
   cp "$(python -c "import aleph; print(aleph.__path__[0])")/../docs/prompts/aleph.md" ~/.codex/skills/aleph/SKILL.md

   # Kimi CLI (user-level)
   mkdir -p ~/.config/agents/skills/aleph
   cp "$(python -c "import aleph; print(aleph.__path__[0])")/../docs/prompts/aleph.md" ~/.config/agents/skills/aleph/SKILL.md
   ```

5. Configure `sub_query` (optional):

   If you want the API backend, set environment variables:

   **macOS/Linux** (add to ~/.zshrc or ~/.bashrc):
   ```bash
   export ALEPH_SUB_QUERY_API_KEY=sk-...
   export ALEPH_SUB_QUERY_MODEL=your-model-name
   # Optional: OpenAI-compatible base URL (Groq, Together, local LLMs, etc.)
   export ALEPH_SUB_QUERY_URL=https://api.your-provider.com/v1
   ```

   **Windows** (set via System Environment Variables or PowerShell $PROFILE):
   ```powershell
   $env:ALEPH_SUB_QUERY_API_KEY = "sk-..."
   $env:ALEPH_SUB_QUERY_MODEL = "your-model-name"
   ```

   CLI backends (`claude`, `codex`, `gemini`) do not require an API key. Aleph will auto-detect the first available backend unless you set `ALEPH_SUB_QUERY_BACKEND`.

6. Verify installation:
   ```bash
   aleph-rlm doctor
   ```

7. Test by restarting each environment and checking if the aleph tools are available.

**Important notes:**
- The `--enable-actions` flag allows file read/write and command execution
- `--enable-actions` also enables rg-based search, smart loaders, and memory pack auto-save
- In CLI environments (Claude Code, Codex, Gemini), `sub_query` can use the local CLI backend - no API key needed
- The installer should handle most of this automatically, but verify each environment works
- For per-project scoping, set `--workspace-root /absolute/path/to/project` instead of `--workspace-mode git`. See MCP_SETUP.md for details.
- Some MCP clients don't reliably pass `env` vars from config to the server process. If `sub_query` reports missing credentials, add exports to your shell profile and restart the client.

Please proceed step by step and report what you find in each environment.
```

---

## What this does

- Installs `aleph-rlm` Python package
- Configures MCP server in all supported AI coding environments
- Optionally sets up OpenAI-compatible API credentials for `sub_query`
- Enables action tools (file I/O, commands) where appropriate

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…