pachca/openapi

pachca-forms

Pachca — интерактивные формы и модальные окна для ботов. Создание форм, модальны? окон, опросов, анкет и заявок с полями ввода, выпадающими списками, чекбоксами, выбором даты/времени, загрузкой файлов. Используй, когда пользователь ? анкету, обработать отправку формы (view_submission) или валидацию полей. Также для trigger_id и dropdown/select. Требует токен бота. НЕ для инлайн-кнопок в сообщения? или настройки веб? собрать форму, модальное окно, модалка, отправка формы, обработать форму, валид…

First seen Feb 25, 2026

Installation

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

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 3,536 B
  • docs SUMMARY.md 1,363 B

History

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

SKILL.md

pachca-forms

Quick start

Ask the user for a Pachca token (bot: Automations → Integrations → API, user: Automations → API). Bot token only — user tokens will not work.

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.

Limitations

  • Rate limit: ~50 req/sec. On 429 — wait and retry.
  • 410: triggerid expired or not found. triggerid is valid for 3 seconds. Get a new one via button click (webhook)
  • type: allowed values — modal (Модальное окно)
  • private_metadata: max 3000 characters
  • callback_id: max 255 characters
  • view.title: max 24 characters
  • view.close_text: max 24 characters
  • view.submit_text: max 24 characters

Endpoints

Method Path Description
POST /views/open Открытие представления

Advanced workflows

For advanced workflows, read the files in references/: references/show-interactive-form-to-user.md — Show interactive form to user references/handle-form-submission-viewsubmission.md — Handle form submission (view_submission) references/employee-survey-via-form.md — Employee survey via form references/requestapplication-form.md — Request/application form

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