Neon Functions
neondatabase/agent-skills
Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with DATABASEURL injected automatically and compute that runs next to your data.
Maintain gateway event handlers — payload hydration, cache mutation, event return shapes, and handler registration.
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeper --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .claude/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .claude/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeperType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeper --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .agents/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .agents/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeper --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .cursor/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .cursor/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/discord-php/DiscordPHP.git --path .agents/skills/gateway-cache-sync-keeper--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeper --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .gemini/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .gemini/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeperInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .github/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .github/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install discord-php/DiscordPHP gateway-cache-sync-keeper --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/gateway-cache-sync-keeper .opencode/skills/gateway-cache-sync-keeper && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gateway-cache-sync-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/gateway-cache-sync-keeper into .opencode/skills/gateway-cache-sync-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gateway-cache-sync-keeper", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gateway-cache-sync-keeperMaintain gateway event handlers — payload hydration, cache mutation, event return shapes, and handler registration.
Gateway Cache Sync Keeper is an agent skill from discord-php/DiscordPHP. Maintain gateway event handlers — payload hydration, cache mutation, event return shapes, and handler registration. Use when touching WebSockets/Events, Handlers.php, or Event.php.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Realtime and WebSockets. It works with PHP and Discord. The repository describes itself as: An API to interact with the popular messaging app Discord. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 580c66a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gateway Cache Sync Keeper loads about 1.9k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 930 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from discord-php/DiscordPHP at commit 580c66a, republished under its MIT licence (© discord-php). 930 words, ~1,946 tokens.
.claude/skills/gateway-cache-sync-keeper/SKILL.md (or your agent's skills folder).Use this skill when work touches:
src/Discord/WebSockets/Handlers.phpsrc/Discord/WebSockets/Event.phpsrc/Discord/WebSockets/Events/*This is event-to-cache coherence skill. Load it when changing gateway dispatch behavior, event return shapes, or cache mutation.
Keep gateway handling as real-time state sync layer:
src/Discord/WebSockets/Event.phpsrc/Discord/WebSockets/Handlers.phpsrc/Discord/WebSockets/Events/MessageCreate.phpsrc/Discord/WebSockets/Events/MessageUpdate.phpsrc/Discord/WebSockets/Events/GuildCreate.phpsrc/Discord/WebSockets/Events/GuildDelete.phpsrc/Discord/WebSockets/Events/InteractionCreate.phpsrc/Discord/WebSockets/Events/ThreadListSync.phpsrc/Discord/WebSockets/Events/GuildMemberAdd.phpEvent classes in this repo are not dumb payload forwarders. They:
TYPES mapslast_message_idIf handler only hydrates one object and ignores related caches, change is probably incomplete.
When adding or changing event family, inspect all three:
src/Discord/WebSockets/Event.php — constantsrc/Discord/WebSockets/Handlers.php — registrationsrc/Discord/WebSockets/Events/<Name>.php — implementationIf one changes and the others do not, make sure that is intentional.
cacheUser(object $userdata)Use when payload contains user data. Keeps top-level user cache current.
cacheMember(MemberRepository $members, array $memberdata)Use when payload contains guild member data. Keeps guild member cache current. Some event families override details for performance reasons, like InteractionCreate.
Do not manually duplicate user/member cache update logic unless event family has special latency or shape constraints.
Use factory plus subtype maps when payload family is polymorphic:
Channel::TYPESInteraction::TYPESTYPESDo not push raw stdClass payloads deep into caches when repo already has typed part model.
Preserve those shapes unless you have strong compatibility reason to change them.
These are easy to break because they carry many side effects:
last_message_id currentIf you change MessageCreate or MessageUpdate, inspect:
Guild events often do bulk cache work:
Do not treat guild create as "just one guild part". It is bootstrap event for several nested repositories.
Threads are child collections hanging off parent channels. Thread handlers usually must:
threads repoInteraction handlers are latency-sensitive. They still must:
Userland listens to emitted values. Keep return shapes stable and meaningful.
Common patterns already used:
MessageCreate returns new MessageMessageUpdate returns [newOrData, oldMessage]GuildDelete returns [$guildPartOrData, $unavailableFlag]Before changing a return shape, inspect:
When changing event behavior, walk this checklist:
If you cannot answer each, handler is not fully understood yet.
When adding new dispatch type:
Event.phpHandlers.phpGateway payloads are not always full objects.
Examples:
MESSAGE_CONTENT intentDo not blindly overwrite cached richer state with partial payload unless code already accounts for missing fields.
Stop if you see:
Gateway events are cache-synchronization code. Treat them like consistency-critical logic, not like thin adapters. One missed repository update can make the whole object graph lie.
© discord-php, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/gateway-cache-sync-keeper of discord-php/DiscordPHP.
Open the folder on GitHubat commit 580c66a
Gateway Cache Sync Keeper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gateway Cache Sync Keeper this skilldiscord-php/DiscordPHP | 1.1k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Neon Functionsneondatabase/agent-skills | 100 | — | ~12k | Automated safety check: Notes | Apache-2.0 | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Fortify Developmentcoollabsio/coolify | 63k | 4 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Supabase Development and Debuggingsupabase/agent-skills | 2.7k | 3 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Laravel Best Practicesanonaddy/anonaddy | 4.9k | 13 repos | ~1.2k | Automated safety check: Pass | MIT |
neondatabase/agent-skills
Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with DATABASEURL injected automatically and compute that runs next to your data.
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
supabase/agent-skills
General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.
anonaddy/anonaddy
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.
mountain-loop/yaak
A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…
discord-php/DiscordPHP
Maintain test and documentation alignment — PHPUnit tests, async testing patterns, PHPDoc contracts, guide pages, and documentation workflow.
discord-php/DiscordPHP
Audit checklist for DiscordPHP bots and API libraries — stop the bot token leaking to third-party APIs or logs, keep secrets out of customids and exception messages, use constant-time comparison and…
discord-php/DiscordPHP
Scaffold and maintain a DiscordPHP-based bot or an API-library-on-DiscordPHP (the DiscordPHP-MTG / DiscordPHP-NHA / DiscordPHP-Sabacc pattern) — client subclass, third-party HTTP layer, Parts…
discord-php/DiscordPHP
Build DiscordPHP slash commands and message components — global command trees with subcommands, user- AND guild-installable commands usable in DMs / group DMs / guild channels, Components V2…
discord-php/DiscordPHP
Work with DiscordPHP's infrastructure utilities — CacheWrapper, CacheConfig, BigInt, Multipart, Endpoint::bind URL templates, Collection base class, and domain Exceptions.
discord-php/DiscordPHP
Maintain Part domain models — fillable attributes, mutators, typed nested data, save/fetch behavior, permission checks, PHPDoc, and repository bindings.
Categories
Maintain gateway event handlers — payload hydration, cache mutation, event return shapes, and handler registration. Gateway Cache Sync Keeper is an agent skill from discord-php/DiscordPHP. Maintain gateway event handlers — payload hydration, cache mutation, event return shapes, and handler registration.
Gateway Cache Sync Keeper fits situations like: touching WebSockets/Events; tasks that involve Realtime and WebSockets.
Run `npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a claude-code`. Or copy the skill folder (.agents/skills/gateway-cache-sync-keeper in discord-php/DiscordPHP) into .claude/skills/gateway-cache-sync-keeper in your project. Claude Code loads it when a task matches its description.
Run `npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a codex`. Or copy the skill folder (.agents/skills/gateway-cache-sync-keeper in discord-php/DiscordPHP) into .agents/skills/gateway-cache-sync-keeper in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add discord-php/DiscordPHP --skill gateway-cache-sync-keeper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gateway-cache-sync-keeper, .gemini/skills/gateway-cache-sync-keeper, .github/skills/gateway-cache-sync-keeper and .opencode/skills/gateway-cache-sync-keeper in your project.
SKILL.md names no scripts, command-line tools or credentials: Gateway Cache Sync Keeper is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gateway Cache Sync Keeper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gateway Cache Sync Keeper: Neon Functions (neondatabase/agent-skills, 100 stars), Configuring Horizon (coollabsio/coolify, 63k stars), Fortify Development (coollabsio/coolify, 63k stars) and Supabase Development and Debugging (supabase/agent-skills, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
discord-php (a GitHub organization) maintains it in discord-php/DiscordPHP, which has 1,080 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.
Source: discord-php/DiscordPHP on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.