Ads dna

From Miosa-osa/canopy · View interactive version

Ads dna is an AI agent skill from the GitHub repository Miosa-osa/canopy. Brand DNA extractor for paid advertising. Scans a website URL to extract visual identity, tone of voice, color palette, typography, and imagery style. Outputs brand-profile.json. Run before /ads create or /ads generate for brand-consistent creative. Triggers on: "brand DNA", "brand profile", "extrac

How to use this skill

Skill file

/ads dna — Brand DNA Extractor

Extracts brand identity from a website and saves it as brand-profile.json

for use by /ads create, /ads generate, and /ads photoshoot.

Usage

/ads dna <url>
/ads dna https://acme.com
/ads dna https://acme.com --quick

Arguments

| Flag | Type | Default | Description |

|------|------|---------|-------------|

| <url> | string | required | Website URL to analyze |

| --quick | flag | false | Homepage only (skip secondary pages) |

Process

Step 1: Collect URL

If the user hasn't provided a URL, ask:

"What website URL should I analyze for brand DNA?"

Step 2: Fetch Pages

Fetch in this order:

  1. Homepage (<url>)
  2. About page — try <url>/about, then <url>/about-us, then <url>/our-story
  3. Product/Services page — try <url>/product, then <url>/products, then <url>/services

If --quick flag was provided: fetch the homepage only.

Step 3: Extract Brand Elements

From the fetched HTML, extract:

Colors:

Typography:

Voice:

Analyze hero headline, subheadline, About page intro, and CTA button text.

Score each axis 1-10:

| Signal | Score direction |

|--------|----------------|

| Uses "you/your" frequently | formal_casual -> casual (+2) |

| Uses technical jargon | expert_accessible -> expert (-2) |

| Short punchy sentences (<=8 words) | bold_subtle -> bold (+2) |

| Data/stats in hero | rational_emotional -> rational (-2) |

| "Transform", "revolutionize" | traditional_innovative -> innovative (+2) |

| Customer testimonials lead | rational_emotional -> emotional (+2) |

Imagery style (from og:image and hero images):

Forbidden elements (infer from brand positioning):

Step 4: Build brand-profile.json

{
  "schema_version": "1.0",
  "brand_name": "string",
  "website_url": "string",
  "extracted_at": "ISO-8601",
  "voice": {
    "formal_casual": 1-10,
    "rational_emotional": 1-10,
    "playful_serious": 1-10,
    "bold_subtle": 1-10,
    "traditional_innovative": 1-10,
    "expert_accessible": 1-10,
    "descriptors": ["adjective1", "adjective2", "adjective3"]
  },
  "colors": {
    "primary": "#hexcode or null",
    "secondary": ["#hex1", "#hex2"],
    "forbidden": ["#hex or color name"],
    "background": "#hexcode",
    "text": "#hexcode"
  },
  "typography": {
    "heading_font": "Font Name or null",
    "body_font": "Font Name or system-ui",
    "pairing_descriptor": "brief description"
  },
  "imagery": {
    "style": "professional photography | illustration | flat design | mixed",
    "subjects": ["subject1", "subject2"],
    "composition": "brief description",
    "forbidden": ["element1", "element2"]
  },
  "aesthetic": {
    "mood_keywords": ["keyword1", "keyword2", "keyword3"],
    "texture": "minimal | textured | mixed",
    "negative_space": "generous | moderate | dense"
  },
  "brand_values": ["value1", "value2", "value3"],
  "target_audience": {
    "age_range": "e.g. 25-45",
    "profession": "brief description",
    "pain_points": ["pain1", "pain2"],
    "aspirations": ["aspiration1", "aspiration2"]
  }
}

Step 5: Write brand-profile.json

Write to ./brand-profile.json in the current working directory.

Step 6: Confirm and Summarize

Brand DNA Summary:
  Brand: [brand_name]
  Voice: [descriptor 1], [descriptor 2], [descriptor 3]
  Primary Color: [hex]
  Typography: [heading_font] / [body_font]
  Target: [age_range] [profession]

Run `/ads create` to generate campaign concepts from this profile.

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.