Skip to content

feat: add Plivo SMS and voice skills#86

Open
sarveshpatil-plivo wants to merge 2 commits into
open-gitagent:mainfrom
sarveshpatil-plivo:plivo-sms-skill
Open

feat: add Plivo SMS and voice skills#86
sarveshpatil-plivo wants to merge 2 commits into
open-gitagent:mainfrom
sarveshpatil-plivo:plivo-sms-skill

Conversation

@sarveshpatil-plivo

@sarveshpatil-plivo sarveshpatil-plivo commented Jul 23, 2026

Copy link
Copy Markdown

Closes #83

What

Adds two skills, plivo-sms and plivo-voice, so an agent can text or call someone through Plivo. They sit next to the existing gmail-email skill and follow the same layout, a SKILL.md with YAML frontmatter and a script under scripts/.

How it works

Both scripts call the Plivo REST API with HTTP Basic auth, reading PLIVO_AUTH_ID and PLIVO_AUTH_TOKEN from the environment or a .env file in the skill directory. They use only the Python standard library, so there is nothing extra to install, same as gmail-email. Both are picked up automatically by discoverSkills() in src/skills.ts, so no registration is needed.

  • plivo-sms sends an SMS through the Messages API. Arguments are --from, --to, --text.
  • plivo-voice places an outbound call through the Call API. Arguments are --from, --to, --answer-url. When the call connects Plivo runs the XML at the answer URL, which can speak a message with <Speak>.

Files added

  • skills/plivo-sms/SKILL.md
  • skills/plivo-sms/scripts/send_sms.py
  • skills/plivo-voice/SKILL.md
  • skills/plivo-voice/scripts/make_call.py

Scope

Outbound only, matching the issue. Inbound is left out since the core has no webhook server.

Testing

Ran the SMS skill against a live Plivo account and the message was delivered. The voice skill uses the same auth and request pattern against the Call API. Credentials are read from the environment, so nothing sensitive is in the code.

Adds a plivo-sms skill under skills/ so an agent can send an SMS through Plivo.
It follows the same layout as the existing gmail-email skill, a SKILL.md with
YAML frontmatter plus a script in scripts/.

The script sends an SMS through the Plivo Messages API. It reads PLIVO_AUTH_ID
and PLIVO_AUTH_TOKEN from the environment or a .env file in the skill directory,
and takes from, to and text as arguments. It uses only the Python standard
library so there is nothing extra to install.

Verified against a live Plivo account, the message was delivered.
Adds a plivo-voice skill that places an outbound call through the Plivo Call API,
completing the SMS and voice pair from the issue. Same layout as plivo-sms and
gmail-email, a SKILL.md plus a script under scripts/. Reads PLIVO_AUTH_ID and
PLIVO_AUTH_TOKEN from the environment or a .env file, takes from, to and an
answer URL, and uses only the Python standard library. When the call connects
Plivo runs the XML at the answer URL, which can speak a message.
@sarveshpatil-plivo sarveshpatil-plivo changed the title feat: add Plivo SMS skill feat: add Plivo SMS and voice skills Jul 23, 2026
@sarveshpatil-plivo
sarveshpatil-plivo marked this pull request as ready for review July 23, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Plivo SMS and voice skills

1 participant