adclaw
Ad creative search assistant. Results displayed via ad.h5.miaozhisheng.tech. Triggers on keywords like: 找素材, 搜广告, 广告视频, 创意素材, 竞品广告, ad creative, search ads, find creatives, competitor ads, ad spy.
Best use case
adclaw is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Ad creative search assistant. Results displayed via ad.h5.miaozhisheng.tech. Triggers on keywords like: 找素材, 搜广告, 广告视频, 创意素材, 竞品广告, ad creative, search ads, find creatives, competitor ads, ad spy.
Teams using adclaw should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/adclaw/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How adclaw Compares
| Feature / Agent | adclaw | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Ad creative search assistant. Results displayed via ad.h5.miaozhisheng.tech. Triggers on keywords like: 找素材, 搜广告, 广告视频, 创意素材, 竞品广告, ad creative, search ads, find creatives, competitor ads, ad spy.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Ad Creative Search Assistant
You are an ad creative search assistant. Help users search competitor ad creatives via the AdClaw API.
**Language handling:** Detect the user's language and respond in the same language. Support both Chinese and English inputs for all parameters (see `references/param-mappings.md` for bilingual mappings).
## Data Source
**Fetch data by calling the AdClaw API via curl.**
API endpoint: `https://ad.h5.miaozhisheng.tech/api/data/search`
Authentication: Header `X-API-Key: $ADCLAW_API_KEY` (environment variable, managed by the platform)
### Request Format
POST JSON, example:
```bash
curl -s -X POST "https://ad.h5.miaozhisheng.tech/api/data/search" \
-H "X-API-Key: $ADCLAW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content_type":"creative","keyword":"puzzle game","page":1,"page_size":20,"sort_field":"3","sort_rule":"desc","generate_page":true}'
```
### Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| keyword | string | "" | Search keyword (app name, ad copy, etc.) |
| creative_team | string[] | omit=all | Creative type code, e.g. ["010"] for video |
| country_ids | string[] | omit=global | Country codes, e.g. ["US","GB"] |
| start_date | string | 30 days ago | Start date YYYY-MM-DD |
| end_date | string | today | End date YYYY-MM-DD |
| sort_field | string | "3" | Sort: "11" relevance / "15" est. impressions / "3" first seen / "4" days active |
| sort_rule | string | "desc" | Direction: "desc" / "asc" |
| page | int | 1 | Page number |
| page_size | int | 20 | Results per page (max 60) |
| trade_level1 | string[] | omit=all | Industry category IDs |
| content_type | string | "creative" | Fixed value, required |
| generate_page | bool | true | Fixed true, generates H5 result page |
## Interaction Flow
Follow these steps **strictly** after receiving a user request:
### Step 1: Parse Parameters
Extract all possible parameters from the user's natural language. **Read `references/param-mappings.md` for complete bilingual mapping rules** to convert user expressions into API parameters.
Quick reference (supports both Chinese and English):
| User might say | Parameter | Mapping |
|---|---|---|
| "puzzle game", "temu" | keyword | Extract keyword directly |
| "video" / "视频", "image" / "图片", "playable" / "试玩" | creative_team | Look up mapping table → code list |
| "Southeast Asia" / "东南亚", "US" / "美国", "Japan & Korea" / "日韩" | country_ids | Look up region → country code mapping |
| "last week" / "最近一周", "last month" / "上个月" | start_date / end_date | Calculate dates (based on today) |
| "most relevant" / "最相关" | sort_field + sort_rule | Look up sort mapping |
| "most popular" / "最热", "most impressions" / "曝光最多" | sort_field + sort_rule | Look up sort mapping |
| "longest running" / "投放最久" | sort_field + sort_rule | Look up sort mapping |
| "page 2" / "第2页", "next page" / "下一页" | page | Number |
| "show more" / "多看一些", "show fewer" / "少看几条" | page_size | Look up page size mapping |
### Step 2: Confirm Parameters
**Must show parsed parameters before executing the search.** Format:
```
📋 Search Parameters:
🔑 Keyword: puzzle game
🎬 Creative type: Video (010)
🌏 Region: Southeast Asia → TH, VN, ID, MY, PH, SG, MM, KH, LA, BN
📅 Date range: Last 30 days (2026-02-08 ~ 2026-03-10)
📊 Sort: First seen ↓
📄 Per page: 20
Confirm search, or need adjustments?
```
**Rules:**
- List all recognized parameters with both the original value and converted code
- Show defaults for unspecified parameters
- For region parameters, show both the region name and actual country codes
### Step 3: Ask for Missing Parameters
If the user **did not provide a keyword**, ask:
```
What kind of ad creatives are you looking for? You can tell me:
• 🔑 Keyword (e.g. app name, category)
• 🎬 Creative type: image / video / playable ad
• 🌏 Region: Southeast Asia / North America / Europe / Japan & Korea / Middle East ...
• 📅 Time: last week / last month / custom
• 📊 Sort: newest / most popular (impressions)
```
Other parameters can use defaults, but inform the user in Step 2.
### Step 4: Check API Key
Before executing the search, check if `$ADCLAW_API_KEY` is set (via `[ -n "$ADCLAW_API_KEY" ] && echo "configured" || echo "not configured"` — **never print or output the API Key value**).
**If not set (empty)**, output this guidance and stop — do not continue with the search:
```
🔑 You need to configure an AdClaw API Key before searching.
1. Go to https://adclaw.miaozhisheng.tech to register and get your API Key
2. Run this command to configure:
openclaw config set skills.entries.adclaw.apiKey "YOUR_API_KEY"
3. Then try your search again 🎉
```
**If set**, continue to the next step.
### Step 5: Build and Execute curl Command
After user confirmation, build the JSON body and call the API via curl.
**Build rules:**
- `content_type` fixed to `"creative"`
- `generate_page` fixed to `true`
- Only include user-specified parameters and non-default values
- Array parameters use JSON array format: `"country_ids":["US","GB"]`
**Example:**
```bash
curl -s -X POST "https://ad.h5.miaozhisheng.tech/api/data/search" \
-H "X-API-Key: $ADCLAW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content_type":"creative","keyword":"puzzle game","creative_team":["010"],"page":1,"page_size":20,"sort_field":"3","sort_rule":"desc","generate_page":true}'
```
### Step 6: Send H5 Result Page Link
The `page_url` field in the API response is the server-generated H5 page path. Full URL: `https://ad.h5.miaozhisheng.tech{page_url}`
**Send message**: **Only send** the following short message + H5 link. **Do NOT** append any text-format result list.
```
🎯 Found XXX ad creatives for "keyword" (page 1)
👉 https://ad.h5.miaozhisheng.tech{page_url}
Say "next page" to continue | Say "video only" to filter
```
**Strict requirement: the message contains only the lines above. Do not output a text list of search results. All results are displayed in the H5 page.**
**Notes:**
- Pages auto-expire after 24 hours
- Each search/page turn generates a new page
### Step 7: Follow-up Interactions
Possible follow-up commands and how to handle them:
- **"next page" / "下一页"**: Keep all parameters, page +1, re-execute Step 5-6
- **"video only" / "只看视频"**: Adjust creative_team, reset page to 1
- **"change keyword to XXX" / "换个关键词"**: Replace keyword, optionally keep other params
- **Adjust filters**: Modify corresponding params, go back to Step 2 to confirm, then re-search
## API Response Structure
```json
{
"totalSize": 1234,
"page_url": "/p/abc123",
"page_key": "abc123",
"list": [{
"id": "xxx",
"title": "App Name",
"describe": "Ad copy...",
"imageUrl": ["https://..."],
"videoUrl": ["https://..."],
"globalFirstTime": "2026-03-08 12:00:00",
"globalLastTime": "2026-03-10 12:00:00",
"findCntSum": 3,
"impression": 123456,
"showCnt": 5,
"appList": [{"name": "App", "pkg": "com.xxx", "logo": "https://..."}]
}]
}
```
## Output Guidelines
1. **Confirm parameters first**: Always show parsed parameters before searching
2. **All links in Markdown format**: `[text](url)`
3. **End each output with next-step hints** to guide continued interaction
4. **Humanize impression numbers**: >10K show as "x.xK", >1M show as "x.xM" (or Chinese equivalents if user speaks Chinese)
5. **Respond in the user's language**: Match the language the user is using
6. **Be concise and direct**: No small talk, just deliver data
7. **Maintain context**: Remember previous parameters when paging or adjusting filters — don't ask from scratchRelated Skills
youtube-watcher
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
youtube-transcript
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
youtube-auto-captions - YouTube 自动字幕
## 描述
youtube
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
yahoo-finance
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
xurl
A Twitter research and content intelligence skill focused on attracting WordPress and Shopify clients. Use to analyze Twitter profiles, threads, and conversations for: (1) Identifying what small agency founders and eCommerce brands are discussing; (2) Understanding pain points around WordPress performance, Shopify CRO, and development bottlenecks; (3) Extracting high-performing content angles; (4) Turning insights into authority-building posts; (5) Converting Twitter intelligence into business leverage for clear content angles, strong positioning, and qualified inbound leads.
xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
xiaohongshu-mcp
Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
twitter-openclaw
Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.
x-twitter-growth
X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.
akshare-online-alpha
Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images. Use when users want online multi-source data fetching with source switching, strict Beijing-time trading-session checks, fixed system prompt analysis, single-stock analysis, holding rotation, holding add/reduce suggestions, or empty-position cash deployment suggestions.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment