platform-runtime
Skill by TeamWiseFlow
platform-runtime is an internal runtime library for TikTok, Kuaishou, X and Weibo platform tools. It manages shared transport, capability checks and login sessions for the wrapper skills that call it.
Install platform-runtime
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TeamWiseFlow/xiaobei /tmp/xiaobei && mkdir -p ~/.claude/skills && cp -r /tmp/xiaobei/crews/main/skills/platform-runtime ~/.claude/skills/platform-runtimeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/TeamWiseFlow/xiaobei /tmp/xiaobei && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/xiaobei/crews/main/skills/platform-runtime ~/.gemini/antigravity-cli/skills/platform-runtimeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
platform-runtime is an internal runtime library for platform tools covering TikTok, Kuaishou, X and Weibo. It provides shared transport, capability checks and login session management. The hunter, publishing, engagement and BD wrapper skills call it, and it is not a business entry point.
Browser login and export run through the login, login-status and export commands of x-hunter, tiktok-hunter and weibo-hunter, each with its own session. Kuaishou login uses the kuaishou-hunter login and login-confirm flow with QR or SMS. Session state is stored in ~/.openclaw/logins/platform-api/, and PLATFORM_API_HOME can point to an isolated state directory. Proxy choice follows platform-specific, global and browser session settings in a fixed order. It is meant for developers and maintainers of these platform tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Shared transportProvides a common transport layer used by the platform wrapper skills.
- Capability checksChecks platform capabilities before wrapper skills run tasks.
- Login session managementManages login and session state for TikTok, X, Weibo and Kuaishou.
- Proxy selectionChooses a proxy from platform, global and browser session settings in a fixed order.
- Session state storageKeeps login state in ~/.openclaw/logins/platform-api/ and supports an isolated state directory.
What you need
- Node.js
- Accounts on TikTok, X, Weibo or Kuaishou for login flows
Try asking
- Check the login status of my X session
- Show the proxy setting used for TikTok requests
- Start the Kuaishou QR login for the hunter tool
Good to know
- Not user-invocable and not a business entry point.
- Browser login must use the platform hunter commands, not a generic browser session.
- Dependencies must come from the project install flow, not manual npm install.
- Proxy settings and credentials must not be written to logs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: crews/main/skills/platform-runtime/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore30 B -
SKILL.md2 KB -
package.json283 B -
platforms.json3 KB -
references/login.md5 KB
Show all 19 files
-
runtime-profile.json683 B -
scripts/api-runner.mjs4 KB -
scripts/backend.mjs8 KB -
scripts/browser-snapshot.js4 KB -
scripts/cli.mjs29 KB -
scripts/diagnostics.mjs9 KB -
scripts/install-runtime.mjs13 KB -
scripts/kuaishou-login-worker.mjs447 B -
scripts/kuaishou-login.mjs6 KB -
scripts/login.mjs14 KB -
scripts/metadata.mjs4 KB -
scripts/publication.mjs6 KB -
scripts/style-profile.py1 KB -
scripts/weibo-video.mjs2 KB
Alternatives to platform-runtime
All alternatives →Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.
Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.
Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.
Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.
Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.
Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.
Compare with video-shortform, seo-plan or linkedin-profile
platform-runtime: common questions
Can I call platform-runtime directly?
The skill is marked as not user-invocable and is not a business entry point. Platform tasks call it through their wrapper skills.
How is login handled for these platforms?
Browser login and export run through the login, login-status and export commands of the x, tiktok and weibo hunter skills, each with its own session. Generic browser session login is not allowed.
How is the proxy chosen?
The proxy is selected from PLATFORM_API_<PLATFORM>_PROXY, then PLATFORM_API_PROXY, then the Camoufox session or default config. An empty value means a direct connection, and HTTP(S)_PROXY is not used as an implicit default.
How do I install platform-runtime?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is platform-runtime free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is platform-runtime safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to platform-runtime?
Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.
