Skip to main content

AI e-commerce skills for Qianchuan advertising operations, compatible with Codex/OpenClaw/Cursor

Project description

ai-ecom-skills

AI e-commerce skills for Qianchuan (巨量千川) advertising operations.

Compatible with Codex, OpenClaw, and Cursor.

Installation

pip install ai-ecom-skills

Quick Start

# Install skill to all platforms (Codex/OpenClaw/Cursor)
ai-ecom-skills install --target all

# Set backend API URL
export BACKEND_API_BASE_URL=http://localhost:8080

# Restart your agent (Codex/OpenClaw/Cursor)

CLI Commands

Command Description
ai-ecom-skills install --target all Install to all platforms
ai-ecom-skills install --target codex Install to Codex only
ai-ecom-skills install --target openclaw Install to OpenClaw only
ai-ecom-skills uninstall --target all Uninstall from all platforms
ai-ecom-skills list Show installation status
ai-ecom-skills info Show skill information

Features

Analysis Skills

  • ReviewSummarySkill - Summarize execution results (before/after comparison)
  • RiskGuardrailSkill - Check risk policies (kill_switch, budget limits)
  • ActionProposalDraftSkill - Generate optimization proposals

Fetch Skills

  • FetchPlanCoreContextSkill - Fetch plan basic info
  • FetchPlanMetricsSkill - Fetch daily metrics (ROI/cost/GMV)
  • FetchPlanHourlyMetricsSkill - Fetch hourly metrics

Execute Skills

  • ExecuteAdjustBudgetSkill - Adjust plan budget
  • ExecuteAdjustBidSkill - Adjust plan bid
  • ExecutePausePlanSkill - Pause an ad plan

Python Usage

from ai_ecom_skills.skills.review_summary import ReviewSummarySkill
from ai_ecom_skills.schemas.agent import AgentTaskRequest

skill = ReviewSummarySkill()
request = AgentTaskRequest(
    targetId="plan-001",
    context={
        "metrics_before": {"roi": 2.5, "cost": 100.0},
        "metrics_after": {"roi": 3.8, "cost": 120.0},
        "execution_label": "提高预算 20%",
    },
)
suggestion = skill.run(request)
print(suggestion.summary)

Requirements

  • Python >= 3.11
  • Backend API service running (for Fetch/Execute skills)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_ecom_skills-0.1.3.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_ecom_skills-0.1.3-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

Details for the file ai_ecom_skills-0.1.3.tar.gz.

File metadata

  • Download URL: ai_ecom_skills-0.1.3.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for ai_ecom_skills-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0cfc71b06f8fa9fa0cdb67bfec784fd00d0daea2f9b8858b5b944146599a3c77
MD5 546fe2dd001e99dd85f75207b19c73b3
BLAKE2b-256 88dc7e453be46b75aa2fe3e4cb998c1eaacf45e8537477a21e81c22dc222a013

See more details on using hashes here.

File details

Details for the file ai_ecom_skills-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ai_ecom_skills-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 62.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for ai_ecom_skills-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4379cc43ddbf2b10999d662d0c25c4e5bb20ed32b03e333e2ca0a6c1b62eb6
MD5 fb363800070c0d3d45db27a50310ccd1
BLAKE2b-256 5ac31fa3cdacc0d35c330f09e739a4fa1806ea73739166fe830d7337662c79d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page