pachca/openapi

pachca-profile

Pachca — МОЙ профиль, МОЙ статус, кастомные поля. Всегда только про себя — без параметров, данные определяются по токену. Используй, когда пользователь ? получить свой профиль, узнать кто он, установить или убрать свой статус, посмотреть свой email/отдел, или узнать какие кастомные/дополнительные поля существуют (custom_properties). Также для запросов «кто я», «мой аккаунт», «мой email». НЕ для управления другими сотрудниками, НЕ для изменения статуса другого сотрудника, НЕ для информации о ток…

First seen Feb 25, 2026

Installation

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

Summary

Pachca — МОЙ профиль, МОЙ статус, кастомные поля. Всегда только про себя — без параметров, данные определяются по токену. Используй, когда пользователь хочет…

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

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 5,641 B
  • docs SUMMARY.md 1,410 B

History

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

SKILL.md

pachca-profile

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 profile get ``

Возвращает id, firstname, lastname, nickname, email, phonenumber, department, title, role, suspended, invitestatus, listtags, customproperties, userstatus, bot, sso, createdat, lastactivityat, timezone, imageurl.

Проверить свой токен

  1. Получи информацию о токене: скоупы, дату создания, срок жизни:

``bash pachca oauth token-info ``

Полезно для диагностики: какие скоупы доступны токену, когда он истекает.

Установить статус

  1. Установи статус:

``bash pachca profile update-status --emoji="🏖️" --title="В отпуске" --is-away --away-message="Я в отпуске до 10 марта" --expires-at="2025-03-10T23:59:59.000Z" ` > isaway: true — режим «Нет на месте». expiresat — автосброс (ISO-8601, UTC+0). away_message` — макс 1024 символа

Сбросить статус

  1. Удали статус:

``bash pachca profile delete-status --force ``

Получить кастомные поля профиля

  1. Получи список дополнительных полей для сотрудников:

``bash pachca custom-properties list --entity-type=User ` > Добавь entity_type=User` для фильтрации

  1. Получи профиль — в custom_properties содержатся значения полей:

``bash pachca profile get ``

Кастомные поля настраиваются администратором пространства.

Загрузить аватар профиля

  1. Загрузи аватар из файла:

``bash pachca profile update-avatar --file=<путькфайлу> `` > Файл изображения передается в формате multipart/form-data

Удалить аватар профиля

  1. Удали аватар:

``bash pachca profile delete-avatar --force ``

Limitations

  • Rate limit: ~50 req/sec. On 429 — wait and retry.
  • status.title: max 50 characters
  • status.away_message: max 1024 characters
  • Pagination: cursor-based (limit + cursor)

Endpoints

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/.