Logo Summer Apps

Summer Apps

Tổ chức
SummerEngine
summer-apps

Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker), data and tools.

Tổng quan

Nhà phát hànhSummerEngine
Kho mãsummer
Tên kỹ năngsummer-apps
Sao
91
Bản fork
8
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SummerEngine công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Summer Apps trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SummerEngine/summer/tree/main/library/skills/summer-apps
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/summer-apps .claude/skills/summer-apps
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Summer Apps trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Summer Apps ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Summer Apps với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Summer Apps

A Summer App is a tool the person's team uses inside Summer Studio: shared with the workspace, live on its assets, game data and engine, dockable in the editor. You build it in minutes; the team keeps it.

A call written area.action({...}) is one operation: use the tool summer_area_action when your client lists it, else summer_call({ op: "area.action", input: {...} }). summer_search finds any operation and its exact input.

First: does Summer already do it?

A custom app is something the team has to maintain. Before you build one, check whether Summer already does the job: Studio features (the asset library with its collections and groups, Pick one and sound choices, Grow dashboards, Team) and the existing Summer operations (summer_search finds them). If it does, use that and tell the person where it lives.

Build an app only when the need is real and Summer lacks it, or as a Scratch throwaway (a quick asset review, a UI prototype) that you call throwaway when you make it, and archive when it is done (apps.update({ appId, status: "archived" })). When something is missing natively, report it with apps.report_gap (and summer_call with docs.feedback when a library entry fell short), so Summer can build it for everyone.

AskDo
"Let me pick from these 12 sword sounds"Pick one: assets.generate_sfx_choices, or put the sounds in a library collection. No app.
"Group our Studio assets into a moodboard for the forest level"Organize them with the asset library's collections and groups. No app.
"A weapon balance table that writes res://data/weapons.json"Build an app: nothing in Summer edits game data with the team's balance rules.

When to build one

  • The person asks for a tool ("build us a loot balance tool", "track every creature from concept to in-engine", "a board to review playtest clips").
  • They need a UI to decide or edit something they will come back to.
  • Not for a one-off answer: reply in chat instead.
  • Not when Summer already does it (above).

Layout or code

  • Layout (format: "layout"): a JSON layout of kit nodes. Quick, throwaway, always on brand. Use it to ask the person to pick, rate or fill something now.
  • Code (default): index.html + JS/CSS with the Summer SDK and UI kit. Use it for state, editing, shared data, generation or engine access.

Start from the working app

Read these before writing code; they are exact:

  • minimal-app.md: a complete working app (manifest, index.html, app.js) built from kit components, using shared data, live changes, the viewer, page.declare, an agent event, an agent tool and frame-move state. Copy it and change it.
  • sdk-reference.md: every SDK call with its exact arguments and return shape.
  • manifest.md: every manifest field.
  • The kit's component catalog (every <summer-*> element with attributes, events and a copyable example) is apps.guide({ section: "kit" }), also at /summer-ui/v1/catalog.json on the app host. Copy its examples instead of inventing markup.

To see an app, publish it and call apps.screenshot({ appId }): Summer renders it headless with the person's data and returns the picture plus the console, uncaught errors, refused calls and the fields and buttons it declared. No Studio tab needed; the person sees it at /studio/apps/<appId> (apps.create opens it for them). Opening index.html on its own never connects. There is no offline host: do not build one or mock the SDK.

The app is served from its own host, apps.summerengine.app. Load the SDK and the kit as ES modules with root paths: <script type="module" src="/summer-sdk/v1.js"> and <script type="module" src="/summer-ui/v1/ui.js">. Then await summer.ready before the first call, and reach data only through summer.data.collection(name).

The loop

  1. apps.guide({ section: "overview" }) first, then examples and the sections the app needs. Load the summer-apps-design skill for how it must look.
  2. apps.create({ name, purpose, format }). The person's Studio tab opens it.
  3. Write the files in a local folder, then apps.publish({ appId, files, manifest, note }) with every file as { path, content, encoding } (index.html at the root; or layout for a layout app). Each publish is an immutable version the tab boots. A publish error names the file or rule: fix it and publish again.
  4. Seed starter data with apps.write_data({ appId, ops, as: "seed" }) when the app should start full. Seed rows belong to the team and show no author.
  5. Look at it: apps.screenshot({ appId }), then width: 390 (phone) and theme: "dark"; steps: [{click: "#edit"}] or [{press: "<action id>"}] shows a dialog or a second state. Fix the publish warnings too. Fix every error and console line it reports, publish again, look again. It is read-only: writes, sends and paid calls are refused there and work in Studio.
  6. apps.events({ appId, after }) waits for what the app sends you (summer.agent.send), errors (uncaught and console.error) and feedback. Act on them; pass the cursor on.
  7. Change the app by publishing again; apps.get({ appId }) returns the current files.

Data is the API

Read an app's shared collections with apps.read_data and write them with apps.write_data. Both work with no app open, and everyone in the app sees your edits live. "Nerf the bow in our balance sheet" is a data write, not a click.

Declare each collection's record shape in the manifest collections; apps.tools and apps.read_data return it, so any agent knows what a record looks like.

json
{ "appId": "<id>", "ops": [
  { "op": "patch", "collection": "items", "recordId": "bow", "patch": { "damage": 36 }, "ifRevision": 4 },
  { "op": "put", "collection": "notes", "recordId": "n-17", "data": { "text": "Boss too long", "status": "open" } },
  { "op": "remove", "collection": "notes", "recordId": "n-3" }
] }

That is the input of apps.write_data: up to 100 ops per call. Send an idempotencyKey and reuse it only to retry the same write, so it applies once. apps.read_data({ appId, collection, limit, cursor }) reads records (items, then nextCursor for the next page); removed records are not returned. Your writes are recorded as actor { kind: "agent" } (and as createdBy on records you create), so the app can show which rows an agent made. Add "as": "seed" for starter data that belongs to the team (kind: "seed", no author). patch merges keys (null removes one); ifRevision guards against overwriting a newer change.

Agent tools

Logic that lives in the app (a balance formula, an export) can be exposed in the manifest agentTools and implemented with summer.agent.tool(name, handler). apps.tools lists them; apps.call({ appId, tool, input }) runs one inside the person's open app and answers a conflict error when the app is not open (its next is the app's link for the person). Prefer data for plain reads and edits. apps.page reads the fields and buttons an open app declared, and apps.use_page({ appId, fill, press }) fills and presses them; the ones the app marks critical are the person's to press.

Rules

  • Declare only the permissions the app uses; declare every engineFiles path and every agentEvents name. A missing one fails at runtime with permission_missing.
  • The app runs sandboxed (allow-scripts allow-forms allow-popups allow-modals allow-downloads, never allow-same-origin): no cookies, no localStorage, no network unless the workspace allows a domain. Keep state in summer.data.
  • Paid SDK calls spend the credits of the person using the app. Say so before building an app that generates.
  • Use real data (summer.data, summer.assets, summer.engine.readFile), never placeholder numbers.
  • Studio moves an idle app to a fresh frame every few minutes. Keep UI state you care about in shared data, or return it from summer.app.onSnapshot(() => state) (up to 256 KB) and read it back from (await summer.ready).restored. Wrap Web Audio playback in summer.app.busy(true) / summer.app.busy(false) so a long sound is not cut; <audio> and <video> count on their own.
  • Call summer.page.declare so agents can read and use the UI; mark delete, publish, pay and send actions critical.
  • When the SDK cannot do what the app needs, say so and call apps.report_gap.
  • apps.dock docks an app in the editor (it runs in the Summer MCP on this computer); on engines without app docks it returns engine_lacks_op: open the app in the Studio tab instead.
  • Keep, archive, restore, rename and pin with apps.update (status, name, folder, pinned); copy one with apps.duplicate; add a starter app with apps.add_starter; send the makers a note with apps.feedback. apps.delete asks the person, and apps.rollback (an older version goes live) and apps.update_starter ask the app's owner: each answers needs_approval with a link to give them, and nothing changes until they approve (jobs.wait on the job).

Done means

The app is published; apps.screenshot shows it with real data in light, dark and at 390 px with no errors; its states (loading, empty, error) work; and the person knows what it does and where its data goes.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
apps.call, summer_apps_callsummer apps call
apps.create, summer_apps_createsummer apps create
apps.docksummer apps dock
apps.events, summer_apps_eventssummer apps events
apps.get, summer_apps_getsummer apps get
apps.guide, summer_apps_guidesummer apps guide
summer_apps_listsummer apps list
apps.page, summer_apps_pagesummer apps page
apps.publish, summer_apps_publishsummer apps publish
apps.read_data, summer_apps_read_datasummer apps read-data
apps.report_gap, summer_apps_report_gapsummer apps report-gap
apps.screenshot, summer_apps_screenshotsummer apps screenshot
apps.tools, summer_apps_toolssummer apps tools
apps.update, summer_apps_updatesummer apps update
apps.use_page, summer_apps_use_pagesummer apps use-page
apps.write_data, summer_apps_write_datasummer apps write-data
assets.generate_sfx_choicessummer assets generate-sfx-choices
docs.feedbacksummer docs feedback
jobs.waitsummer jobs wait
summer_searchsummer ops search "<what you want>"

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Summer Apps làm được gì?

Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker), data and tools.

Vì sao nên dùng Summer Apps trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Summer Apps là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Summer Apps trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SummerEngine/summer/tree/main/library/skills/summer-apps. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Summer Apps?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Summer Apps với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Summer Apps với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Summer Apps có miễn phí không?

Có. Kỹ năng này được SummerEngine phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇