К основному содержанию
скилл CX Codex

memforge-daemon-setup — скилл для Claude Code: установка демона

Скилл memforge-daemon-setup для Claude Code устанавливает и настраивает локальный демон MemForge как пользовательскую службу macOS или Linux.

Apache-2.0 ★ 104 обновлён 2026-11-17

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add dodo-labs-ai/mem-forge
/plugin install memory@memforge
Открыть на GitHub

Что делает memforge-daemon-setup

Скилл управляет установкой CLI MemForge и жизненным циклом демона на компьютере: настраивает целевой сервер, устанавливает службу и проверяет её соединение. Он не привязывает репозитории к рабочим пространствам и не запускает синхронизацию источников.

Для установки CLI нужен Python 3.12; скилл использует uv или уже настроенный pipx. Демон работает как LaunchAgent на macOS или пользовательская служба systemd на Linux, без sudo. Токен для облачного сервера вводится в скрытом запросе и сохраняется в хранилище ключей ОС.

Какие задачи решает

  • установить CLI MemForge и локальную службу демона
  • подключить демон к локальному или облачному серверу MemForge
  • проверить состояние службы и соединение с сервером
  • исправить настройку или удалить службу демона

Примеры запросов агенту

  • Установи демон MemForge и подключи его к моему локальному серверу.
  • Проверь состояние демона MemForge и его соединение с сервером.
  • Удали пользовательскую службу MemForge с этого компьютера.

Как установить memforge-daemon-setup

1Через маркетплейс плагинов

/plugin marketplace add dodo-labs-ai/mem-forge
/plugin install memory@memforge

Команда ставит плагин memory целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add dodo-labs-ai/mem-forge --skill memforge-daemon-setup -a claude-code

3Вручную: положить файлы

~/.claude/skills/memforge-daemon-setup/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/memforge-daemon-setup/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о memforge-daemon-setup

Как установить memforge-daemon-setup в Claude Code?

Добавь маркетплейс командой /plugin marketplace add dodo-labs-ai/mem-forge, затем установи скилл командой /plugin install memory@memforge.

Что делает memforge-daemon-setup?

Настраивает CLI и локальный демон MemForge как пользовательскую службу macOS или Linux. Проверяет состояние службы и соединение с сервером.

Что нужно для работы memforge-daemon-setup?

Нужен Python 3.12 и uv либо уже используемый pipx. Для облачного сервера токен вводится через скрытый запрос и сохраняется в хранилище ключей ОС.

Исходный текст

SKILL.md · Apache-2.0
---
name: memforge-daemon-setup
description: Install, configure, verify, repair, or remove the MemForge local daemon as a managed macOS or Linux user service. Use when a user asks to enable local collection, connect a daemon to self-hosted or Cloud MemForge, check daemon readiness, troubleshoot setup, or uninstall the service. Do not use for workspace routing or source configuration.
---

# MemForge Daemon Setup

Use the supported `memforge` CLI. Never create or edit launchd plists, systemd
units, Keychain entries, or daemon JSON files directly. Do not use `sudo`.

## Boundary

This skill owns the host-side CLI installation and daemon user-service
lifecycle. It does not bind repositories to workspaces, configure Sources, or
trigger a sync. Use `memforge-setup` separately for workspace routing.

The service remains server-directed: setup proves connectivity, while Source
schedules and sync actions create the work the daemon later leases.

## Inspect first

Run read-only checks before proposing a mutation:

```bash
uname -s
command -v memforge || true
command -v uv >/dev/null && uv tool list || true
command -v pipx >/dev/null && pipx list || true
memforge target list
memforge daemon status
```

Skip commands that require a missing `memforge` executable. Determine whether
an existing install is managed by `uv tool` or `pipx`; preserve that package
manager when upgrading. Treat these as separate observed states:

- CLI missing or too old to expose `memforge setup` and `memforge daemon`.
- Target configured or absent.
- Native service installed, running, stopped, or absent.
- Local runtime running or stopped.
- Server-observed connection online, offline, or unconfigured.

Do not treat an online heartbeat as proof that a newly replaced process started;
`memforge setup` owns the fresh-heartbeat fence.

## Confirm the mutation

Before changing the machine, show the user:

- package install or upgrade, if needed;
- exact MemForge origin and target name;
- macOS LaunchAgent or Linux systemd user service;
- that a hosted token is entered through a hidden terminal prompt and stored in
  the OS keyring;
- that no root service, cron entry, or plaintext token file will be created.

Ask for confirmation unless the current request already explicitly authorizes
that exact installation and target. Changing to a different origin or removing
an existing service always needs its own explicit authorization.

Never ask the user to paste a token into chat, place it in a command argument,
or display it. The default token variable is `MEMFORGE_API_TOKEN`. Use an
existing token environment variable without printing it and pass
`--token-env VARIABLE` only when the user chose a different variable,
or run setup in a user-visible TTY so the user can answer the hidden prompt. If
no secure interactive path exists, stop and give the user the exact setup
command to run locally.

## Install or upgrade the CLI

Use an isolated tool environment, not system Python. MemForge is in beta and
installers skip beta releases unless asked, so keep the pre-release options, or
the install stops at the older stable release:

```bash
uv tool install --python 3.12 --prerelease allow memforge-ai
uv tool upgrade --prerelease allow memforge-ai
```

or, when the user already uses pipx:

```bash
pipx install --python python3.12 --pip-args=--pre memforge-ai
pipx upgrade --pip-args=--pre memforge-ai
```

Afterward require both commands to exist:

```bash
memforge setup --help
memforge daemon --help
```

## Configure and install the daemon

Resolve the origin explicitly with the user. Use
`http://127.0.0.1:8765` for the ordinary local self-hosted service, or the exact
HTTPS origin for Cloud/custom domains. Do not infer edition from DNS.

Run setup with the confirmed origin so a previously saved active target cannot
silently select another service:

```bash
memforge setup --api-url ORIGIN
memforge setup --api-url ORIGIN --target-name USER_CHOSEN_NAME
```

When the user did not choose a target name, omit `--target-name`; setup uses the
declared edition's stable `local` or `cloud` name. Show a user-chosen name in the
mutation preview before passing it.

Setup discovers `/.well-known/memforge`, validates the declared edition,
authentication, API base, and health route, stores a hosted token only in the
OS keyring, installs the native user service, and waits for a strictly newer
server-observed heartbeat. Do not reproduce those steps manually.

## Verify completion

Run:

```bash
memforge daemon check
memforge daemon status
```

Success requires all of the following, without triggering a Source sync:

- `daemon check` exits zero and reports `healthy`;
- native service is running;
- local runtime is running;
- server connection is `online`.

When both native and runtime PIDs are available, matching values are useful
additional evidence but are not required on platforms that do not expose a
native PID. Report the installed distribution version when package-manager
metadata provides it, plus target origin and edition, service manager, and
connection state. Never report credentials, Keychain account identifiers, or
raw local state.

## Conditional operations

For setup failure, an unhealthy daemon, lifecycle commands, target/token
changes, or uninstall requests, read
[references/operations.md](references/operations.md) before acting.

© MemForge Team · Apache-2.0 · dodo-labs-ai/mem-forge

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
grepai-watch-daemon yoanbernabeu Скилл grepai-watch-daemon учит агента запускать и настраивать демон grepai watch: первичная индексация проекта, слежение за файлами, фоновый режим и разбор сбоев. CX Codex +1 732установок daemon SethGammon Скилл daemon запускает кампании Citadel в режиме непрерывной работы, цепляя сессии Claude Code друг за другом, пока не исчерпается бюджет или фаза не завершится. CX Codex +1 ★ 937звёзд репо Reaper Daemon wretcher207 Reaper Daemon — MCP-сервер для Claude Code, связывающий ИИ-агента с открытой сессией REAPER для чтения проекта, правки FX и автоматизации. CX Codex +1 ★ 37звёзд репо Linux MCP daemon (mcpd) nucleusv Linux MCP daemon (mcpd) — MCP-сервер для Claude Code и семи других платформ с типизированными инструментами вместо SSH-шелла. Помогает агенту читать процессы, память, диски и логи Linux-сервера. CX Codex +1 ★ 7звёзд репо setup-matt-pocock-skills Matt Pocock Скилл setup-matt-pocock-skills настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. CX Codex +1 1 052 851установок prisma-database-setup prisma Скилл prisma-database-setup — устаревшее совместимое имя скилла prisma-orm-setup для настройки Prisma и восстановления подключения к базе данных. CX Codex +1 439 300установок

Из того же набора8

memory Хук memory для Claude Code подгружает инструкции MemForge и инструменты MCP при старте сессии. Срабатывает автоматически при запуске, возобновлении или сжатии контекста диалога. CX Codex ★ 104звёзд репо memory memory — плагин для Claude Code с поиском MemForge и MCP-инструментами для работы с памятью. Он добавляет подсказки при старте сессии, а поиск запускается по запросу. CX Codex ★ 104звёзд репо memory Плагин memory для Claude Code подключает агента к API MemForge через локальный MCP-прокси. Он передаёт правила работы на старте сессии и ищет контекст по запросу. CX Codex ★ 104звёзд репо lifecycle-canary-convergence Скилл lifecycle-canary-convergence для Claude Code сводит проверку жизненного цикла Memory к инвентаризации, пробному запуску, применению и аудиту. Запускается перед повторной попыткой или canary. CX Codex +1 ★ 104звёзд репо self-hosted-release-validation Скилл self-hosted-release-validation для Claude Code проверяет селф-хостед релизы через чистый сценарий Docker Compose. Оценивает сохранение данных в SQLite и готовность сборки к публичной бете. CX Codex +1 ★ 104звёзд репо memforge-setup Скилл memforge-setup для Claude Code настраивает привязку проекта к рабочему пространству MemForge. Он запускается по просьбе привязать или отвязать проект либо разобраться с выбором пространства. CX Codex +1 ★ 104звёзд репо plugin-release-validation Скилл plugin-release-validation для Claude Code проверяет релизы плагина памяти MemForge через удалённый маркетплейс. Включается при выпуске RC-тегов, смене версий и тестировании хуков с MCP. CX Codex +1 ★ 104звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой