Skip to content

feat: add AIVI Lead Engagement skill#1163

Open
aivillc wants to merge 7 commits intoopenclaw:mainfrom
aivillc:feat/aivi-engagement-skill
Open

feat: add AIVI Lead Engagement skill#1163
aivillc wants to merge 7 commits intoopenclaw:mainfrom
aivillc:feat/aivi-engagement-skill

Conversation

@aivillc
Copy link

@aivillc aivillc commented Mar 23, 2026

Summary

  • AIVI Lead Engagement skill for ClawHub
  • Score leads using ML bandit + RRDB enrichment
  • Launch AI voice + SMS outreach sequences
  • Supports real estate, debt collection, healthcare, home services

MCP Endpoint

https://mcp.aivi.io/mcp

Skills

Skill Cost Description
score_lead $0.75 ML scoring + phone validation + RRDB enrichment
launch_sequence $1-3 AI voice + SMS sequence (1/3/12 day)
decide_next_action Free ML bandit next action recommendation
get_outcome Free Post-call intelligence and topics
onboard_organization Free Create org + agent + API key

Test plan

  • score_lead returns score=80 tier_1 with real call history
  • launch_sequence fired Supercharged 1 Day Journey
  • decide_next_action returns wait_next_morning_sms
  • get_outcome returns topics, sentiment, outcome
  • MCP endpoint live at mcp.aivi.io
  • Health check passing
  • All 4 skills tested live in Claude Desktop

Note on CI

The Vercel deployment check fails because the fork doesn't have Vercel authorization — this is expected for external PRs. The skill files are markdown only (no build needed).

Score leads and launch AI voice + SMS engagement sequences.
Supports real estate, debt collection, healthcare, and home services.

MCP endpoint: https://mcp.aivi.io/mcp

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Contributor

vercel bot commented Mar 23, 2026

@aivillc is attempting to deploy a commit to the 0xBuns Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 23, 2026

Greptile Summary

This PR adds a new skills/aivi-engagement/SKILL.md file that documents the AIVI Lead Engagement skill (lead scoring, AI voice/SMS outreach sequences, org onboarding). However, it directly violates a repository policy stated in AGENTS.md:

"Reject PRs that add skills into source code/repo content directly (for example under skills/ or seed-only additions intended as published skills). Skills must be uploaded/published via CLI."

The skill file itself should not be committed to the repository at all — it must be published via the ClawHub CLI instead.

  • Policy violation: Skills must not be added under skills/ in the repo; they must be uploaded/published via the CLI tool.
  • Minor doc gap: The get_outcome skill is described in the file but is absent from the billing table, leaving its cost undefined.

Confidence Score: 0/5

  • This PR must not be merged — it violates an explicit repository policy against committing skill files directly to the repo.
  • AGENTS.md explicitly instructs reviewers to "Reject PRs that add skills into source code/repo content directly (for example under skills/…). Skills must be uploaded/published via CLI." This PR does exactly that — the entire changeset is a new skills/aivi-engagement/SKILL.md file. No amount of cleanup to the file itself resolves the fundamental policy violation; the approach must change entirely.
  • skills/aivi-engagement/SKILL.md — the file should not exist in the repo at all per repository policy.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: skills/aivi-engagement/SKILL.md
Line: 56-76

Comment:
**`get_outcome` missing from billing table**

The `get_outcome` skill is documented above (lines 56–65) but has no corresponding entry in the billing table at the bottom of the file. If it is free, an explicit `Free` row would make the cost model complete and avoid confusion for users.

```suggestion
| score_lead | $0.75 |
| launch_sequence (one_day) | $1.00 |
| launch_sequence (three_day) | $1.50 |
| launch_sequence (twelve_day) | $3.00 |
| Booking add-on | +$1.00 |
| onboard_organization | Free (includes $5 trial credits) |
| get_outcome | Free |
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "feat: add AIVI Lead Engagement skill" | Re-trigger Greptile

Comment on lines +56 to +76
Returns: org_id, API key (shown once), AI agent config, $5 trial credits.

### get_outcome
Use when: user wants to know what happened on a call or sequence.

Example prompts:
- "What happened on that call?"
- "Did the sequence convert?"
- "Show me the topics from the last call"

## Billing
All skills require AIVI credits. Add credits at app.aivi.io → Billing.

| Skill | Cost |
|-------|------|
| score_lead | $0.75 |
| launch_sequence (one_day) | $1.00 |
| launch_sequence (three_day) | $1.50 |
| launch_sequence (twelve_day) | $3.00 |
| Booking add-on | +$1.00 |
| onboard_organization | Free (includes $5 trial credits) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 get_outcome missing from billing table

The get_outcome skill is documented above (lines 56–65) but has no corresponding entry in the billing table at the bottom of the file. If it is free, an explicit Free row would make the cost model complete and avoid confusion for users.

Suggested change
Returns: org_id, API key (shown once), AI agent config, $5 trial credits.
### get_outcome
Use when: user wants to know what happened on a call or sequence.
Example prompts:
- "What happened on that call?"
- "Did the sequence convert?"
- "Show me the topics from the last call"
## Billing
All skills require AIVI credits. Add credits at app.aivi.io → Billing.
| Skill | Cost |
|-------|------|
| score_lead | $0.75 |
| launch_sequence (one_day) | $1.00 |
| launch_sequence (three_day) | $1.50 |
| launch_sequence (twelve_day) | $3.00 |
| Booking add-on | +$1.00 |
| onboard_organization | Free (includes $5 trial credits) |
| score_lead | $0.75 |
| launch_sequence (one_day) | $1.00 |
| launch_sequence (three_day) | $1.50 |
| launch_sequence (twelve_day) | $3.00 |
| Booking add-on | +$1.00 |
| onboard_organization | Free (includes $5 trial credits) |
| get_outcome | Free |
Prompt To Fix With AI
This is a comment left during a code review.
Path: skills/aivi-engagement/SKILL.md
Line: 56-76

Comment:
**`get_outcome` missing from billing table**

The `get_outcome` skill is documented above (lines 56–65) but has no corresponding entry in the billing table at the bottom of the file. If it is free, an explicit `Free` row would make the cost model complete and avoid confusion for users.

```suggestion
| score_lead | $0.75 |
| launch_sequence (one_day) | $1.00 |
| launch_sequence (three_day) | $1.50 |
| launch_sequence (twelve_day) | $3.00 |
| Booking add-on | +$1.00 |
| onboard_organization | Free (includes $5 trial credits) |
| get_outcome | Free |
```

How can I resolve this? If you propose a fix, please make it concise.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 636c60e8ed

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,76 @@
---

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove directly committed skill from repository

This change adds a new skill file under skills/, but the repository policy in AGENTS.md explicitly says PRs that add skills directly to repo content (including under skills/) must be rejected and that skills should be uploaded/published via CLI. Keeping this file in-tree bypasses the required publishing workflow and can leave repository state inconsistent with the actual published skill catalog.

Useful? React with 👍 / 👎.

773 calls analyzed, 494 moments detected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7dc7770838

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,98 @@
---

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove skill file from repo and publish via CLI

This commit adds skills/aivi-engagement/SKILL.md directly to the repository, but AGENTS.md:43 explicitly requires rejecting PRs that add published skills in-tree and mandates publishing them via the CLI workflow instead. Keeping this file in git bypasses the required release path and can leave repository contents out of sync with the actual published skill catalog.

Useful? React with 👍 / 👎.

aivillc and others added 5 commits March 23, 2026 02:42
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8acb7a30b0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +70 to +72
ALWAYS ask for API key before any skill call.
NEVER proceed without a valid api_key.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Allow onboarding without an existing API key

The global rule to always require a valid api_key before any skill call makes the documented onboard_organization flow unreachable for first-time users, because that operation is explicitly for users who do not have a key yet. In this state, a new customer asking to create an account will be blocked before the only self-service onboarding action can run.

Useful? React with 👍 / 👎.

Comment on lines +29 to +31
"Remember my AIVI API key is aivi_sk_xxxxx"

Claude will remember it across all future conversations. You will never need to type it again.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove guidance to paste API keys into chat memory

This instruction asks users to put raw API keys directly into conversational memory, which increases credential exposure through chat history/log retention and contradicts safer secret handling patterns (e.g., environment variables already declared in the frontmatter). The skill should avoid encouraging plaintext key sharing in prompts and direct users to secure credential configuration instead.

Useful? React with 👍 / 👎.

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.

1 participant