Esp Wasmachine Skill 标志

Esp Wasmachine Skill

社区
JasonYANG170
esp-wasmachine-skill

AI Skill for ESP-WASMachine WebAssembly virtual-machine firmware development on ESP32 chips. Used when users need to create, configure, build, or debug an ESP-WASMachine project, including running WASM apps via the WAMR runtime, enabling WASM Native extensions (libc/libm/HTTP/MQTT/LVGL/ RainMaker/Wi-Fi provisioning), exposing hardware through Extended VFS, and managing applications through the shell or the host_tool. Trigger words: "ESP-WASMachine", "WASMachine", "WASM", "WebAssembly", "WAMR", "iwasm", "wasm-micro-runtime", "虚拟机", "ESP32", "Espressif", "host_tool", "install wasm", "esp32s3", "esp32c6", "esp32p4"

概览

发布者JasonYANG170
代码仓库esp-dev-skill
技能名称esp-wasmachine-skill
星标数
32
复刻数
3
附带文件
20
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 20 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 JasonYANG170 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Esp Wasmachine Skill AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/JasonYANG170/esp-dev-skill/tree/main/repos/esp-wasmachine
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JasonYANG170/esp-dev-skill.git /tmp/esp-dev-skill
mkdir -p .claude/skills
cp -r /tmp/esp-dev-skill/repos/esp-wasmachine .claude/skills/esp-wasmachine-skill
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Esp Wasmachine Skill,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Esp Wasmachine Skill。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Esp Wasmachine Skill 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

esp-wasmachine-skill

AI Skill for ESP-WASMachine firmware development. ESP-WASMachine is Espressif's WebAssembly virtual-machine (WASM-VM) development framework: it bundles the wasm-micro-runtime (WAMR) into an ESP-IDF application so an ESP32-class chip can load, instantiate, and run .wasm/.wasm-AOT applets out of a littleFS file system. This skill provides scenario-driven recipes, a real API reference, the Kconfig map, and the concrete pitfalls that come from reading the actual source under components/ and examples/wasmachine/.

Core Principles

  1. ESP-WASMachine is a host framework, not a driver library — it runs on ESP-IDF and hosts WAMR; your "app" is usually a .wasm file placed in examples/wasmachine/main/fs_image/. The firmware is the VM.
  2. Never invent native APIs — every WASM-callable native symbol must exist in resources/api_reference.md; if it is not listed (i.e. not registered via wasm_native_register_natives("env", ...) in the source), the WASM app cannot import it.
  3. Init order in app_main is fixed — bsp_init() → fs_init() → nvs/netif/event_loop → wm_wamr_init() → (wm_wamr_app_mgr_init() if CONFIG_WASMACHINE_APP_MGR) → wm_shell_init(). See examples/wasmachine/main/wm_main.c.
  4. The file system MUST be flashed before first boot — littleFS is mounted from the storage partition; an unformatted/empty partition means iwasm/install have nothing to load. Burn it with idf.py storage-flash.
  5. Two execution models — (a) iwasm <file> runs a WASM app once to completion in its own thread; (b) install + App Manager (CONFIG_WASMACHINE_APP_MGR=y) hosts resident applets managed over TCP (host_tool). Pick the model before writing code.
  6. WAMR heap is the ESP heap — wm_wamr_init() registers wamr_malloc/wamr_realloc/wamr_free over heap_caps_aligned_alloc. With CONFIG_SPIRAM=y, WAMR allocations go to PSRAM; plan stack/heap via -s/-h on iwasm or --heap on install.
  7. Native extensions are opt-in via Kconfig — libc/libm default on; HTTP client, MQTT, LVGL, RainMaker, Wi-Fi provisioning default off and each depends on WASMACHINE_WASM_EXT_NATIVE. Enable in sdkconfig.defaults (e.g. CONFIG_WASMACHINE_WASM_EXT_NATIVE_MQTT=y).
  8. Extended VFS maps peripherals into /dev/... — UART (/dev/uart/0|1|2), and via esp-iot-solution's extended_vfs: GPIO/I2C/SPI/LEDC. WASM apps reach them with open/read/write/ioctl, not direct registers.
  9. install/uninstall use the App Manager CoAP-style request path — they build a request_t with init_request(...) and COAP_PUT/COAP_DELETE, sent through wm_wamr_app_send_request(). Up to 3 applets by default.
  10. Shell is off by default — CONFIG_WASMACHINE_SHELL=n; enabling it pulls in iwasm, ls, free, sta, and (with APP_MGR) install/uninstall/query. Each command is a separate Kconfig toggle.
  11. LVGL native extension needs a BSP — wm_ext_wasm_native_lvgl_register_ops() wires BSP display callbacks; requires esp-box (S3) or esp32_p4_function_ev_board (P4) per the example idf_component.yml.
  12. Target/board is chosen with idf.py set-target + optional sdkconfig.defaults.<board> — e.g. S3-BOX needs -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.esp-box".

When to Use

Applicable:

  • Creating or configuring an ESP-WASMachine firmware project (the VM host)
  • Enabling/selecting WAMR runtime features and WASM Native extensions (libc, libm, HTTP, MQTT, LVGL, RainMaker, Wi-Fi provisioning)
  • Wiring hardware access for WASM apps through Extended VFS (UART/GPIO/I2C/SPI/LEDC)
  • Running, installing, uninstalling, or querying WASM applets via the shell or host_tool
  • Adapting the partition table / littleFS image / fs_image contents
  • Porting to a supported board (ESP32, ESP32-S3, ESP32-C6, ESP32-P4) and choosing the right sdkconfig.defaults

Not applicable:

  • Writing/compiling the WASM applet itself (that is the esp-wdf / wasi-sdk side; this skill covers the host/VM firmware only)
  • General ESP-IDF questions unrelated to the WASMachine runtime/components
  • Non-Espressif WebAssembly runtimes (wasmtime, wasmer, WasmEdge)
  • PCB/hardware schematic design

Scenario Quick Reference (Recipes)

When user intent matches a scenario below, read the corresponding recipe first — it contains the real call chain, Kconfig toggles, commands, and common errors.

Project Setup & Build

recipescenario
recipes/new_project.mdCreate/configure a new WASMachine firmware for a target chip and board
recipes/build_flash.mdConfigure, build, flash firmware + littleFS image, and open the monitor
recipes/target_board.mdSelect the right board sdkconfig.defaults (ESP32-DevKitC / S3-BOX / S3-DevKitC / C6 / P4)

Running WASM Apps

recipescenario
recipes/run_iwasm.mdLoad and run a WASM app from the file system with iwasm (stack/heap, WASI env/dir/addr-pool)
recipes/app_manager.mdEnable App Manager + TCP server; install/uninstall/query resident applets via shell and host_tool
recipes/filesystem.mdAdd .wasm files to the littleFS image and burn the storage partition

WASM Native Extensions

recipescenario
recipes/native_libc.mdlibc native API (open/read/write/ioctl/close/sleep/time) — basis for all file I/O in WASM apps
recipes/native_http_mqtt.mdHTTP client and MQTT native APIs (enable + usage notes from source signatures)
recipes/native_lvgl.mdLVGL native API + BSP display ops for S3-BOX / P4
recipes/native_rainmaker_prov.mdRainMaker and Wi-Fi provisioning native APIs

Hardware via Extended VFS

recipescenario
recipes/ext_vfs.mdExtended VFS: UART /dev/uart/x plus GPIO/I2C/SPI/LEDC ioctl commands

System / Shell

recipescenario
recipes/shell_wifi.mdsta command: connect the device to an AP for remote app management
recipes/data_sequence.mddata_seq component for serializing parameters between VM and WASM app

Supported Targets & Boards

Source: README.md §2, §4.1 and examples/wasmachine/sdkconfig.defaults.*.

Targetidf.py set-targetBoard-specific defaults fileNotes
ESP32esp32sdkconfig.defaults.esp324 MB flash uses partitions.4mb.single_app.csv
ESP32-S3 (BOX)esp32s3sdkconfig.defaults + sdkconfig.esp-boxLVGL/BSP; pass -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.esp-box"
ESP32-S3 (DevKitC)esp32s3sdkconfig.defaults—
ESP32-C6esp32c6sdkconfig.defaults.esp32c64 MB flash uses single-app partition
ESP32-P4 (Function EV Board)esp32p4sdkconfig.defaults + sdkconfig.esp32_p4_function_ev_boardLVGL/BSP; uses esp_wifi_remote

ESP-IDF supported versions: v5.1.x, v5.2.x, v5.3.x, v5.4.x, v5.5.x, master (pinned: v5.1.6, v5.2.5, v5.3.3, v5.4.2, v5.5-rc1).


Component / Kconfig Map

Real components under components/ and the Kconfig symbols each exposes (Kconfig.wasmachine).

ComponentPurposeKey Kconfig symbols
wasmachine_coreWAMR platform adapter, app-manager hostWASMACHINE_APP_MGR, WASMACHINE_TCP_SERVER, WASMACHINE_TCP_PORT (8080), WASMACHINE_FILE_SYSTEM_BASE_PATH ("/storage")
wasmachine_ext_wasm_nativeWASM Native API surface (env module)WASMACHINE_WASM_EXT_NATIVE, _LIBC, _LIBMATH, _HTTP_CLIENT, _LVGL, _LVGL_USE_WASM_HEAP, _MQTT (needs APP_MGR), _WIFI_PROVISIONING
wasmachine_ext_wasm_native_rainmakerRainMaker native APIWASMACHINE_WASM_EXT_NATIVE_RMAKER
wasmachine_ext_wasm_vfsVFS for WASM (UART + extended_vfs bridge)WASMACHINE_EXT_VFS, WASMACHINE_EXT_VFS_UART
wasmachine_shellConsole commandsWASMACHINE_SHELL, WASMACHINE_SHELL_WASM_APP_STACK_SIZE (16384), WASMACHINE_SHELL_WASM_APP_HEAP_SIZE (16384), WASMACHINE_SHELL_WASM_TASK_STACK_SIZE (8192), WASMACHINE_SHELL_PROMPT ("WASMachine>"), WASMACHINE_SHELL_CMD_FREE/IWASM/INSTALL/UNINSTALL/QUERY/LS/WIFI

Note: WASMACHINE_WASM_EXT_NATIVE_MQTT depends on both WASMACHINE_WASM_EXT_NATIVE and WASMACHINE_APP_MGR. WASMACHINE_EXT_VFS_UART depends on !ESP_CONSOLE_UART_DEFAULT && !ESP_CONSOLE_UART_CUSTOM.


Critical Pitfalls (Must Read)

These come directly from the source. Violating any of them breaks the build or the runtime.

1. Flash the file system before first boot

text
# ❌ WRONG — only flash firmware, never the storage partition
idf.py build flash
# → boot log: littleFS mount fails, iwasm has no wasm/ dir, "storage" empty

# ✅ CORRECT — burn the littleFS image generated from main/fs_image
idf.py storage-flash
# then: idf.py build flash monitor

2. app_main init order is fixed (wm_main.c)

c
// ❌ WRONG — call wm_wamr_init() before the file system is mounted
void app_main(void) {
    wm_wamr_init();        // WAMR needs WM_FILE_SYSTEM_BASE_PATH ready
    fs_init();
}

// ✅ CORRECT — order from examples/wasmachine/main/wm_main.c
void app_main(void) {
    bsp_init();                                 // LVGL/BSP (if enabled)
    fs_init();                                  // mount littleFS at WM_FILE_SYSTEM_BASE_PATH
    ESP_ERROR_CHECK(nvs_flash_init());
    ESP_ERROR_CHECK(esp_netif_init());
    ESP_ERROR_CHECK(esp_event_loop_create_default());
    wm_wamr_init();                             // full_init + native/vfs export
#ifdef CONFIG_WASMACHINE_APP_MGR
    wm_wamr_app_mgr_init();                     // App Manager thread + TCP server
#endif
#ifdef CONFIG_WASMACHINE_SHELL
    wm_shell_init();                            // register console commands
#endif
}

3. MQTT native requires App Manager

text
# ❌ WRONG — enable MQTT native but leave APP_MGR off
CONFIG_WASMACHINE_WASM_EXT_NATIVE_MQTT=y
CONFIG_WASMACHINE_APP_MGR=n
# → Kconfig: MQTT depends on WASMACHINE_APP_MGR, option never appears

# ✅ CORRECT
CONFIG_WASMACHINE_APP_MGR=y
CONFIG_WASMACHINE_WASM_EXT_NATIVE_MQTT=y

4. WASM app heap/stack default too small for real apps

text
# ❌ WRONG — rely on defaults (16384) for a heavy WASM app
iwasm wasm/big_app.wasm

# ✅ CORRECT — set explicitly via -s (stack) and -h (heap), in bytes
iwasm wasm/big_app.wasm -s 262144 -h 262144

5. install requires the app to NOT already exist

text
# ❌ WRONG — installing the same name twice
install wasm/hello.wasm -i app0
install wasm/other.wasm -i app0   # → "App app0 is already installed"

# ✅ CORRECT — uninstall first, or pick a new name
uninstall -u app0
install wasm/other.wasm -i app0

6. host_tool only builds on Linux

text
# ❌ WRONG — try to build host_tool on Windows/macOS native
cmake ..  # fails: depends on a Linux toolchain/posix assumptions

# ✅ CORRECT — build in Linux
git clone -b WAMR-2.2.0 https://github.com/espressif/wasm-micro-runtime.git
cd wasm-micro-runtime/test-tools/host-tool && mkdir build && cd build && cmake .. && make

7. LVGL native needs BSP ops registered

c
// ❌ WRONG — enable CONFIG_WASMACHINE_WASM_EXT_NATIVE_LVGL but never call register_ops
// → WASM LVGL calls have no display to draw to; BSP never starts

// ✅ CORRECT — in app_main bsp_init (from wm_main.c)
bsp_display_config();
wm_ext_wasm_native_lvgl_ops_t lvgl_ops = {
    .backlight_on  = bsp_display_backlight_on,
    .backlight_off = bsp_display_backlight_off,
    .lock          = bsp_display_lock,
    .unlock        = bsp_display_unlock,
};
ESP_ERROR_CHECK(wm_ext_wasm_native_lvgl_register_ops(&lvgl_ops));

8. Extended VFS UART conflicts with console UART

text
# ❌ WRONG — request /dev/uart/0 while console owns UART0
CONFIG_ESP_CONSOLE_UART_DEFAULT=y
CONFIG_WASMACHINE_EXT_VFS_UART=y   # Kconfig: depends on !ESP_CONSOLE_UART_DEFAULT → hidden

# ✅ CORRECT — use USB/USB-serial-JTAG console, or use /dev/uart/1 (note: UART1/2 are NOT auto-initialized)
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y

9. UART1/UART2 VFS nodes are not initialized for you

text
# ❌ WRONG — open "/dev/uart/1" and expect it to just work
int fd = open("/dev/uart/1", O_RDWR);   # registered but UART driver not installed

# ✅ CORRECT — UART1/2 need explicit driver init by firmware before the WASM app uses them
# (the comment in Kconfig.wasmachine states this directly)

10. Partition table must match flash size

text
# ❌ WRONG — 4 MB board using the 8 MB / 16 MB partition table
# → overlap or storage partition past flash end; boot failure

# ✅ CORRECT — 4 MB boards use partitions.4mb.single_app.csv
# In sdkconfig.defaults.esp32:
#   CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.4mb.single_app.csv"
# 8 MB boards use partitions.8mb.csv, etc.

11. WASI env/dir/addr-pool only with libc WASI enabled

text
# ❌ WRONG — pass --env/--dir/--addr-pool when WAMR_ENABLE_LIBC_WASI is off
iwasm wasm/app.wasm -e "k=v" --dir=data   # silently ignored / error

# ✅ CORRECT — these options exist only when CONFIG_WAMR_ENABLE_LIBC_WASI != 0
# (shell_iwasm.c wraps them in #if CONFIG_WAMR_ENABLE_LIBC_WASI != 0)

12. WASM file must be valid bytecode (or AOT/XIP)

c
// shell_iwasm.c rejects unknown package types:
// pkg_type must be Wasm_Module_Bytecode, or (with CONFIG_WAMR_ENABLE_AOT)
// Wasm_Module_AoT (XIP allowed). Anything else: "pkg_type=%d is not support"
// → compile with a WASM toolchain (wasi-sdk) before flashing.

Execution Workflow

StepNameDescription
1PlanIdentify target chip/board, execution model (iwasm one-shot vs App Manager resident), which native extensions and VFS peripherals are needed
2RecipeMatch a recipe in recipes/; follow its Kconfig toggles and call chain
3QueryFor APIs/Kconfig not in recipes, consult resources/api_reference.md and resources/config_reference.md
4ValidateConfirm every native symbol, Kconfig symbol, file path against resources/ — never invent
5ConfirmPresent plan: target, sdkconfig.defaults, partition table, fs_image contents, enabled components
6ExecuteNew project: copy examples/wasmachine/ and edit sdkconfig.defaults + main/fs_image/. Existing project: edit in place
7CheckVerify init order in app_main, dependencies between Kconfig symbols, partition vs flash size
8Buildidf.py set-target <chip> (+ -DSDKCONFIG_DEFAULTS=... for board), idf.py build
9Flashidf.py storage-flash (file system) then idf.py flash monitor
10RunAt the WASMachine> prompt: ls wasm, iwasm wasm/hello_world.wasm, or sta + host_tool -i/-q/-u

Step 6 Detail — Project Creation Strategy

New project (no existing WASMachine project):

  1. Copy examples/wasmachine/ (the only reference project in this repo) into the working directory — it already wires wasmachine_core, the native/vfs components, and the littleFS image.
  2. Pick the target with idf.py set-target <chip>; if the board is S3-BOX or P4-Func-EV, also pass -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.<board>".
  3. Edit sdkconfig.defaults to toggle native extensions / shell / app manager. Add lines like CONFIG_WASMACHINE_WASM_EXT_NATIVE_MQTT=y (plus CONFIG_WASMACHINE_APP_MGR=y).
  4. Drop your .wasm applets into main/fs_image/wasm/ and re-run idf.py storage-flash.
  5. Explain what was copied and why.

Existing project: edit sdkconfig.defaults, main/wm_main.c (init order), and main/fs_image/ in place. Do not rewrite the components under components/.


Failure Strategies

SituationAction
Native symbol not in resources/api_reference.mdIt is not registered; do not emit it. Tell the user to enable the matching Kconfig or it does not exist
iwasm reports "pkg_type=… is not support"The file is not valid WASM bytecode/AOT; recompile with a WASM toolchain
littleFS mount fails on bootRun idf.py storage-flash; verify the storage partition exists in the partition CSV
Kconfig option missing in menuconfigCheck depends on: e.g. MQTT needs APP_MGR, VFS UART needs console not on UART, RMAKER hidden on P4
host_tool install returns no response / timeoutEnsure device joined AP (sta -s … -p …), same network as PC, and CONFIG_WASMACHINE_TCP_SERVER=y with port matching -P
Already at 3 installed appletsuninstall -u <name> first; default applet cap is 3
Build fails on LVGL/BSP for a non-display boardLVGL native needs esp-box (S3) or esp32_p4_function_ev_board (P4); disable _LVGL otherwise

References

  • Scenario recipes → recipes/ directory
  • Native + host API reference → resources/api_reference.md
  • Kconfig option reference → resources/config_reference.md
  • Consolidated pitfalls → resources/pitfalls.md
  • Real example index → resources/example_list.md
  • Runtime lifecycle → resources/lifecycle.md

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Esp Wasmachine Skill AI 技能有什么作用?

AI Skill for ESP-WASMachine WebAssembly virtual-machine firmware development on ESP32 chips. Used when users need to create, configure, build, or debug an ESP-WASMachine project, including running WASM apps via the WAMR runtime, enabling WASM Native extensions (libc/libm/HTTP/MQTT/LVGL/ RainMaker/Wi-Fi provisioning), exposing hardware through Extended VFS, and managing applications through the shell or the host_tool. Trigger words: "ESP-WASMachine", "WASMachine", "WASM", "WebAssembly", "WAMR", "iwasm", "wasm-micro-runtime", "虚拟机", "ESP32", "Espressif", "host_tool", "install wasm", "esp32s3"...

为什么在 TypingMind 中使用 Esp Wasmachine Skill?

因为您只需安装一次,就能搭配任何模型使用。Esp Wasmachine Skill 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Esp Wasmachine Skill?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/JasonYANG170/esp-dev-skill/tree/main/repos/esp-wasmachine。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Esp Wasmachine Skill?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Esp Wasmachine Skill 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Esp Wasmachine Skill 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Esp Wasmachine Skill AI 技能免费吗?

是的。JasonYANG170 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇