home / skills / openclaw / skills / whatsapp-forward

whatsapp-forward skill

/skills/marcosrippel/whatsapp-forward

This skill generates VCards, parses WhatsApp invite links, and creates forwarding templates to simplify contact sharing.

npx playbooks add skill openclaw/skills --skill whatsapp-forward

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
866 B
---
name: whatsapp-forward
description: Generate VCards, parse invite links, and create forwarding templates
---

# WhatsApp Forward Skill

Utilities for contact sharing, message forwarding, and invite link parsing.

## Usage

```
exec({ cmd: "node <skill_dir>/scripts/forward.js COMMAND [ARGS]" })
```

## Commands

### Generate VCard
```
exec({ cmd: "node <skill_dir>/scripts/forward.js vcard \"John Doe\" \"5511999999999\"" })
```

### Generate Multiple VCards
```
exec({ cmd: "node <skill_dir>/scripts/forward.js multi-vcard '[{\"name\":\"John\",\"phone\":\"5511999999999\"}]'" })
```

### Parse Group Invite Link
```
exec({ cmd: "node <skill_dir>/scripts/forward.js parse-invite \"https://chat.whatsapp.com/ABC123\"" })
```

### Show Forwarding Templates
```
exec({ cmd: "node <skill_dir>/scripts/forward.js template" })
```

Overview

This skill helps automate WhatsApp contact and group forwarding tasks by generating VCards, parsing invite links, and producing ready-to-send forwarding templates. It focuses on quick, scriptable utilities that prepare contact payloads and human-readable templates for sharing. Use it to speed up contact exchange, archive invites, or prepare batch contact messages.

How this skill works

The skill exposes command-line utilities that generate single or multiple VCard payloads from names and phone numbers. It parses WhatsApp group invite URLs to extract the invite code and metadata. It also produces forwarding templates—preformatted message text you can paste into WhatsApp to share contacts or invites quickly.

When to use it

  • You need to share a contact as a VCard file for easy import into WhatsApp.
  • You want to create multiple VCards for batch contact distribution or backup.
  • You need to extract the invite code or metadata from a WhatsApp group invite link.
  • You want prebuilt message templates to forward contacts or group invites consistently.
  • You’re automating workflows that prepare contact data for other tools or scripts.

Best practices

  • Validate phone numbers in international format before generating VCards to avoid import errors.
  • Escape or sanitize user-provided names and notes to prevent malformed output.
  • Use multi-vcard output when preparing backups or bulk contact imports.
  • Confirm invite links are current before distributing templates since invites can expire or be revoked.
  • Test generated VCards with a target WhatsApp client to ensure compatibility.

Example use cases

  • Generate a VCard for a new team member to email or send via WhatsApp for quick import.
  • Create a JSON list and produce multiple VCards to onboard a group of contacts at once.
  • Parse a shared WhatsApp invite URL to extract the invite token for logging or archival.
  • Produce a forwarding template message that includes contact info and a short intro for consistent outreach.
  • Automate a workflow that batches contacts into VCard files for periodic backups.

FAQ

Which phone number format should I use?

Use international format without punctuation (country code + number) to ensure broad compatibility.

Can I generate multiple VCards at once?

Yes. Provide a JSON array of name/phone objects and the tool outputs multiple VCards.

Does parsing an invite reveal group members?

No. Parsing extracts the invite code or link metadata only; it does not disclose member lists.