技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.1
统计:⭐ 0 · 283 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:abhinavpgagi/toingg-skill
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill's code and instructions match its stated purpose, but the package metadata omits the required TOINGG_API_TOKEN and the source/publishing details are missing — this mismatch and lack of provenance are concerning.
目的
The scripts and SKILL.md coherently implement Toingg campaign, contact, analytics, and WhatsApp template workflows. However the registry metadata lists no required environment variables or primary credential while both the SKILL.md and every script require a TOINGG_API_TOKEN bearer token. The missing declaration is an inconsistency that reduces transparency.
说明范围
Runtime instructions are narrowly scoped to building payloads, calling Toingg API endpoints, converting Excel to JSON, and optionally scheduling a daily cron. The instructions reference storing payloads/analytics in version control or shared storage and instruct ensuring TOINGG_API_TOKEN is exported to the gateway for cron jobs — this is expected for the functionality but raises an operational caution about token exposure to scheduled environm…
安装机制
No install spec is provided (instruction-only skill with shipped scripts). Dependencies are minimal and explicit in SKILL.md (requests, openpyxl). There are no downloads from arbitrary URLs or archive extraction steps.
证书
All networked scripts require a single bearer token (TOINGG_API_TOKEN). That is proportionate to the API interactions, but the token requirement is not declared in the skill metadata. The analytics-cron guidance instructs relying on gateway environment inheritance, which could expose the token to scheduled jobs or other components if not configured carefully.
持久
The skill does not request always:true and contains no code that modifies other skills or system-wide settings. It suggests creating an 'openclaw cron' job only when explicitly requested. Autonomous invocation is allowed by default (normal), so consider the earlier token-access inconsistency when enabling automated runs.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Toingg Ops Toolkit」。简介:Automate Toingg ops by creating campaigns, scheduling daily analytics, converti…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/abhinavpgagi/toingg-skill/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: toingg-skill
description: End-to-end Toingg ops: create campaigns, (optionally) schedule daily analytics pulls, and turn Excel contact sheets into WhatsApp outreach via add_contacts + send_whatsapp_templates. Use when Codex needs to automate Toingg voice/WhatsApp workflows and requires scripts for campaign POSTs, analytics cron setup, or bulk contact uploads.
---
# Toingg Ops Toolkit
This skill bundles everything needed to manage Toingg campaigns from Claw:
- **Campaign creation** via `create_campaign.py`
- **Optional analytics cron** (7 PM daily) powered by `get_campaign_analytics.py`
- **Contact upload + WhatsApp broadcast** using `xlsx_to_contacts.py`, `add_contacts.py`, and `send_whatsapp_templates.py`
All HTTP calls reuse the `TOINGG_API_TOKEN` bearer token.
## Setup
1. Export your token in every environment that runs these scripts (gateway, cron, terminals).
```bash
export TOINGG_API_TOKEN="tg_..."
```
2. Install Python deps once if you will ingest Excel files:
```bash
pip install openpyxl requests
```
3. Keep payloads (campaign JSON, analytics snapshots, contact exports) in version control or shared storage per your security rules.
## Campaign creation workflow
1. Gather campaign fields from the user (title, voice, language, script, purpose, tone,
post-call schema, notification numbers, autopilot flags, etc.).
2. Draft a payload JSON using [`references/payload-template.md`](references/payload-template.md) as the scaffold.
3. Run the helper:
```bash
cd skills/toingg-skill
./scripts/create_campaign.py payloads/my_campaign.json > responses/create-$(date +%s).json
```
4. Return the API response (campaign ID, status, or validation errors) to the user and log it.
## Opt-in analytics cron (7 PM daily)
Only offer this when the user explicitly asks for daily analytics.
1. Confirm desired schedule/output directory.
2. Follow [`references/analytics-cron.md`](references/analytics-cron.md) to create `openclaw cron create toingg-analytics-digest ...` with the provided command snippet. Adjust paths if needed.
3. Double-check `TOINGG_API_TOKEN` is visible to the gateway before enabling the cron.
4. After the first run, share where the JSON snapshots live and how to disable the cron (`openclaw cron delete ...`).
`get_campaign_analytics.py` can also be run ad-hoc for on-demand pulls:
```bash
./scripts/get_campaign_analytics.py > analytics.json
```
## Contact upload + WhatsApp templates
When a user supplies an Excel sheet (name / phone / context columns) and wants to blast a WhatsApp template:
1. **Convert Excel → JSON**
```bash
./scripts/xlsx_to_contacts.py ~/Downloads/leads.xlsx contacts.json
```
See [`references/contact-workflow.md`](references/contact-workflow.md) for the exact column expectations and troubleshooting. The script skips blank rows and normalizes phone numbers.
2. **Upload contacts** to a Toingg contact list (auto-creates if missing):
```bash
./scripts/add_contacts.py ClawTest contacts.json
```
3. **Send WhatsApp templates** once the list is ready:
```bash
./scripts/send_whatsapp_templates.py
231565687
bfesfbgf
en-US
ClawTest
--payload template-variables.json
```
- Omit `--payload` (defaults to `[]`) if the template has no variables.
- Pass `--resend` only when the user explicitly wants to re-contact existing recipients.
4. Confirm delivery status in Toingg and report any errors back to the user (the helper prints full JSON responses for logging).
## File map
| Script | Purpose |
|--------|---------|
| `scripts/create_campaign.py` | POST `/api/v3/create_campaign` with arbitrary payloads |
| `scripts/get_campaign_analytics.py` | GET `/api/v3/get_campaign_analytics` (cron-friendly) |
| `scripts/xlsx_to_contacts.py` | Convert Excel sheets into Toingg contact JSON |
| `scripts/add_contacts.py` | Upload contact lists via `/api/v3/add_contacts` |
| `scripts/send_whatsapp_templates.py` | Trigger `/api/v3/send_whatsapp_templates` |
Keep this toolkit lightweight: update the references when Toingg adds new fields or workflows so other operators can follow the same patterns.