Skip to content

Virtual-Protocol/acp-cli-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACP CLI Demos

This repo collects reusable agent skills and utilities that show how agents can use acp-cli for real-world commerce workflows.

The repo is organized around Showcase project packages and shared skill folders. A Showcase contribution should live under showcase/<project-slug>/ with its showcase.json, proof links, and project-specific skills. Shared runtime skills that are reused across projects still live under skills/<skill-name>/.

The first skill demonstrates an ACP agent subscribing to a paid Substack using:

  • ACP Agent Email for signup, receipts, OTPs, and account verification
  • ACP Agent Card for bounded, single-use checkout payments
  • acp-cli for identity, email, card issuance, payment status, 3DS, and receipt checks
  • Browser automation for the merchant checkout page

Skills

Shared skill sources:

Contribution layout guidance: skills/README.md

Showcase Publishing

Project submissions use the default PR template in this repo. Add the demo package, proof, reusable skill, and card-ready manifest under showcase/<project-slug>.

After a Showcase PR is approved and merged to main, changes under showcase/** dispatch the EconomyOS docs sync. The docs workflow regenerates the Showcase page data from the accepted manifest.

Automation requirement: configure SHOWCASE_SYNC_TOKEN in this repo with permission to dispatch workflows in Virtual-Protocol/whitepaper-economyOS.

Validate manifests before requesting review:

node scripts/validate-showcase.mjs

Paid Substack Subscription Example

Path: skills/acp-paid-subscription-checkout/examples/substack

This example validates that an ACP agent can complete a paid newsletter checkout end-to-end, then verify the captured charge, receipt, and paid content access.

Utilities

Agent setup guide: docs/agent-setup.md

GitHub skill references: docs/skill-packages.md

Packaged skills: packages/

Utility layout guidance: utilities/README.md

Codex Virtuals Proxy

Path: utilities/model-routing/codex-virtuals-proxy

This local helper lets Codex use Virtuals-hosted models by translating Codex Responses API calls to the Virtuals Chat Completions endpoint.

Claude Virtuals Router

Path: utilities/model-routing/claude-virtuals-router

This setup example lets Claude Code use Virtuals-hosted models through claude-code-router.

Use The Skill

ACP Paid Subscription Checkout

Path: skills/acp-paid-subscription-checkout

This is the reusable skill behind the Substack demo. It is intentionally broader than Substack: it describes a bounded paid subscription checkout workflow using ACP identity, email, and card primitives.

The skill chooses live execution, handoff, or evidence-review mode based on the environment. The recommended flow is to install the skill, then give the agent only the merchant-specific details: target subscription, plan, billing cadence, spend cap, and verification requirement. You should not need to paste the full long-form prompt for each run.

Install for Codex:

mkdir -p ~/.agents/skills
cp -R skills/acp-paid-subscription-checkout ~/.agents/skills/

Install for Claude Code:

mkdir -p ~/.claude/skills
cp -R skills/acp-paid-subscription-checkout ~/.claude/skills/

For all local-execution skills, use the installer helper:

scripts/install-local-skills.sh --mode symlink --target both

Invoke in Codex:

Use $acp-paid-subscription-checkout to complete a bounded paid subscription checkout for my ACP agent and verify access.

Invoke in Claude Code:

/acp-paid-subscription-checkout Subscribe my ACP agent email to the requested paid plan and verify access.

Other agents can read the same SKILL.md and references/ files directly, or use the demo prompt as a raw fallback.

For Claude Desktop or chat-only surfaces, upload the Claude Desktop ZIP package and use the same skill to prepare a safe handoff prompt or review redacted evidence. The skill must not issue cards, retrieve OTPs, or click paid checkout buttons unless local tools are available.

Safety Model

These demos can involve live payments. A checkout agent should only issue cards and click final paid checkout buttons when the user has explicitly authorized:

  • merchant
  • plan
  • billing cadence
  • maximum amount
  • ACP agent email
  • ACP agent card payment method

The agent must stop before paying if checkout details differ from the authorization.

Final outputs must redact full card numbers, CVVs, magic links, OTPs, and other sensitive payment details.

Related

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors