pachca-search

A search tool for Pachca, a corporate messaging app, covering employees, chats, and messages.

In plain words
What is it for?
Use it to find an employee by name, search message text, find a chat by title, or discover where a topic was discussed.
Why use it?
It helps locate people, conversations, and past discussions without manually searching through the messenger.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/pachca/openapi/pachca-search
Any agent
npx skills add pachca/openapi --skill pachca-search
Clone the repo
git clone --depth 1 https://github.com/pachca/openapi

Made for: Claude Code, Codex.

Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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

ModelPer sessionOnce 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

Measured 2d ago against content hash 80358daa33cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

apps/docs/public/.well-known/skills/pachca-search/SKILL.md · 97 lines

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.

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.

  2. If no profile is configured — ask for a token and use --token:

    npx -y @pachca/cli auth status --token $PACHCA_TOKEN
    
  3. If you don't know the parameters — run pachca <command> --help.

Workflows

Найти сообщение по тексту

  1. Полнотекстовый поиск по сообщениям:
    pachca search list-messages --query="текст"
    

    limit (до 200), cursor. Фильтры: chat_ids[], user_ids[], active, created_from/created_to

Поиск по всем доступным чатам. root_chat_id в ответе — корневой чат для тредов.

Найти чат по названию

  1. Полнотекстовый поиск по чатам:
    pachca search list-chats --query="название"
    

    limit (до 100), cursor. Фильтры: active, chat_subtype, personal, created_from/created_to

Найти сотрудника по имени

  1. Полнотекстовый поиск по сотрудникам:
    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)

Read the full file on GitHub · 97 lines

Changes

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.

  1. 2d ago First seen · 97 lines · 170 tokens per session scan A 80358daa33cf

Subscribe to this mod's changes

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.

Related

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…

agenvoy/Agenvoy · 495 tokens

ast-introspection

Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).

pilinux/gorest · 28 tokens

build-run

Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.

pilinux/gorest · 22 tokens

ci-orchestrator

Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.

pilinux/gorest · 32 tokens

config-loader-helper

Diagnose configuration-related failures, enumerate required env vars, and guide safe local test setup (no secrets).

pilinux/gorest · 25 tokens

db-infra-mocks

Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.

pilinux/gorest · 27 tokens