con un clic
insights-zh
Check for existing insights report and translate it to Chinese
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Check for existing insights report and translate it to Chinese
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Builds an ad brief for any platform. Researches the user's product, audience, market, and KPIs proactively, then asks the user to confirm and fill gaps. Saves the result as .agents/ad-brief.md for future sessions. Not for writing ad copy, choosing platforms, configuring campaigns, or analyzing results.
Reference for the AdKit CLI (`adkit-cli` on npm, `adkit` command). Maps commands to ad operations: creating campaigns, ad sets, and ads on Meta, managing drafts, uploading media, searching interests. Load when the user wants to execute ad operations through the terminal or when `adkit` is installed and the user is ready to publish. Not for strategy, copywriting, creative advice, or learning about ads.
Meta (Facebook & Instagram) advertising strategy for AI agents. Covers fundamentals, ad creative best practices, campaign structure, audience targeting, budget management, and performance analysis. Use when the user wants to plan, create, launch, or optimize Meta ads, or when they need to understand how the platform works before spending money. Not for Google Ads, TikTok Ads, LinkedIn Ads, or general marketing strategy outside Meta.
Manage your team — create roles, assign tasks, spawn workers, and monitor progress
SEO content brief creation with keyword research, search intent analysis, and content structure. Covers SERP analysis, heading hierarchy, word count targets, and internal linking strategy. Use for: content briefs, SEO writing, blog strategy, content planning, keyword targeting. Triggers: seo content brief, content brief, seo brief, keyword research, search intent, content strategy, blog brief, seo writing, content planning, keyword targeting, serp analysis, content outline, seo article, blog seo
Twitter/X thread writing with hook tweets, thread structure, and engagement optimization. Covers tweet formatting, character limits, media attachments, and posting strategies. Use for: Twitter threads, X posts, tweet storms, Twitter content, social media writing. Triggers: twitter thread, tweet thread, x thread, twitter post, tweet writing, thread creation, tweet storm, twitter content, x post, twitter writing, twitter hook, tweet formatting, thread structure
| name | insights-zh |
| description | Check for existing insights report and translate it to Chinese |
| disable-model-invocation | true |
| allowed-tools | TaskCreate, TaskUpdate, TaskList, TaskGet, Bash, Read, Write |
本技能检查现有的 insights HTML 报告并将其翻译为中文。
当用户调用 /insights-zh 时,你将创建 7 个独立的 task 并按依赖关系顺序执行。
首先,使用 TaskCreate 工具创建以下 7 个任务:
创建任务后,按以下顺序执行:
使用 Bash 工具检查 ~/.claude/usage-data/report.html 是否存在:
ls -lh ~/.claude/usage-data/report.html
如果文件不存在:向用户报告错误:"❌ 未找到 report.html 文件。请先运行 /insights 命令生成报告。"并将任务标记为失败。
如果文件存在:继续执行任务 2。
python3 ~/.claude/skills/insights-zh/analyze_html.py ~/.claude/usage-data/report.html /tmp/insights-analysis.json 8
ls -lh /tmp/insights-analysis.json
/tmp/insights-analysis.json 文件。chunks 数组创建对应的翻译子任务记录。对于每个翻译子任务,按顺序执行:
翻译规则:
必须保留不翻译的内容:
class、id、data-*、style、href 等)class="container"、id="header" 等)需要翻译的内容:
翻译原则:
/tmp/insights-analysis.json 中对应 block 的 translation 字段。python3 ~/.claude/skills/insights-zh/merge_translations.py ~/.claude/usage-data/report.html /tmp/insights-analysis.json /tmp/report-zh.html
ls -lh /tmp/report-zh.html
使用 Bash 工具执行以下命令:
cp /tmp/report-zh.html ./report-zh.html
验证文件已成功复制到当前工作目录:
ls -lh ./report-zh.html
根据操作系统使用相应的命令:
macOS:
open ./report-zh.html
Linux:
xdg-open ./report-zh.html
Windows:
start ./report-zh.html
所有任务完成后,向用户显示以下信息:
✅ Insights 中文报告生成完成!
生成的文件:
- report-zh.html (当前目录)
原始报告:~/.claude/usage-data/report.html (未修改)
已在浏览器中打开翻译后的报告。
如果任务 1 报告找不到 report.html 文件,请:
/insights 命令~/.claude/usage-data/ 目录:ls -la ~/.claude/usage-data/
/insights 命令生成报告python3 --version
chmod +x /path/to/analyze_html.py
确保:
<style> 和 <script> 标签内容未被翻译./report-zh.html 文件