mediause/agent-skills/weixin/SKILL.md
weixin
Standardized Weixin Official Account skill for MediaUse. Includes Windows install, key onboarding, strict context/auth flow, full weixin dynamic command map, and safety/rate controls.
- Source repository stars
- 9
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
Run WeChat Official Account workflows in MediaUse with consistent setup, context binding, command routing, and safe pacing controls.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/mediause/agent-skills --skill "weixin"Inspect the Agent Skill "weixin" from https://github.com/mediause/agent-skills/blob/766e5075b28b3acd541436a7e3b3e21cdc38da01/weixin/SKILL.md at commit 766e5075b28b3acd541436a7e3b3e21cdc38da01. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
3.1 Discover and plugin setup
Review the “3.1 Discover and plugin setup” section in the pinned source before continuing.
Review and apply the “3.1 Discover and plugin setup” source section. - 02
6. Workflow Examples
Review the “6. Workflow Examples” section in the pinned source before continuing.
Review and apply the “6. Workflow Examples” source section. - 03
6.1 Read workflow: article discovery to extraction
Review the “6.1 Read workflow: article discovery to extraction” section in the pinned source before continuing.
Review and apply the “6.1 Read workflow: article discovery to extraction” source section. - 04
6.2 Write workflow: create draft from prepared content
Review the “6.2 Write workflow: create draft from prepared content” section in the pinned source before continuing.
Review and apply the “6.2 Write workflow: create draft from prepared content” source section. - 05
6.3 Guest workflow (read-only)
Review the “6.3 Guest workflow (read-only)” section in the pinned source before continuing.
Review and apply the “6.3 Guest workflow (read-only)” source section.
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
Before every run, execute the install script once to auto-install or auto-upgrade to the latest MediaUse CLI.Network access
The documentation includes network, browsing, or remote request actions.
powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"Runs scripts
The documentation asks the agent to run terminal commands or scripts.
First step on every run: execute install script once to auto-install or auto-upgrade the latest MediaUse CLI.Network access
The documentation includes network, browsing, or remote request actions.
mediause weixin get article --url 'https://weixin.sogou.com/link?...&type=2&query=codex' --jsonEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 72/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- mediause/agent-skills
- Skill path
- weixin/SKILL.md
- Commit
- 766e5075b28b3acd541436a7e3b3e21cdc38da01
- License
- Not declared
- Collected
- 2026-07-28
- Default branch
- master
View the original SKILL.md
MediaUse Weixin Skill
Run WeChat Official Account workflows in MediaUse with consistent setup, context binding, command routing, and safe pacing controls.
Scope
Use this skill when the task targets Weixin Official Account operations such as:
- Account: health checks
- Search: article search via Sogou Weixin
- Get: drafts list and article extraction
- Post: create article draft
1. Install MediaUse CLI (Windows Only)
Use the official install script for Windows:
-
https://release.mediause.dev/install.ps1 Mandatory update rule:
-
Before every run, execute the install script once to auto-install or auto-upgrade to the latest MediaUse CLI.
Run:
powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"
Then verify:
mediause --version
Current support status:
- Windows: supported
- Linux: not supported yet
- macOS: not supported yet
Recommended skill install path:
- .mediause/skills/weixin/SKILL.md
2. Get and Configure MediaUse Key
2.1 Apply for key
- Open https://mediause.dev/
- Sign in to your account.
- Open Project.
- Create or copy your API key.
2.2 Configure key in CLI
mediause manage key <your_key> --json
3. Core Flow (Mandatory Order)
Always follow this order:
First step on every run: execute install script once to auto-install or auto-upgrade the latest MediaUse CLI.
- Discover site and commands.
- Bind account context with use account.
- Check status with auth health.
- Execute dynamic site actions.
- Verify with trace or task.
3.1 Discover and plugin setup
mediause plugin list --json
mediause plugin add weixin --json
3.2 Bind context before any read or write
use account must be executed successfully before any fetch or publish action.
use account argument format:
- platform:account_id
- account_id should be selected from mediause auth list --json.
mediause auth list --json
mediause use account weixin:<account_id> --policy balanced --json
If challenge or risk prompts appear, reopen in visible mode:
mediause use account weixin:<account_id> --policy balanced --show --json
3.3 Auth health precondition
auth health is valid only after successful use account.
mediause auth health --json
If auth health indicates not logged in or expired:
mediause auth login weixin --json
mediause use account weixin:<account_id> --policy balanced --json
mediause auth health --json
3.4 Guest mode
The manifest default account is guest, so guest context can be selected when your runtime supports it.
mediause use account weixin:guest --json
Guest mode guardrails:
- Treat as read-only by default.
- Block all write actions such as post.create-draft unless switched to a logged-in account.
4. Weixin Dynamic Command Map (v1)
Source schema:
- plugin: plugin.weixin
- schema version: v1
4.1 account.*
- mediause weixin account health --json
4.2 search.*
- mediause weixin search articles --query [--page ] [--limit ] --json
4.3 get.*
- mediause weixin get drafts [--limit ] --json
- mediause weixin get article --url --json
PowerShell URL note:
- Always wrap URL in single quotes when it contains &.
mediause weixin get article --url 'https://weixin.sogou.com/link?...&type=2&query=codex' --json
4.4 post.*
- mediause weixin post create-draft --title --content [--author ] [--summary ] [--cover_image ] --json
5. Operational Constraints (Mandatory)
Apply these constraints for all actions to reduce account risk and keep behavior human-like.
5.1 Human-like pacing
- Never execute high-risk actions continuously.
- Add randomized delay between actions.
- Add longer cooldown after draft creation actions.
- Mix read actions between write actions when possible.
5.2 Frequency limits and minimum spacing
Suggested limits:
- Publish or draft actions: <= 3 per hour
- Reply or message-like actions: <= 20 per hour
- Follow or like-like actions: <= 30 per hour
- Search or read actions: <= 60 per minute
Minimum spacing:
- Post operations: >= 20 minutes between actions
- Reply or message operations: >= 30 seconds between actions
- Engage operations: >= 10 seconds between actions
- Read or search operations: >= 1 second between actions
Same-target guardrails:
- Repeated interaction on same target: >= 60 seconds
- Repeated identical publish text: >= 24 hours (default deny)
If a limit is hit:
- Pause at least 15 minutes.
- Resume with read-only actions first.
- Re-check session health before any write action.
5.3 Safety policy
- Do not bypass platform protections.
- Do not attempt credential scraping or session hijacking.
- Respect platform terms and local regulations.
5.4 Output and error handling
- Prefer --json output for machine workflows.
- Require structured error handling with stable fields or code when available.
- On blocked, rate-limit, risk prompt, or captcha pages, stop and return actionable next steps.
6. Workflow Examples
6.1 Read workflow: article discovery to extraction
mediause use account weixin:<account_id> --json
mediause auth health --json
mediause weixin search articles --query "codex" --page 1 --limit 5 --json
mediause weixin get article --url 'https://weixin.sogou.com/link?...&type=2&query=codex' --json
mediause trace last --json
6.2 Write workflow: create draft from prepared content
mediause use account weixin:<account_id> --json
mediause auth health --json
mediause weixin post create-draft --title "Weekly Update" --content "Main content body" --author "Ops Team" --summary "Short digest" --json
mediause trace last --json
6.3 Guest workflow (read-only)
mediause use account weixin:guest --json
mediause weixin search articles --query "ai" --limit 10 --json
mediause weixin get article --url 'https://weixin.sogou.com/link?...' --json
mediause trace last --json
7. Minimal Validation Checklist
Before run:
- CLI installed via https://release.mediause.dev/install.ps1 on Windows.
- PATH updated and mediause --version works.
- API key configured.
- Account context bound via mediause use account platform:account_id.
- mediause auth health --json checked after context bind.
During run:
- Respect pacing and cooldown constraints.
- Stop on anti-bot or risk prompts.
- Keep write actions conservative.
After run:
- Confirm result structure is parseable JSON.
- Check trace output for diagnostics.
- Record warnings and cooldown events.
8. Quick Command Reference
# always run once before each workflow (auto-upgrade latest)
powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"
mediause --version
# discover
mediause plugin list --json
mediause plugin add weixin --json
# context + status
mediause auth list --json
mediause use account weixin:<account_id> --json
mediause auth health --json
# read actions
mediause weixin search articles --query "ai" --limit 5 --json
mediause weixin get drafts --limit 10 --json
mediause weixin get article --url 'https://weixin.sogou.com/link?...&type=2&query=ai' --json
# write action
mediause weixin post create-draft --title "t" --content "c" --json
# trace
mediause trace last --json
Skill Metadata Maintainer: @mediause-demo Last-Updated: 2026-06-06 Version: v1
Alternatives
Compare before choosing
event4u-app/agent-config
design-review
Use when the user says "review the design", "check the UI", or wants a comprehensive UI/UX review. Uses a 7-phase methodology covering interaction, responsiveness, accessibility, and more.
K-Dense-AI/scientific-agent-skills
dask
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
K-Dense-AI/scientific-agent-skills
medchem
Medicinal chemistry filters for compound triage. Apply drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs (PAINS, NIBR, ChEMBL), complexity metrics, and the medchem query language for library filtering.
K-Dense-AI/scientific-agent-skills
neurokit2
Use NeuroKit2 to build or audit reproducible research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Trigger when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.