What you need
An official account or WeCom service agent the platform can manage; a computer with Codex / WorkBuddy installed, or the web console; an MCP developer key generated in the personal centre.
Guide · Agent Twin
Turn scattered company decks, product material, courses, FAQs and service flows into one maintainable service role you can test inside WeChat. The web console suits item-by-item checking; an AI host suits bulk clean-up and cross-module iteration.
Before You Start
The goal is not a very long prompt. It is splitting service positioning, factual knowledge, FAQ, risk boundaries and assets into maintainable modules. Decide which official account or WeCom service agent you are configuring, then create a folder for its material.
An official account or WeCom service agent the platform can manage; a computer with Codex / WorkBuddy installed, or the web console; an MCP developer key generated in the personal centre.
Company or personal introduction, products and services, pricing policy, service flow, FAQ, cases, sample phrasing and prohibited topics. Never put passwords, personal data or internal secrets into public assets or the knowledge base.
Create one folder for this account, ideally named after it. Keep everything for it here so material from different accounts never mixes.
Install & Enter
All three share the same platform configuration of record: an AI host (Codex or WorkBuddy, good for organising material, generating plans and iterating) calls the platform through authorised capabilities; the web console opens the real configuration pages directly.
Once Codex finishes installing it should hold xagent 与 xagent-files two local stdio MCP services. The first connects platform tools and dynamic Skills; the second performs authorised operations on workspace, asset and resource files.
Go to the Operations Centre, find the target under My WeChat Official Accounts or My WeCom → Digital staff, open the account console or WeCom service desk, then open Agent configuration.
First Success
In Select workspace at the bottom of the WorkBuddy composer, choose the folder you just created. It becomes the single place you keep material.
Click the plus in the composer, or type a slash, to add /Agent Designer.
Confirm which accounts or WeCom service agents you are entitled to manage. Do not create orphan agents for convenience, and do not assume a private key alone grants authority.
Drop existing documents into the folder, or let the host interview you and list what is missing. Keep facts separate from design decisions.
On the first pass, only read material and produce a plan — write nothing to the platform.
Leave untouched fields alone. Deletions, template overwrites, major risk policy changes and bulk asset moves need separate confirmation.
The entry point only counts as accepted when a real message sent there gets a reply. Saving a page is not the same as a verified conversation.
Extend Carefully
Under Agent configuration → Skill apps, attach real apps or link assets. At runtime the agent may only recommend cards that exist; it must never invent URLs or product fields.
Products, VIP, resource objects, publishing and licensing are operations and commerce configuration, not the job of xcharagent_design the code. A product draft is not a live product either.
In the account console under Message automation → Event messages, create templates and rules for subscribe and resubscribe separately; confirm the template before enabling automation.
Basic voices are chosen under Agent configuration → Basic info. Cloned voices are configured by platform super-administrators today; ordinary tenants cannot train one in a normal form.
Test & Improve
Each round, submit only the real question and the correction you expect, and let the host locate the module to change. Never overwrite the whole configuration with one huge prompt.
When you need forms, assessments, records, courses or paid delivery, build an XApp that can call the agent.
