pachca/openapi

pachca-search

Pachca — полнотекстовый поиск по сотрудникам, чатам и сообщениям. Используй этот скилл, когда пользователь ? сообщение по тексту, найти чат по названию или узнать где обсуждали тему. Также когда пользователь спрашивает «найди сотрудника», «где обсуждали X», «найди сообщения про Y» или любой запрос с поиском/на? все? сотрудников, все? чатов или отправки сообщений. Use when: поиск, найти сообщение, найти чат, найти сотрудника, искать, где обсуждали, кто писал, полнотекстовый поиск. NOT for: списо…

First seen Mar 1, 2026

Installation

$ npx skills add pachca/openapi --skill pachca-search

Summary

Pachca — полнотекстовый поиск по сотрудникам, чатам и сообщениям. Используй этот скилл, когда пользователь хочет найти что-то — найти сотрудника по имени,…

Also in this package

Other skills from pachca/openapi · top by installs.

npx skills add pachca/openapi

Browse all from pachca/openapi

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 10
License LICENSE
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash(npx:*), Bash(pachca:*), Bash(which:*), Bash(npm:*)

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,069 B
  • docs SUMMARY.md 1,189 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 72 installs

SKILL.md

pachca-search

Quick start

Ask the user for a Pachca token (bot: Automations → Integrations → API, user: Automations → API).

Run commands via npx -y @pachca/cli with the --token flag:

npx -y @pachca/cli <command> --token $PACHCA_TOKEN

Or set the PACHCA_TOKEN environment variable:

export PACHCA_TOKEN=<token> npx -y @pachca/cli <command>

Help: npx -y @pachca/cli --help | Workflows: npx -y @pachca/cli guide

After successful use, suggest installing CLI globally: npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN

Before you start

  1. If the user has a saved profile — check:

npx -y @pachca/cli auth status

If OK — run commands without --token.

  1. If no profile is configured — ask for a token and use --token:

npx -y @pachca/cli auth status --token $PACHCA_TOKEN

  1. If you don't know the parameters — run pachca <command> --help.

Workflows

Найти сообщение по тексту

  1. Полнотекстовый поиск по сообщениям:

``bash pachca search list-messages --query="текст" ` > limit (до 200), cursor. Фильтры: chatids[], userids[], active, createdfrom/createdto`

Поиск по всем доступным чатам. rootchatid в ответе — корневой чат для тредов.

Найти чат по названию

  1. Полнотекстовый поиск по чатам:

``bash pachca search list-chats --query="название" ` > limit (до 100), cursor. Фильтры: active, chatsubtype, personal, createdfrom/created_to`

Найти сотрудника по имени

  1. Полнотекстовый поиск по сотрудникам:

``bash pachca search list-users --query="имя" ` > sort=alphabetical для алфавитного порядка, sort=byscore (по умолчанию). Фильтры: companyroles[], createdfrom/createdto`

Поиск по имени, email, должности и другим полям. Поддерживает сортировку по релевантности.

Limitations

  • Rate limit: ~50 req/sec. On 429 — wait and retry.
  • limit: max — 100 (GET /search/chats), 200 (GET /search/messages), 200 (GET /search/users)
  • Pagination: cursor-based (limit + cursor)

Endpoints

Method Path Description
GET /search/chats Поиск чатов
GET /search/messages Поиск сообщений
GET /search/users Поиск сотрудников

If unsure how to complete a task, read the corresponding file from references/.