Логотип Summer Apps

Summer Apps

Организация
SummerEngine
summer-apps

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

Обзор

ИздательSummerEngine
Репозиторийsummer
Название навыкаsummer-apps
Звёзды
91
Форки
8
Файлы в комплекте
4
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 4

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — SummerEngine. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Summer Apps в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/SummerEngine/summer/tree/main/library/skills/summer-apps
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Summer Apps в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Summer Apps, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Summer Apps не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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>"

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Summer Apps?

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

Зачем использовать Summer Apps в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Summer Apps — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Summer Apps в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/SummerEngine/summer/tree/main/library/skills/summer-apps. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Summer Apps?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Summer Apps?

С любым количеством. В TypingMind вы можете использовать Summer Apps с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Summer Apps?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — SummerEngine. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇