Sales & CRM·v0.9.28

Integrate HookMyApp Agent Skill

Use when the user wants to integrate WhatsApp Cloud API / Meta webhooks into their app via HookMyApp, send WhatsApp or Instagram messages…

Context cost
56.3k tokensestimated from the bundle, loaded when it triggers
Bundle
44 files · 252.2 kB15 scripts among them — read before you run
Licence
Apache-2.0the author’s own terms
Last change
—v0.9.28
Servers it uses
Noneruns standalone

What it does

Use when the user wants to integrate WhatsApp Cloud API / Meta webhooks into their app via HookMyApp, send WhatsApp, Instagram or Facebook Messenger messages, publish Instagram posts, reels, or stories, publish Facebook Page posts and reels, read Instagram or Facebook Page insights, manage WhatsApp templates/media or the business profile, moderate Instagram or Facebook comments or receive comment webhooks, set up a sandbox session, connect WhatsApp via Meta Embedded Signup, Instagram via Instagram OAuth or a Facebook Page (with its linked Instagram account) from the dashboard, connect the…

What this skill changes about the agent has not been set out here as a list. Its SKILL.md, shown below, says it in the author’s own words.

social media
Filed under

Sales & CRM

The skill itself

A skill is instructions the model reads, so you can see what you are getting: below is the start of its SKILL.md. The front matter loads with every session, the body loads when the skill triggers, and the whole file comes with the install.

SKILL.md52.5 kB · preview
--- name: integrate-hookmyapp license: Apache-2.0 compatibility: Requires Node.js 20+, npm, and network access. CLI steps need a terminal; the MCP and REST API paths work without one. metadata: author: hookmyapp version: "0.9.28" cli-package: "@gethookmyapp/cli" ---
12# Integrate HookMyApp
13
14HookMyApp connects the user's own WhatsApp number, Instagram account and Facebook Page to their code: inbound events are forwarded to their code, and their replies go out over Meta's official API. Outbound sends route through the HookMyApp gateway (https://gateway.hookmyapp.com/meta/...): the user's app carries a minted hmat_ gateway access token, the gateway swaps it for the underlying Meta token server-side, and the path after /meta is verbatim Meta Graph API. This skill teaches AI coding agents how to drive the @gethookmyapp/cli to integrate a user's app with either a sandbox account (for dev and testing) or their own channel. WhatsApp uses Meta Embedded Signup; Instagram uses direct Instagram OAuth; a Facebook Page connects from the dashboard's Page picker and brings its linked Instagram account along. The CLI owns credential issuance, tunnel lifecycle, and webhook configuration. For a single own-channel integration your code never needs to call the HookMyApp API directly; SaaS builders whose backend must manage customers at runtime use the [REST API](references/api.md).
15
16> **Direct Meta access still works.** Integrations that already call https://graph.facebook.com with their own Meta token are unaffected. The gateway with a minted hmat_ access token is the recommended path for new setups: the access token is scoped to one channel and revocable.
17
18## Agent Guidance
19
20### Key Principles
21
22- **The CLI is the source of truth.** Never embed credentials inline in generated code. Run hookmyapp sandbox env --write .env or hookmyapp channels env <channel> --write (which exports the channel's current gateway hmat_ access token — only channels token --rotate mints a new one) and let the user's app read from environment variables.
23- **There is no environment to select.** Every command runs against the live HookMyApp service. Pass --workspace <id> only when the user has multiple workspaces and a command must hit one other than the active default.
24- **Browser steps cannot be automated.** login and channels connect both open browser tabs the human must complete. Do not pretend to automate them — hand the terminal back with a clear instruction. Exception: hookmyapp login --email <addr> is a browser-free login (an OTP code arrives at the human's email; they paste it back) — prefer it in agent/CI contexts. See [references/auth.md](references/auth.md).
25- **Connecting a real channel? First ask WHOSE channel it is.** Two distinct connect flows exist and they are not interchangeable. (a) **The user's own team/product channel** — their company's WhatsApp number, Instagram account or Facebook Page — connects via hookmyapp channels connect (browser Embedded Signup / OAuth) into a team workspace. (b) **An end-customer's channel** — the user runs a SaaS and their customers bring their own numbers/accounts — connects via a customer workspace plus an onboarding link (customers onboarding-links create) that the end-customer opens; onboarding links can ONLY target customer workspaces, and the backend rejects a link pointed at a team workspace. When the user says "connect WhatsApp/Instagram/Facebook" and the intent is not already obvious from context, ask one question before acting: "Is this your own team's channel, or a channel your customers will connect?" — then route to (a) or (b). Never mint an onboarding link for the user's own channel.
26- **Sandbox is not your own channel.** Sandbox is a HookMyApp-hosted test account with 6 env keys, no templates, and recipient pinned to the session phone. Your own channel is your WhatsApp number (7 env keys and template support), Instagram account (6 env keys and no templates) or Facebook Page (token via channels token, Page id via channels show; channels env has no Facebook key set yet). Authorize it with channels connect, then export its runtime environment with channels env. The two are not interchangeable — pick one based on the user's goal before generating code.
27- **MCP is optional; the CLI is never blocked.** Setup installs the CLI — that is the whole requirement. The MCP server is a convenience for agents that prefer tool calls, and hookmyapp login configures it automatically for Claude Code. Because MCP tools resolve at session start, a server installed mid-session stays dormant until the next session: that is expected, not a failure. When mcp__hookmyapp__* tools are absent or the connection is unhealthy and a shell is available, do the task with the CLI and mention that a restart activates the tools — **never tell the user the task cannot be done while the CLI can do it.** (Shell-less agents are the one exception: without a working MCP connection they should say exactly which capability is missing.) Repair steps: [references/mcp.md](references/mcp.md#recovery-mcp-isnt-working).
28- **Your own channel has two webhook-delivery flavors: CLI tunnel OR your own URL.** A connected channel can receive inbound webhooks via either (a) hookmyapp channels listen (the CLI provisions a per-channel Cloudflare tunnel — no public HTTPS URL required, designed for local dev / self-hosted agents / 24/7 hobby projects) or (b) hookmyapp channels webhook set <channel> --url https://... (your own public HTTPS endpoint, the classic deployed pattern). Pick CLI when the user is developing on localhost or running an always-on self-hosted agent (e.g. on a personal server or Raspberry Pi); pick URL when the user has a deployed backend ready to accept inbound webhooks. The two are mutually exclusive per channel — setting a URL while the CLI is listening evicts the CLI (it exits cleanly with a notice).
29- **Check notifications every session.** status returns notifications[] — messages from HookMyApp for this account: problems detected (failing webhook delivery, disconnected channels, usage limits), fixes applied, required updates, and product announcements. Relay every open notification to the human in your first reply, then mark it seen with acknowledge_notification (CLI: hookmyapp notifications ack <id>) so it stops repeating. After any send failure, re-check (status or hookmyapp notifications) — same sequence: relay any new notification to the human first, then acknowledge it. Notification fields that shape how you relay: ackScope: "user" means your ack clears the notification only for YOUR human — other members of the organization each see and dismiss their own copy, so acking never hides anything from anyone else; ackScope: "org" means one ack clears it for the whole organization and records who saw it — acknowledgedBy on an org notification is that receipt ("acknowledged for the org by <email>" — it means their agent relayed it, NOT that the underlying problem was fixed); personal: true means the notification is addressed to your human specifically (no one else in the organization can see it) — say so when relaying, e.g. "this one is addressed to you directly."
30
This is a preview of SKILL.md. Download or install the skill to get the whole thing.
In the file
SKILL.md7,374 words
Files44
LicenceApache-2.0
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈360
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
55,940
on trigger
The instruction body and 43 supporting files, read only when the skill fires.
28.1%
of a 200k window
Ten skills this size would not fit in the window together.
050k100k150k200k context window

56.3k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Heavy. Teams tend to install this one per project rather than globally, and load it only when the job comes up.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

The procedure it runs

The procedure has not been set out here step by step. It is in the body of its SKILL.md: the start of it is shown above, and the whole file comes with the install.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

Its SKILL.md does not declare which tools it asks the agent for, so what it touches is whatever the instructions themselves ask for — read them before you install it.

What it asks for
Writes filesnot declared
Network accessnot declared

This SKILL.md carries no allowed-tools line, so neither is declared. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

44 files, 252.2 kB on disk. Mostly text — the instructions the model reads — with 15 scripts in it that your client would run only if the instructions tell it to.

  • SKILL.md52.5 kB
  • package.json0.3 kB
  • assets/ig-send-dm.json0.1 kB
  • assets/wa-send-image.json0.2 kB
  • assets/wa-send-interactive-buttons.json0.4 kB
  • assets/wa-send-template.json0.5 kB
  • assets/wa-send-text.json0.2 kB
  • assets/wa-template-utility.json0.5 kB
  • references/access-tokens.md3.5 kB
  • references/alerts.md4.5 kB
  • references/api.md7.7 kB
  • references/auth.md6.6 kB
  • references/billing.md6.5 kB
  • references/channels.md7.7 kB
  • references/config.md3.3 kB
  • references/customers.md4.7 kB
  • references/development-advice.md7.8 kB
  • references/env.md6.3 kB
  • references/getting-started.md15.3 kB
  • references/health.md2.8 kB
  • references/instagram.md18.6 kB
  • references/mcp.md28.2 kB
  • references/notifications.md1.9 kB
  • references/sandbox.md12.8 kB
  • references/sending-messages.md7.9 kB
  • references/troubleshooting.md8.2 kB
  • references/webhook.md5.0 kB
  • references/whatsapp.md6.1 kB
  • references/workspace.md5.1 kB
  • scripts/ig-list-comments.mjs1.2 kB
  • scripts/ig-mark-seen.mjs1.3 kB
  • scripts/ig-reply-comment.mjs1.9 kB
  • scripts/ig-send-dm.mjs1.7 kB
  • scripts/wa-create-template.mjs1.4 kB
  • scripts/wa-list-templates.mjs1.4 kB
  • scripts/wa-mark-read.mjs1.4 kB
  • scripts/wa-send-message.mjs1.8 kB
  • scripts/wa-send-template.mjs1.6 kB
  • scripts/wa-update-profile.mjs1.9 kB
  • scripts/wa-upload-media.mjs1.8 kB
  • scripts/lib/args.mjs2.0 kB
  • scripts/lib/env.mjs2.4 kB
  • scripts/lib/gateway.mjs4.2 kB
  • scripts/lib/output.mjs1.0 kB
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 15 scripts beside the text, so the bundle is 44 files you can review in full before installing. The Apache-2.0 licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Integrate HookMyApp · 56.3k tokens when loaded · macOS, Linux mkdir -p .claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/integrate-hookmyapp/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/integrate-hookmyapp" ] && { [ ! -e .claude/skills/integrate-hookmyapp ] || { mv .claude/skills/integrate-hookmyapp "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/integrate-hookmyapp" .claude/skills/ && echo "Installed .claude/skills/integrate-hookmyapp"
On Windows, or any OS with Node 20+
npx mcprush@latest skill add hookmyapp/integrate-hookmyapp

Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither. Writes to .claude/skills/integrate-hookmyapp/ in the current project. For every project instead, run mkdir -p ~/.claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/integrate-hookmyapp/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/integrate-hookmyapp" ] && { [ ! -e ~/.claude/skills/integrate-hookmyapp ] || { mv ~/.claude/skills/integrate-hookmyapp "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/integrate-hookmyapp" ~/.claude/skills/ && echo "Installed ~/.claude/skills/integrate-hookmyapp" (macOS, Linux) — or add --global to the npx line. The curl line replaces .claude/skills/integrate-hookmyapp/ only after the download succeeds, so files left there by another skill of the same name, or by an older release, do not mix in. A copy already there is moved aside, not deleted, and the line prints where.

Which clients pick it up on their own

A skill is a folder of text. Most of these read a skills folder and pick it up without being told; the rest take the same folder another way — an upload in the app, a parameter on an API call — and then choose it by its description just the same.

Claude Code.claude/skills/
Claude DesktopCustomize › Skills
ChatGPTSkills › Create › Upload
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok Build.grok/skills/
Microsoft CopilotSkills › Upload a skill
PerplexityComputer › Skills › Upload a skill
DeepSeek Harness.dsh/skills/
Zed.agents/skills/
Devin Desktop.devin/skills/
Windsurf (legacy).windsurf/skills/
OpenAI Agents SDKInstructions or sandbox Skills
HTTP / APIa request parameter
This release
Version0.9.28
Publishedno release date on file
PriceFree
Referencehookmyapp/integrate-hookmyapp

Versions

v0.9.28 is what is on the shelf; no release here carries a date. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v0.9.28
  • No earlier releases have been published to the marketplace.
Pinning

The install command always fetches the release that is current the day you run it — v0.9.28 today — and cannot ask for an earlier one. The copy on your disk does not change until you run it again.

Reviews

—no reviews yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Sign in to review it

A review is tied to an account so it can be answered, edited and taken down by the person who wrote it.

Sign in
Who can post

Anybody with an account, one review each. It carries the version that was current when you wrote it, and the publisher may reply once.

Who wrote it

HO
hookmyapp

Publishes on mcprush.

0 servers listed1 skill listednot claimed
Profile
Publisher
Servers0
Claim this skill