bat-submit
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "bat-submit":https://skillpi.com/zh/skills/deepskill-3129ef22021044ecea435d2161fa0ef3d50867911ca6e5f1a0d32e0816988b4b。安装前核对上游来源和版本:https://skillhub.cn/skills/user_6ab1bed4/bat-submit。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
通过 bat-cli 命令行工具把 AI 工具提交到 BAT AI Tools(bataitools.com)。采用三阶段连续工作流:先用英语准备内容、再翻译、最后打包并提交。
介绍来源: third_party · user_6ab1bed4 · 1.2.8 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: bat-submit
description: Submit an AI tool to BAT AI Tools (bataitools.com) via bat-cli CLI. Use a continuous 3-phase workflow — English, translate, then pack and submit.
agent_created: true
triggers:
- submit AI tool to bataitools
- bat-cli submit
- 提交 AI 工具到 bataitools
- publish to BAT AI Tools directory
- add tool to bataitools.comBAT AI Tools — Submit Skill
Submit or update an AI tool listing on bataitools.com using the bat-cli command-line tool. The workflow always runs in 3 sequential phases without pausing for user confirmation between them.
Prerequisites
- Install bat-cli:
npm install -g @bataitools/bat-cli # or bun add -g @bataitools/bat-cli - Authenticate (pick one):
- Guest (auto-created on first submit):
bat-cli login-guest - Formal account (OAuth, like
gh auth login):bat-cli login - API key (CI):
bat-cli login <your-api-key>
- Guest (auto-created on first submit):
- API endpoint default:
https://api.bataitools.com(override viaBAT_API_URL)
Core Rule: Never generate all languages in one step
Large single-file JSON causes truncation and validation failures. Always run the 3 phases back-to-back:
| Phase | What happens | Output |
|---|---|---|
| 1. English | Crawl site, fill base.json + i18n/en.json, fetch logo + screenshot |
base.json, i18n/en.json, logo.webp, website-screenshot.png |
| 2. Translate | Translate en.json into 27 other languages (batches of 3–4) |
i18n/zh.json, i18n/ja.json, … (28 total) |
| 3. Pack & Submit | Merge, validate, upload assets, POST | submit.bundle.json, submission confirmed |
Per-site directory isolation (mandatory)
Every website gets its own directory keyed by URL hostname (lowercased only — no stripping www).
bat-cli site-dir https://www.Example.com # → ./submits/www.example.com
bat-cli init-site --website https://www.Example.com
Throughout this skill, <submit-dir> = ./submits/<hostname>, e.g. ./submits/www.example.com.
Never write site B's data into site A's directory. Always call bat-cli site-dir <url> per site.
Multiple sites
When the user lists N websites, process one site at a time — full Phase 1→2→3 per site before starting the next. Never batch-crawl or batch-translate across sites.
Phase 1 — English only
See references/01-generate-en.md for the complete crawl checklist, field guides, and voice rules.
Steps:
bat-cli init-site --website <url>
bat-cli schema en
bat-cli capture-screenshot --website <url> --dir <submit-dir>
bat-cli fetch-logo --url <absolute-logo-url> --dir <submit-dir>
Then write:
<submit-dir>/base.json— shared metadata (links, social, developer identity, taxonomy)<submit-dir>/i18n/en.json— English text fields only
Validate and continue immediately:
bat-cli validate-phase1 <submit-dir>
# → proceed to Phase 2 without waiting
Key rules:
- Taxonomy codes (
categorys,tags,audiences) must come frombat-cli schema en— never invent websitemust be canonical URL without query parameterssocialobject must always include all 8 keys (email,twitter,facebook,linkedin,instagram,youtube,tiktok,github); use""when not found, never omit keys- Do not set
logoorwebsiteScreenshotinbase.jsonduring Phase 1 (local files upload automatically at pack/submit) - Developer fields: extract
developerNamefirst (verbatim maker name from site); derivedeveloperTypeonly from that name;""when not found — never guess
Phase 2 — Translate from English
See references/02-translate-i18n.md for localization rules, priceNote rules, and examples.
All 28 languages required: en zh tw es ar id pt fr ja ru de ko tr vi it nl pl th hi uk fa bn ur sv no da fi he
Run bat-cli schema to fetch the current list from the API.
Translate in batches of 3–4 languages per LLM call:
zh,tw,ja,kode,fr,it,nles,pt,ru,trar,vi,id,thhi,bn,ur,fapl,uksv,no,da,fi,he
Key rules:
- Read only
i18n/en.jsonas source — never re-crawl - Keep array lengths identical to
en.json - Never translate
chargeTypevalues, JSON keys, URLs, or taxonomy slugs priceNote: translate period/label words only (month→月); keep currency symbols and amounts unchanged ($19 /month→$19 /月)- Localize naturally — rewrite for fluency, not word-for-word
Phase 3 — Pack and Submit
bat-cli submit auto-detects new vs update by checking if website is already listed.
bat-cli pack <submit-dir> -o <submit-dir>/submit.bundle.json
bat-cli validate -f <submit-dir>/submit.bundle.json
bat-cli submit -f <submit-dir>/submit.bundle.json
# or one-step from directory:
bat-cli submit --dir <submit-dir>
# Check submission status:
bat-cli status --id <submitId>
At pack / submit --dir: if base.json has no remote asset URLs, the CLI uploads local logo.webp and website-screenshot.png to CDN and writes the URLs back to base.json. Already-set remote URLs skip the upload.
Reference files
references/01-generate-en.md— Full Phase 1 crawl checklist,base.jsonfield guide,i18n/en.jsonfield guide, voice rules, pricing tier guide, developer identity rulesreferences/02-translate-i18n.md— Full Phase 2 localization rules, batching strategy,priceNotetranslation rules with examples
当前收录版本
1.2.8
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供了完整的 AI 工具提交流程,具有明确的实用价值
- 适用于开发者或内容创作者将 AI 工具发布到 BAT AI Tools 平台
亮点
- 触发词覆盖了多种变体,包括中英文触发词,边界清晰
亮点
- 结构清晰,分为三个主要阶段,每个阶段都有详细的步骤说明和规则
- 包含端到端示例,frontmatter 完整
亮点
- 工具来源明确(bat-cli),参数正确
- 覆盖了主要异常情况,如多站点处理、目录隔离等
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 21 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 27, 28 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- api.bataitools.com
- bataitools.com
- www.example.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。