Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bytedance avatar

Byted Market Insight Agent

  • 20 installs
  • 411 repo stars
  • Updated August 4, 2026
  • bytedance/agentkit-samples

byted-market-insight-agent is a Claude skill that pulls public social and media content on brands, competitors and topics from Volcengine and surfaces AI-filtered business-opportunity clues.

About

This skill provides a unified entry point to Volcengine market-insight services for brand and competitor monitoring. A marketer or researcher uses it to track brand mentions across social platforms, follow competitor activity, gauge discussion around a topic or event, and pull AI-generated business-opportunity clues with ACOR evaluation and company profiles. It auto-selects an API Gateway or official SDK provider and reads credentials from env vars or a persisted file.

  • Pulls public social and media content about a brand, competitors or topic via Volcengine market insight
  • AI-filters content and surfaces business-opportunity clues with ACOR evaluation and company profiles
  • Auto-selects between API Gateway and official SDK providers with credential persistence and fallback

Byted Market Insight Agent by the numbers

  • 20 all-time installs (skills.sh)
  • Ranked #1,477 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

byted-market-insight-agent capabilities & compatibility

Requires Volcengine Gateway or SDK credentials; billed by Volcengine, not free.

Capabilities
brand monitoring · competitor research · social listening · trend analysis
Use cases
research · marketing · data analysis
Pricing
Bring your own API key
From the docs

What byted-market-insight-agent says it does

本 Skill 旨在为 Agent 提供一个统一、稳定且无感的市场洞察服务调用入口。
SKILL.md
**品牌声量监测**:获取关于特定品牌或产品的社交媒体讨论。
SKILL.md
**API Gateway**:检查是否存在 `ARK_SKILL_API_BASE` 和 `ARK_SKILL_API_KEY` 环境变量。此路径无任何第三方 Python 库依赖,是首选。
SKILL.md
npx skills add https://github.com/bytedance/agentkit-samples --skill byted-market-insight-agent

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs20
repo stars411
Last updatedAugust 4, 2026
Repositorybytedance/agentkit-samples

What it does

Track brand mentions, competitor activity and topic buzz, and pull AI-filtered business-opportunity clues via Volcengine.

Who is it for?

Brand-mention tracking, competitor monitoring, topic-buzz analysis, and pulling AI-generated business-opportunity clues.

Skip if: Users with no Volcengine Gateway or SDK credentials in env vars or persisted auth, since all links then fail authentication.

When should I use this skill?

The user wants to know who is discussing their brand or competitors online, gauge topic buzz, or query business-opportunity clues.

What you get

Returns AI-filtered public content and structured business-opportunity clues about a brand, competitor or topic.

  • AI-filtered public content
  • business-opportunity clues with ACOR evaluation and company profiles

By the numbers

  • three core functions: list_custom_subs_task, pull_post, query_clue_info
  • two provider paths: API Gateway and official SDK

Files

SKILL.mdMarkdownGitHub ↗

Market Insight Agent — 火山引擎市场洞察助手

用途与设计目标

本 Skill 旨在为 Agent 提供一个统一、稳定且无感的市场洞察服务调用入口。它整合了 market-insight-agent-v2-optimized(零依赖 Gateway 版本)和 market-insight-agent-portable-sdk(官方 SDK 版本)的优点,实现了以下目标:

1. 统一调用路径:无论底层采用 API Gateway 还是官方 SDK,对 Agent 而言,始终通过 scripts/client.pylist_custom_subs_taskpull_postquery_clue_info 三个函数以相同的方式调用。 2. 动态 Provider 选择:默认优先使用 API Gateway 方式。同时,Skill 能够根据当前环境(如环境变量配置)和运行时状态(如某条链路连续失败)动态地、智能地选择最佳调用路径。 3. SDK 自动安装:当需要使用 SDK 路径但环境中未安装 volcengine-python-sdk 时,Skill 会自动尝试安装,实现真正的“开箱即用”。 4. 状态与凭证持久化:Skill 会将其运行状态(如上次成功的 Provider)和用户提供的凭证(若通过“最小化询问”获得)持久化到 Skill 私有的 persist/ 目录中,实现会话间的状态保持和凭证复用。 5. 最小化询问:仅在完全没有可用凭证或所有链路均认证失败时,才向 Agent 层发出明确的“最小化询问”请求,由 Agent 决定何时以及如何向用户获取凭证,避免了不必要的打扰。

触发场景

当需要与火山引擎市场洞察服务交互时,应使用本 Skill。具体场景包括但不限于:

  • 品牌声量监测:获取关于特定品牌或产品的社交媒体讨论。
  • 竞品动态追踪:监控竞争对手的市场活动、用户反馈。
  • 行业趋势分析:通过分析公开数据发现行业热点与变化。
  • 热点话题总结:对特定事件或话题进行深入的内容挖掘与分析。
  • 监控任务管理:查询、管理在市场洞察平台创建的订阅/监控任务。
  • 商机线索查询:拉取由 AI 生成的、包含 ACOR 评估、公司画像等的结构化商机线索。

Provider 选择策略

Skill 内部通过 scripts/auth_resolver.py 实现了一套智能的 Provider 选择策略,其决策顺序如下:

1. 会话粘性优先:如果上一次调用成功,则优先复用该 Provider(Gateway 或 SDK),以保证链路稳定性。 2. 默认优先级:在没有历史成功记录的情况下,默认按以下顺序尝试:

  • API Gateway:检查是否存在 ARK_SKILL_API_BASEARK_SKILL_API_KEY 环境变量。此路径无任何第三方 Python 库依赖,是首选。
  • 官方 SDK:检查是否存在 VOLCSTACK_ACCESS_KEY_IDVOLCSTACK_SECRET_ACCESS_KEY 环境变量。

3. 动态降级:如果某个 Provider 连续出现鉴权失败(401/403)或网络不可达,它将被临时标记为“降级”状态,在一段时间内自动切换到备用 Provider。 4. 最小化询问触发:当上述所有路径均因缺少凭证而无法使用时,Skill 会抛出 MissingCredentialsError,并附带清晰的提示,告知 Agent 层应如何向用户请求凭证。

更多细节请参考 references/usage.md

危险操作限制

为了确保安全与合规,本 Skill 严格遵守以下限制:

  • 不执行 `aime skill upload` 或 `aime skill enable`:Skill 的打包和部署应由用户或上层 CICD 流程明确发起,Skill 本身不包含任何自动上传或启用的逻辑。
  • 不硬编码凭证:所有 API Key、AK/SK 等敏感信息均通过环境变量或持久化的 persist/auth.json 文件读取,代码中不包含任何硬编码的凭证。
  • 日志脱敏:在打印 Debug 日志时,会自动对 API Gateway 地址、API Key 等敏感信息进行脱敏处理,仅打印非敏感的调用摘要。
  • 持久化目录隔离:所有持久化文件(状态、凭证)均存储在 Skill 根目录下的 persist/ 目录中,确保与工作空间的其他部分隔离。

环境变量在哪里找

本 Skill 在启动时会主动去帮你“找环境变量”,并按固定顺序决定实际生效的凭证来源:

  • 首先必须扫描常见 shell 配置文件中的 `export` 行~/.bashrc~/.bash_profile~/.zshrc~/.profile),只读解析其中形如 export ARK_*/VOLCSTACK_* 的简单常量定义,用于收集 Gateway 与 SDK 的候选凭证;
  • 然后默认假设用户已经在环境变量中配置了凭证:如果当前进程的环境变量(os.environ)中已经有对应的 ARK_* / VOLCSTACK_*,则认为这些值“已经生效”,会覆盖前面从 rc 文件中收集到的候选值
  • 若在环境变量中仍然缺少成对凭证,则再回退到 Skill 私有的持久化文件 persist/auth.json(由 Agent 层在最小化询问后写入),尝试补全缺失的 Gateway 或 SDK 凭证;
  • 当上述三处都无法提供可用凭证时,才会抛出 MissingCredentialsError,由 Agent 层触发“最小化询问”,向用户要必要的少量信息。

顺序:先扫描 rc → 再读取 os.environ(若已生效覆盖候选)→ 再读 persist/auth.json → 最后触发最小化询问

整个过程中,rc 文件的解析始终是只读的:

  • 只解析简单常量形式的 export VAR=VALUE 行,不会执行 source,不会展开 $VAR$() 等表达式;
  • 日志中也只会输出脱敏后的摘要,而不会打印明文凭证;
  • 不会自动写回 rc 或修改用户环境。

典型自查方式包括:

  • 在终端中查看当前进程环境:echo $ARK_SKILL_API_BASEenv | grep ARK_SKILL_API_BASE
  • 在 rc 文件中搜索 export 语句:grep -n "^export ARK_SKILL_API_BASE" ~/.bashrc ~/.bash_profile ~/.zshrc ~/.profile 2>/dev/null

快速验证

你可以通过运行 scripts/quick_validate.py 来进行一次静态自检,它会检查关键文件是否存在、Python 版本是否满足要求,以及环境变量的配置情况,但不会发起任何网络请求。

python3 scripts/quick_validate.py

Related skills

FAQ

Which providers does it use?

It auto-selects between an API Gateway path and the official SDK path, defaulting to the Gateway and falling back on repeated failures.

Where does it look for credentials?

It scans shell rc files and os.environ for ARK_* / VOLCSTACK_* vars, then falls back to a persisted persist/auth.json.

Marketing & SEOcontentdistribution

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.