go-whatsapp-web-multidevice: Instructions file for Codex

AGENTS.md

go-whatsapp-web-multidevice AGENTS.md is an instructions file for Codex, OpenCode from aldinokemal/go-whatsapp-web-multidevice. It costs 1,341 tokens per session, scanned A, original, MIT.

A project guide for Go WhatsApp Web Multi-Device, a Go server that provides WhatsApp-related APIs and can expose an MCP endpoint. It maps the main folders, components, and development conventions.

In plain words
What is it for?
Use it when navigating the repository, choosing where to make changes, or working on its REST, MCP, chat, or WhatsApp features.
Why use it?
It helps the coding agent find the right code and understand how the server, chat storage, web interface, and business logic fit together.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is aldinokemal/go-whatsapp-web-multidevice's own configuration. It tells Codex and OpenCode how to work on go-whatsapp-web-multidevice itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything go-whatsapp-web-multidevice configures →

About the project

GOWA is a Go server that exposes WhatsApp through a REST API and supports multiple accounts, webhooks, a user interface, MCP, and Chatwoot integration. It is for applications and automations that need to connect to and manage WhatsApp accounts programmatically. The catalogue entries provide skills and instructions for working with GOWA.

aldinokemal/go-whatsapp-web-multidevice · 4,997 stars · on GitHub · gowa-docs.mintlify.site

Reuse

Borrowing it

Nothing to install: this file belongs to aldinokemal/go-whatsapp-web-multidevice. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aldinokemal/go-whatsapp-web-multidevice/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/aldinokemal/go-whatsapp-web-multidevice

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for go-whatsapp-web-multidevice AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md/github.svg)](https://agentmods.dev/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md"><img src="https://agentmods.dev/badge/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-whatsapp-web-multidevice AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md"><img src="https://agentmods.dev/badge/instructions/aldinokemal/go-whatsapp-web-multidevice/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,341 This file is loaded in full into every session.
When invoked 1,341 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01341 $0.01341
Opus 5.5 $0.00536 $0.00536
Sonnet 5.5 $0.00268 $0.00268
Haiku 4.5 $0.00134 $0.00134

Measured 7d ago against content hash c3b9787faf56, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-whatsapp-web-multidevice AGENTS.md 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 7d 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.

AGENTS.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working on GOWA

GOWA is a Go WhatsApp API server using whatsmeow, Fiber, and SQLite. The Go module and local runtime directory are src/. rest also mounts MCP at /mcp when enabled; both transports share the same device manager and usecases.

WhatsApp protocol verification

  • whatsmeow is GOWA's base WhatsApp library. Every agent working on WhatsApp protocol behavior must verify relevant assumptions against upstream source and documentation before implementing or reviewing changes.
  • Use the version pinned in src/go.mod (and any applicable module replacement). Inspect the matching module source or upstream revision; do not assume upstream main matches GOWA's dependency. This applies to messages, events, JIDs, receipts, presence, authentication, sessions, and protocol types.
  • Identify the upstream files or symbols checked in the work summary. If the relevant source is unavailable or behavior remains uncertain, state that limitation rather than claiming protocol verification. Preserve GOWA's own API contracts and application behavior when integrating upstream behavior.

Working scope and completion

  • Use the applicable scoped AGENTS.md and task-relevant source. The entry points below are routing hints; follow the ones needed for the affected behavior.
  • For multi-step work, identify the requested outcome and how to verify it. Continue through implementation, relevant checks, and fixes caused by the change. When the request includes running or inspecting the result, include that in completion. If blocked, report what remains and the specific missing input or access.
  • Preserve unrelated working-tree changes. Keep .env, SQLite databases, session data, QR codes, generated media, and history dumps out of commits.
  • Local tests using temporary databases, mocks, and fake clients can be run and repaired within the task without repeated approval. Running the app against saved sessions can reconnect real WhatsApp devices; use that runtime only within the user's authorized scope.

Read the full file on GitHub · 98 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. 7d ago Changed · +14 lines · +184 tokens per session c3b9787faf56
  2. 1mo ago Changed · +5 lines · +78 tokens per session b0c7bb532588
  3. 1mo ago Changed · -59 lines · -1,713 tokens per session 46e64a961600
  4. 2mo ago First seen · 138 lines · 2,792 tokens per session scan A 7fe15907bcbd

Subscribe to this mod's changes

go-whatsapp-web-multidevice AGENTS.md is an instructions file published in the GitHub repository aldinokemal/go-whatsapp-web-multidevice (4,997 stars, last pushed today), licensed MIT. It adds 1,341 tokens to every session, about $0.0054 per session on Opus 5.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-30.

Related

go-whatsapp-web-multidevice AGENTS.md compared with instructions from other repositories

go-whatsapp-web-multidevice AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-whatsapp-web-multidevice AGENTS.mdaldinokemal/go-whatsapp-web-multideviceInstructions file5.0ktodayMITA1,341Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode