[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748FDHXJSPRDAJ0CTS2FWSF":3,"skill-same:01M748FDHXJSPRDAJ0CTS2FWSF":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748FDHXJSPRDAJ0CTS2FWSF","discord-admin-bot",null,"Send messages to and read messages from the TraderDaddy-Pro Discord (#admin-discussion by default) using the alpha-skills bot. Triggers on \"post to discord\", \"send to admin-discussion\", \"discord post\", \"read discord\", \"what's in","mphinance\u002Falpha-skills","mphinance","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217996678?v=4","01M71VQC89A6CMFACD2J1CJW6E","Michael H","01M71VQC9B4C0BJ7XXKT8RWRV9",32,"MIT","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: discord-admin-bot\ndescription: Send messages to and read messages from the TraderDaddy-Pro Discord (#admin-discussion by default) using the alpha-skills bot. Triggers on \"post to discord\", \"send to admin-discussion\", \"discord post\", \"read discord\", \"what's in #admin-discussion\", \"last N discord messages\", \"ping the discord\", or any natural-language request to message or check the TraderDaddy-Pro Discord.\n---\n\n# Discord Admin Bot\n\nSend and read messages in the TraderDaddy-Pro Discord using the bot token at `discord.txt`. Default channel is `#admin-discussion`; can target other channels by name once they've been discovered.\n\n## When to invoke\n- \"post to discord: \u003Cmessage>\"\n- \"send to #admin-discussion: \u003Cmessage>\"\n- \"what's been said in discord lately\"\n- \"read last 20 messages from admin-discussion\"\n- Any request mentioning the TraderDaddy-Pro Discord, #admin-discussion, or \"the bot\"\n\n## Flow\n\n### Send a message\n```\npython scripts\u002Fsend.py \"Your message here\"\n```\nOptional flags:\n- `--channel \u003Cname>` — target a different channel by name (must be in `discord_config.json`)\n- `--channel-id \u003Cid>` — target by raw ID\n\n### Read recent messages\n```\npython scripts\u002Fread.py --limit 20\n```\nOptional flags:\n- `--channel \u003Cname>` \u002F `--channel-id \u003Cid>` — same as above\n- `--format full` — include timestamps, authors, attachments; default is compact\n\n### Discover channels (one-time, or when channel layout changes)\n```\npython scripts\u002Fdiscover.py\n```\nLists every guild the bot is in and every text channel inside, and updates `discord_config.json` with the resolved IDs for `#admin-discussion`.\n\n## Hard rules\n\n- **Never print the token.** Loaded silently from `discord.txt` or `$DISCORD_BOT_TOKEN`.\n- **Never commit `discord.txt` or `discord_config.json`.** The repo root `.gitignore` blocks both.\n- **Confirm before destructive ops.** No deleting messages without explicit user instruction. Sending and reading are fine without confirmation; deletion requires Michael saying \"delete that\".\n- **Respect Discord rate limits.** The client retries once on 429 with the `Retry-After` value; if a second 429 hits, fail loud rather than spam.\n- **No automated cross-posting.** This skill is for direct user-driven sends, not webhook-style notifications. For algo entry\u002Fexit alerts, use the existing `core\u002Fdiscord_notify.py` webhook setup in the `mur` repo.\n\n## Token loading order\n1. `$DISCORD_BOT_TOKEN` env var (highest priority)\n2. `discord.txt` in the skill folder (the install step copies it here from the alpha-skills repo)\n3. `discord.txt` in the current working directory\n4. `discord.txt` walking up from CWD until a parent contains it\n\n## Setup (already done if installed via the build)\n1. Discord developer portal → Bot → enable **MESSAGE CONTENT INTENT** (required to read message bodies, not just metadata).\n2. Bot must be invited to the TraderDaddy-Pro guild with `View Channels` + `Send Messages` + `Read Message History` permissions on `#admin-discussion`.\n3. `discord_config.json` populated by `discover.py`.\n\nIf sending or reading fails with 401 → token is wrong. With 403 → permissions missing. With 404 → channel ID stale, re-run `discover.py`.\n\nSee [api_reference.md](references\u002Fapi_reference.md) for the underlying endpoints and rate-limit handling.\n","# Discord Admin Bot\n\nSend and read messages in the TraderDaddy-Pro Discord using the bot token at `discord.txt`. Default channel is `#admin-discussion`; can target other channels by name once they've been discovered.\n\n## When to invoke\n- \"post to discord: \u003Cmessage>\"\n- \"send to #admin-discussion: \u003Cmessage>\"\n- \"what's been said in discord lately\"\n- \"read last 20 messages from admin-discussion\"\n- Any request mentioning the TraderDaddy-Pro Discord, #admin-discussion, or \"the bot\"\n\n## Flow\n\n### Send a message\n```\npython scripts\u002Fsend.py \"Your message here\"\n```\nOptional flags:\n- `--channel \u003Cname>` — target a different channel by name (must be in `discord_config.json`)\n- `--channel-id \u003Cid>` — target by raw ID\n\n### Read recent messages\n```\npython scripts\u002Fread.py --limit 20\n```\nOptional flags:\n- `--channel \u003Cname>` \u002F `--channel-id \u003Cid>` — same as above\n- `--format full` — include timestamps, authors, attachments; default is compact\n\n### Discover channels (one-time, or when channel layout changes)\n```\npython scripts\u002Fdiscover.py\n```\nLists every guild the bot is in and every text channel inside, and updates `discord_config.json` with the resolved IDs for `#admin-discussion`.\n\n## Hard rules\n\n- **Never print the token.** Loaded silently from `discord.txt` or `$DISCORD_BOT_TOKEN`.\n- **Never commit `discord.txt` or `discord_config.json`.** The repo root `.gitignore` blocks both.\n- **Confirm before destructive ops.** No deleting messages without explicit user instruction. Sending and reading are fine without confirmation; deletion requires Michael saying \"delete that\".\n- **Respect Discord rate limits.** The client retries once on 429 with the `Retry-After` value; if a second 429 hits, fail loud rather than spam.\n- **No automated cross-posting.** This skill is for direct user-driven sends, not webhook-style notifications. For algo entry\u002Fexit alerts, use the existing `core\u002Fdiscord_notify.py` webhook setup in the `mur` repo.\n\n## Token loading order\n1. `$DISCORD_BOT_TOKEN` env var (highest priority)\n2. `discord.txt` in the skill folder (the install step copies it here from the alpha-skills repo)\n3. `discord.txt` in the current working directory\n4. `discord.txt` walking up from CWD until a parent contains it\n\n## Setup (already done if installed via the build)\n1. Discord developer portal → Bot → enable **MESSAGE CONTENT INTENT** (required to read message bodies, not just metadata).\n2. Bot must be invited to the TraderDaddy-Pro guild with `View Channels` + `Send Messages` + `Read Message History` permissions on `#admin-discussion`.\n3. `discord_config.json` populated by `discover.py`.\n\nIf sending or reading fails with 401 → token is wrong. With 403 → permissions missing. With 404 → channel ID stale, re-run `discover.py`.\n\nSee [api_reference.md](references\u002Fapi_reference.md) for the underlying endpoints and rate-limit handling.\n",{"name":5,"description":7},"main","78b6ee6816aca6e5660cc7f0382650e9e7687086","skills\u002Fdiscord-admin-bot",6,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills","https:\u002F\u002Fgithub.com\u002Fmphinance","https:\u002F\u002Fmphinance.com","2026-11-13 05:04:11",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mphinance\u002Falpha-skills --skill discord-admin-bot",{"tool":38,"command":39},"bunx","bunx skills add mphinance\u002Falpha-skills --skill discord-admin-bot",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mphinance\u002Falpha-skills --skill discord-admin-bot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002FSKILL.md",true,[46,52,58,62,66],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fapi_reference.md","REFERENCE","参考文档",2125,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002Freferences\u002Fapi_reference.md",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002F_client.py","SCRIPT","脚本",3796,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002Fscripts\u002F_client.py",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fdiscover.py",2382,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002Fscripts\u002Fdiscover.py",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fread.py",2655,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002Fscripts\u002Fread.py",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fsend.py",1458,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdiscord-admin-bot\u002Fscripts\u002Fsend.py",[71,79,84,91,98,105],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"01M7BANC8ZXMVWWHSY3E31AAC3","order-lifecycle-safety","Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":80,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":78},"01M7BAMZ37XP7XM8YDXWWSX0T9","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fquant-skills\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M74928K9ZC74YQ1GMYB4N2Q0","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M749259PAEA22A891D0EJTKK","wireframe-sketch","A hand-drawn wireframe exploration — graph-paper background, marker \u002F\npencil tone, multiple tab labels for variants, sticky-note annotations,\nscribbled chart placeholders, hatched fills. Reads like a designer's\nwhiteboard before any pixels are committed. Use when the brief asks for\n\"wireframe\", \"sketch wireframe\", \"hand-drawn\", \"lo-fi\", \"whiteboard\",\n\"草稿\", or \"手绘原型\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwireframe-sketch\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M74920ZWJS5Q1JRVJ8TSTQ5A","weekly-update","Single-file horizontal-swipe slide deck for a weekly team update —\nshipped, in flight, blocked, metrics, asks. 6–8 slides. Use when the\nbrief mentions \"weekly update\", \"team update slides\", \"weekly status\",\n\"周报演示\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweekly-update\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7491YFRHYFV5QPS0MJ3DSNP","webull-openapi","Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, EU, ZA, and AU regions with configurable risk controls.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebull-openapi\u002FSKILL.md",[],[]]