Summary
Pachca — полнотекстовый поиск по сотрудникам, чатам и сообщениям. Используй этот скилл, когда пользователь хочет найти что-то — найти сотрудника по имени,…
pachca/openapi
Pachca — полнотекстовый поиск по сотрудникам, чатам и сообщениям. Используй этот скилл, когда пользователь ? сообщение по тексту, найти чат по названию или узнать где обсуждали тему. Также когда пользователь спрашивает «найди сотрудника», «где обсуждали X», «найди сообщения про Y» или любой запрос с поиском/на? все? сотрудников, все? чатов или отправки сообщений. Use when: поиск, найти сообщение, найти чат, найти сотрудника, искать, где обсуждали, кто писал, полнотекстовый поиск. NOT for: списо…
npx skills add pachca/openapi --skill pachca-search
Pachca — полнотекстовый поиск по сотрудникам, чатам и сообщениям. Используй этот скилл, когда пользователь хочет найти что-то — найти сотрудника по имени,…
Other skills from pachca/openapi · top by installs.
npx skills add pachca/openapi
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Bash(npx:*), Bash(pachca:*), Bash(which:*), Bash(npm:*)Files included with this skill beyond the listing page.
SKILL.md
4,069 B
SUMMARY.md
1,189 B
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
npx -y @pachca/cli auth status
If OK — run commands without --token.
--token:npx -y @pachca/cli auth status --token $PACHCA_TOKEN
pachca <command> --help.``bash pachca search list-messages --query="текст" ` > limit (до 200), cursor. Фильтры: chatids[], userids[], active, createdfrom/createdto`
Поиск по всем доступным чатам.
rootchatidв ответе — корневой чат для тредов.
``bash pachca search list-chats --query="название" ` > limit (до 100), cursor. Фильтры: active, chatsubtype, personal, createdfrom/created_to`
``bash pachca search list-users --query="имя" ` > sort=alphabetical для алфавитного порядка, sort=byscore (по умолчанию). Фильтры: companyroles[], createdfrom/createdto`
Поиск по имени, email, должности и другим полям. Поддерживает сортировку по релевантности.
limit: max — 100 (GET /search/chats), 200 (GET /search/messages), 200 (GET /search/users)| 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/.