Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

add-connector

БесплатноБез исполняемых скриптовНе проверен

Onboard a `deus connect` connector — a way to route Claude Code sessions to non-Claude models (e.g. GPT via CLIProxyAPI) alongside normal Claude access…

sliamh11от sliamh11★ 50 звёзд на GitHub

Об этом скилле

Add a deus connect Connector

deus connect launches the real, unmodified claude binary with which upstream model answers its requests redirected via ANTHROPIC_BASE_URL — identity, vault/memory context, preferences, and portable skills stay intact, exactly like a normal deus/deus home session. This is separate from Deus's own container-agent backend adapters (deus codex, DEUS_AGENT_BACKEND) — see docs/decisions/backend-neutral-agent-runtime.md's note near the Parity Matrix.

This skill is generic over any registered connector (ships with cliproxy-oauth and ollama) — adding another connector in the future changes connectors/providers/, not this skill.

Four distinct "ollama" surfaces exist in this repo — do not conflate them when guiding a user:

  1. deus connect ollama (this skill, this section) — routes a Claude Code session directly to a local Ollama instance via its native Anthropic-API mode. No proxy, no daemon management.
  2. deus provider ollama / deus fcc (deus-cmd.sh's fcc proxy system) — a different mechanism: routes through fcc-server's OpenAI-compat translation proxy. Also reaches a local Ollama install, but via proxy translation, not a direct native-mode redirect.
  3. deus backend set ollama — a persisted DEUS_AGENT_BACKEND value. Not yet wired to a working CLI agent; its stub error message points here (deus connect ollama) and to deus provider ollama/fcc.
  4. .claude/skills/add-ollama-tool — an unrelated feature: adds an Ollama MCP server so a container agent (not a deus connect session) can offload tasks to a local model.

Phase 1: Pre-flight

python3 scripts/connectors_cli.py list

Shows every registered connector and whether it's already configured. If the target connector shows configured (e.g. a repeat run, or a machine inherited from another user), still walk through Phase 2 (select) and Phase 3 (risk acknowledgment) — Phase 3 is required every time, regardless of configuration state, per its own rule; skipping it here would let an already-configured install proceed straight to a real connector launch without ever showing the risks. Only Phases 4-8 (install/authenticate/ write-config) are skippable on an already-configured connector — jump from Phase 3 straight to Phase 9 (Verify) unless the user explicitly wants to reconfigure.

cliproxy-oauth-specific one-time check, added for the model-picker- visibility follow-up — this is a deliberate, documented exception to this skill's normal connector-generic design, not a pattern to copy for a future connector. An already-configured cliproxy-oauth install predating this feature has no claude-gpt-* discovery aliases in its real config, and the normal skip straight to Phase 9 would never surface the migration step needed to add them. Before jumping to Phase 9 on an already-configured cliproxy-oauth, run:

if [ -f ~/.config/deus/connectors/cliproxy/config.local.yaml ]; then
  grep -c 'claude-gpt-' ~/.config/deus/connectors/cliproxy/config.local.yaml
else
  echo 0
fi

If the count is below 3 (a fresh install has 0; a partially-applied manual edit could have 1 or 2 — -c counts matches rather than a bare presence check specifically so a partial edit isn't mistaken for a complete one), walk through Phase 7's "Already configured? Add discovery aliases manually" subsection before continuing to Phase 9 — every other Phase 4-8 step still stays skipped.

Second cliproxy-oauth-specific one-time check, added for the per-model reasoning-effort feature — same reasoning as the check above, same deliberate exception. An already-configured install predating this feature has no payload.override block, and the normal skip straight to Phase 9 would never surface the migration step needed to add it:

if [ -f ~/.config/deus/connectors/cliproxy/config.local.yaml ]; then
  grep -c 'reasoning\.effort' ~/.config/deus/connectors/cliproxy/config.local.yaml
else
  echo 0
fi

If the count is below 3, walk through Phase 7's "Already configured? Add reasoning-effort overrides manually" subsection before continuing to Phase 9 (in addition to the discovery-alias check above, if that one also applies) — every other Phase 4-8 step still stays skipped.

Also for any already-configured cliproxy-oauth install (regardless of the check above): if it predates the credential-fallthrough fix, it may have gone through the old (now-deleted) Phase 8 flow, which left a plaintext copy of the connector's inbound key sitting in ~/.claude.json's customApiKeyResponses.approved array — orphaned and functionally dead once this connector authenticates via ANTHROPIC_AUTH_TOKEN, but still real credential material at rest. Cleanup for this is tracked as a separate follow-up (not yet built) — flag it to the user rather than hand-editing their ~/.claude.json yourself.

Phase 2: Which connector

AskUserQuestion: Which connector do you wan

Полный SKILL.md на GitHub

Установить add-connector в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл add-connector?

Onboard a `deus connect` connector — a way to route Claude Code sessions to non-Claude models (e.g. GPT via CLIProxyAPI) alongside normal Claude access. Generic orchestrator over whichever connector is selected.

Как установить скилл add-connector?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл add-connector запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить add-connector с