← 返回 Skills 市场
hypjo

HypDiscordGOD

作者 HypJo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hypdiscordgod
功能描述
Build, extend, debug, scaffold, and package Discord bots and bot systems. Use when asked to create a Discord bot, scaffold a new bot project, add slash comma...
使用说明 (SKILL.md)

HypDiscordGOD

Overview

Use this skill to turn Discord bot requests into shippable systems with clean architecture, minimal privileged intents, clear configuration, and production-ready command, API, worker, and dashboard structure.

Prefer acting over theorizing: if the repository exists, inspect it and implement directly; if no project exists, scaffold a minimal runnable system immediately.

Default to modern Discord patterns:

  • Prefer slash commands over legacy prefix commands unless the user asks otherwise.
  • Prefer discord.js for Node/TypeScript projects and discord.py for Python projects unless the repo already uses another library.
  • Keep tokens and secrets in environment variables; never hardcode them.
  • Request only the intents and permissions the feature actually needs.

Workflow

  1. Inspect the repository and detect the stack.
  2. Decide whether this is:
    • a new bot,
    • a new feature in an existing bot,
    • a refactor/migration,
    • a dashboard/API integration task,
    • a webhook integration task,
    • a worker/queue task,
    • a moderation dashboard task,
    • a mono-repo starter task,
    • or a debugging task.
  3. Confirm the runtime, package manager, storage model, and bot library already in use.
  4. Implement the smallest clean change that satisfies the request.
  5. Add or update configuration examples, command registration, startup instructions, API route notes, auth notes, and worker notes if needed.
  6. Validate with available tests, type checks, or a dry run when possible.
  7. If creating a new bot or companion service from scratch, prefer bundled scaffolds and templates before hand-rolling files.

Core Rules

  • Match the existing repository style when one already exists.
  • Prefer least privilege for intents, permissions, routes, and secrets.
  • Keep Discord snowflakes as strings in JavaScript/TypeScript systems.
  • Separate bot runtime, HTTP API, dashboard frontend, and worker concerns when complexity justifies it.
  • Treat in-memory sessions as development-grade unless explicitly hardened.
  • Call out production gaps clearly: CSRF, durable sessions, refresh token storage, HTTPS, audit logging, and permission enforcement.

Mono-repo Systems

For bot + API + dashboard + worker systems:

  • separate apps clearly
  • share schema, config, and type helpers through packages or documented conventions
  • leave behind runnable service start points and compose orchestration when possible
  • prefer wiring the mono-repo starter to real bundled patterns instead of leaving empty placeholders
  • when asked for a full transplant or deep merge, align monorepo app shapes with the richer bundled starters so another agent can upgrade them in place without re-scaffolding

Output Expectations

When completing Discord bot work:

  • Modify the existing project instead of inventing a parallel architecture.
  • Include any required environment variables.
  • Mention command registration steps if commands changed.
  • Mention portal-side steps if intents or permissions must be enabled.
  • Keep examples realistic and directly runnable.
  • When adding persistence, define schema shape or migration expectations.
  • When adding deployment, leave behind runnable deploy artifacts if appropriate.
  • When adding transcript support, mention limitations around embeds, edited/deleted messages, and retention unless fully handled.
  • When adding dashboard/API integration, identify which auth parts are development-grade versus production-ready.
  • When adding OAuth, mention redirect URI requirements, secure session storage expectations, refresh-token handling expectations, and logout behavior.
  • When adding queue/worker patterns, explain the responsibility split between API, worker, and bot.
  • When adding Prisma or Drizzle, include enough starter assets that another agent can actually use them without rebuilding from scratch.
  • When preparing for public release, keep wording generic, remove private assumptions, and ensure the packaged skill stands on its own.

Bundled Assets

Use these when they save time:

  • assets/discord-js-ts-template/ for a modern slash-command bot starter.
  • assets/bun-template/ for a Bun-oriented starter.
  • assets/ticket-bot-starter/ for a SQLite-backed ticket bot with claim, archive/reopen, and transcript support.
  • assets/dashboard-api-starter/ for an Express + SQLite companion API starter with OAuth starter auth, guild permission checks, real OAuth guild listing, logout/session handling, CSRF protection, webhook route, shared guild-config access, and queue/worker patterns.
  • assets/dashboard-frontend-starter/ for a React/Vite dashboard frontend starter with multi-guild UX.
  • assets/moderation-dashboard-starter/ for a moderation dashboard API starter with audit logging.
  • assets/prisma-starter/ for a Prisma + Postgres starter with guild config and ticket schema.
  • assets/drizzle-starter/ for a Drizzle + Postgres starter with guild config and ticket schema.
  • assets/monorepo-starter/ for a multi-service layout starter combining bot, API, dashboard, worker, env template, and Docker Compose.
  • assets/docker/ for basic container deployment artifacts.

References

Read these only if needed:

  • references/discord-bot-planning.md
  • references/discord-js-patterns.md
  • references/discord-py-patterns.md
  • references/persistence-patterns.md
  • references/postgres-prisma-drizzle-patterns.md
  • references/deployment-patterns.md
  • references/dashboard-api-patterns.md
  • references/oauth-dashboard-patterns.md
  • references/csrf-session-patterns.md
  • references/webhook-patterns.md
  • references/worker-queue-patterns.md
  • references/moderation-dashboard-patterns.md
  • references/monorepo-starter-patterns.md
  • references/ticket-system-patterns.md
  • references/ticket-advanced-patterns.md
  • references/ticket-bot-starter-notes.md
  • references/troubleshooting.md
安全使用建议
This skill bundles complete Discord bot and dashboard starters that will work but expect you to provide secrets and a runtime environment. Before installing or running it: (1) review the code for the env vars it uses — notably DISCORD_TOKEN, CLIENT_ID, DISCORD_CLIENT_SECRET, DISCORD_REDIRECT_URI, API_TOKEN, DATABASE_URL/DATABASE_PATH, SESSION_COOKIE_SECRET, STAFF_ROLE_ID, TICKET_CATEGORY_ID, etc. — and only supply secrets you intend to use; (2) be aware the starters create local DB files (e.g., tickets.db, moderation.db) and write transcript files to a transcripts/ directory — run in a sandbox or appropriate working directory; (3) the dashboard code performs Discord OAuth and stores session tokens in an in-memory store (development-grade) and uses signed cookies — set SESSION_COOKIE_SECRET and configure secure cookies/HTTPS in production; (4) verify any endpoints and job enqueueing logic if you plan to expose the API publicly (API_TOKEN is used by requireApiToken); (5) if you need the agent to run code or modify a repo, inspect changes before committing and avoid running in environments containing other sensitive credentials. The main inconsistency is metadata not declaring the sensitive envs this skill will need — treat that omission as a reason to manually audit before use.
功能分析
Type: OpenClaw Skill Name: hypdiscordgod Version: 1.0.0 The hypdiscordgod skill bundle is a comprehensive and legitimate toolkit for developing Discord bots, dashboards, and related infrastructure. It provides well-structured templates for various environments (Node.js, Bun) and ORMs (Prisma, Drizzle), along with shell scripts for scaffolding projects. The code demonstrates security awareness by implementing CSRF protection (assets/dashboard-api-starter/src/csrf.ts), emphasizing the use of environment variables for secrets, and providing extensive documentation on best practices like least-privilege intents and secure OAuth handling. No indicators of malicious intent, data exfiltration, or harmful prompt injection were found.
能力评估
Purpose & Capability
Name/description match the included assets: the repo contains many Discord bot, dashboard, worker, and DB starters that fit the stated purpose. The included scripts and templates (discord.js, discord.py stubs, Prisma/Drizzle starters, dashboard/API starters, ticket bot) are consistent with a scaffolding/debugging skill.
Instruction Scope
SKILL.md instructs the agent to inspect repositories, scaffold minimal runnable systems, modify projects in place, and validate with dry runs or type checks. Those instructions stay within the expected scope for a scaffolding/debugging skill and reference only Discord API interactions and local project changes.
Install Mechanism
This is instruction-only (no install spec). The skill nevertheless bundles many asset files/templates but does not instruct downloading arbitrary code at install time. Low install mechanism risk.
Credentials
The skill metadata declares no required environment variables or primary credential, but SKILL.md and many bundled code files clearly expect multiple secrets and runtime envs (examples observed: DISCORD_TOKEN, CLIENT_ID, GUILD_ID, DISCORD_CLIENT_SECRET, DISCORD_REDIRECT_URI, API_TOKEN, DATABASE_URL or DATABASE_PATH, SESSION_COOKIE_SECRET, STAFF_ROLE_ID, TICKET_CATEGORY_ID, etc.). The omission of declared env requirements is an incoherence: the skill will require sensitive tokens and DB connections to run and will write to local files (tickets.db, moderation.db, transcripts/*.txt). The primary credential should reasonably be the Discord bot token; its absence in metadata is notable.
Persistence & Privilege
always: false and normal model invocation settings. The skill does write files/databases within a project (SQLite files, transcripts) and creates runnable scaffolds, which is expected for this purpose. It does not request permanent platform-level presence or modify other skills' configs according to the provided bundle.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hypdiscordgod
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hypdiscordgod 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of hypdiscordgod skill. - Supports building, extending, debugging, scaffolding, and packaging Discord bots and systems. - Handles bot features including commands, moderation, tickets, roles, embeds, webhooks, dashboards, OAuth, persistence, and deployment setup. - Offers support for Node.js/TypeScript (discord.js), Python (discord.py), Bun, Docker, Postgres/Prisma/Drizzle, mono-repo structures, and queue/worker systems. - Includes bundled templates for common patterns and services to accelerate project setup.
元数据
Slug hypdiscordgod
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HypDiscordGOD 是什么?

Build, extend, debug, scaffold, and package Discord bots and bot systems. Use when asked to create a Discord bot, scaffold a new bot project, add slash comma... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。

如何安装 HypDiscordGOD?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hypdiscordgod」即可一键安装,无需额外配置。

HypDiscordGOD 是免费的吗?

是的,HypDiscordGOD 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

HypDiscordGOD 支持哪些平台?

HypDiscordGOD 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HypDiscordGOD?

由 HypJo(@hypjo)开发并维护,当前版本 v1.0.0。

💬 留言讨论