$ show TeamWiseFlow/xiaobei
小贝 (xiaobei) is an AI-powered multi-agent content marketing automation platform for small and medium businesses, built on top of the OpenClaw agent framework. It focuses on producing, publishing, and tracking content across major Chinese social media platforms (WeChat, Douyin, Xiaohongshu, Bilibili, etc.). The system uses a custom forked browser automation CLI (camoufox-cli) for platform interaction, a relay service for API signing, and SQLite databases for content and performance metrics. It includes multiple specialized agent crews (main, IT engineer, content producer, sales-cs) that collaborate through a modular skill system with thin wrapper scripts for agent invocation. The codebase demonstrates solid architecture with consistent patterns (DNA style analysis, workflow steps, patch application), but is heavily coupled to specific platform APIs and DOM structures, making it fragile to upstream changes. It is an actively developed, production-grade application aimed at automating social media operations.
The LLM identified 4 files worth highlighting for reuse:
A forked version of the camoufox anti-fingerprint browser with custom CLI commands (upload, identity, fail-first queue) and a daemon server over Unix sockets. It is a self-contained Node.js package with its own build, tests, and configuration. Reusable as a standalone browser automation tool for any project needing headless/headed browser control with persistent sessions and custom actions.
A reusable Python module for speech-to-text transcription using the Volcano Engine API. It handles authentication, file upload, polling for completion, and returns word-level timing with optional punctuation. Configurable via environment variables with a fallback file. Used by multiple skills (video-producer, viral-chaser, talking-head-cut) and can be extracted with minimal adaptation for other projects.
A TypeScript library that provides a unified signing client for Chinese social media platform APIs (Xiaohongshu a_bogus, Douyin WBI, Bilibili X-S headers). It communicates with a relay service to avoid exposing credentials client-side. The module is self-contained with a clean interface, configurable base URL, and platform-specific signing methods. Reusable for any project needing platform API authentication without handling cookies.
A shell library that defines reusable functions for exposing skill scripts as PATH-invocable commands. It creates thin wrapper scripts with proper error handling, JSON output logging, and symlink management. This pattern is central to the agent's ability to call skills by name without absolute paths. The library is generic and can be extracted for other agent-based systems needing similar command exposure.