/pachca:pachca-searchfrom Pachca
Searches, summarizes, and sets reminders in Pachca workspace: finds messages, chats, employees, retells threads, builds digests, extracts action items, and manages reminders.
Ships in Pachca. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pachca has search for messages, chats and employees, plus plain feeds for chats, threads and reminders. Each one covers a different slice of the workspace. Most wrong answers come from using the wrong one, reading only the first page, or taking the wrong id of a thread.
due_at. Pachca
notifies its assignees at that time.Not here: posting the result or replying, pinning, reacting to or editing a message (finding it on the way included), and messages sent later at a set time (pachca-messaging), watching a thread and replying as new messages come (pachca-watch-thread), changing tags, employees or chat members (pachca-admin), a bot that lives in threads (pachca-ai-agent), token, scopes and 429 handling in code (pachca-api).
Every search and feed answers as the token owner. An employee's token sees
that employee's chats. A bot token works the same way: it finds and lists
public conversations and channels (pachca_search_chats,
pachca_list_chats with availability=public) and reads their feeds
without joining, while message search and pachca_list_threads cover only
the chats and threads the bot was added to. A multi-guest sees only the
chats they were added to: no public chat they have not joined, not even
its feed.
| Need | Tool (CLI) | Covers | Does not cover |
|---|---|---|---|
| Where something was said | pachca_search_messages (pachca search list-messages) | Message text and attachment names in conversations, channels and direct chats you are in, plus the threads of those conversations and channels | Public conversations and channels you have not joined, even though their feed is readable. Standalone threads, threads under a direct chat and threads whose parent chat you are not in, unless their chat_id is in chat_ids |
| A chat by name | pachca_search_chats (pachca search list-chats) | Conversation and channel names, typos forgiven; public chats you have not joined; private ones only if you are a member | Content. Direct chats unless personal=true, which searches by the other party's name |
| An employee | pachca_search_users (pachca search list-users) | First and last name (typos forgiven), nickname, title, department (exact word) | Phone: use pachca_list_users with query. Email only for callers who see personal data. Deleted employees never; suspended only with a text query; only public bots |
| A whole chat or thread | pachca_list_chat_messages (pachca messages list) | The full feed of one chat by chat_id, a thread chat included, newest first | A date filter; deleted messages |
| Threads that moved | pachca_list_threads (pachca threads list) | Threads you are in, or whose parent chat you are in, standalone ones included, by last message time | Threads of public chats you have not joined; titles or text (a thread has neither) |
| Reminders | pachca_list_tasks (pachca tasks list) | Every reminder of the active chats you are in, other employees' included, plus unbound reminders you created or are assigned to; with chat_ids, every reminder of those chats. "My reminders": performer_ids with your id | Text search and a due-date filter. The list is oldest first: read every page, match content and filter due_at yourself |
| Your «Важное» | pachca_list_important_messages (pachca important-messages list) | Messages you marked as important, newest mark first, from any chat, chats you left included. Only an employee's token | Other employees' marks. A bot token has no «Важное» |
Do not promise what does not exist:
pachca_mark_chat_unread only sets the mark. "What's new since I last
looked" becomes a time window: ask for it or take the obvious one (today,
since yesterday evening) and say which you took.chat_id instead (find the id
with pachca_search_chats or pachca_list_chats with
availability=public).chat_ids skips standalone threads, threads under
a direct chat, and threads you were added to without their parent chat
(the usual case for a bot called into a thread). Take their chat_id
from pachca_list_threads and pass it in chat_ids in a separate call
(chat_ids limits the search to those chats), or read the thread's feed.pachca_search_messages.
pachca_search_chats matches names only and will not find a topic.pachca_search_chats
(personal=true for the DM).pachca_search_users, the chat with pachca_search_chats, then
pachca_search_messages with user_ids, chat_ids, created_from,
created_to and no query. Without a query, search picks messages by
the filters alone.user_ids filters authors, not the people mentioned. A
mention typed in the Pachca app is stored in content as @ plus the
profile's first and last name (@Vera Sokolova). One sent through the
API is stored as @nickname, even if sent as <@user_id>. Search twice:
the full name in quotes, then the nickname (from pachca_get_my_card or
pachca_search_users). A tag mention (@Дизайн) carries neither: also
search each name in the person's list_tags, and "@all" / "@here"
if broadcast calls count. Search ignores the @, so keep only hits
whose content has @First Last, @nickname or the mention itself.pachca_list_members (pachca members list) with
the chat's id in id: a chat record's id, or the chat_id of a message
or a thread. A thread has its own list, separate from the parent chat's.These rules are for message search. Chat search and employee search by first and last name do forgive typos.
"…" or «…») is an exact phrase; part-of-word
matching does not apply inside it.sort=relevance ranks by match, still
favouring recent messages: use it for "the message where we agreed".504 with timeout means the query is too heavy: narrow it by
chat_ids or the period, do not just retry.url: cite it next to each claim you make.
Chat and employee hits have no url.A thread is an object and a separate chat at once. id is the thread,
chat_id is its chat (read and write there), message_id and
message_chat_id are the parent message and its chat (null for a
standalone thread). Read a thread with pachca_list_chat_messages by the
thread's chat_id, never by the parent chat. The parent message is not in
that feed. Starting points, ids and the full procedure:
references/threads.md.
+03:00 is honoured and a
time without an offset is UTC. Write every moment the employee named in
words with their offset; "yesterday" ends at the end of the day in their
zone.Z are UTC. Convert them to the
employee's zone before you name a day or an hour.created_at is older than the start, or use search with
created_from / created_to.all_day: true and due_at at
23:59:59 of that day in the employee's offset. Details in
references/tasks.md.--all. In code, a list and a search both end at has_next: false
(pachca-api). Never retell page one as the whole thread.pachca_list_chat_messages)
pass sort=id together with order=asc on every call, cursor pages
included (order alone is ignored there). In message search
(pachca_search_messages) pass order=asc and leave sort at its
default created_at: the cursor keeps the order, and relevance ranks
by match, not by time. Or read newest first and reverse. Later messages
override earlier ones.parent_message_id (what it answers),
forwarding.author_id (the real author of a forward), changed_at
(when the message last changed: unedited messages carry it too, and it
moves without a text edit, so do not call a message edited from it alone;
content is always the current text), voice_content.transcript (a
voice message; null until ready or when unavailable, so do not wait
for it), files[] (each attachment's id, name, file_type and
url; its contents are not in the message).user_id. Resolve names with pachca_get_user when the
response does not already name the author.Digests and decision extraction, step by step: references/digests.md.
Reminders («напоминания») are called tasks in the API and the tool names:
pachca_create_task, pachca_list_tasks, scopes tasks:*. The rules the
model gets wrong:
performer_ids defaults to the token owner. A reminder for someone else
needs their id, or it lands on you.content; without it the reminder text is just the
kind's name. kind defaults to reminder: set it only when the item is a
call, meeting, event or email.chat_id only to a chat you are in: a conversation or a
direct chat, your chat with yourself included. Not to a channel, a thread
or an archived chat: a reminder from a thread binds to its parent chat if you
are in it and it is not a channel, or to nothing. In an open
conversation every employee of the workspace can read the bound reminder.Fields, deadlines, all-day, errors, handing over, closing and listing: references/tasks.md.
A tag is a named group («Дизайн», «Дежурные»). To answer "who is in Design":
pachca_list_tags and names
(pachca group-tags list --names). names matches whole names,
ignoring case: «дизайн» finds «Дизайн», but «дизайнеры», «дизайна» or
"Design" do not. An empty answer does not mean the group is missing:
list all tags (follow the cursor), pick the closest name, and ask when
two fit.pachca_get_tag_users (pachca group-tags list-users).Which tags one employee has is already in list_tags on their card
(pachca_get_user, or their hit in pachca_search_users): no need to walk
through the tags. A chat's tags are in its group_tag_ids. Changing tags
is pachca-admin.
pachca_search_chats: it matches names, not
content.pachca_list_threads not showing a thread does not mean it is closed to
you: pachca_get_thread by id may still open it.performer_ids: the list also holds
colleagues' reminders from the chats you share with them.pachca_list_tasks with chat_ids silently drops ids you cannot access:
an empty answer is not proof of no reminders.pachca_list_company_chats (owner, Corporation plan) is not a search
tool: it lists every conversation and channel of the workspace, private
ones the owner is not in included, with no name or text filter, and each
call is logged as company_chats_accessed. Leave it to pachca-admin.search:messages, threads:read, tasks:read) does not hide a tool:
the call is refused with 403 insufficient_scope, so name that scope.
Tokens and scopes: pachca, pachca-api.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pachca/openapi --plugin pachca9 skills in this plugin
/pachcaВход в Пачку (Pachca) для агента: подключить агента или MCP-клиента (MCP через браузер или токеном, плагин, CLI), проверить подключение, выбрать токен, разобрать отказ 401/403 инструмента или CLI и отсутствие инструмента (роль, тариф, тип токена, участие в чате). Когда: «подключи Пачку», «настрой MCP Пачки», «войди в Пачку через CLI», «каким токеном подключить агента», «экран входа MCP», «агент получил 403 insufficient_scope», «нет инструмента Пачки (экспорт, журнал аудита)», «что умеет Пачка», "connect Pachca", "set up Pachca MCP", "Pachca CLI login", "which token for my agent or MCP client", "MCP sign-in screen", "MCP tool or CLI returned 401/403", "a Pachca tool is missing". Not for: writing messages → pachca-messaging; search and summaries → pachca-search; administration, who may create tokens → pachca-admin; building a bot → pachca-bots; an agent living in Pachca → pachca-ai-agent; OAuth for employees → pachca-oauth; a token for a script or service, 401/403 in your own code → pachca-api./pachca-adminАдминистрирование пространства Пачки: сотрудники (пригласить, сменить роль, приостановить, удалить), теги и участники чатов, доступ к API и «Все токены», журнал аудита, экспорт, DLP, безопасный контур и шифрование, и что требует владельца, администратора или «Корпорации». Load before a tool call that changes an employee: delete only after a yes to your question. Когда: «пригласи сотрудника», «уволь / удали сотрудника», «сделай администратором», «добавь в тег», «добавь / удали участника чата», «кто в закрытом канале, где я не состою», «доступ к API ограничен», «отзови доступ сотрудника к API», «журнал аудита», «выгрузи переписку», «правило DLP», "invite an employee", "offboard a user", "change role", "add or remove chat members", "let employees create tokens", "export messages". Not for: a missing tool or a general 401/403 → pachca; who is in a tag or chat → pachca-search; writing messages → pachca-messaging; a bot's own token → pachca-bots; an app acting for employees → pachca-oauth; scripts → pachca-api./pachca-ai-agentРешить, бот или MCP, и сделать AI-агента в Пачке в виде бота: его зовут упоминанием в чате или треде либо пишут ему в личный чат, он собирает контекст треда, показывает таймер agent-thinking, отвечает в треде и оформляет длинный ответ карточкой .md. Когда: «AI-агент в Пачке», «агент отвечает по упоминанию в треде», «агент не слышит упоминание», «бот-агент в личных сообщениях», «как агенту собрать контекст треда», «реакция agent-thinking», «длинный ответ агента карточкой .md», «бот или MCP», "AI agent bot in Pachca", "agent replies when mentioned", "agent does not hear a mention", "read thread context", "thinking indicator", "agent reply as an .md card", "bot vs MCP". Not for: working in Pachca from Claude or Cursor through MCP → pachca, pachca-messaging, pachca-search; drafts and scheduled messages (a bot cannot make them), sending a file or report from Claude, Cursor or the CLI → pachca-messaging; webhooks, tokens and settings of any bot → pachca-bots; acting on behalf of an employee → pachca-oauth./pachca-apiAPI Пачки из кода, скриптов и CI: токен и права для скрипта или сервиса, обход всех страниц, ошибки и повторы без дублей (401/403/422, 429, 5xx), файлы в коде, SDK и генератор, CLI в скриптах, массовые выгрузки, поиск метода. Когда: «напиши скрипт для API Пачки», «какой токен дать скрипту, сервису или CI», «мой код получает 401/403/422 от API», «упёрлись в 429», «поиск вернул 504 timeout, повторить?», «обойти все страницы», «скрипт, который выгружает всех сотрудников», «загрузка файла из кода», «SDK Пачки», «какой метод API», "call the Pachca API from code", "token for a script or CI job", "401/403/422 in my code", "cursor pagination", "429 Retry-After", "upload a file from my code", "Pachca SDK", "pachca CLI in CI", "which endpoint". Not for: connecting an agent or MCP client, a 401/403 from an MCP tool → pachca; writing messages, a file to a chat now → pachca-messaging; bots, webhooks, events → pachca-bots; OAuth for employees → pachca-oauth; token policy, all-tokens tab, message export → pachca-admin./pachca-botsБот или интеграция в Пачке: что выбрать (входящий вебхук, бот с событиями, приложение с авторизацией), создание и настройки бота, токены и права, доступ к чатам, приём событий (подпись, повторы, защита от дублей, история событий), кнопки, формы, разворачивание ссылок, витрина. Когда: «сделать бота», «уведомления из CRM или CI в чат», «входящий вебхук», «исходящий вебхук», «бот команд или уведомлений не получает сообщения», «проверить подпись вебхука», «кнопки в сообщении бота», «форма, модальное окно», «превью ссылок, unfurl», «права токена бота», «токен бота утёк», «опубликовать бота в витрине», "build a Pachca bot", "incoming webhook", "outgoing webhook", "bot gets no events", "verify webhook signature", "message buttons", "modal form", "link unfurling", "reissue a leaked bot token". Not for: an AI agent that answers in threads or does not hear a mention → pachca-ai-agent; an app acting for an employee → pachca-oauth; scripts, pagination, 429 → pachca-api; writing messages yourself → pachca-messaging./pachca-messagingПисать в Пачку: разметка, упоминания, куда писать (тред, ответ с цитатой, личный чат), черновик, который отправит сотрудник, пост об изменениях, отложенные и регулярные сообщения в чат, файлы, пересылка, реакции, закрепление, «Важное», правка, удаление, поиск нужного сообщения, когда сначала спросить, лимиты. Когда: «напиши в чат», «отправь сообщение», «ответь в треде», «напиши в личку», «упомяни», «подготовь черновик, я отправлю сам», «напиши пост об изменениях», «запланируй сообщение», «напоминай в канал каждый понедельник», «отправь отчёт файлом .md», «перешли сообщение», «поставь реакцию», «закрепи сообщение», «отметь как важное», «исправь сообщение», "send a message", "reply in the thread", "DM someone", "draft for me to send", "schedule a message", "pin". Not for: search or summaries as the goal, a reminder for an employee → pachca-search; watch a thread, wait for replies → pachca-watch-thread; buttons, forms, clicks → pachca-bots; an AI agent as a bot → pachca-ai-agent; uploads from code → pachca-api.Other plugins' skills for the same job