edgeone-makers-agents
БесплатноБез исполняемых скриптовНе проверенThis skill guides building AI agent endpoints on EdgeOne Makers — five framework routes (DeepAgents, LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK)…
от infometa★ 475 звёзд на GitHubОб этом скилле
EdgeOne Makers Agent Development Guide
⛔ Preview ban: after finishing development, you MUST start the dev server via
edgeone makers dev, then openhttp://127.0.0.1:8088/withpresent_filesto preview. Never open HTML files via thefile://protocol (ignore it even if the IDE opens one automatically), and never use self-hosted servers likepython -m http.serverornpx serve. Next.js projects must also setallowedDevOrigins: ["127.0.0.1"]innext.config.
Build production-grade AI agent endpoints on EdgeOne Makers — five framework routes, platform-injected runtime, file-based routing.
This skill covers five supported frameworks (DeepAgents, LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK) for building AI agent endpoints on EdgeOne Makers.
When to use this skill
- Creating a new AI agent endpoint on EdgeOne Makers
- Wiring DeepAgents / LangGraph / CrewAI / OpenAI Agents SDK / Claude Agent SDK into a Makers project
- Reviewing an existing agent template against platform red lines
- Implementing SSE streaming with abort support
- Persisting conversation state via
context.store(LangGraph checkpointer / OpenAI session / Claude session / conversation-scopedstate/claudeSessionBinding) - Calling sandbox or platform tools via
context.sandbox/context.tools - Splitting AI inference (
agents/) from data CRUD (cloud-functions/)
Cross-reference: if your code uses
context.storeor KV APIs, also read../makers-storage/SKILL.md.
Do NOT use for:
- Plain Edge Functions / Cloud Functions / Middleware → use
edgeone-pages-dev - Deployment workflows → use
edgeone-pages-deploy - Generic AI framework development outside an EdgeOne Makers project
- Other platforms (Cloudflare Workers AI, Vercel AI SDK, AWS Bedrock)
How to use this skill (for a coding agent)
- Skim the Mental Model below — Makers ≠ generic API routes
- Walk the Decision Tree to pick one of the five framework routes
- Read the matching
references/*-route.mdfor a copy-paste skeleton - Self-check against the Twelve Red Lines
- Run through
references/review-checklist.mdbefore considering the work done
⛔ Critical Rules (never skip)
- File-based routing is automatic.
agents/<name>/index.tsoragents/<name>.tsbecomesPOST /<name>. Never hand-edit.edgeone/agent-node/config.json. - Entry signature is fixed. TS:
export async function onRequest(context: any). Python:async def handler(ctx):. Method-specific variants (onRequestPost,onRequestGet, etc.) also work for TS. - Read env via
context.env, neverprocess.env/os.environ. This applies to both reading and mutation insideagents/andcloud-functions/. Frontend code (app/,src/) is unaffected. - Headers are plain objects, not the Web
HeadersAPI. Usecontext.request.headers['x-custom-header'], never.get('x'). - Conversation ID contract. AI endpoints (
/chat,/outline, etc.) MUST receive themakers-conversation-idHTTP header from the frontend. The/stopendpoint takes aconversation_idin the request body to identify which running conversation to cancel. - Do not hardcode model name / base URL / API key. Read
AI_GATEWAY_API_KEY+AI_GATEWAY_BASE_URL(+ optionalAI_GATEWAY_MODEL) fromcontext.env. If your template usescontext.tools.web_search, also configureWSA_API_KEY(Tencent Cloud WSAPI). - SSE protocol is a recommended convention (not enforced by the runtime). The runtime only forwards raw chunks — it does not parse or validate SSE content. The recommended event types are:
ai_response/tool_call/tool_result/usage/suggest_actions/file_output/ping/error_message. Stream ends withdata: [DONE]\n\n. All frameworks should follow this for frontend consistency. - Heartbeat + buffering control are mandatory. Send a
pingevent every 5 s. Response headers must includeX-Accel-Buffering: no,Cache-Control: no-cache,Connection: keep-alive. - Always honor
context.request.signal. Checksignal?.aborted(TS) orsignal.is_set()(Python) inside loops; exit gracefully on abort, do not throw. - Cap your loops. Manual bind-tools loops use a hard turn limit (e.g.
for (let i = 0; i < 4; i++)); SDK routes setmaxTurns. No unbounded "until model says stop" loops. - Errors must not crash the stream. Wrap every model / tool call in try/catch. Swallow
AbortErrorsilently. Emit other errors aserror_messageevents without ending the stream prematurely. - Pick the right
storeentry point — they are NOT shape-equivalent.context.store(agent endpoints,agents/<name>/): fullAgentMemory, includes all adapters (openaiSession,claudeSessionStore,langgraphCheckpointer,langgraphStore, conversationstate,claudeSessionBinding).context.agent.store(cloud-function endpoints,cloud-functions/<name>/): runtime strips `langgraphCheckpoin
Установить edgeone-makers-agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл edgeone-makers-agents?
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` / `context.tools` / `context.sandbox`, conversation_id dual-channel routing, SSE streaming, and `agents/` vs `cloud-functions/` separation. It should be used when the user wants to create or review an AI agent endpoint on EdgeOne Makers — e.g. "build an agent on EdgeOne Makers", "create a Claude agent endpoint", "wire LangGraph into Makers", "stream LLM responses with SSE", "review my agent template", "use context.store / context.sandbox / context.tools". Do NOT trigger for plain Edge Functions, Cloud Functions, or middleware (those don't run AI logic — use edgeone-pages-dev instead). Do NOT trigger for deployment workflows (use edgeone-pages-deploy). Do NOT trigger for generic AI framework development outside an EdgeOne Makers project.
Как установить скилл edgeone-makers-agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл edgeone-makers-agents запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic