Agent skill

Edgeone Makers Edge Functions

by TencentEdgeOne in TencentEdgeOne/edgeone-makers-tools

V8-based lightweight edge functions on EdgeOne Makers. An agent skill from TencentEdgeOne/edgeone-makers-tools.

MITAuto-check passed

Install Edgeone Makers Edge Functions

skills CLI
$ npx skills add TencentEdgeOne/edgeone-makers-tools --skill edgeone-makers-edge-functions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TencentEdgeOne/edgeone-makers-tools edgeone-makers-edge-functions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TencentEdgeOne/edgeone-makers-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/edgeone-makers-tools/references/makers-edge-functions .claude/skills/edgeone-makers-edge-functions && rm -rf skills-src

Use ~/.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/

Facts

Skill name
edgeone-makers-edge-functions
GitHub stars
1.9k
Used in
1 other repo
Token cost
~1.2k tokens
SKILL.md length
226 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

V8-based lightweight edge functions on EdgeOne Makers. An agent skill from TencentEdgeOne/edgeone-makers-tools.

  • Tasks that involve Secrets management
  • SKILL.md covers Basic function, HTTP method handlers, EventContext object and Dynamic routes, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Edgeone Makers Edge Functions is an agent skill from TencentEdgeOne/edgeone-makers-tools. V8-based lightweight edge functions on EdgeOne Makers. Covers routing, KV storage access, request/response handling, and environment variables at the edge.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Node.js. The licence is MIT.

When your agent uses it

  • Tasks that involve Secrets management

Example prompts

  • “/edgeone-makers-edge-functions”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit e6ead94. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Edgeone Makers Edge Functions loads about 1.2k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 226 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from TencentEdgeOne/edgeone-makers-tools at commit e6ead94, republished under its MIT licence (© TencentEdgeOne). 226 words, ~1,244 tokens.

Download SKILL.mdSave it as .claude/skills/edgeone-makers-edge-functions/SKILL.md (or your agent's skills folder).
name
edgeone-makers-edge-functions
description
V8-based lightweight edge functions on EdgeOne Makers. Covers routing, KV storage access, request/response handling, and environment variables at the edge.
pathPatterns
edge-functions/**, functions/**
metadata.author
edgeone
metadata.version
1.0.0

Edge Functions

V8-based lightweight functions running at the edge. Ideal for simple APIs, KV storage access, and ultra-low latency responses.

Runtime: V8 (like Cloudflare Workers) — NOT Node.js. Do NOT use Node.js built-ins or npm packages.

⚠️ Response.json() is NOT available in this V8 runtime. Always use new Response(JSON.stringify(data), { headers: { 'Content-Type': 'application/json' } }) instead.

Basic function

File: edge-functions/api/hello.js

javascript
export default function onRequest(context) {
  return new Response('Hello from Edge Functions!');
}

Access: GET /api/hello

HTTP method handlers

javascript
// edge-functions/api/users.js

// Handle all methods
export function onRequest(context) {
  return new Response('Any method');
}

// Or use specific method handlers:
export function onRequestGet(context) {
  return new Response(JSON.stringify({ users: [] }), {
    headers: { 'Content-Type': 'application/json' },
  });
}

export async function onRequestPost(context) {
  const body = await context.request.json();
  return new Response(JSON.stringify({ created: true }), {
    status: 201,
    headers: { 'Content-Type': 'application/json' },
  });
}

EventContext object

javascript
export function onRequest(context) {
  const {
    request,    // Standard Request object
    params,     // Dynamic route params, e.g. { id: "123" }
    env,        // Environment variables from Makers console
    waitUntil,  // Extend function lifetime for async tasks
  } = context;

  // GEO info available via:
  const geo = context.request.eo;
  // geo.geo.countryName, geo.geo.cityName, geo.geo.latitude, etc.

  return new Response('OK');
}

Dynamic routes

javascript
// edge-functions/api/users/[id].js
// Matches: /api/users/123, /api/users/abc

export function onRequestGet(context) {
  const userId = context.params.id;
  return new Response(JSON.stringify({ userId }), {
    headers: { 'Content-Type': 'application/json' },
  });
}
javascript
// edge-functions/api/[[default]].js
// Catches all unmatched routes under /api/

export function onRequest(context) {
  return new Response('Catch-all route', { status: 404 });
}

KV Storage (Edge Functions only)

Cross-reference: if your code uses context.store or KV APIs, also read ../makers-storage/SKILL.md.

⚠️ Prerequisites: You must enable KV Storage in the EdgeOne Makers console, create a namespace, and bind it to your project before using KV. See ../makers-storage/references/kv.md for full setup instructions.

The KV namespace is a global variable (name is set when binding in the console) — it is NOT on context.env.

javascript
// edge-functions/api/counter.js

export async function onRequest(context) {
  // ⚠️ my_kv is a GLOBAL variable (name set when binding namespace in console)
  // Do NOT use context.env.KV ❌
  
  // Read
  const count = await my_kv.get('page_views') || '0';
  const newCount = parseInt(count) + 1;

  // Write
  await my_kv.put('page_views', String(newCount));

  return new Response(JSON.stringify({ views: newCount }), {
    headers: { 'Content-Type': 'application/json' },
  });
}

For full KV Storage API reference and usage guide, see: ../makers-storage/references/kv.md.

Supported Runtime APIs

Edge Functions run on V8 and support these Web Standard APIs:

  • Fetch API — fetch() for outbound HTTP requests
  • Cache API — caches.open(), cache.match(), cache.put()
  • Headers / Request / Response — standard Web API objects
  • Streams — ReadableStream, WritableStream, TransformStream
  • Web Crypto — crypto.subtle for encryption/signing
  • Encoding — TextEncoder, TextDecoder
  • URL / URLSearchParams — URL parsing

⚠️ NOT available: Node.js built-ins (fs, path, http, crypto from Node), require(), npm packages.

Limits

ResourceLimit
Code package size5 MB
Request body1 MB
CPU time per invocation200 ms
LanguageJavaScript (ES2023+) only

© TencentEdgeOne, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/edgeone-makers-tools/references/makers-edge-functions of TencentEdgeOne/edgeone-makers-tools.

Open the folder on GitHubat commit e6ead94

Used in 1 other repository

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in TencentEdgeOne/edgeone-makers-tools, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Edgeone Makers Edge Functions 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.

Edgeone Makers Edge Functions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Edgeone Makers Edge Functions this skillTencentEdgeOne/edgeone-makers-tools1.9k1 repos~1.2kAutomated safety check: PassMIT
Pre Commitwellwelwel/poku1.2k—~728Automated safety check: PassMIT
Deploy To Hostinghostinger/api-mcp-server160—~2.7kAutomated safety check: NotesMIT
Azure Functions Node Worker SecurityAzure/azure-functions-nodejs-worker110—~2.4kAutomated safety check: PassMIT
Arkenvyamcodes/arkenv147—~2.5kAutomated safety check: PassMIT
Env Managerbobmatnyc/claude-mpm156—~3.9kAutomated safety check: NotesCustom licence

Similar skills

  • Pre Commit

    wellwelwel/poku

    Run the mandatory pre-commit checks for the poku repository before staging a commit.

    1.2k GitHub stars~728 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Deploy To Hosting

    hostinger/api-mcp-server

    Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express…

    160 GitHub stars~2.7k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Azure Functions Node Worker Security

    Azure/azure-functions-nodejs-worker

    Official

    Security analysis for the Azure Functions Node.js worker. An agent skill from Azure/azure-functions-nodejs-worker.

    110 GitHub stars~2.4k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Arkenv

    yamcodes/arkenv

    Answer questions about ArkEnv and help implement environment variable validation.

    147 GitHub stars~2.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Env Manager

    bobmatnyc/claude-mpm

    Environment variable validation, security scanning, and management for Next.js, Vite, React, and Node.js applications

    156 GitHub stars~3.9k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • A skill your agent uses when the user says 'deploy to Railway', 'Railway setup', 'railway-deploy', or needs to deploy a Node.js, Python, or Docker application to Railway with environment variables…

    423 GitHub stars~2.1k tokensUpdated 13 days ago
    DevOps & CloudAuto-check passed

More from TencentEdgeOne/edgeone-makers-tools

All 12 skills in this repo
  • Edgeone Makers Migration

    TencentEdgeOne/edgeone-makers-tools

    Migrate existing AI agent projects (LangChain, LangGraph, OpenAI Agents SDK, Claude Agent SDK, CrewAI) to EdgeOne Makers platform conventions.

    1.9k GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed
  • Edgeone Makers Agents

    TencentEdgeOne/edgeone-makers-tools

    This skill guides building AI agent endpoints on EdgeOne Makers — five framework routes (DeepAgents, LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK), platform-injected context.store /…

    1.9k GitHub starsUsed in 1 repo~5.8k tokens
    Auto-check: notes
  • Edgeone Makers CLI

    TencentEdgeOne/edgeone-makers-tools

    EdgeOne Makers CLI command reference. An agent skill from TencentEdgeOne/edgeone-makers-tools.

    1.9k GitHub starsUsed in 1 repo~739 tokens
    Auto-check: notes
  • Edgeone Makers Env Adaption

    TencentEdgeOne/edgeone-makers-tools

    Environment-specific adaptation rules for EdgeOne Makers Skills running in sandboxed or restricted AI coding environments (e.g.

    1.9k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Edgeone Makers Recipes

    TencentEdgeOne/edgeone-makers-tools

    Project structure templates and scaffolding recipes for typical EdgeOne Makers applications — full-stack apps, static sites, API services, and AI agent projects.

    1.9k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed
  • Edgeone Makers Storage

    TencentEdgeOne/edgeone-makers-tools

    KV and Blob storage services on EdgeOne Makers. An agent skill from TencentEdgeOne/edgeone-makers-tools.

    1.9k GitHub starsUsed in 1 repo~930 tokens
    Auto-check passed

Works with

Questions about Edgeone Makers Edge Functions

What does Edgeone Makers Edge Functions do?

V8-based lightweight edge functions on EdgeOne Makers. An agent skill from TencentEdgeOne/edgeone-makers-tools. Edgeone Makers Edge Functions is an agent skill from TencentEdgeOne/edgeone-makers-tools. V8-based lightweight edge functions on EdgeOne Makers.

When should I use Edgeone Makers Edge Functions?

Edgeone Makers Edge Functions fits situations like: tasks that involve Secrets management.

How do I install Edgeone Makers Edge Functions in Claude Code?

Run `npx skills add TencentEdgeOne/edgeone-makers-tools --skill edgeone-makers-edge-functions -a claude-code`. Or copy the skill folder (skills/edgeone-makers-tools/references/makers-edge-functions in TencentEdgeOne/edgeone-makers-tools) into .claude/skills/edgeone-makers-edge-functions in your project. Claude Code loads it when a task matches its description.

How do I install Edgeone Makers Edge Functions in Codex?

Run `npx skills add TencentEdgeOne/edgeone-makers-tools --skill edgeone-makers-edge-functions -a codex`. Or copy the skill folder (skills/edgeone-makers-tools/references/makers-edge-functions in TencentEdgeOne/edgeone-makers-tools) into .agents/skills/edgeone-makers-edge-functions in your project. Codex loads it when a task matches its description.

Can I use Edgeone Makers Edge Functions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TencentEdgeOne/edgeone-makers-tools --skill edgeone-makers-edge-functions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/edgeone-makers-edge-functions, .gemini/skills/edgeone-makers-edge-functions, .github/skills/edgeone-makers-edge-functions and .opencode/skills/edgeone-makers-edge-functions in your project.

What does Edgeone Makers Edge Functions need to run?

SKILL.md names no scripts, command-line tools or credentials: Edgeone Makers Edge Functions is instructions for the agent only. Our summary lists: Node.js.

Does Edgeone Makers Edge Functions access the network?

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.

Is Edgeone Makers Edge Functions safe to install?

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.

What licence does Edgeone Makers Edge Functions use?

Edgeone Makers Edge Functions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Edgeone Makers Edge Functions use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Edgeone Makers Edge Functions?

Skills that share tags, products or a category with Edgeone Makers Edge Functions: Pre Commit (wellwelwel/poku, 1.2k stars), Deploy To Hosting (hostinger/api-mcp-server, 160 stars), Azure Functions Node Worker Security (Azure/azure-functions-nodejs-worker, 110 stars) and Arkenv (yamcodes/arkenv, 147 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Edgeone Makers Edge Functions?

TencentEdgeOne (a GitHub organization) maintains it in TencentEdgeOne/edgeone-makers-tools, which has 1,861 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

Source: TencentEdgeOne/edgeone-makers-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.