Logo di Whatsapp Db Skill

Whatsapp Db Skill

Community
zeenie-ai
whatsapp-db-skill

Query WhatsApp database for contacts, groups, channels, and chat history. Look up contact info, search groups, manage channels, retrieve messages.

Panoramica

Pubblicato dazeenie-ai
RepositoryOpenCompany
Nome della skillwhatsapp-db-skill
Stelle
912
Fork
137
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da zeenie-ai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Whatsapp Db Skill in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/social_agent/whatsapp-db-skill
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/social_agent/whatsapp-db-skill .claude/skills/whatsapp-db-skill
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Whatsapp Db Skill in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Whatsapp Db Skill non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Whatsapp Db Skill non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

WhatsApp Database Tool

Query WhatsApp database for contacts, groups, channels (newsletters), and message history.

How It Works

This skill provides instructions for the WhatsApp DB tool node. Connect the WhatsApp DB node to Zeenie's input-tools handle to enable database queries.

whatsapp_db Tool

Query contacts, groups, channels, and chat history.

Schema Fields

FieldTypeRequiredDescription
operationstringYesOperation type (see below)
chat_typestringFor chat_history"individual" or "group"
phonestringVariesPhone number (for chat_history individual, get_contact_info)
group_idstringVariesGroup JID (for chat_history group, get_group_info)
querystringNoSearch query (for search_groups, list_contacts)
limitintNoMax results (varies by operation)
offsetintNoPagination offset (for chat_history)
message_filterstringNo"all" or "text_only" (for chat_history)
group_filterstringNo"all" or "contact" (for group chat_history)
sender_phonestringNoFilter by sender (when group_filter="contact")
phonesstringFor check_contactsComma-separated phone numbers
participant_limitintNoMax participants (for get_group_info, 1-100)
channel_jidstringFor channel opsNewsletter JID or invite link URL (e.g., 120363198765432101@newsletter or https://whatsapp.com/channel/...)
refreshbooleanNoForce refresh from server (for list_channels, get_channel_info, channel_messages)
channel_countintNoNumber of items to fetch (for channel_messages, channel_stats)
before_server_idintNoPagination cursor (for channel_messages)
message_offsetintNoSkip this many messages (for channel_messages)
sincestringNoUnix timestamp - messages after this time (for channel_messages)
untilstringNoUnix timestamp - messages before this time (for channel_messages)
media_typestringNoFilter by media type: image, video, audio, document, sticker (for channel_messages)
searchstringNoText search within messages (for channel_messages)
include_media_databooleanNoDownload base64 media data for media messages (for chat_history, channel_messages)
channel_namestringFor channel_createName of the new channel
channel_descriptionstringNoDescription (for channel_create)
picturestringNoBase64-encoded profile picture (for channel_create)
mutebooleanFor channel_muteTrue to mute, false to unmute
server_idsstringFor mark_viewed/live_updatesComma-separated message server IDs
react_server_idintFor newsletter_reactServer ID of message to react to
reactionstringFor newsletter_reactReaction emoji (empty to remove)
profile_pic_jidstringFor contact_profile_picJID or phone number
previewbooleanNoGet low-res preview (for contact_profile_pic)

Operations

OperationDescriptionRequired Fields
list_contactsList contacts with saved namesquery (optional), limit
get_contact_infoGet full contact detailsphone
search_groupsSearch groups by namequery, limit
get_group_infoGet group details with participantsgroup_id
chat_historyRetrieve message historychat_type, phone/group_id
check_contactsCheck WhatsApp registrationphones
list_channelsList subscribed newsletter channelsrefresh (optional), limit
get_channel_infoGet channel detailschannel_jid
channel_messagesGet channel messages with filters (date, media type, search)channel_jid, channel_count
channel_statsGet channel subscriber/view statschannel_jid
channel_followFollow/subscribe to a channelchannel_jid
channel_unfollowUnfollow/unsubscribe from a channelchannel_jid
channel_createCreate a new newsletter channelchannel_name
channel_muteMute or unmute a channelchannel_jid, mute
channel_mark_viewedMark channel messages as viewedchannel_jid, server_ids
newsletter_reactReact to a channel messagechannel_jid, react_server_id, reaction
newsletter_live_updatesSubscribe to live view/reaction countschannel_jid, server_ids
contact_profile_picGet contact/group profile pictureprofile_pic_jid

Limits

OperationDefaultMax
chat_history50500
search_groups2050
list_contacts50100
get_group_info participants50100
list_channels2050
channel_messages20100
channel_stats10100
channel_mute--
channel_mark_viewed--

Important: Always use small limits and specific queries to avoid context overflow.

Operation Examples

list_contacts

Find contacts by name.

json
{
  "operation": "list_contacts",
  "query": "mom",
  "limit": 10
}

Response:

json
{
  "success": true,
  "operation": "list_contacts",
  "contacts": [
    {"phone": "919876543210", "name": "Mom", "jid": "919876543210@s.whatsapp.net"}
  ],
  "total": 1
}

get_contact_info

Get full contact details for sending/replying.

json
{
  "operation": "get_contact_info",
  "phone": "919876543210"
}

Response:

json
{
  "success": true,
  "operation": "get_contact_info",
  "phone": "919876543210",
  "name": "Mom",
  "jid": "919876543210@s.whatsapp.net",
  "profile_picture": "https://..."
}

search_groups

Search groups by name.

json
{
  "operation": "search_groups",
  "query": "family",
  "limit": 10
}

Response:

json
{
  "success": true,
  "operation": "search_groups",
  "groups": [
    {"group_id": "120363123456789@g.us", "name": "Family Group", "participant_count": 5}
  ],
  "total": 1
}

get_group_info

Get group details with participant list.

json
{
  "operation": "get_group_info",
  "group_id": "120363123456789@g.us",
  "participant_limit": 20
}

Response:

json
{
  "success": true,
  "operation": "get_group_info",
  "name": "Family Group",
  "jid": "120363123456789@g.us",
  "participants": [
    {"phone": "919876543210", "name": "Mom", "is_admin": true},
    {"phone": "919876543211", "name": "Dad", "is_admin": false}
  ],
  "total_participants": 5
}

chat_history (Individual)

Get messages from an individual chat.

json
{
  "operation": "chat_history",
  "chat_type": "individual",
  "phone": "919876543210",
  "limit": 20
}

chat_history (Group)

Get messages from a group chat.

json
{
  "operation": "chat_history",
  "chat_type": "group",
  "group_id": "120363123456789@g.us",
  "message_filter": "text_only",
  "limit": 50
}

Response:

json
{
  "success": true,
  "operation": "chat_history",
  "messages": [
    {
      "index": 1,
      "message_id": "ABC123",
      "sender": "919876543210@s.whatsapp.net",
      "sender_name": "Mom",
      "text": "Hello!",
      "timestamp": "2025-01-30T12:00:00",
      "is_from_me": false
    }
  ],
  "total": 50,
  "has_more": true
}

check_contacts

Check if phone numbers have WhatsApp.

json
{
  "operation": "check_contacts",
  "phones": "1234567890,0987654321"
}

Response:

json
{
  "success": true,
  "operation": "check_contacts",
  "results": [
    {"phone": "1234567890", "registered": true, "jid": "1234567890@s.whatsapp.net"},
    {"phone": "0987654321", "registered": false}
  ]
}

list_channels

List subscribed newsletter channels.

json
{
  "operation": "list_channels",
  "limit": 10
}

Response:

json
{
  "success": true,
  "operation": "list_channels",
  "channels": [
    {"jid": "120363198765432101@newsletter", "name": "Tech Updates", "subscriber_count": 5000}
  ],
  "total": 3
}

get_channel_info

Get channel details.

json
{
  "operation": "get_channel_info",
  "channel_jid": "120363198765432101@newsletter"
}

channel_messages

Get channel message history.

json
{
  "operation": "channel_messages",
  "channel_jid": "120363198765432101@newsletter",
  "channel_count": 10
}

channel_follow

Follow/subscribe to a channel.

json
{
  "operation": "channel_follow",
  "channel_jid": "120363198765432101@newsletter"
}

channel_create

Create a new newsletter channel.

json
{
  "operation": "channel_create",
  "channel_name": "My Channel",
  "channel_description": "A channel about interesting topics"
}

channel_mute

Mute or unmute a newsletter channel.

json
{
  "operation": "channel_mute",
  "channel_jid": "120363198765432101@newsletter",
  "mute": true
}

channel_mark_viewed

Mark channel messages as viewed by server ID.

json
{
  "operation": "channel_mark_viewed",
  "channel_jid": "120363198765432101@newsletter",
  "server_ids": "100, 101, 102"
}

get_channel_info (with invite link)

Get channel details using an invite link instead of JID.

json
{
  "operation": "get_channel_info",
  "channel_jid": "https://whatsapp.com/channel/0029Va12345abcdef"
}

channel_messages (with filters)

Get channel messages filtered by media type and date range.

json
{
  "operation": "channel_messages",
  "channel_jid": "120363198765432101@newsletter",
  "channel_count": 20,
  "media_type": "image",
  "since": "1704067200",
  "include_media_data": true
}

channel_messages (text search)

Search channel messages by text content.

json
{
  "operation": "channel_messages",
  "channel_jid": "120363198765432101@newsletter",
  "search": "announcement",
  "channel_count": 10
}

newsletter_react

React to a channel message with an emoji.

json
{
  "operation": "newsletter_react",
  "channel_jid": "120363198765432101@newsletter",
  "react_server_id": 42,
  "reaction": "\ud83d\udc4d"
}

contact_profile_pic

Get a contact's profile picture.

json
{
  "operation": "contact_profile_pic",
  "profile_pic_jid": "919876543210"
}

Common Workflows

Find and message someone by name

  1. Use list_contacts with query to find the person
  2. Get their phone number from the result
  3. Use whatsapp_send tool with the phone number

Get recent messages from a contact

  1. Use chat_history with chat_type="individual"
  2. Set appropriate limit for desired history depth

Find and message a group

  1. Use search_groups to find the group by name
  2. Get the group_id from the result
  3. Use whatsapp_send tool with recipient_type="group"

See who's in a group

  1. Use get_group_info with the group_id
  2. Set participant_limit to control output size

Guidelines

  1. Phone numbers: Always use without + prefix, just digits
  2. Group IDs: JID format ending in @g.us
  3. Limits: Use small limits to avoid context overflow
  4. Queries: Be specific to narrow results
  5. Pagination: Use offset to page through chat_history
  6. Channel JIDs: JID format ending in @newsletter, or pass an invite link URL
  7. Invite links: channel_jid accepts both JIDs and https://whatsapp.com/channel/... URLs

Error Responses

json
{
  "error": "Phone number is required for chat_type='individual'"
}
json
{
  "error": "group_id is required for get_group_info"
}

Setup Requirements

  1. Connect the WhatsApp DB node to Zeenie's input-tools handle
  2. Ensure WhatsApp is connected (green status indicator in Credentials)

Domande frequenti

Cosa fa la skill IA Whatsapp Db Skill?

Query WhatsApp database for contacts, groups, channels, and chat history. Look up contact info, search groups, manage channels, retrieve messages.

Perché usare Whatsapp Db Skill su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Whatsapp Db Skill è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Whatsapp Db Skill in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/social_agent/whatsapp-db-skill. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Whatsapp Db Skill?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Whatsapp Db Skill?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Whatsapp Db Skill: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Whatsapp Db Skill è gratuita?

Sì. È pubblicata su GitHub da zeenie-ai con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇