Logo Vibe Project Builder

Vibe Project Builder

Tổ chứcPhổ biến
omnimind-ai
vibe-project-builder

Build a standalone phone-first HTML App with an SVG icon, Xiaowan skill, Agent-callable tools, reusable connectors, real data paths, and optional SQLite, then validate, publish, and add it to the Android home screen as an independent plugin. Use when the user asks "做*工具", "创建*应用", "创建*app", "做*app", "开发*插件", "搭建*助手", "build * tool", or "create * app", and for existing projects the user wants Xiaowan to operate directly.

Add to TypingMind

Tổng quan

Nhà phát hànhomnimind-ai
Kho mãOmniBot
Tên kỹ năngvibe-project-builder
Sao
2K
Bản fork
142
Tệp đi kèm
4
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 omnimind-ai 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 Vibe Project Builder 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/omnimind-ai/OmniBot/tree/main/plugins/vibe-project/runtime-skill/vibe-project-builder
  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/omnimind-ai/OmniBot.git /tmp/OmniBot
mkdir -p .claude/skills
cp -r /tmp/OmniBot/plugins/vibe-project/runtime-skill/vibe-project-builder .claude/skills/vibe-project-builder
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 Vibe Project Builder 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 Vibe Project Builder 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 Vibe Project Builder 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.

Vibe Project Builder

Build the project freely in the current workspace. Every project is a standalone phone-first HTML App with its own SVG icon, plus a Xiaowan SKILL.md and Agent-callable tools bound to connectors. SQLite remains optional storage, not the plugin backend. Every business action that should work from chat must be declared as a tool; never make Xiaowan open the App and simulate taps to use plugin functionality.

Before writing code, read references/product-writing.md and references/workflow-validation.md. Write the compact product contract and acceptance matrix they require. Treat this as the writing phase of the project: decide the real user outcome, truthful data source, complete interaction states, safety boundary, tool surface, and observable workflow evidence before implementing the dashboard.

Build Loop

  1. Write the product contract from references/product-writing.md and the acceptance matrix from references/workflow-validation.md; do not code until every required line is concrete.
  2. Keep the v1 narrow and complete: one core workflow, a truthful source, useful read and write tools, one runtime-generated AI capability when it improves the outcome, and one clear visual result when a dashboard adds value.
  3. Write skill/SKILL.md so Xiaowan knows when to use the capability and what outcome to produce. Its frontmatter name must equal the project slug.
  4. Add toolkit.json with direct Xiaowan tools and reusable connector bindings. Prefer several narrow business tools over one vague mega-tool.
  5. Add scripts or references under skill/ when the workflow needs deterministic logic or detailed guidance.
  6. Add the standalone HTML/CSS/JavaScript App and a hand-authored icon.svg. Never call an image-generation model and never use PNG/JPEG as the icon source. Add schema.sql only when the product benefits from durable local data.
  7. Audit Data / Tool / Display consistency: every business field and action must use the same name and source across storage, toolkit results, Skill instructions, and dashboard rendering.
  8. Execute the applicable workflows from references/workflow-validation.md. Capture tool sequence, real inputs, returned evidence, persisted evidence, and visible result in the working context. Fix every failed assertion before publishing.
  9. Call project_check with the completed directory and a small manifest.
  10. Fix every diagnostic at its reported Skill, tool, connector, or capability boundary.
  11. Call project_publish with the same path and manifest. Re-publishing updates the App, Skill, tools, and existing desktop shortcut while preserving connector-owned data. On first publish Android asks the user once to confirm “Add to Home Screen”; the host cannot bypass that system confirmation.

Real Data and AI Events

Start production state empty. Populate business records only from explicit user input, a declared Connector response, a deterministic derivation from those inputs, or a runtime Xiaowan call. Never ship a hidden fallback array, random record generator, fixed score, fixed recommendation, or canned AI answer and present it as a successful production result. Static labels, empty-state copy, schemas, and visibly labeled removable demo data are not business-result mocks.

Match every promised output field to data the chosen Connector can actually observe. A xiaowan tool sees its declared instruction and the current tool arguments; it cannot inspect plugin installation state, current time, SQLite rows, device state, or remote facts unless another real capability supplies those values. Never put a desired version, timestamp, score, tool list, or status into the instruction and ask the model to repeat it as if observed. If the runtime cannot source a field truthfully, remove that promise or choose a Connector that can.

Use Xiaowan as a real backend capability when the product benefits from generated plans, explanations, summaries, simulations, or personalized events. Generate them at tool invocation time from current user inputs and stored state; do not paste a prewritten result into HTML or JavaScript. Keep generation separate from facts:

  • Label generated content as AI-generated and preserve the source inputs.
  • Return the resolved model, elapsed time, and usage supplied by the Connector.
  • Never ask AI to invent live scores, prices, medical facts, transactions, or other externally verifiable state.
  • For durable generated events, expose a chat-first sequence such as generate_event → user/Agent review → save_event → get_event instead of silently saving unreviewed text.
  • On model failure, preserve user data and return a retryable error; never fall back to a canned success value.

Example: a useful generate_next_challenge tool may receive recent check-ins as arguments and ask Xiaowan to generate the next challenge from those inputs. A fake get_runtime_status tool must not ask Xiaowan to claim a fixed version, current timestamp, or installed state that it cannot inspect.

For products centered on an evolving experience, prefer meaningful AI-generated events over static screens. Examples include the next coaching challenge derived from recent check-ins, a narrative milestone derived from a user's saved choices, or a daily reflection derived from actual journal entries. The event is a generated artifact with provenance, not a factual claim about the outside world.

executor.connector always references a declared connectors[].id; it is never a connector type. The built-in types are sqlite with insert/query/update/delete, xiaowan with invoke, and http_json with safe read-only get for declared public HTTPS data sources. If this contract is uncertain, call project_contract once. Do not search the repository or guess Connector, action, permission, or executor names.

Do not pass source code through the publish tool. Use normal workspace file and terminal tools to build and iterate before linking once.

Minimal Project

text
weekly-coach/
├── index.html
├── styles.css
├── app.js
├── icon.svg
├── skill/
│   ├── SKILL.md
│   └── references/
│       └── coaching-rules.md
└── toolkit.json

The manifest is publish metadata, not another project file:

json
{
  "slug": "weekly-coach",
  "name": "每周教练",
  "description": "把目标和限制整理成可执行的一周计划",
  "entry_path": "index.html",
  "icon_path": "icon.svg",
  "permissions": ["xiaowan"]
}

toolkit.json is the connector contract exposed directly in Xiaowan's tools[]. Tool names are automatically namespaced with the plugin slug. Named connectors let multiple tools share one backend capability without coupling the Skill to a concrete implementation:

json
{
  "schemaVersion": 1,
  "connectors": [
    {
      "id": "coach",
      "type": "xiaowan",
      "config": {
        "system": "You are a concise, practical planning coach."
      }
    }
  ],
  "tools": [
    {
      "name": "create_weekly_plan",
      "displayName": "生成一周计划",
      "description": "Turn a goal and constraints into a practical weekly plan.",
      "parameters": {
        "type": "object",
        "required": ["goal"],
        "properties": {
          "goal": {"type": "string"},
          "constraints": {"type": "array", "items": {"type": "string"}}
        },
        "additionalProperties": false
      },
      "executor": {
        "connector": "coach",
        "action": "invoke",
        "config": {
          "instruction": "Create a seven-day plan from the supplied goal and constraints. Return concise Markdown.",
          "reasoning_effort": "none",
          "temperature": 0.4
        }
      }
    }
  ]
}

The host connector registry is the extension point. The runtime includes the xiaowan, sqlite, and public read-only http_json connectors. Credentialed services, device automation, MCP, and other native capabilities can add connectors without changing the Xiaowan-facing tool format or the generic ToolHandler.

Chat-First Contract

The chat Agent is the default input and operation route. The dashboard is a thin view and trigger surface over the same tools and stored facts; every Dashboard business action must call window.omni.tools.call with a local tool declared in toolkit.json. It must not contain a second mock backend or business actions unavailable to Xiaowan. A user should be able to create, query, update, and summarize the useful state in natural language without opening the dashboard. After a successful publish, surface the direct Dashboard entry instead of making the user rediscover it in the plugin market.

Public Data Link

Use http_json when the product promises live public facts such as sports, weather, transit, or open-government data. Declare the exact HTTPS origin and query mapping; never ask Xiaowan to invent data when retrieval fails:

json
{
  "connectors": [
    {
      "id": "score_feed",
      "type": "http_json",
      "config": {"base_url": "https://example.org/api"}
    }
  ],
  "tools": [
    {
      "name": "list_games",
      "displayName": "查询比赛",
      "description": "Fetch current games from the declared public source.",
      "parameters": {
        "type": "object",
        "properties": {"date": {"type": "string"}},
        "additionalProperties": false
      },
      "executor": {
        "connector": "score_feed",
        "action": "get",
        "config": {
          "path": "/games",
          "query": {"date": "$date"},
          "response_path": "data.games",
          "max_items": 50
        }
      }
    }
  ]
}

Declare the network permission. The host enforces HTTPS, public hosts, timeouts, response limits, no redirects, and returns source URL plus retrieval time. Keep private API keys out of project files; credentialed sources must use a host-managed Connector.

Every project must add entry_path and icon_path to the manifest. The icon must be an SVG file authored directly from vector shapes and text paths; do not call an image-generation model and do not create a raster source asset. For local structured data, add schema_path and the database permission.

Shared Tool Link

Only plugins that need local structured data should declare the database permission and schema_path. For those plugins, the Linker creates an isolated SQLite database. Declare every read and write operation once in toolkit.json, then call that same local tool name from the Dashboard. Xiaowan receives the namespaced form automatically, while Dashboard code stays short:

js
const inserted = await window.omni.tools.call('record_workout', {
  exercise: '深蹲',
  weight: 100,
});

const result = await window.omni.tools.call('list_workouts', {
  exercise: '深蹲',
  _order_by: 'created_at DESC',
  _limit: 50,
});

Use only the unprefixed tools[].name inside the Dashboard; the host binds it to the current plugin and rejects unknown tools or undeclared arguments. Never call the low-level database bridge from new project HTML or JavaScript. It exists only to reopen legacy installed projects and bypasses the shared Tool contract, so project_check rejects it in new or republished source.

Use SQL constraints such as NOT NULL, CHECK, UNIQUE, defaults, foreign keys, indexes, and triggers when they make the backend more reliable. Do not build a REST API or expose raw database paths.

Xiaowan capability bridge

Declare the xiaowan permission when the frontend invokes Xiaowan. The frontend must use the shared Xiaowan capability bridge for AI-native interactions. It reuses Xiaowan's conversation history, Skills, registered plugin Tools, streaming transport, provider configuration, and retries. Do not build a second Agent loop in JavaScript and do not expose provider credentials.

Use reasoningEffort: 'none' by default. Choose low or medium only when the request genuinely needs multi-step tool selection or synthesis. Fast one-shot generation through window.omni.ai.generate always disables provider thinking so a small token budget cannot be consumed before visible output.

Every AI action must have a visible status display. Register the event listener once. send returns immediately with a runId; render working, text_snapshot, tool_started, tool_progress, tool_completed, completed, and error events as they arrive. A working event means the model is analyzing, but intentionally contains no raw chain-of-thought. Show a short product-facing label such as “正在分析记录…” rather than model reasoning text. Keep a visible cancel action while a run is active.

js
const result = await window.omni.xiaowan.invoke({
  text: '根据我的训练记录制定下周计划',
  context: { page: 'weekly-plan', selectedWeek: '2026-W32' },
  reasoningEffort: 'low',
});
renderResult(result);

window.omni.xiaowan.invoke is the supported generic capability entry point. It is backed by the ACP runtime and the project's declared MCP/plugin tools; there is no standalone external-App event bus, run API, or state bridge. The frontend never receives an API key. If AI is unavailable, show a useful retry state while keeping local data features usable.

Frontend Quality

Custom HTML/CSS/JavaScript is the user-visible experience and is mandatory. Prefer a specific, phone-first product over a generic admin panel. Make the primary action reachable with one thumb, and include deliberate empty, loading, AI-working, success, and error states. Any button that can invoke Xiaowan must immediately disable repeated submission and show a visible status region until completion or failure. Local frameworks and bundled assets are allowed; the Linker does not prescribe component structure.

Create icon.svg directly in code with a square viewBox, a deliberate background, and a simple high-contrast symbol that remains legible at launcher size. Do not invoke image generation. The SVG stays the canonical source; Android rasterizes it locally only when constructing the launcher shortcut.

Published projects run offline by default. Bundle scripts, styles, fonts, and media inside the project instead of loading CDNs or calling remote APIs. Use window.omni.xiaowan.invoke for Xiaowan Agent access; network credentials and arbitrary outbound requests are intentionally unavailable to project JavaScript.

Shining Patterns

  • Fitness pet: every workout grows a creature; SQLite stores facts and streak state, while Xiaowan creates adaptive plans.
  • Tiny relationship garden: meaningful moments become a visual garden, with private searchable history.
  • Field notebook: photos and structured observations become a durable personal record with AI summaries.

Avoid games with no persistent value. The strongest project combines a memorable frontend with useful private state.

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 Vibe Project Builder làm được gì?

Build a standalone phone-first HTML App with an SVG icon, Xiaowan skill, Agent-callable tools, reusable connectors, real data paths, and optional SQLite, then validate, publish, and add it to the Android home screen as an independent plugin. Use when the user asks "做*工具", "创建*应用", "创建*app", "做*app", "开发*插件", "搭建*助手", "build * tool", or "create * app", and for existing projects the user wants Xiaowan to operate directly.

Vì sao nên dùng Vibe Project Builder 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. Vibe Project Builder 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 Vibe Project Builder trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/omnimind-ai/OmniBot/tree/main/plugins/vibe-project/runtime-skill/vibe-project-builder. 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 Vibe Project Builder?

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 Vibe Project Builder 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 Vibe Project Builder 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 Vibe Project Builder có miễn phí không?

Kỹ năng này được omnimind-ai phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇