Получение и обновление профиля текущего пользователя, управление статусом, кастомные поля сотрудников. Используй когда нужно: получить свой профиль, обновить статус, узнать дополнительные поля. НЕ используй для: управления другими сотрудниками (→ pachca-users).
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
If the user has a saved profile — check:
npx -y @pachca/cli auth status
If OK — run commands without --token.
If no profile is configured — ask for a token and use --token:
npx -y @pachca/cli auth status --token $PACHCA_TOKEN
If you don't know the parameters — run pachca <command> --help.
pachca profile get
Возвращает
id,first_name,last_name,nickname,phone_number,department,title,role,suspended,invite_status,list_tags,custom_properties,user_status,bot,sso,created_at,last_activity_at,time_zone,image_url.
pachca oauth token-info
Полезно для диагностики: какие скоупы доступны токену, когда он истекает.
pachca profile update-status --emoji="🏖️" --title="В отпуске" --is-away --away-message="Я в отпуске до 10 марта" --expires-at="2025-03-10T23:59:59.000Z"
is_away: true— режим «Нет на месте».expires_at— автосброс (ISO-8601, UTC+0).away_message— макс 1024 символа
pachca profile delete-status --force
Получи список дополнительных полей для сотрудников:
pachca custom-properties list --entity-type=User
Добавь
entity_type=Userдля фильтрации
Получи профиль — в custom_properties содержатся значения полей:
pachca profile get
Кастомные поля настраиваются администратором пространства.
pachca profile update-avatar --file=<путь_к_файлу>
Файл изображения передается в формате multipart/form-data
pachca profile delete-avatar --force
status.title: max 50 charactersstatus.away_message: max 1024 characters| Method | Path | Description | |--------|------|-------------| | GET | /custom_properties | Список дополнительных полей | | GET | /profile | Свой профиль | | PUT | /profile/avatar | Загрузка своего аватара | | DELETE | /profile/avatar | Удаление своего аватара | | GET | /profile/status | Свой статус | | PUT | /profile/status | Новый свой статус | | DELETE | /profile/status | Удаление своего статуса |
If unsure how to complete a task, read the corresponding file from references/.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer