Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/pachca/openapi/pachca-searchnpx skills add pachca/openapi --skill pachca-searchgit clone --depth 1 https://github.com/pachca/openapiWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00170 | $0.00926 |
| Opus 5 | $0.00085 | $0.00463 |
| Sonnet 5 | $0.00034 | $0.00185 |
| Haiku 4.5 | $0.00017 | $0.00093 |
Grade A, and why
pachca-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
-
If the user has a saved profile — check:
npx -y @pachca/cli auth statusIf 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.
Workflows
Найти сообщение по тексту
- Полнотекстовый поиск по сообщениям:
pachca search list-messages --query="текст"limit(до 200),cursor. Фильтры:chat_ids[],user_ids[],active,created_from/created_to
Поиск по всем доступным чатам.
root_chat_idв ответе — корневой чат для тредов.
Найти чат по названию
- Полнотекстовый поиск по чатам:
pachca search list-chats --query="название"limit(до 100),cursor. Фильтры:active,chat_subtype,personal,created_from/created_to
Найти сотрудника по имени
- Полнотекстовый поиск по сотрудникам:
pachca search list-users --query="имя"sort=alphabeticalдля алфавитного порядка,sort=by_score(по умолчанию). Фильтры:company_roles[],created_from/created_to
Поиск по имени, 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)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 97 lines · 170 tokens per session scan A 80358daa33cf
pachca-search is a skill published in the GitHub repository pachca/openapi (10 stars, last pushed 4d ago), licensed MIT. It adds 170 tokens to every session and 926 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
scheduler-skill-creator
建立並排程定時觸發的 skill。所有新增定時/週期任務、提醒、排程通知的請求必須走此 skill,禁止直接呼叫 schedules(mode=write)(那是 skill 已存在時的時間綁定工具,不該作為新建排程的入口)。 必定觸發的訊息特徵(任一即活化): 相對延遲:「X 分鐘後」「X 小時後」「稍後」「待會」「等一下」 明確時間:「X 點」「下午 X 點」「明天 X 點」「後天」「YYYY-MM-DD HH:MM」 週期性:「每 X 分鐘」「每小時」「每天」「每週」「每月」「定時」「固定」 提醒 / 通知意圖:「提醒我」「通知我」「告訴我」+ 時間描述 範例觸發訊息:「5 分鐘後提醒我喝水」「每天早上 9 點抓 HN…
ast-introspection
Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).
build-run
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
ci-orchestrator
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
config-loader-helper
Diagnose configuration-related failures, enumerate required env vars, and guide safe local test setup (no secrets).
db-infra-mocks
Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.