Install
$ agentstack add skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-spot-websocket ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MEXC Spot WebSocket
Workflow
Use this skill for streaming, not one-off REST queries. Open references/streams.md only for exact stream names and lifecycle details.
- Use public REST endpoints for snapshots and WebSocket streams for increments.
- Use
ws://wbs-api.mexc.com/wsfor public Spot streams. - For private streams, use
$mexc-spot-restto create an API-key-only listen key, then connect to/ws?listenKey=.... - Do not print or persist listen keys except in local process memory needed for the connection.
- Reconnect before the 24-hour connection limit and extend listen keys every 30 minutes.
- Decode current public pushes with MEXC protobuf files.
- Use REST for initial balances/order books; private streams and depth streams are updates after snapshots.
- For balance/account snapshots, use
$mexc-spot-restquick commands andpython scripts/lookup.py balancebefore opening REST or stream references.
Safety Rules
- Do not request API keys in chat. Use the Spot REST skill for listen-key creation.
- Treat listen keys as temporary secrets.
- Implement exponential backoff on reconnects.
- Respect 100 messages per second and 30 streams per connection.
- For local order books, restart from a REST snapshot when sequence versions gap.
Verification
Before production code, verify subscription shape, protobuf channel suffixes, depth sequence continuity, and listen-key extension.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mncrftfrcnm
- Source: mncrftfrcnm/mexc-agent-trading-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.