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)
python -m ai_ecom_skills.cli install
# Set backend API URL
export BACKEND_API_BASE_URL=http://localhost:8080 # macOS/Linux
set BACKEND_API_BASE_URL=http://localhost:8080 # Windows
# Restart your agent (Codex/OpenClaw/Cursor)
CLI Commands
python -m ai_ecom_skills.cli install # Install to all platforms
python -m ai_ecom_skills.cli install codex # Install to Codex only
python -m ai_ecom_skills.cli install openclaw # Install to OpenClaw only
python -m ai_ecom_skills.cli uninstall # Uninstall from all platforms
python -m ai_ecom_skills.cli list # Show installation status
python -m ai_ecom_skills.cli 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
Metadata
Release files for ai-ecom-skills 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ai_ecom_skills-0.1.9.tar.gz | 37.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_ecom_skills-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.2 kB
Release files / ai_ecom_skills-0.1.9.tar.gz
| Download URL | ai_ecom_skills-0.1.9.tar.gz |
|---|---|
| Size | 37.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d77899c3c4f3016a62fe9f3bc4f5bb0cb9afc761e28bc382ab084451920ee4c
|
|
BLAKE2b-256 checksum How to use checksums |
3ec6aded2d214e582d66d0570d0930b326bd3c82734085699f3c79ce73272bfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / ai_ecom_skills-0.1.9-py3-none-any.whl
| Download URL | ai_ecom_skills-0.1.9-py3-none-any.whl |
|---|---|
| Size | 63.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19ab0d4fa8f88692102f422513e32d8f7413a79eb07483b830b343193d4c083c
|
|
BLAKE2b-256 checksum How to use checksums |
b3dc0c008c4ce69cad823483287ae0da11af572446f03704842006979198cab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for ai-ecom-skills 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.