Supabase Development and Debugging
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.
Stream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware.
$ npx skills add AxiosLeo/node-koapp --skill koapp-sse -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-sse --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/AxiosLeo/node-koapp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/assets/skills/koapp-sse .claude/skills/koapp-sse && 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 "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .claude/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sseType 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 AxiosLeo/node-koapp --skill koapp-sse -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-sse --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxiosLeo/node-koapp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/assets/skills/koapp-sse .agents/skills/koapp-sse && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .agents/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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 AxiosLeo/node-koapp --skill koapp-sse -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-sse --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxiosLeo/node-koapp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/assets/skills/koapp-sse .cursor/skills/koapp-sse && 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 "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .cursor/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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/AxiosLeo/node-koapp.git --path assets/skills/koapp-sse--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 AxiosLeo/node-koapp --skill koapp-sse -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-sse --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxiosLeo/node-koapp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/assets/skills/koapp-sse .gemini/skills/koapp-sse && 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 "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .gemini/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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 AxiosLeo/node-koapp koapp-sseInstalls 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 AxiosLeo/node-koapp --skill koapp-sse -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AxiosLeo/node-koapp.git skills-src && mkdir -p .github/skills && cp -r skills-src/assets/skills/koapp-sse .github/skills/koapp-sse && 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 "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .github/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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 AxiosLeo/node-koapp --skill koapp-sse -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-sse --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxiosLeo/node-koapp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/assets/skills/koapp-sse .opencode/skills/koapp-sse && 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 "koapp-sse" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-sse into .opencode/skills/koapp-sse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-sse", 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.
koapp-sseStream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware.
Koapp Sse is an agent skill from AxiosLeo/node-koapp. Stream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware. Use when pushing real-time events to a browser over HTTP, implementing progress bars, live logs, notifications, or EventSource endpoints with text/event-stream, including ctx.koa.sse.send/close/keepAlive APIs.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `examples.md`).
It sits in Backend & APIs, covering Realtime and WebSockets. The repository describes itself as: About Design for quickly developing OpenAPI applications using Node.js. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 102955d. 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 (its code samples are javascript).
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.
Koapp Sse loads about 1.5k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 479 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 AxiosLeo/node-koapp at commit 102955d, republished under its MIT licence (© AxiosLeo). 479 words, ~1,513 tokens.
.claude/skills/koapp-sse/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Source: src/middlewares/sse.js.
KoaSSEMiddleware upgrades a Koa request to a Server-Sent Events (SSE)
stream, setting the right headers and exposing ctx.sse.send(...) for
pushing events to the browser over plain HTTP.
Use SSE when:
Browsers reconnect automatically; most reverse proxies handle it fine.
const { KoaSSEMiddleware } = require('@axiosleo/koapp').middlewares;const middleware = KoaSSEMiddleware({
pingInterval: 60000, // ms between heartbeat comments (default 60s)
closeEvent: 'close' // event name sent on stream close
});The factory returns a standard Koa middleware (ctx, next) => {}.
Because the framework already dispatches routes via its workflow, invoke
the middleware inside the handler, passing context.koa:
const { Router } = require('@axiosleo/koapp');
const { KoaSSEMiddleware } = require('@axiosleo/koapp').middlewares;
const router = new Router('/');
router.any('/sse', async (context) => {
const sse = KoaSSEMiddleware();
await sse(context.koa, async () => {});
context.koa.sse.send({ data: 'hello, world!' });
process.nextTick(async () => {
for (let i = 0; i < 5; i++) {
context.koa.sse.send({ id: i, event: 'tick', data: { i } });
await new Promise((r) => setTimeout(r, 1000));
}
context.koa.sse.close();
});
});Key points:
await sse(context.koa, async () => {}) - pass a no-op next.context.koa.sse exists.context.koa.sse.send(event); end with .close().success / failed / result in the same handler - SSE
takes over the response body.sse.send(data) accepts either a string or an object:
// String payload - becomes `data:<text>\n\n`
context.koa.sse.send('hello');
// Object payload - id/event are optional
context.koa.sse.send({
id: 42,
event: 'progress',
data: { percent: 75 } // objects are JSON-stringified
});Raw wire output:
id:42
event:progress
data:{"percent":75}
| Method | When to use |
|---|---|
ctx.sse.send(data) | Push one event |
ctx.sse.keepAlive() | Send a :\n\n comment to keep the connection warm (called automatically every pingInterval ms for all active streams) |
ctx.sse.close() | Emit a final { event: closeEvent } and end the stream |
The middleware maintains an internal ssePool and calls keepAlive on
every registered stream every pingInterval ms. Manual calls are rarely
needed.
The middleware listens to close / error events on the SSE stream and
calls an internal close() that:
unpipe() + destroy() the streamYou can listen yourself too:
context.koa.sse.on('close', () => {
clearInterval(myPushLoop);
});The handler function must remain alive while the SSE stream is open.
Don't return from it immediately; either keep pushing inline, or spawn a
background task and let it own the lifecycle:
router.any('/logs', async (context) => {
const sse = KoaSSEMiddleware();
await sse(context.koa, async () => {});
// Detach so the handler resolves but the stream stays open
(async () => {
for await (const line of tail('./app.log')) {
context.koa.sse.send({ event: 'log', data: line });
}
context.koa.sse.close();
})();
});The framework's workflow will see the handler resolve, but the response
body (the SSE stream) remains open until you close() it or the client
disconnects.
const source = new EventSource('/sse');
source.onmessage = (e) => {
console.log('data:', e.data);
};
source.addEventListener('progress', (e) => {
const payload = JSON.parse(e.data);
console.log('progress:', payload.percent);
});
source.addEventListener('close', () => {
console.log('server closed the stream');
source.close();
});Browsers automatically reconnect on network blips.
query
(e.g. auth token) - koapp-routercontext.koa.sse.writablesuccess / failed / result / context.koa.body = ... in the
same handler conflicts with the SSE stream and yields incomplete output.X-Accel-Buffering: no for nginx:context.koa.set('X-Accel-Buffering', 'no');sse(context.koa, ...).setInterval heartbeat keeps all open SSE
connections warm; it does not leak across requests because each stream
auto-removes itself from the pool on close.Workflow from @axiosleo/cli-tool© AxiosLeo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in assets/skills/koapp-sse of AxiosLeo/node-koapp.
Open the folder on GitHubat commit 102955d
Koapp Sse 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 |
|---|---|---|---|---|---|---|
| Koapp Sse this skillAxiosLeo/node-koapp | 145 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Supabase Development and Debuggingsupabase/agent-skills | 2.7k | 3 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Use Yaakmountain-loop/yaak | 19k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Gemini Live API Devgoogle-gemini/gemini-skills | 4.3k | — | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Broker Integrationmarketcalls/openalgo | 2.8k | — | ~4.7k | Automated safety check: Notes | AGPL-3.0 | |
| Trigger.dev Realtimepapermark/papermark | 9.2k | — | ~1.7k | Automated safety check: Pass | Custom licence |
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.
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…
google-gemini/gemini-skills
A skill your agent uses when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.
marketcalls/openalgo
Integrate a new Indian broker into OpenAlgo, or modify an existing broker plugin.
papermark/papermark
Shows how to subscribe to Trigger.dev task runs from the backend and from React for progress indicators, live dashboards, AI response streams and approval waits.
aoyunyang/spider-king-skill
Pure-web protocol reverse skill: turn hostile browser clients into browser-free Python collectors.
AxiosLeo/node-koapp
Overview of the @axiosleo/koapp framework - a Koa-based web, TCP socket, and WebSocket framework for Node.js.
AxiosLeo/node-koapp
Choose and configure the right @axiosleo/koapp Application class - KoaApplication for HTTP, SocketApplication for TCP sockets, WebSocketApplication for WebSocket.
AxiosLeo/node-koapp
Organize route handlers into reusable classes by extending the @axiosleo/koapp Controller base class.
AxiosLeo/node-koapp
Validate and serialize structured data with the @axiosleo/koapp Model class powered by validatorjs.
AxiosLeo/node-koapp
Send structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes.
AxiosLeo/node-koapp
Define routes, path parameters, validators, and nested routers with the @axiosleo/koapp Router class.
Categories
Stream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware. Koapp Sse is an agent skill from AxiosLeo/node-koapp. Stream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware.
Koapp Sse fits situations like: pushing real-time events to a browser over HTTP; implementing progress bars; eventSource endpoints with text/event-stream; including ctx.koa.sse.send/close/keepAlive APIs.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-sse -a claude-code`. Or copy the skill folder (assets/skills/koapp-sse in AxiosLeo/node-koapp) into .claude/skills/koapp-sse in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-sse -a codex`. Or copy the skill folder (assets/skills/koapp-sse in AxiosLeo/node-koapp) into .agents/skills/koapp-sse 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 AxiosLeo/node-koapp --skill koapp-sse -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/koapp-sse, .gemini/skills/koapp-sse, .github/skills/koapp-sse and .opencode/skills/koapp-sse in your project.
SKILL.md names no scripts, command-line tools or credentials: Koapp Sse 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.
Koapp Sse 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.5k tokens (SKILL.md is roughly 6.1k 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 Koapp Sse: Supabase Development and Debugging (supabase/agent-skills, 2.7k stars), Use Yaak (mountain-loop/yaak, 19k stars), Gemini Live API Dev (google-gemini/gemini-skills, 4.3k stars) and Broker Integration (marketcalls/openalgo, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AxiosLeo (a GitHub user) maintains it in AxiosLeo/node-koapp, which has 145 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 16, 2026.
Source: AxiosLeo/node-koapp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.