Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
Send structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes.
$ npx skills add AxiosLeo/node-koapp --skill koapp-response -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-response --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-response .claude/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .claude/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-responseType 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-response -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-response --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-response .agents/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .agents/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-response -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-response --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-response .cursor/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .cursor/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-response--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-response -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-response --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-response .gemini/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .gemini/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-responseInstalls 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-response -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-response .github/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .github/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-response -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-response --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-response .opencode/skills/koapp-response && 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-response" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-response into .opencode/skills/koapp-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-response", 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-responseSend structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes.
Koapp Response is an agent skill from AxiosLeo/node-koapp. Send structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes. Use when returning JSON envelopes, custom HTTP status codes, raw HTML/text, error responses, or when setting response headers from a koapp route handler or controller method.
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. The repository describes itself as: About Design for quickly developing OpenAPI applications using Node.js. The licence is MIT.
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 and json).
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 Response loads about 1.5k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 464 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). 464 words, ~1,537 tokens.
.claude/skills/koapp-response/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Source: src/response.js.
@axiosleo/koapp uses throw-based response helpers: you call one of the
helpers and it throws a typed object that the framework's workflow catches
and writes to the wire. This keeps route handlers linear (no need to
return) and lets middlewares/afters run consistently.
const {
success,
failed,
result,
response,
error,
HttpError,
HttpResponse
} = require('@axiosleo/koapp');| Helper | Signature | Purpose |
|---|---|---|
success(data?, headers?) | (data: any, headers: Record<string,string>) => never | 200 OK, JSON envelope with code: '200;Success' |
failed(data?, code?, status?, headers?) | (data: any, code?: string, status?: number, headers?) => never | Non-2xx with JSON envelope; defaults code: '501;Internal Server Error', status: 501 |
response(data, code?, status?, headers?, format?) | Full control JSON envelope | Explicit code, status, headers, format (`'json' |
result(data, status?, headers?) | Raw body pass-through | Bypass the JSON envelope and write data as-is |
error(status, msg, headers?) | Error with empty payload | Shortcut for response({}, '<status>;<msg>', status, headers) |
All helpers never return - they throw.
success, failed, response, and error produce the framework's
standard envelope:
{
"request_id": "uuid",
"timestamp": 1714651200000,
"code": "200;Success",
"message": "Success",
"data": { }
}code follows the "<status>;<message>" convention:
"200;Success""400;Bad Request""404;Not Found""500;Internal Server Error"Both parts are mirrored into data (so message is still readable when
clients only unpack code). Custom codes are free-form strings.
result()Use result() when you need to emit HTML, plain text, binary, or a pre-built
JSON body without the envelope wrapping:
const { result } = require('@axiosleo/koapp');
router.get('/page', async () => {
result('<h1>Hello</h1>', 200, { 'Content-Type': 'text/html' });
});
router.get('/raw-json', async () => {
result(JSON.stringify({ hello: 'world' }), 200, {
'Content-Type': 'application/json'
});
});result() sets notResolve: true internally so the envelope is skipped.
const { failed, error } = require('@axiosleo/koapp');
router.post('/login', async (context) => {
const user = await findUser(context.body.email);
if (!user) {
error(404, 'User Not Found');
}
if (!verify(context.body.password, user.password)) {
failed({ email: context.body.email }, '401;Unauthorized', 401);
}
// ... success response ...
});HttpError is primarily used internally (e.g. by Model when validation
fails), but handlers may throw it to short-circuit with a plain error
body:
const { HttpError } = require('@axiosleo/koapp');
router.get('/guarded', async (context) => {
if (!context.koa.session.user) {
throw new HttpError(401, 'Please log in', { 'WWW-Authenticate': 'Bearer' });
}
});The framework catches it in the workflow and writes
status=401, the message, and any headers.
HttpResponse is the class behind all helpers. You normally won't
instantiate it directly, but it's useful to know its shape:
new HttpResponse({
status: 200,
data: { ... },
code: '200;Success',
headers: { 'X-Whatever': '1' },
format: 'json', // or 'text'
notResolve: false // if true, skip the envelope
});The type definitions in index.d.ts list convenient string literals:
'200;Success'
'400;Bad Data'
'400;Invalid Signature'
'401;Unauthorized'
'403;Not Authorized'
'404;Not Found'
'409;Data Already Exists'
'500;Internal Server Error'
'501;Failed'
'000;Unknown Error'Any "<number>;<text>" string is valid - the presets are just common ones.
Every helper accepts a headers argument:
success({ ok: true }, {
'X-Request-Source': 'public-api',
'Cache-Control': 'no-store'
});
result(buffer, 200, {
'Content-Type': 'application/pdf',
'Content-Disposition': 'attachment; filename="report.pdf"'
});Inside an HTTP handler you can still write to context.koa directly when
you need streaming, redirects, or pipelining:
router.get('/redirect', async (context) => {
context.koa.redirect('/elsewhere');
});
router.get('/stream', async (context) => {
context.koa.type = 'application/octet-stream';
context.koa.body = fs.createReadStream(file);
});Mixing raw Koa output with the throw helpers: the last to write wins. If you need raw streaming, skip the helpers entirely.
success/failed/result/... throws, leading to code that runs
after the "response" line. Treat them as terminal.success in a middleware (not a handler) stops execution just
like in a handler - the workflow still catches and emits the response.failed(data, status) does not work - the second arg is code, not
status. Use failed(data, '400;Bad Data', 400) or switch to
response(data, '400;Bad Data', 400).success(...) from a handler is redundant (it throws) and
confusing to readers - do not return helper calls.© 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-response of AxiosLeo/node-koapp.
Open the folder on GitHubat commit 102955d
Koapp Response 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 Response this skillAxiosLeo/node-koapp | 145 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Nestjs Best Practicesrolling-scopes/rsschool-app | 10k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Sub2API AdminWei-Shaw/sub2api | 44k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Firecrawl Build Onboardingfirecrawl/firecrawl | 190k | 1 repos | ~1.4k | Automated safety check: Notes | ISC | |
| Obsidian BasesAtmosphere/atmosphere | 3.8k | 22 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 |
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
rolling-scopes/rsschool-app
NestJS best practices and architecture patterns for building production-ready applications.
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
firecrawl/firecrawl
Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.
Atmosphere/atmosphere
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
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
Define routes, path parameters, validators, and nested routers with the @axiosleo/koapp Router class.
AxiosLeo/node-koapp
Stream Server-Sent Events (SSE) from a @axiosleo/koapp Koa route using the KoaSSEMiddleware.
Categories
Send structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes. Koapp Response is an agent skill from AxiosLeo/node-koapp. Send structured responses from @axiosleo/koapp handlers using success/failed/result/response/error helpers and HttpError/HttpResponse classes.
Koapp Response fits situations like: returning JSON envelopes; custom HTTP status codes; error responses; setting response headers from a koapp route handler.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-response -a claude-code`. Or copy the skill folder (assets/skills/koapp-response in AxiosLeo/node-koapp) into .claude/skills/koapp-response in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-response -a codex`. Or copy the skill folder (assets/skills/koapp-response in AxiosLeo/node-koapp) into .agents/skills/koapp-response 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-response -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-response, .gemini/skills/koapp-response, .github/skills/koapp-response and .opencode/skills/koapp-response in your project.
SKILL.md names no scripts, command-line tools or credentials: Koapp Response 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 Response 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 Response: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 44k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 190k 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.