# Send Meta Video Ad Deconstructor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "meta-video-ad-deconstructor",
    "name": "Meta Video Ad Deconstructor",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/fortytwode/meta-video-ad-deconstructor",
    "canonicalUrl": "https://clawhub.ai/fortytwode/meta-video-ad-deconstructor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/meta-video-ad-deconstructor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=meta-video-ad-deconstructor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "prompts/marketing_analysis.md",
      "scripts/models.py",
      "scripts/deconstructor.py",
      "scripts/prompt_manager.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/meta-video-ad-deconstructor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/meta-video-ad-deconstructor",
    "downloadUrl": "https://openagent3.xyz/downloads/meta-video-ad-deconstructor",
    "agentUrl": "https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent.md"
  }
}
```
## Documentation

### Video Ad Deconstructor

AI-powered deconstruction of video ad creatives into actionable marketing insights.

### What This Skill Does

Generate Summaries: Product, features, audience, CTA extraction
Deconstruct Marketing Dimensions: Hooks, social proof, urgency, emotion, etc.
Support Multiple Content Types: Consumer products and gaming ads
Progress Tracking: Callback support for long analyses
JSON Output: Structured data for downstream processing

### 1. Environment Variables

# Required for Gemini
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json

### 2. Dependencies

pip install vertexai

### Basic Ad Deconstruction

from scripts.deconstructor import AdDeconstructor
from scripts.models import ExtractedVideoContent
import vertexai
from vertexai.generative_models import GenerativeModel

# Initialize Vertex AI
vertexai.init(project="your-project-id", location="us-central1")
gemini_model = GenerativeModel("gemini-1.5-flash")

# Create deconstructor
deconstructor = AdDeconstructor(gemini_model=gemini_model)

# Create extracted content (from video-ad-analyzer or manually)
content = ExtractedVideoContent(
    video_path="ad.mp4",
    duration=30.0,
    transcript="Tired of messy cables? Meet CableFlow...",
    text_timeline=[{"at": 0.0, "text": ["50% OFF TODAY"]}],
    scene_timeline=[{"timestamp": 0.0, "description": "Person frustrated with tangled cables"}]
)

# Generate summary
summary = deconstructor.generate_summary(
    transcript=content.transcript,
    scenes="0.0s: Person frustrated with tangled cables",
    text_overlays="50% OFF TODAY"
)
print(summary)

### Full Deconstruction

# Deconstruct all marketing dimensions
def on_progress(fraction, dimension):
    print(f"Progress: {fraction*100:.0f}% - Analyzed {dimension}")

analysis = deconstructor.deconstruct(
    extracted_content=content,
    summary=summary,
    is_gaming=False,  # Set True for gaming ads
    on_progress=on_progress
)

# Access dimensions
for dimension, data in analysis.dimensions.items():
    print(f"\\n{dimension}:")
    print(data)

### Summary Output

Product/App: CableFlow Cable Organizer

Key Features:
Magnetic design: Keeps cables organized automatically
Universal fit: Works with all cable types
Premium materials: Durable silicone construction

Target Audience: Tech users frustrated with cable management

Call to Action: Order now and get 50% off

### Deconstruction Output

{
    "spoken_hooks": {
        "elements": [
            {
                "hook_text": "Tired of messy cables?",
                "timestamp": "0:00",
                "hook_type": "Problem Question",
                "effectiveness": "High - directly addresses pain point"
            }
        ]
    },
    "social_proof": {
        "elements": [
            {
                "proof_type": "User Count",
                "claim": "Over 1 million happy customers",
                "credibility_score": 7
            }
        ]
    },
    # ... more dimensions
}

### Marketing Dimensions Deconstructed

DimensionWhat It Extractsspoken_hooksOpening hooks from transcriptvisual_hooksAttention-grabbing visualstext_hooksOn-screen text hookssocial_proofTestimonials, user counts, reviewsurgency_scarcityLimited time offers, stock warningsemotional_triggersFear, desire, belonging, etc.problem_solutionPain points and solutionscta_analysisCall-to-action effectivenesstarget_audienceWho the ad targetsunique_mechanismWhat makes product special

### Customizing Prompts

Edit prompts in prompts/marketing_analysis.md to customize:

What dimensions to analyze
Output format
Scoring criteria
Gaming vs consumer product focus

### Common Questions This Answers

"What hooks does this ad use?"
"What's the emotional appeal?"
"How does this ad create urgency?"
"Who is this ad targeting?"
"What social proof is shown?"
"Deconstruct this competitor's ad"
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: fortytwode
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/meta-video-ad-deconstructor)
- [Send to Agent page](https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent)
- [JSON manifest](https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/meta-video-ad-deconstructor/agent.md)
- [Download page](https://openagent3.xyz/downloads/meta-video-ad-deconstructor)