# Setting up Jarvis with AI SKILLS: instructions for Claude Code

> This file is read and carried out by **Claude Code** on the user's computer — in the Claude desktop app (Code tab) or in the terminal.
> All the person needs to do is drop this file into Claude Code and write: "Follow the instructions in this file".
> Claude Code does the setup itself and walks the person through every click that only they can make.
> Source: the article "Jarvis on Claude Code" on aiskills.team.

---

## For you, Claude Code: what to do and how to behave

You are setting up **Jarvis** for the user, a voice AI operator built on Claude Code, and connecting the **AI SKILLS connector** to it: solution selection from the platform catalog, generation of photos, video, music and voice, video montage, and Instagram.

Rules for the whole job:

1. **Talk to the user in their language (the language they write to you in), in plain words**, avoiding jargon wherever you can.
2. **Before each step, one line: what you are about to do and why.** After the step, what came out of it.
3. **Ask only what is marked "Ask".** Do everything else yourself.
4. **Never ask for a password for Claude, AI SKILLS or Instagram.** Sign-ins happen only in the user's own browser.
5. **Never set or store `ANTHROPIC_API_KEY`.** Jarvis runs on the user's Claude subscription; an API key overrides the subscription and switches on pay-per-use API billing.
6. **Download Jarvis only from the original repository** in step 2: https://github.com/adewaskar/jarvis. Don't use forks or copies.
7. **If a step fails**, explain the reason in one sentence, suggest how to fix it, and do not move on to any step that depends on it. Keep doing the steps that don't depend on it.
8. **At the end**, give a final report in the format from step 11.
9. **Guide the user by hand.** Whenever the user has to do something themselves — install a program, open the Terminal, sign in, allow the microphone — say exactly where to click, what they will see on the screen and what to press, one action per line. Then wait until they write "done" (or describe what they see) before you go on.
10. **Explain permission prompts once, at the start.** Claude Code will ask for permission before running commands or editing files. Tell the user: "I will ask for permission before each command — press Allow (or Yes). Nothing is installed without your OK."
11. **Assume the user is not technical.** No terminal jargon without a one-line explanation of what it does.

---

## Step 0. Check the computer

Run these and look at the results:

```bash
node -v
git --version
claude --version
```

- **Node.js** must be **version 20 or newer**. If it is older or missing, guide the user: open https://nodejs.org → press the big **LTS** download button → open the downloaded file → press **Continue / Next** until **Install** → **Finish**. Then run `node -v` again.
- **git** is needed to download the project. If it is missing: on **macOS** run `xcode-select --install` — a system window appears, the user presses **Install** and waits; on **Windows** guide the user to https://git-scm.com → **Download for Windows** → open the file → press **Next** on every screen (the defaults are fine) → **Install** → **Finish**; on **Linux** install it with the system package manager.
- **The `claude` command** must work in the terminal. Jarvis runs Claude Code in the background through this command and uses its sign-in, so it is needed even if the user is talking to you in the desktop app.

If `claude --version` fails, install the command:

- macOS / Linux: `curl -fsSL https://claude.ai/install.sh | bash`
- Windows (PowerShell): `irm https://claude.ai/install.ps1 | iex`

Then the user signs in once. **Guide them:** open the Terminal (macOS: press Cmd+Space, type "Terminal", press Enter; Windows: press Start, type "PowerShell", press Enter) → type `claude` and press Enter → a browser window opens → sign in with the same Claude account (a paid plan: Pro, Max, Team or Enterprise) → come back to the Terminal; when Claude Code greets them, type `/exit` and press Enter → write "done" here. Then check `claude --version` again. If the terminal says the command is not found, ask the user to close the Terminal window and open a new one.

Check whether an API key is set:

- macOS / Linux / Git Bash: `echo "${ANTHROPIC_API_KEY:+set}"`
- PowerShell: `if ($env:ANTHROPIC_API_KEY) { "set" }`

If it **is set**, warn the user: with it, Jarvis will charge money at API rates instead of running on the subscription. Suggest removing it (`unset ANTHROPIC_API_KEY` or deleting the variable in the system settings) and carry on.

Work out the system (macOS, Windows or Linux), because the commands below depend on it.

---

## Step 1. Ask the user about the settings

**Ask in one message** (let them answer everything at once; in brackets, what to do if they don't know):

1. **In which folder should Jarvis be installed?** (default: a folder called `jarvis` in the home folder)
2. **Which language will you speak to him: English or Russian?** (default: the language the user writes to you in)
3. **Do you have an ElevenLabs key** for a lifelike voice? If so, it will be needed in step 7; if not, Jarvis speaks with the browser's voice, which also works.
4. **Have you connected connectors in your claude.ai settings** (email, Google Drive, calendar), and do you want Jarvis to see them? (default: no)
5. **Should Jarvis be allowed to take actions**, such as publishing videos, sending, installing and changing files? (default: **no**: "read-only" mode. Generation, montage, statistics and replies to comments work without actions. Actions can be switched on later.)

Remember the answers.

---

## Step 2. Download Jarvis

Jarvis is an open-source project (MIT licence) by Aditya Dewaskar: https://github.com/adewaskar/jarvis. The AI SKILLS card of the project: https://aiskills.team/open-source/jarvis-voice-operator.

Download it into the folder from step 1 and install it:

```bash
git clone https://github.com/adewaskar/jarvis.git <folder from step 1>
cd <folder from step 1>
npm install
npm run setup
```

`npm run setup` checks the project's requirements. Retell its output to the user in plain words: what is fine and what is not. If the folder already exists and contains Jarvis, don't clone again; run `git pull` and `npm install`.

---

## Step 3. Connect the AI SKILLS connector

Check whether it is already connected:

```bash
claude mcp get aiskills
```

If it isn't found, connect it **exactly like this** (the `--scope user` flag is required: Jarvis only sees connections shared across all projects):

```bash
claude mcp add --scope user --transport http aiskills https://aiskills.team/mcp
```

If it is found but was added without `--scope user` (not in the shared settings), remove it and add it again:

```bash
claude mcp remove aiskills
claude mcp add --scope user --transport http aiskills https://aiskills.team/mcp
```

---

## Step 4. Sign in to the AI SKILLS account

The user signs in, in their own browser. Try running:

```bash
claude mcp login aiskills
```

A browser window with the AI SKILLS sign-in will open. **Tell the user:** "A window with AI SKILLS is about to open. Sign in with your email and password. Your password stays on the platform."

If the window didn't open or the command didn't work, the user signs in from the Terminal. **Guide them:** open the Terminal (as in step 0) → type `claude mcp login aiskills` and press Enter → a browser window with AI SKILLS opens → sign in → the page says the connection is done → write "done" here. In the terminal version of Claude Code the same can be done by typing `/mcp`, choosing aiskills → Authenticate.

Check:

```bash
claude mcp list
```

`aiskills` should show `✔ Connected`. If it shows `! Needs authentication`, the sign-in did not go through; repeat it. **If the sign-in is refused with a message about the plan**, the connector is available from the Plus plan: tell the user that generation, montage and Instagram are available from Plus, solution selection and the signature pipelines from Creator, and plans are at https://aiskills.team/pricing. Do the remaining steps anyway: Jarvis will work without AI SKILLS too.

---

## Step 5. Allow Jarvis to use the AI SKILLS tools

In "read-only" mode Jarvis lets through only tools that look like reading, plus a few generation services it already knows. Without this step solution selection works, but AI SKILLS generation and montage do not.

In the file `bridge/policy.mjs` find the set `READ_ONLY_MCP` (`const READ_ONLY_MCP = new Set([`) and replace the line

```js
  'higgsfield', 'heygen', 'elevenlabs',
```

with

```js
  'higgsfield', 'heygen', 'elevenlabs', 'aiskills',
```

Change nothing else in the file.

Show the user the changed line. Explain that publishing to Instagram is still forbidden until actions are switched on: the check on the word "publish" in the tool name stays.

---

## Step 6. Teach Jarvis the AI SKILLS rules

In the file `bridge/server.mjs` find `const SYSTEM_PROMPT = [`. **Before** that declaration add a new constant, and in the array itself add its name as a string before `PROMPT_TOOLS,`:

```js
const PROMPT_AISKILLS = `
AI SKILLS (the "aiskills" tools):
- Money rule: before ANY paid AI SKILLS action — image, video, audio generation, media analysis, video montage, assembling a video, a professional prompt — say the model and the price out loud and wait for an explicit "yes". Never start a paid run without it. Picking solutions, recipes, Instagram stats, the last frame and the balance are free.
- "Find a solution / what can I use for…" → find_solutions. Ask one or two clarifying questions first if the task is vague. Say what was found in two or three sentences; put the list with the platform cards on a panel with display, do not read links aloud.
- A multi-step content job (a video from an idea, UGC ad, product showcase, music clip, marketplace card, logo, campaign) → list_skills, then get_skill, and follow the recipe step by step.
- Generated images and videos: show them on a panel with display (or put images in orbit). Never read URLs aloud.
- Video and montage take minutes. Say it has started, then check generation_status or montage_status when the user asks. When montage asks questions, ask the user out loud and pass the answers with montage_answer.
- The user's own files reach AI SKILLS only as https links: a Google Drive link shared as "anyone with the link", a link from "My generations" on aiskills.team, or a direct file link.
- Instagram: reply to a comment only after reading the reply out loud and getting "yes". Publish only when asked, and only after confirming the video and the caption.
`
```

The array should end up like this (don't change the order of the other elements):

```js
  PROMPT_AISKILLS,
  PROMPT_TOOLS,
].join('')
```

If in step 1 the user chose **Russian**, add this line to the end of `PROMPT_AISKILLS` (before the closing backtick):

```text
- Language: always speak Russian with the user, natural spoken Russian, keep the same calm butler manner.
```

---

## Step 7. ElevenLabs voice (if there is a key)

Skip this step if in step 1 there is no key.

If there is a key, **tell the user**: "So the key doesn't end up in our conversation, run one command in the terminal yourself." Then give it to them, filling in for the user only what is not secret:

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
claude mcp add --scope user elevenlabs -e ELEVENLABS_API_KEY=YOUR_KEY -- uvx elevenlabs-mcp
```

(On Windows, instead of the first line: `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"`.)

Jarvis's bridge will find the key in this server's settings on its own. If the user wants a different voice, use `JARVIS_VOICE_ID` in the launch script (step 9): the Voice ID is found in ElevenLabs → Voices.

With an ElevenLabs key Jarvis recognizes speech through ElevenLabs Scribe, which understands Russian and other languages on its own.

---

## Step 8. Russian (only if chosen in step 1)

This step is needed only so the user can speak Russian. Skip it if they chose English: out of the box Jarvis listens and speaks English.

Without this step Jarvis listens and speaks only English: browser speech recognition is set to English, the voice is chosen from English ones, and the wake word is matched only in Latin script.

Make four edits, exactly as written (they have been checked against the project code):

**1. `src/lib/voice.ts` — speech recognition.** Find the line

```ts
    rec.lang = 'en-GB'
```

and replace it with

```ts
    rec.lang = 'ru-RU'
```

**2. `src/lib/voice.ts` — the wake word.** Find the declaration `const WAKE =` (two lines: the name and the regular expression) and replace the whole regular expression so that it reads:

```ts
const WAKE =
  /(?<![\p{L}])(?:(?:hey|hi|ok|okay|yo|эй|хей|ок|окей)[\s,]*)?(?:jarvis|jarvys|jervis|travis|jarviss|java's|jarv|джарвис|джарвиз|жарвис|джервис)(?![\p{L}'])/iu
```

It catches "Джарвис", "Эй, Джарвис", "Окей, Жарвис" and the earlier English variants, and does not fire on "джарвиса нет". Don't touch the `afterWake` function: it works with the new expression as is.

**3. `src/lib/tts.ts` — the voice list for the V key.** Find the start of the function

```ts
export function candidateVoices(): SpeechSynthesisVoice[] {
  return speechSynthesis
```

and insert two lines after the first one, so that it reads:

```ts
export function candidateVoices(): SpeechSynthesisVoice[] {
  const ru = speechSynthesis.getVoices().filter((v) => /^ru/i.test(v.lang))
  if (ru.length) return ru
  return speechSynthesis
```

**4. `src/lib/tts.ts` — the default voice.** Find the line

```ts
  cachedVoice = candidateVoices()[0] ?? all.find((v) => /^en/i.test(v.lang)) ?? null
```

and insert before it:

```ts
  const ru = all.filter((v) => /^ru/i.test(v.lang))
  if (ru.length) {
    return (cachedVoice =
      ru.find((v) => /yuri|dmitr|maxim|pavel/i.test(v.name)) ??
      ru.find((v) => /google/i.test(v.name)) ??
      ru[0])
  }
```

In the same place replace `u.lang = voice?.lang ?? 'en-GB'` with `u.lang = voice?.lang ?? 'ru-RU'`.

If the system has no Russian voices, Jarvis will stay with the browser's English voice. In that case tell the user that a Russian voice is installed in the system settings (macOS: System Settings → Accessibility → Spoken Content → System Voice → Manage Voices; Windows: Settings → Time & language → Speech → Add voices), or that ElevenLabs can be connected (step 7).

After the edits, check that the project builds:

```bash
npm run build
```

Fix any errors. Tell the user: if a voice sounds wrong, it can be changed with the **V** key right in Jarvis's interface.

---

## Step 9. Launch script

Create a launch script in the Jarvis folder with the settings from step 1.

**macOS / Linux** — a file `start-jarvis.sh`, then `chmod +x start-jarvis.sh`:

```bash
#!/usr/bin/env bash
cd "$(dirname "$0")"
# claude.ai connectors (email, Drive, calendar): 1 = Jarvis sees them, 0 = it doesn't
export JARVIS_ACCOUNT_CONNECTORS=0
# Another ElevenLabs voice: export JARVIS_VOICE_ID=...
npm start
```

**Windows** — a file `start-jarvis.ps1`:

```powershell
Set-Location $PSScriptRoot
# claude.ai connectors (email, Drive, calendar): "1" = Jarvis sees them, "0" = it doesn't
$env:JARVIS_ACCOUNT_CONNECTORS = "0"
# Another ElevenLabs voice: $env:JARVIS_VOICE_ID = "..."
npm start
```

Set `JARVIS_ACCOUNT_CONNECTORS` to `1` if the user answered "yes" in step 1.
If the user allowed **actions**, replace `npm start` with `npm start -- --writes` and **warn them**: with actions on, Jarvis can publish, send, install and run commands on the computer; switch them on for a specific task.

---

## Step 10. Launch and check

Jarvis is two processes, the brain and the face, and they work only while the window they were started in stays open. So the user starts him from the Terminal. **Guide them:** open the Terminal (as in step 0) → go to the Jarvis folder (give the exact `cd` command with the folder from step 1) → run `./start-jarvis.sh` (macOS / Linux) or `powershell -ExecutionPolicy Bypass -File .\start-jarvis.ps1` (Windows) → wait until the text stops scrolling and shows the address http://localhost:5173 → leave this window open.

**Tell the user, step by step:**

1. Open **http://localhost:5173** in Chrome or Edge, in a regular window, not in an editor's built-in preview.
2. Press **INITIALISE**.
3. Allow microphone access.
4. Say **"Hey Jarvis"** (or "Эй, Джарвис" if Russian is on), then: **"What's my balance on AI SKILLS?"**

If he named an amount, everything is connected. Next ask him to check solution selection: **"Find a solution: a bot that books clients and reminds them of the appointment"**.

If it says "bridge unavailable", check that the process is running and port 8787 is free. If Jarvis doesn't see AI SKILLS, go back to steps 3–5.

To stop Jarvis, press Ctrl+C in that Terminal window. Next time, start him the same way: open the Terminal, go to the folder, run the script.

---

## Step 11. Final report to the user

Give it briefly, as a list, with ✅ / ⚠️ / ❌ marks:

- Node.js, git: versions
- Jarvis downloaded and installed: the folder
- AI SKILLS connector connected and signed in
- AI SKILLS tools allowed for Jarvis (step 5)
- AI SKILLS rules and the money rule added (step 6)
- Language: English / Russian
- Voice: ElevenLabs / browser voice
- claude.ai connectors: sees / doesn't see
- Actions: off / on
- Launch script: the file name and how to run it

And what is left for the user to do themselves:

- **AI SKILLS wallet**: generation and montage are paid from it; top up from $5 in your account on aiskills.team.
- **Instagram**: tell Jarvis "Connect my Instagram" and sign in via the link. For now the connection is open only to accounts approved in the AI SKILLS app on Meta; for everyone, after Meta's review.
- **Your own services** (Google Drive, email, calendar, servers, Premiere, Telegram and more): 119 checked MCP servers are in the "Tools for Jarvis" section, https://aiskills.team/automation-templates?tab=jarvis, each with an instruction file that can be given to Claude Code (instructions and links are open from the Creator plan). They connect one at a time with `claude mcp add --scope user <name> -e KEY=value -- <launch command>`. For a CRM or another service not on that list: use a claude.ai connector if one exists for it, otherwise it is built to order.

Finally, give 5 phrases for the first day:

1. "What's my balance on AI SKILLS?"
2. "Find a solution for my task: …"
3. "Make a reel cover in 9:16: …"
4. "Make a UGC ad for this product" — with a link to the photo
5. "Edit an expert reel from this recording" — with a link to the video
