← Back to Skills Marketplace
zero2ai-hub

Ads Optimizer Skill

by Zero2Ai · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
730
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install skill-ads-optimizer
Description
Amazon Ads API v3 skill for OpenClaw agents. List profiles, manage Sponsored Products campaigns, view budgets and performance. Works with any advertiser acco...
Usage Guidance
This skill appears to do what it claims: it needs a local amazon-ads-api.json with your LWA client ID/secret, refresh token, profileId, and region, and it uses Node to call Amazon's official endpoints. Before installing: (1) verify the skill's origin — the package has no homepage and an unknown source owner, so prefer code you trust; (2) store amazon-ads-api.json securely (restrict file permissions) and avoid putting production credentials in shared locations; (3) consider using short-lived or scoped credentials and rotate them if you suspect exposure; (4) confirm your Node runtime provides fetch or run with a Node version that supports it; (5) review the small scripts/ads.js yourself (it's readable) — if you accept these conditions, the skill's requirements are proportionate to its purpose.
Capability Analysis
Type: OpenClaw Skill Name: skill-ads-optimizer Version: 1.0.1 The skill's core functionality aligns with its stated purpose of managing Amazon Ads. However, the `scripts/ads.js` file contains a critical arbitrary file write vulnerability. The `--out` command-line argument, intended for saving campaign data, directly uses the provided path in `fs.writeFileSync(args.out, ...)`. This lack of path sanitization allows an attacker or a malicious prompt to instruct the agent to write the script's JSON output to any arbitrary file path on the system, potentially leading to privilege escalation or system compromise. This is a significant vulnerability, classifying the skill as suspicious rather than malicious, as there is no clear evidence of intentional harmful behavior by the developer.
Capability Assessment
Purpose & Capability
Name/description (Amazon Ads API v3) align with required binaries (node), the included script, and the network calls to Amazon endpoints. Minor discrepancy: registry metadata lists no required env vars while SKILL.md documents an optional AMAZON_ADS_PATH — this is functional (there's a default path) but the metadata could be more explicit.
Instruction Scope
SKILL.md confines runtime behavior to creating a credentials JSON file, optionally setting AMAZON_ADS_PATH, and running the provided node script. The script only reads that credentials file, fetches tokens from api.amazon.com, and calls Amazon advertising endpoints; it does not reference other system files or unexpected external endpoints.
Install Mechanism
No install spec (instruction-only) and the code file is small and readable. Nothing is downloaded from arbitrary URLs or extracted to disk by an installer.
Credentials
The skill requires Amazon LWA client ID/secret, refresh token, profileId and region — which are appropriate for the Ads API and are stored in a local JSON file rather than as declared environment variables. The metadata did not declare a primary credential or required env vars, which is a minor metadata mismatch but not a functional red flag.
Persistence & Privilege
Skill is not always-on, does not request elevated system privileges, and does not modify other skills or global agent settings. It runs only when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-ads-optimizer
  3. After installation, invoke the skill by name or use /skill-ads-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Renamed from skill-amazon-ads — campaign management & bid optimization
Metadata
Slug skill-ads-optimizer
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Ads Optimizer Skill?

Amazon Ads API v3 skill for OpenClaw agents. List profiles, manage Sponsored Products campaigns, view budgets and performance. Works with any advertiser acco... It is an AI Agent Skill for Claude Code / OpenClaw, with 730 downloads so far.

How do I install Ads Optimizer Skill?

Run "/install skill-ads-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ads Optimizer Skill free?

Yes, Ads Optimizer Skill is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Ads Optimizer Skill support?

Ads Optimizer Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ads Optimizer Skill?

It is built and maintained by Zero2Ai (@zero2ai-hub); the current version is v1.0.1.

💬 Comments