Source profileQuality 72/100Review permissions

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.

Best for

    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

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    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.

    Source-detected install commandSource
    npx skills add https://github.com/mediause/agent-skills --skill "weixin"
    Safe inspection promptEditorial

    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

    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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

    medium · line 21

    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

    medium · line 26

    The documentation includes network, browsing, or remote request actions.

    powershell -C "iwr https://release.mediause.dev/install.ps1 -UseBasicParsing | iex"

    Runs scripts

    medium · line 64

    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

    medium · line 153

    The documentation includes network, browsing, or remote request actions.

    mediause weixin get article --url 'https://weixin.sogou.com/link?...&type=2&query=codex' --json

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score72/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars9SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated 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:

    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

    1. Open https://mediause.dev/
    2. Sign in to your account.
    3. Open Project.
    4. 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.

    1. Discover site and commands.
    2. Bind account context with use account.
    3. Check status with auth health.
    4. Execute dynamic site actions.
    5. 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:

    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:

    1. Pause at least 15 minutes.
    2. Resume with read-only actions first.
    3. 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:

    1. CLI installed via https://release.mediause.dev/install.ps1 on Windows.
    2. PATH updated and mediause --version works.
    3. API key configured.
    4. Account context bound via mediause use account platform:account_id.
    5. mediause auth health --json checked after context bind.

    During run:

    1. Respect pacing and cooldown constraints.
    2. Stop on anti-bot or risk prompts.
    3. Keep write actions conservative.

    After run:

    1. Confirm result structure is parseable JSON.
    2. Check trace output for diagnostics.
    3. 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