platform-specs

platform-specs is a skill for Claude Code, Codex from mabzhang/opc-toolkit. It costs 102 tokens per session (1,006 once invoked), scanned A, original, MIT.

A reference and verification guide for advertising material requirements on major Chinese platforms, including dimensions, formats, safe areas, file sizes, and delivery details.

In plain words
What is it for?
Use it to prepare or check images and videos for platforms such as Douyin, Xiaohongshu, WeChat, Weibo, Bilibili, Taobao, and JD.
Why use it?
Platform rules and display areas differ and can change, so using unverified specifications can lead to cropped or rejected material.

Skill for Claude CodeCodex

Part of the opc-toolkit plugin — 11 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mabzhang/opc-toolkit/platform-specs
Any agent
npx skills add mabzhang/opc-toolkit --skill platform-specs
Clone the repo
git clone --depth 1 https://github.com/mabzhang/opc-toolkit

Made for: Claude Code, Codex.

Or install opc-toolkit, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for platform-specs

README.md
[![agentmods](https://agentmods.dev/badge/skills/mabzhang/opc-toolkit/platform-specs.svg)](https://agentmods.dev/skills/mabzhang/opc-toolkit/platform-specs)
Your own site
<a href="https://agentmods.dev/skills/mabzhang/opc-toolkit/platform-specs"><img src="https://agentmods.dev/badge/skills/mabzhang/opc-toolkit/platform-specs.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00102 $0.01006
Opus 5 $0.00051 $0.00503
Sonnet 5 $0.00020 $0.00201
Haiku 4.5 $0.00010 $0.00101

Measured 5d ago against content hash 11e94d1fd864, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

platform-specs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/platform-specs/SKILL.md · 77 lines

What it actually says

Platform Specs — 平台素材规格

输出平台物料尺寸、格式、安全区和交付要求。平台规则经常变化;给生产团队使用前要优先核验官方或平台帮助中心信息。

使用原则

  1. 如果用户要实际投放或交付生产,必须确认平台、广告位、素材类型和发布日期。
  2. 涉及最新规格、审核规则、广告位限制、文件大小、时长、禁投规则时,联网检索官方来源。
  3. 如果无法确认官方来源,标注“待平台确认”,不要把旧规格当成确定事实。
  4. 输出不仅写尺寸,也写安全区、裁切风险、首帧/封面、字幕、Logo、CTA 和可交付文件命名建议。

常用规格速查

以下为常见起点,交付前仍需按平台和广告位验证:

平台 常见物料 常见规格 备注
抖音 竖版短视频 1080x1920, 9:16, MP4/MOV 注意上下 UI 安全区、首 3 秒信息
抖音 横版视频 1920x1080, 16:9 适合部分信息流/横版场景
小红书 图文封面/内页 1080x1440, 3:4 封面文字少而清晰,注意关键词
小红书 竖版视频 1080x1920, 9:16 封面影响点击
微信公众号 头图/封面 常用 900x383 等比例 重点元素居中,避免裁切
朋友圈 图片/视频 1:1、3:4、9:16 常见 需确认广告位和投放后台要求
视频号 竖版视频 1080x1920, 9:16 关注标题、封面、直播承接
微博 配图/视频 竖图、方图、横视频均可 话题页和信息流展示裁切不同
B站 视频/封面 1920x1080, 16:9 封面信息密度和标题配合
淘宝/天猫 主图/详情页 主图常用 800x800,详情页常用 750 宽 以店铺后台要求为准
京东 主图/详情页 主图常用 800x800,详情页按后台 以商家后台和类目规则为准

输出格式

# 平台物料规格清单

## 1. 适用范围
- 平台:
- 广告位/发布位置:
- 素材类型:
- 计划上线日期:
- 规格核验日期:

## 2. 规格表
| 平台 | 广告位 | 素材 | 尺寸/比例 | 时长/大小 | 格式 | 安全区 | 备注 |
|---|---|---|---|---|---|---|---|

## 3. 生产注意事项
- 视觉裁切:
- 字幕/Logo/CTA:
- 首帧/封面:
- 文件命名:
- 审核风险:

## 4. 待确认
| 问题 | 影响 | 建议确认对象 |
|---|---|---|

## 5. 来源
| 来源 | 链接 | 日期 | 支持内容 |
|---|---|---|---|

规则

  • 不同广告位不要混用规格;开屏、信息流、搜索、直播间、店铺素材可能不同。
  • 安全区优先保守处理,避免按钮、字幕、价格和 Logo 被平台 UI 遮挡。
  • 若素材将用于广告投放,提醒同步核对平台审核规则和行业资质要求。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 77 lines · 102 tokens per session scan A 11e94d1fd864

Subscribe to this mod's changes

platform-specs is a skill published in the GitHub repository mabzhang/opc-toolkit (3 stars, last pushed 2mo ago), licensed MIT. It adds 102 tokens to every session and 1,006 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chinese-git-workflow

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 69 tokens

brainstorming

在任何创造性工作之前必须使用此技能——创建功能、构建组件、添加功能或修改行为。在实现之前先探索用户意图、需求和设计。.

jnMetaCode/superpowers-zh · 40 tokens

chinese-code-review

中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

chinese-commit-conventions

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 65 tokens

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

systematic-debugging

Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.

jnMetaCode/superpowers-zh · 24 tokens