web-apps
БесплатноБез исполняемых скриптовНе проверенBuild an app that runs in the Open SWE web UI, preview it beside the thread with preview_app, and release it with publish_app. Read this before building an…
от langchain-ai★ 11 279 звёзд на GitHubОб этом скилле
Open SWE apps
An app is one self-contained HTML file. The web UI runs it full screen from the person's sidebar, in a sandboxed frame with no network: it reaches storage, GitHub, live rooms and an agent only through the host API, as the person using it, within the permissions in its manifest.
The manifest
Embed it in the HTML as a JSON script:
<script type="application/openswe-plugin+json">
{
"name": "standup-notes",
"displayName": "Standup notes",
"version": "0.1.0",
"description": "Notes for the daily standup",
"sidebar": { "label": "Standup", "icon": "notebook" },
"permissions": ["storage"]
}
</script>
name: lowercase letters, digits and dashes. Publishing under the same name makes a new version of the same app.sidebar.icon: one ofpuzzle-piece,notebook,file-text,book-open,kanban,chart-bar,chat-circle,calendar,lightbulb,images,siren,robot.permissions: ask for the fewest.storage(JSON documents, private or per repository),realtime(live rooms with presence),github:read,github:write(branches, commits, pull requests),agent(a chat dock with tools the app provides),threads:read(list and read agent threads the person may read, such as incident investigations:host.threads.list({ source }),get,messages,artifact).
Start from the starter
plugins/starter in langchain-ai/open-swe is an app ready to change: React, the Macaw design system (Open SWE's own components, which follow the web UI's light and dark theme), Tailwind, the plugin SDK, and a Vite build that writes the one self-contained file with manifest.json inside it.
Macaw is published on npm; take the SDK and starter from the repository:
APPS=/workspace/.openswe-apps/open-swe
git clone --depth 1 --filter=blob:none --sparse https://github.com/langchain-ai/open-swe "$APPS"
git -C "$APPS" sparse-checkout set plugins/sdk plugins/starter
cp -r "$APPS/plugins/starter" "$APPS/plugins/<name>"
cd "$APPS/plugins/<name>" && npm install && npm run build
Clone it there, never over a checkout of the thread's own repository, and keep the app beside plugins/sdk, where its package.json finds the local SDK.
Edit manifest.json and src/App.tsx; npm run build writes bundle/index.html, the file to preview.
Build the UI from Macaw's components (@langchain/macaw-components/<Component>: Button, Card, Input, Select, Tabs, Dialog, Text and the rest) and its tokens (p-space-4, text-secondary, bg-surface-level-2) rather than your own styles, so the app looks like the web UI around it.
The SDK's README.md and src/client.ts document the host API.
The frame's policy blocks every request, so a CDN script, a fetch or a font URL fails; the starter's build inlines everything.
Iterating
- Build, then call
preview_appwithbundle/index.html. The person sees it beside the thread and can chat with you from it. - Change it, rebuild, call
preview_appagain. Each call replaces the build they see. - When the person wants to keep it, call
publish_appwith the same file.
Установить web-apps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл web-apps?
Build an app that runs in the Open SWE web UI, preview it beside the thread with preview_app, and release it with publish_app. Read this before building an Open SWE app or plugin.
Как установить скилл web-apps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-apps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic