Convex
openclaw/clawhub
Convex is the backend agents get right on the first try: an all-TypeScript reactive platform where the database, server functions, scheduling, file storage, auth, and realtime sync are one type-safe…
Write type-safe @axiosleo/koapp code in TypeScript - typed contexts (KoaContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext), Router generics, ContextHandler middlewares…
$ npx skills add AxiosLeo/node-koapp --skill koapp-typescript -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-typescript --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-typescript .claude/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .claude/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescriptType 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-typescript -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-typescript --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-typescript .agents/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .agents/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescript -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-typescript --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-typescript .cursor/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .cursor/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescript--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-typescript -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AxiosLeo/node-koapp koapp-typescript --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-typescript .gemini/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .gemini/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescriptInstalls 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-typescript -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-typescript .github/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .github/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescript -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-typescript --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-typescript .opencode/skills/koapp-typescript && 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-typescript" agent skill from https://github.com/AxiosLeo/node-koapp/tree/main/assets/skills/koapp-typescript into .opencode/skills/koapp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "koapp-typescript", 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-typescriptWrite type-safe @axiosleo/koapp code in TypeScript - typed contexts (KoaContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext), Router generics, ContextHandler middlewares…
Koapp Typescript is an agent skill from AxiosLeo/node-koapp. Write type-safe @axiosleo/koapp code in TypeScript - typed contexts (KoaContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext), Router generics, ContextHandler middlewares, module augmentation, typed file uploads with @koa/multer, response helper generics, and typed application configs. Use when a koapp project uses TypeScript, when typing context.params/body/query, annotating route handlers or controllers, typing uploaded files, or importing types from @axiosleo/koapp.
Its SKILL.md is about 2.6k 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 Type safety and File uploads and storage. It works with TypeScript. 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.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
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 Typescript loads about 2.6k tokens when it runs. Until then it costs about 128 tokens; SKILL.md has 629 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). 629 words, ~2,592 tokens.
.claude/skills/koapp-typescript/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Source of truth: index.d.ts at the package root.
The framework ships a full generic type system. This skill covers what is importable, how to type contexts and handlers, and the recipes for cases the generics do not cover directly (file uploads, extending the context).
npm install -D typescript @types/koa @types/node
# for file uploads:
npm install @koa/multer && npm install -D @types/koa__multer@types/koa must be a direct devDependency: index.d.ts and
@types/koa__multer both resolve koa types, and they must land on the
same installed copy for context.koa typing and the multer module
augmentation to line up.
All of these come straight from import { ... } from '@axiosleo/koapp':
| Category | Symbols |
|---|---|
| Classes | KoaApplication, SocketApplication, WebSocketApplication, Application, Router, Controller, Model, HttpResponse, HttpError, SocketClient |
| Context types | KoaContext, AppContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext, ContextDataSpec, ContextHandler |
| Router types | RouterOptions, RouterInfo, RouterValidator, ValidatorConfig, HttpMethod |
| Config types | AppConfiguration, TypedAppConfiguration, KoaApplicationConfig, TypedKoaApplicationConfig, SocketAppConfiguration, TypedSocketAppConfiguration, WebSocketAppConfiguration, TypedWebSocketAppConfiguration, PingConfig, HttpResponseConfig |
| Response / SSE | StatusCode, IKoaSSE, IKoaSSEvent, SSEOptions |
| Functions | success, failed, result, response, error, initContext, middlewares.KoaSSEMiddleware |
On @axiosleo/koapp 1.3.3 and earlier the context/router/config types
above (everything except ContextFromSpec, RequiredContext,
SocketContext, WebSocketContext and the *ApplicationConfig family)
were not exported; recover the context type there with
type KoaCtx = Router extends Router<infer C> ? C : never;.
| Approach | Data typing | context.koa | When |
|---|---|---|---|
Default inference (new Router()) | loose (params?, body: any) | fully typed (incl. sse) | quick handlers, SSE, redirects |
KoaContext<P, B, Q> | typed but optional (params?.) | fully typed | HTTP handlers touching koa |
KoaContext<P, B, Q> & { params: P; body: B; query: Q } | strict, required | fully typed | uploads, sessions + typed data - preferred for HTTP |
ContextFromSpec<{...}> | strict, required, object-style | any (via index signature) | transport-agnostic data handlers |
RequiredContext<P, B, Q> | strict, positional | any | same, positional style |
SocketContext<P, B, Q> / WebSocketContext<P, B, Q> | strict via generics | n/a (socket instead) | TCP / WebSocket handlers |
Define the required-props HTTP variant once and reuse it:
import { Router, KoaContext, success } from '@axiosleo/koapp';
type HttpContext<P = Record<string, string>, B = any, Q = any> =
KoaContext<P, B, Q> & { params: P; body: B; query: Q };
type CreateUserContext = HttpContext<
{ id: string },
{ name: string; email: string; age?: number },
{ format?: 'json' | 'xml' }
>;
const router = new Router('/api');
router.post<CreateUserContext>('/users/{:id}', async (context) => {
const id = context.params.id; // string - required, no ?.
const name = context.body.name; // string
const format = context.query.format; // 'json' | 'xml' | undefined
context.koa.set('X-Handled-By', 'user-service'); // koa fully typed
success({ id, name, format });
});ContextFromSpec is the object-style alternative (order-free, declare only
what you need) when the handler never touches context.koa:
import { ContextFromSpec } from '@axiosleo/koapp';
type SearchContext = ContextFromSpec<{ body: { q: string } }>;// 1. Router-level: every handler on this router gets the type
const productRouter = new Router<ProductContext>('/products');
// 2. Per-route override: any route can use its own context type
router.get<UserContext>('/profile/{:id}', async (context) => { /* ... */ });
// 3. Sub-router with a different context via router.new<U>()
const admin = router.new<AdminContext>('/admin', {
middlewares: [async (context) => { /* typed as AdminContext */ }],
});Validators attach per-route as the third argument, same as JavaScript:
router.post<CreateUserContext>('/users/{:id}', handler, {
params: { rules: { id: 'required|integer' } },
body: { rules: { name: 'required|string', email: 'required|email' } },
});ContextHandler<T> (default T = KoaContext) is the type of every
middleware, handler, and after-handler:
import { Router, error } from '@axiosleo/koapp';
import type { ContextHandler } from '@axiosleo/koapp';
const requestLogger: ContextHandler = async (context) => {
console.log(`[${context.method}] ${context.pathinfo}`);
};
const requireAuth: ContextHandler = async (context) => {
if (!context.koa.session?.user) {
error(401, 'Unauthorized');
}
};
const secured = new Router('/secure', {
middlewares: [requestLogger, requireAuth],
});KoaContext is an exported interface, so middlewares can attach their own
typed properties to it - the monorepo scaffold's auth middleware uses
exactly this pattern:
import { error } from '@axiosleo/koapp';
import type { ContextHandler } from '@axiosleo/koapp';
export interface AuthInfo {
userId: string;
isAdmin?: boolean;
}
declare module '@axiosleo/koapp' {
interface KoaContext {
auth?: AuthInfo;
}
}
export const authMiddleware: ContextHandler = async (context) => {
const header = context.headers?.authorization;
if (!header) {
error(401, 'Unauthorized');
}
context.auth = { userId: 'u_1' }; // typed as AuthInfo | undefined
};Every handler in the project now sees context.auth with full typing.
Uploaded files live on context.koa.request.files, not on
context.body - the TBody generic never covers them. Use the
HttpContext helper so both the data and koa are typed:
import multer from '@koa/multer';
import { Router, KoaContext, success, failed } from '@axiosleo/koapp';
type HttpContext<P = Record<string, string>, B = any, Q = any> =
KoaContext<P, B, Q> & { params: P; body: B; query: Q };
type UploadContext = HttpContext<{ dir: string }>;
router.post<UploadContext>('/upload/{:dir}', async (context) => {
const upload = multer({ storage: multer.memoryStorage() });
await upload.any()(context.koa, async () => {});
// files: { [field: string]: File[] } | File[] | undefined - narrow it
const files = context.koa.request.files;
const first = Array.isArray(files) ? files[0] : undefined;
if (!first) {
failed({}, '400;Bad Data', 400);
}
success({ dir: context.params.dir, name: first.originalname });
});With upload.single('avatar') the file is at context.koa.request.file
(type multer.File). See examples.md for the full recipes.
All helpers are generic and return never - TypeScript knows execution
stops there, so calls double as type guards:
const user = await findUser(id); // User | null
if (!user) {
failed({ id }, '404;Not Found', 404);
}
user.name; // user narrowed to User - no ! needed
success<User>(user);The StatusCode type accepts any "<number>;<text>" string; presets like
'200;Success', '404;Not Found', '409;Data Already Exists' are listed
in koapp-response.
import {
KoaApplication, Router,
type KoaApplicationConfig, type TypedKoaApplicationConfig,
} from '@axiosleo/koapp';
const config: KoaApplicationConfig = {
listen_host: '0.0.0.0',
port: 8080,
routers: [router], // mixed Router<...> types allowed
};
new KoaApplication(config).start();
// Strict variant: all routers must match the given type
type UserRouter = Router<CreateUserContext>;
const strict: TypedKoaApplicationConfig<UserRouter[]> = {
listen_host: 'localhost',
port: 8081,
routers: [userRouter1, userRouter2],
};SocketAppConfiguration adds port + ping; WebSocketAppConfiguration
additionally accepts every ws ServerOptions field (maxPayload,
clientTracking, ...).
KoaContext<P, B, Q> & { params: P; ... }
works, but intersecting the default-parameterized alias
(KoaCtx & { body: B }) collapses to any because the default body is
already any.Omit<KoaContext, 'body'> - the base context carries a
[key: string]: any index signature that makes Omit drop every named
property.context.bodyy compile
silently as any. Prefer strictly typed contexts so real fields are
checked.TBody; type them through context.koa
(see above).@types/koa in the dependency tree make
context.koa.request.files "not exist" - install @types/koa directly
so everything resolves to one copy.initContext (custom transports) is exported and generic; it is an
advanced escape hatch and rarely needed - see index.d.ts if you build
your own transport.© 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-typescript of AxiosLeo/node-koapp.
Open the folder on GitHubat commit 102955d
Koapp Typescript 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 Typescript this skillAxiosLeo/node-koapp | 145 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Convexopenclaw/clawhub | 9.5k | — | ~2.4k | Automated safety check: Pass | MIT | |
| near-kit for NEAR Protocolinternet-court/internet-court-skill | 6.4k | 1 repos | ~2k | Automated safety check: Pass | Custom licence | |
| Convex Designopenclaw/clawhub | 9.5k | 1 repos | ~967 | Automated safety check: Notes | MIT | |
| Supabase SDK Patternsjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.6k | Automated safety check: Pass | MIT | |
| GraphQL Operations with CodegenChrisWiles/claude-code-showcase | 6.1k | 3 repos | ~1.5k | Automated safety check: Pass | None |
openclaw/clawhub
Convex is the backend agents get right on the first try: an all-TypeScript reactive platform where the database, server functions, scheduling, file storage, auth, and realtime sync are one type-safe…
internet-court/internet-court-skill
Covers the near-kit TypeScript library for NEAR: reading contracts, sending tokens, transaction building, typed contracts, wallets, React hooks and sandbox testing.
openclaw/clawhub
Design and build reactive, type-safe, production-grade backends on Convex.
jeremylongshore/tons-of-skills-marketplace
A skill your agent uses when implementing Supabase queries, auth, realtime, storage, or RPC calls with @supabase/supabase-js or supabase-py and you need production-ready, type-safe patterns that…
ChrisWiles/claude-code-showcase
Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.
edgestorejs/edgestore
A skill your agent uses when adding, extending, or troubleshooting EdgeStore file uploads, upload UI, or bucket access policies in a TypeScript/React application.
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.
Works with
Categories
Write type-safe @axiosleo/koapp code in TypeScript - typed contexts (KoaContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext), Router generics, ContextHandler middlewares…. Koapp Typescript is an agent skill from AxiosLeo/node-koapp. Write type-safe @axiosleo/koapp code in TypeScript - typed contexts (KoaContext, ContextFromSpec, RequiredContext, SocketContext, WebSocketContext), Router generics, ContextHandler middlewares, module augmentation, typed file uploads with @koa/multer, response helper generics, and typed application configs.
Koapp Typescript fits situations like: A koapp project uses TypeScript; typing context.params/body/query; annotating route handlers; typing uploaded files.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-typescript -a claude-code`. Or copy the skill folder (assets/skills/koapp-typescript in AxiosLeo/node-koapp) into .claude/skills/koapp-typescript in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AxiosLeo/node-koapp --skill koapp-typescript -a codex`. Or copy the skill folder (assets/skills/koapp-typescript in AxiosLeo/node-koapp) into .agents/skills/koapp-typescript 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-typescript -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-typescript, .gemini/skills/koapp-typescript, .github/skills/koapp-typescript and .opencode/skills/koapp-typescript in your project.
Going by SKILL.md and its folder, Koapp Typescript needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. 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 Typescript is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k 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 Typescript: Convex (openclaw/clawhub, 9.5k stars), near-kit for NEAR Protocol (internet-court/internet-court-skill, 6.4k stars), Convex Design (openclaw/clawhub, 9.5k stars) and Supabase SDK Patterns (jeremylongshore/tons-of-skills-marketplace, 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.