bat-submit
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "bat-submit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3129ef22021044ecea435d2161fa0ef3d50867911ca6e5f1a0d32e0816988b4b. Verify the upstream source and version against https://skillhub.cn/skills/user_6ab1bed4/bat-submit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Submit an AI tool to BAT AI Tools (bataitools.com) using the bat-cli command-line tool. Follow a continuous three-phase workflow: prepare content in English, translate, then pack and submit.
Introduction source: third_party · user_6ab1bed4 · 1.2.8 Reference
SkillPi interpretation
- Tasks
- 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.
- Software, accounts and paid services
- 1. **Install bat-cli:** 2. **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>` 3. API endpoint default: `https://api.bataitools.com` (override via `BAT_API_URL`)
- Testing
- Not tested
Browse files
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
Current listing version
1.2.8
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供了完整的 AI 工具提交流程,具有明确的实用价值
- 适用于开发者或内容创作者将 AI 工具发布到 BAT AI Tools 平台
Highlights
- 触发词覆盖了多种变体,包括中英文触发词,边界清晰
Highlights
- 结构清晰,分为三个主要阶段,每个阶段都有详细的步骤说明和规则
- 包含端到端示例,frontmatter 完整
Highlights
- 工具来源明确(bat-cli),参数正确
- 覆盖了主要异常情况,如多站点处理、目录隔离等
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 21 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 27, 28
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.bataitools.com
- bataitools.com
- www.example.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
1. **Install bat-cli:** 2. **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>` 3. API endpoint default: `https://api.bataitools.com` (override via `BAT_API_URL`)
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.