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

connect — скилл для Claude Code: wiki и установка

Скилл выбирает локальную или командную wiki для сессии и связывает репозиторий с проектом команды. Нужен перед работой с wiki.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add nimbalyst/nimbalyst --skill connect -a claude-code
Открыть на GitHub

Что делает connect

Скилл connect задаёт, с какой wiki работать в текущей сессии: с командными страницами на сервере Nimbalyst или с локальными Markdown-файлами репозитория. Он нужен в начале задачи, перед вызовом wiki-инструментов, а также после ошибок вроде repo_not_bound, ambiguous_project, pin_mismatch или No local wiki.

Для локальной wiki скилл может создать папку через initLocalWiki: по умолчанию это nimbalyst-local/wiki, либо путь вроде docs/wiki. Командная wiki использует сервер nimbalyst-team; для неё нужны вход в Nimbalyst и связанный с проектом репозиторий. Без этих условий командные страницы не заработают.

Скилл также учитывает настройки в .nimbalyst/wiki.json и .nimbalyst/local-wiki.json, определяет удалённый репозиторий и не даёт писать одни и те же страницы через два сервера. Запись содержимого выполняет скилл update, а настройка типов и guide page относится к setup.

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

  • выбрать локальную или командную wiki для сессии
  • связать репозиторий с проектом команды
  • создать локальную wiki в checkout
  • разобраться с ошибкой No local wiki
  • избежать двойной записи страниц через два сервера

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

  • Подключи этот репозиторий к командной wiki и выбери проект для текущей сессии.
  • Создай локальную wiki в docs/wiki и продолжи задачу с ней.
  • После ошибки repo_not_bound проверь привязку репозитория к проекту.

Как установить connect

1Через Skills CLI (Vercel)

npx skills add nimbalyst/nimbalyst --skill connect -a claude-code

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

~/.claude/skills/connect/SKILL.md

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

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

Вопросы о connect

Как установить connect в Claude Code?

Выполните npx skills add nimbalyst/nimbalyst --skill connect -a claude-code, затем проверьте файл ~/.claude/skills/connect/SKILL.md.

Что делает скилл connect?

Он выбирает локальную или командную wiki для сессии, а для командной wiki связывает репозиторий с проектом Nimbalyst.

Чем локальная wiki отличается от командной?

Локальная wiki хранится в папке Markdown-файлов репозитория и не требует аккаунта. Командная wiki находится на сервере Nimbalyst, требует входа и связанного репозитория.

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

SKILL.md · MIT
---
name: connect
description: Choose which wiki this session uses, the team project's pages on the Nimbalyst server or the project's local wiki of files, and connect a repository to its team project. Use at the start of a task before any wiki tool, when a wiki tool returns repo_not_bound, ambiguous_project, pin_mismatch, project_not_accessible, admin_required or "No local wiki", or when the user asks to connect a repository or start a wiki. How to write pages is in the update skill.
---

# Connect to the wiki

This skill only decides which wiki the session uses and, for a team wiki, connects the repository to its project. What to write, and how, is in the `update` skill; types and the guide page are in `setup`.

## Nimbalyst desktop comes first

If the desktop app's wiki tools are available (`mcp__nimbalyst-trackers__*`, or `listPages` from a server whose name contains neither `nimbalyst-team` nor `nimbalyst-local`), you are running inside Nimbalyst, which already reaches the same pages, team and local. Use those tools and do not call this plugin's tools in this session: two write paths into the same pages produce duplicates.

## Two wikis, two servers

This plugin has two wiki servers with the same tool names (`listPages`, `readCollabDoc`, `applyCollabDocEdit`, `createSharedDoc` and the rest):

- **`nimbalyst-team`**: the team project's pages on the Nimbalyst server. It comes in the `nimbalyst-wiki-team` add-on plugin, which the `team` skill installs. Needs a Nimbalyst sign-in and a repository connected to a team project. Every call takes `repo` and, when pinned, `project`.
- **`nimbalyst-local`**: the project's local wiki, a folder of markdown files in the repository (default `nimbalyst-local/wiki`, kept out of git; or a checked-in folder such as `docs/wiki`). No account, no `repo` or `project` arguments. `initLocalWiki` creates it. The Nimbalyst app, `nim` and any editor read the same files.

Decide once per session which one you use, then call only that server's tools for wiki work. Never write the same thing to both. Team data never goes through `nimbalyst-local`: it refuses team uris, console links and team issue keys and names the tool to use on `nimbalyst-team`.

1. If the user names one ("our team wiki", "a local wiki", "the wiki in docs/"), use it.
2. If `.nimbalyst/local-wiki.json` at the repository root has `migratedTo` (`{ orgId, projectId, at }`), the local wiki was moved to that team project. Use the team wiki, and tell the user in one line: "This project's wiki moved to the team project; using it." Pass `project: { orgId, projectId }` from `migratedTo` when there is no `.nimbalyst/wiki.json` pin. Do not write to the local wiki: its files are kept only as the copy it was moved from. If `pages_status` says the user cannot reach that project, say so and ask whether to use the local copy for this session.
3. If `nimbalyst-local`'s `listPages` returns pages, a local wiki exists. If the repository is also bound to a team project (below), ask the user which this session should use; otherwise use the local one.
4. If this session has no `nimbalyst-team` tools (no `pages_status`), the team add-on is not installed or not signed in, which is the normal state for someone who only uses a local wiki. Do not ask the user to sign in or mention the team server, except in these cases, where you load the `team` skill and follow its step 3 to install the add-on and sign in:
   - the user asks for team pages;
   - `.nimbalyst/wiki.json` pins a team project, or `.nimbalyst/local-wiki.json` has `migratedTo`: this project's wiki is on a team. Tell the user in one line: "This project's wiki is on Nimbalyst Teams, and the team server is now a separate add-on, nimbalyst-wiki-team." Then offer the install. On "Not now", make no wiki writes this session if `migratedTo` is set (the local files are only the copy it was moved from); otherwise continue with step 3 and the local wiki.

   Otherwise go to "Starting a local wiki".
5. Otherwise follow "Start of a task" below. When it ends without a bound team project (no `origin`, `unbound` and the user declined or cannot connect, sign-in declined, `teams` empty), go to "Starting a local wiki".

## Moving to Nimbalyst Teams

When the user asks to put the wiki on Nimbalyst Teams, share it with their team, move the local wiki to a team, or create a team, load the `team` skill (`/nimbalyst-wiki:team`) and follow it. It covers sign-in, creating or choosing the team project, moving the local wiki, opening it in the browser and inviting teammates. Do not do those steps from this skill.

## Starting a local wiki

Ask once per session, with the host's question tool, and only when the user is doing work a wiki would help with (or asked for one). Offer:

- **Local wiki in this checkout**: `initLocalWiki` with no arguments. Pages live in `nimbalyst-local/wiki`, which is kept out of git: private to this checkout and its worktrees.
- **Checked-in wiki**: `initLocalWiki` with `location` (suggest `docs/wiki`; let the user change it). Teammates get the pages through git.
- **Not now**: do not ask again this session.

`initLocalWiki` returns the folder and a Home page uri. Then continue with the task, or with `setup` if the user wants the wiki set up. On a local wiki, the name and email for decision marks come from `git config user.name` and `git config user.email`.

## Who can use the pages

The pages belong to a Nimbalyst team project. The user signs in to Nimbalyst when the plugin connects, and the server lets them read and write the pages of every team project they can reach in Nimbalyst Teams. Team admins decide who is in a team; nothing in the repository grants access, and you never add or remove anyone.

## The `repo` and `project` arguments

Every tool of this plugin's `nimbalyst-team` server takes `repo`, and `project` when there is a pin. Work them out once per session:

1. `repo` is the output of `git remote get-url origin`, unchanged. With no `origin` remote, leave `repo` out.
2. If `.nimbalyst/wiki.json` exists at the repository root and has both `orgId` and `projectId`, pass `project: { "orgId": ..., "projectId": ... }` on every call. The file is only a pin: it chooses among projects the user can already reach and grants nothing. Its presence never starts anything on its own (no status prompt, no binding, no project creation). Ignore any other keys in it.
3. With no `origin` remote and no pin, this checkout has no team pages. Do not call `nimbalyst-team` tools unless the user asks about them; see "Starting a local wiki".

## Start of a task (team wiki)

Call `pages_status` with `repo` (and `project` when pinned). Every result names the signed-in `user` (name and email); that is who a decision mark names when the person at this terminal decided something. It returns one of three states:

- **`bound`**: `project` names the team project (`orgName`, `projectName`, `role`, `url`), with `homeLink` and, when the project has one, `guideLink`. Before the first write, read the guide page, as the `update` skill says. When the task touches an area the pages may cover, find the relevant pages with `listPages` and read the useful ones with `readCollabDoc`. Keep reading proportionate: a few pages, not the whole tree.
- **`ambiguous`**: the remote is bound to several projects the user can reach, listed in `projects`. Ask the user which one this repository uses with the host's question tool (in Claude Code, `AskUserQuestion`): one option per project in that list, labelled "<projectName> (<orgName>)", plus "Not now". Only a project from that list may be pinned; never pin a project the user names that is not in it, even one they can reach, because the repository is not connected to it. On a choice, write `.nimbalyst/wiki.json` at the repository root as `{ "orgId": ..., "projectId": ... }`, keeping any other keys already in the file, pass it as `project` from then on, and tell the user to commit the file so teammates resolve the same project. Do not commit it yourself. On "Not now", do not call the plugin's tools again this session.
- **`unbound`**: no team project the user can reach is bound to this remote. `teams` lists the user's teams with their `role` and the `projects` in each that the user can reach. See the next section. Ask at most once per session.

A role of `admin` or `owner` both mean team admin in everything below.

## Connecting a repository

Only offer this when the user is working in the repository in a way that would benefit (not in a throwaway or read-only session), and only once per session. Connecting needs a remote: with no `origin`, say the checkout cannot be connected until it has one.

- **The user is an admin of at least one team**: ask with the host's question tool. Offer, for each team they administer:
  - **Connect to <projectName> (<orgName>)**: one option per entry in that team's `projects`. On a choice, call `pages_bind_repo` with `repo`, `orgId`, and that `projectId`. Never ask the user to type a project id.
  - **Create a new project in <orgName>**: call `pages_create_project` with `orgId`, a `name` (suggest the repository name; let the user change it), and `repo`. The new project has a Home page; offer the `setup` skill to install the guide page.
  - **Not now**: do not ask again this session.

  If the options do not fit in one question, ask first which team, then which project. Tell the user that everyone who can reach that project in Nimbalyst will see its pages, and print its `url`.
  - **Use a local wiki instead**: see "Starting a local wiki".
- **The user is not an admin of any team**: tell them once: "This repository is not connected to a team project. Ask a team admin to connect this repo in Nimbalyst." Offer a local wiki as in "Starting a local wiki".
- **`teams` is empty**: tell them once that team pages live in a Nimbalyst team project, and that the `team` skill (`/nimbalyst-wiki:team`) can create a team for them, or they can create one in the Nimbalyst console. Offer a local wiki as in "Starting a local wiki".

## Before the first write

Tell the user in one line where the writes go, by name: "Writing to <projectName> in <orgName>." or, for a local wiki, "Writing to the local wiki in <folder>." Do this for a team project whenever the project came from `.nimbalyst/wiki.json`, or `pages_status` has shown more than one team or project this session, so a wrong pin or the wrong team is caught before anything is written.

## Errors

If a tool returns an error, do not retry the same call. Tell the user in plain words, then carry on with the task without writing:

- `repo_not_bound`: this repository is not connected to a team project. Call `pages_status` and follow "Connecting a repository".
- `ambiguous_project`: several team projects match. Call `pages_status` and ask which one, as for `ambiguous`.
- `pin_mismatch`: the pin in `.nimbalyst/wiki.json` names a project this repository is not connected to. Tell the user, and suggest they run `nim wiki status` or re-pin from the projects `pages_status` lists. Do not edit the file on your own.
- `project_not_accessible`: the user cannot reach that project in Nimbalyst, or the repository is connected to a project they cannot reach. Pass on the error's message, and tell them to ask a team admin for access. Do not edit `.nimbalyst/wiki.json` on your own.
- `admin_required`: only a team admin can do that. Tell the user to ask a team admin.
- "No local wiki at ..." (from `nimbalyst-local`): there is no local wiki yet. Offer one as in "Starting a local wiki"; do not create it without asking unless the user asked for a wiki.
- an error naming a replacement tool (an old `wiki_*` name): use the tool it names.
- any other code: report the code and its message as given.

© nimbalyst · MIT · nimbalyst/nimbalyst

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

Все скиллы по теме «Тексты и документация» →
grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. 1 219 756установок skill-creator официальный anthropics Помогает создать новый скилл, доработать существующий и проверить результат через тестовые промпты и оценки. 414 180установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок handoff Matt Pocock Собирает текущий диалог в документ передачи, чтобы другой агент продолжил работу с нужным контекстом. Нужен при смене сессии или исполнителя. 1 038 491установок triage Matt Pocock Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. 990 453установок domain-modeling Matt Pocock Скилл помогает уточнять термины проекта, вести GLOSSARY.md и фиксировать архитектурные решения в ADR. Нужен, когда модель предметной области меняется. 876 391установок

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

feedback-intake Скилл помогает оформить баг-репорт или запрос функции для Nimbalyst: собирает разрешённые данные, обезличивает их и открывает черновик GitHub Issue. CX Codex +1 ★ 1 979звёзд репо extension-development Скилл для разработки расширений Nimbalyst: собирает, ставит и перезагружает их прямо из запущенного приложения через MCP-инструменты. CX Codex +1 ★ 1 979звёзд репо git-commit Скилл формирует предложение коммита в интерактивном виджете Nimbalyst. Он срабатывает по запросу «smart commit» или при нажатии «Commit with AI». CX Codex +1 ★ 1 979звёзд репо datamodellm Помогает агенту проектировать схему базы данных в формате Prisma и открывать её в визуальном редакторе DataModelLM. Пригодится, когда нужна ERD или модель данных до написания кода. CX Codex +1 ★ 1 979звёзд репо update Скилл пишет и поддерживает страницы вики проекта: решения, открытые вопросы, ссылки и цитаты. Пригодится, когда нужно зафиксировать договорённости команды в общем дереве страниц. CX Codex +1 ★ 1 979звёзд репо start Скилл знакомит с Nimbalyst Wiki и подсказывает, с чего начать: создать локальную вики, сохранять решения или искать их в страницах проекта. CX Codex +1 ★ 1 979звёзд репо setup Создаёт вики проекта: заполненную главную страницу, стартовые разделы и гайд по оформлению. Пригодится, когда команде нужна читаемая документация, а не пустой каркас. CX Codex +1 ★ 1 979звёзд репо capture Записывает принятые за сессию решения в страницы проектной вики. Пригодится, когда нужно сохранить ход обсуждения, а не только код. CX Codex +1 ★ 1 979звёзд репо

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

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