Topic Brief 标志

Topic Brief

社区
genli-ai
topic-brief

根据公开新闻来源生成聚焦特定主题的 HTML 简报。当用户要求就任何主题生成简报/观察/摘要时使用,例如地区(中东、东盟、印度)、行业(半导体、电动汽车供应链、AI)、政策议题(AI 监管、关键矿产、跨境支付)、机构(Fed、ECB、IMF)或其他主题。输出为独立完整的 HTML 文件,采用蓝色“TOPIC BRIEF”品牌样式,并针对浏览器查看以及直接复制粘贴到微信公众号编辑器进行了优化。工作流程共 5 个步骤,中途需用户确认一次。不要将此技能用于短摘要(少于 1000 字)、单篇新闻评论,或已有明确模板的报告。

Add to TypingMind

概览

发布者genli-ai
代码仓库market-research-skills
技能名称topic-brief
星标数
65
复刻数
6
附带文件
13
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 13 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 genli-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Topic Brief AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/genli-ai/market-research-skills/tree/main/skills/topic-brief
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/genli-ai/market-research-skills.git /tmp/market-research-skills
mkdir -p .claude/skills
cp -r /tmp/market-research-skills/skills/topic-brief .claude/skills/topic-brief
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Topic Brief,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Topic Brief。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Topic Brief 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Topic Brief — Thematic Observation Briefing Generator

Generate a public-news-based information briefing for any subject (region / industry / policy issue / institution) and produce a single self-contained HTML file ready to paste into the 微信公众号 / WeChat Official Account editor.

Bilingual skill. Chinese version: SKILL.zh.md. English is the single source of truth; the .zh.md is a synchronized translation — always edit the English first, then mirror the change into .zh.md in the same change-set, never edit only the Chinese.

Trigger phrases

User says something like:

  • "做一份 5 月下半月的中东观察"
  • "Generate a semiconductor industry briefing for the past month"
  • "做一期 AI 立法主题观察,时间是 2026 年 Q2"
  • "/topic-brief"
  • "用 topic-brief 跑一份 ..."

Any descriptive request such as "make a briefing / observation / digest on XX" should activate this skill.

Scope exclusions

Before producing any briefing, check whether the subject falls into a refused category. The following are out of scope regardless of phrasing:

  • Political issues — elections, parties, political figures' positions, government legitimacy debates
  • Military issues — operations, force composition, equipment counts, conflict details, defense policy
  • Religious issues — doctrines, denominational disputes, religious leaders' statements
  • Entertainment celebrity gossip — personal life, scandals, fan disputes
  • Other inherently controversial topics — culture wars, identity disputes, value-judgement debates

If the requested subject is one of the above, reply with exactly one line and stop:

Out of scope. (超出能力范围)

Do not run search, do not draft anything, do not negotiate the scope.

Response language

Reply in the language of the user's request. Chinese question → Chinese reply; English question → English reply; mixed input → follow the dominant language. The generated HTML itself follows the language of the source materials and the subject_name (Chinese subjects produce Chinese briefings, English subjects produce English briefings). Field labels in user-facing reports (e.g., 来源 / Source) should match the briefing's body language.

5-step workflow

Step 1 — Collect parameters (one user-facing question prompt, 4 questions)

If the user did not provide all parameters in the trigger, ask everything in one batched user-question prompt:

QuestionHeaderOptions
What is this issue's subject?主题 / Subjectfree text (region / industry / issue / institution name)
Time window?时间 / Period"past two weeks / past month / past quarter / custom range". Immediately normalize the answer to two ISO dates [period_start, period_end] (YYYY-MM-DD). Example: if today is 2026-05-13 and the user says "past month" → period_start=2026-04-13, period_end=2026-05-13
Source preference?信息源 / Sources"A default authoritative whitelist / B my own whitelist / C block certain sources"
Author byline?作者 / AuthorPrompt: "The cover bottom-left author slot defaults to 'developed by Gen' — what should it show?" Explicit options: "A keep default / B leave blank". The user-question prompt's built-in Other option lets the user type a custom byline.
  • The subject field lands in JSON as subject_name (e.g., "中东", "半导体", "AI 立法")

  • The author field lands in JSON as author, rendered at the cover bottom-left. Three user options map to three JSON states:

    User choiceJSON actionRendered effect
    A keep defaultomit author fieldshows "developed by Gen" (schema default)
    B leave blankwrite "author": ""blank
    Other custom (e.g., "张三 · 研究院")write "author": "张三 · 研究院"custom text
  • Within the same session, if the user has already answered the author question, reuse the last value for subsequent runs (unless they change it).

If the trigger already specifies every parameter ("做 5.1–5.12 的中东观察,作者署名 '张三'"), skip the question prompt and proceed.

Step 2 — Parallel material gathering

Every search query must include a time filter. For Google / Bing: after:YYYY-MM-DD before:YYYY-MM-DD (using the period_start / period_end normalized in Step 1); for other engines, use the equivalent syntax. Without a time filter, the engine returns results by relevance — older "big events" with high SEO weight get pulled in and stale the briefing.

Time policy:

  • Focus body may reference earlier background context for contrast (e.g., "last year a similar report by X said..."), but must explicitly tag the time point (e.g., "in 2025 Q3..."), so readers can tell background from in-period events at a glance
  • Items in the 4 sub-sections must strictly fall in-window (event_date within [period_start, period_end]). Out-of-window material is either cut or moved to the focus body as labeled background

Search-engine query at least 4–6 times, covering these dimensions (adapt to subject type):

Subject typeRecommended search dimensions (4–6)
Regioncentral-bank decisions / macro data (GDP, inflation, trade) / major policies / international cooperation / breaking events
Industrybellwether company moves / regulation / capacity investment / upstream inputs / end-market demand / international competition
Policy issuelegislative progress / enforcement cases / academic discussion / cross-border spillovers / public controversy
Institutionkey decisions / senior official speeches / data releases / research output / legislative hearings

Fetch web body 1–2 times to deep-read the focus report's primary text (extract specific numbers, scenarios, policy implications).

Default authoritative whitelist (unless the user specified otherwise in Step 1):

  • International institutions: IMF, World Bank, OECD, ADB, UNCTAD, IADB, AIIB, IEA, WTO
  • Central banks: Federal Reserve, ECB, Bundesbank, individual country central banks
  • Governments: European Commission, national statistical offices
  • Mainstream financial media: Reuters, Bloomberg, FT, Economist, Nikkei Asia, Xinhua, Business Standard

Step 3 — Direction confirmation (mandatory user check-in) ⚠️

Stop after material gathering and confirm direction before writing:

Report to user:
- Time window: [period_start, period_end]
- Proposed focus report: <title> by <institution>, published <YYYY-MM-DD> (URL: ...)
- Proposed 4 sub-sections with candidate items (each tagged with event date):
  A. <section> — 3–5 items:
     · [YYYY-MM-DD] <headline> · <source institution>
     · [YYYY-MM-DD] <headline> · <source institution>
  B. ...
  C. ...
  D. ...

Ask:
- Confirm the direction?
- Swap the focus?
- Adjust the 4 sub-sections?
- Any candidate items falling outside the window (check the dates)?

Every candidate item must show its event date — this gate lets both the user and the model spot-check freshness, preventing stale items from leaking into the final draft.

If the user adjusts, revise and confirm once more. Only after sign-off proceed to Step 4.

Skipping this gate causes 5,000-character rewrites when the focus turns out wrong.

Step 4 — Compose the JSON

Follow the schema and discipline in prompts/system.md:

Length and structure:

  • Focus body 1,500–2,500 characters (3–5 sections, 200–500 chars each)
  • 4 sub-sections × 3–4 items each (headline ≤30 chars + body 100–300 chars)
  • summary: focus blurb 150–250 chars + 4 region_items one sentence each
  • Total: 3,000–5,000 characters

Top discipline — no fabricated numbers Every concrete number (percentage, currency amount, date, count) must be traceable to the materials gathered in Step 2. After writing, re-read the draft and ask "where did this number come from?" at every figure. If you cannot answer, fix it.

Time-window discipline:

  • Every sub-section item must carry an event_date field (YYYY-MM-DD; YYYY-MM is acceptable when only the month is known)
  • Every event_date must fall within [period_start, period_end]
  • When the focus body references earlier background, tag the time point explicitly ("in 2025 Q3..." / "last year...")

JSON quote discipline: Chinese inline quotes must use paired " and ", never straight " (breaks JSON parsing).

Style reference: reference/ contains 4 historical samples (3 regional + 1 red-brand institutional). Mirror their phrasing, cadence, and tone.

Save path: output/seed/<subject>_<period_end>.json so seed data is traceable.

Step 5 — Render and report

bash
python3 scripts/render.py output/seed/<subject>_<period_end>.json --out output --open
  • Auto-runs fix_quotes to repair Chinese quotation pairs
  • Renders HTML to output/<period_end>_<title>.html
  • Opens it in the browser

Reporting checklist:

  • File path
  • Character count / items per sub-section
  • Source URL list grouped by the 4 sub-sections
  • Reminder: human review of every number and URL is required before publishing — AI output ≠ conclusion

Tool-call mapping (cross-LLM adaptation)

This skill describes tool actions in generic semantic terms so non-Claude terminals can map them to their own toolset:

Generic verbMaps to (Claude Code)Maps to (other terminals)
Search-engine queryWebSearchterminal's web-search tool
Fetch web bodyWebFetchterminal's URL-fetch tool
User-facing question promptAskUserQuestionterminal's interactive-prompt tool or plain stdout question
Read full textReadterminal's file-read tool
Execute shell commandBashterminal's shell-exec tool

If the running terminal lacks an equivalent for one of these verbs (e.g., no interactive prompt), the LLM should degrade gracefully — for instance, ask the parameter questions as one plain message and wait for the user's reply.

Failure handling

SymptomAction
Search returns no material for one dimensionTell the user which queries were tried; ask whether to change keywords
A specific number cannot be verifiedCut the item or rephrase without the number; do not invent
JSON parse failure99% of the time it's Chinese-quote mis-pairing; render.py auto-runs fix_quotes as backup; if still broken, hand-inspect
Subject too narrow, 4 sub-sections cannot be filledAsk user to widen the time window or broaden the subject (e.g., "domestic EDA tools" → "semiconductors")
No suitable focus reportFall back to the period's most important central-bank decision / sovereign-rating report / major bank research

Quick command reference

bash
# Enter the skill directory (path inside the market-research-skills monorepo)
cd /path/to/market-research-skills/skills/topic-brief

# Render (auto-fixes quotes + opens browser)
python3 scripts/render.py reference/region_middle_east.example.json --out output --open

# Quote-fix only
python3 -c "from lib.fix_quotes import fix_file; from pathlib import Path; fix_file(Path('output/seed/xxx.json'))"

# Install dependency (first time)
python3 -m pip install --user jinja2

Self-check checklist (run after Step 4)

  • issue_title ≤ 24 chars (including punctuation) — longer titles wrap on the cover, fix it
  • Exactly 4 sub-sections, each with 3–4 items
  • summary.items has exactly 4 entries, aligned with the 4 sub-sections
  • Every number is traceable to a source from Step 2
  • Every item.source has a full URL
  • Every item.event_date falls within [period_start, period_end]
  • If the focus body references out-of-window background, the time point is explicitly tagged (e.g., "in 2025 Q3...")
  • item.headline ≤ 30 chars
  • Focus sections 3–5; total focus body 1,500–2,500 chars
  • Chinese quotes use paired " ", no straight "
  • subject_name field is filled
  • period_start / period_end filled with ISO dates

Red lines

  • Do not fabricate any number, date, or quote. If the source material does not contain it, rewrite without the number or cut the item entirely.
  • Do not use a non-whitelisted source as the focus report. Pop-econ blogs, social-media posts, and unattributed paraphrases cannot anchor the focus section.
  • Sub-section items must be strictly in-window. Any item whose event_date falls outside [period_start, period_end] must be cut or moved to the focus body as labeled background (with an explicit time tag).
  • Every search must include a time filter. Searching without after:/before: lets the engine return SEO-weighted older content — this is the root cause of stale briefings.
  • Do not skip Step 3 (direction confirmation). Writing 5,000 characters in the wrong direction wastes the user's review budget.
  • Do not produce a briefing on a refused subject (politics / military / religion / celebrity gossip / inherently controversial topics). Reply Out of scope. (超出能力范围) and stop.
  • Do not pad the briefing with non-substantive narration ("令人震惊" / "标志着" / "势必"). Keep it factual, dense, source-anchored.
  • Do not omit human-review reminder in Step 5. AI output is draft material, not a publishable conclusion.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Topic Brief AI 技能有什么作用?

根据公开新闻来源生成聚焦特定主题的 HTML 简报。当用户要求就任何主题生成简报/观察/摘要时使用,例如地区(中东、东盟、印度)、行业(半导体、电动汽车供应链、AI)、政策议题(AI 监管、关键矿产、跨境支付)、机构(Fed、ECB、IMF)或其他主题。输出为独立完整的 HTML 文件,采用蓝色“TOPIC BRIEF”品牌样式,并针对浏览器查看以及直接复制粘贴到微信公众号编辑器进行了优化。工作流程共 5 个步骤,中途需用户确认一次。不要将此技能用于短摘要(少于 1000 字)、单篇新闻评论,或已有明确模板的报告。

为什么在 TypingMind 中使用 Topic Brief?

因为您只需安装一次,就能搭配任何模型使用。Topic Brief 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Topic Brief?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/genli-ai/market-research-skills/tree/main/skills/topic-brief。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Topic Brief?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Topic Brief 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Topic Brief 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Topic Brief AI 技能免费吗?

是的。genli-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇