Token导航 LogoToken导航

Agent Skill · 研究检索

retool-app-builder(重组应用程序构建器)

retool-app-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

retool-app-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 55,093。

总安装 490周安装 20GitHub Stars 7下载 158核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:retool-app-builder(重组应用程序构建器)
来源仓库:https://github.com/onsen-ai/retool-app-builder-skill
仓库路径:skills/retool-app-builder
安装命令:
npx skills add https://github.com/onsen-ai/retool-app-builder-skill --skill retool-app-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/onsen-ai/retool-app-builder-skill --skill retool-app-builder

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Retool 应用开发中快速定位组件或配置。支持根据关键词和任务场景整理信息,适用于低代码平台集成场景。

安装方式:GitHub 仓库,命令为 npx skills add https://github.com/onsen-ai/retool-app-builder-skill --skill retool-app-builder。使用前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

注意:涉及生产环境应用修改时,应先核对最小权限和操作边界。

来源仓库内路径:skills/retool-app-builder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/onsen-ai/retool-app-builder-skill --skill reto…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

retool-app-builder 怎么安装?

在终端执行 npx skills add https://github.com/onsen-ai/retool-app-builder-skill --skill retool-app-bui…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

retool-app-builder 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

retool-app-builder 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

retool-app-builder 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

retool-app-builder 用的人多吗?

公开数据是累计安装 490 次,近一周安装 20 次,下载 158 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

retool-app-builder 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
retool-app-builder

重组应用程序构建器 · 本页

4907操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Retool App Builder

Build importable Retool apps using ToolScript/RSX — Retool's markup language for source-controlled apps.

A. Orientation

This skill creates importable Retool apps. Each app is a directory containing RSX markup files, position layout JSON, and metadata — zipped for Retool import.

Reference files (paths relative to this skill):

  • references/TOOLSCRIPT-CHEATSHEET.md — READ FIRST. Condensed rules for component nesting, positioning, IDs, queries, events.
  • references/TOOLSCRIPT-SPEC.md — Full 2500-line spec. Use for deep lookups when the cheatsheet isn't enough.
  • assets/examples/ — 8 importable template apps (Minimal, CRUD Table, Master-Detail, Search Filter, AI Chat, Advanced CRUD, Charts Dashboard, API Dashboard).

Scripts in scripts/ handle validation, scaffolding, and position math — use them instead of manual RSX editing whenever possible.

Output contract: ALWAYS produce a named directory with all required files (main.rsx, functions.rsx, metadata.json, .positions.json) AND a zip via zip_app.sh.

B. Scripts Reference

ScriptPurposeWhen to use
validate_app.py <dir>Validate against all import rulesALWAYS before zipping. Catches import-breaking errors.
scaffold_app.py "Name" --template <type>Create app from template. Types: minimal, crud, master-detail, search-filter, chat, advanced-crudStart here for NEW apps.
list_components.py <dir>Show component treeStart here for EDIT/IMPROVE. Understand the app without reading RSX.
add_component.py <dir> --type T --id I...Add component + update positionsAdd components with correct layout math.
add_query.py <dir> --type T --id I...Add query with event chainsAdd queries with proper attributes and events.
extract_component.py <dir> --component IDMove subtree to src/ fileWhen main.rsx gets too large.
fix_positions.py <dir>Recalculate vertical layoutFix layout after adding/removing components.
zip_app.sh <dir>Zip for Retool import (runs validate)Final step — produces the importable zip.
bundle-apps.sh <app-dir> [output]Bundle app into single .toolscript-bundle file (dev tool)Skill development: feed full app context to LLM. --all for batch.
compact_bundles.pyStrip positions/metadata and truncate large inline data from bundles (dev tool)Skill development: reduce bundle size for bulk analysis.

Principle: Prefer scripts over manual RSX editing. Scripts handle position math, ID generation, and file consistency automatically. Only edit RSX directly for complex customizations scripts can't handle (custom attribute values, conditional logic, complex nesting).

C. Task Identification

Determine the mode based on what the user asks:

  • NEW — "build me a retool app for..." → scaffold_app.py with closest template → customize → validate → zip
  • EDIT — "add X to my retool app" / "change Y in this app" → list_components.py first → targeted changes → validate → zip
  • IMPROVE — "make this app production-ready" / "review my app" → list_components.py → audit → apply changes → validate → zip

D. Template Selection Matrix

For NEW apps, pick the closest template:

User needs...TemplatePatterns included
Simple display, read-only dataminimalText, basic layout
Table + create/edit/delete modalscrudModal, ModalFrame, Form, SQL CRUD, State, event chains
Table + side panel editingmaster-detailSplitPaneFrame, Container+Tabs+View, dynamic width
Filtered data, search barsearch-filtersetFilterStack, DateRange, JavascriptQuery
AI/chat interfacechatChat component, RESTQuery, JavascriptQuery
Complex: bulk ops, filters, detail paneadvanced-crudEverything above combined
Dashboard with stats / chartsCharts Dashboard exampleStatistic, PlotlyChart with dataseries, lib/ data+layout JSON
REST API table + drawer detailAPI Dashboard exampleRESTQuery, DrawerFrame, EditableText, setFilterStack
Firebase / Firestore appcrudReplace SqlQueryUnified with FirebaseQuery (queryFirestore/setFirestore/updateFirestore/deleteFirestore)
GraphQL API dashboardminimalAdd GraphQLQuery with.gql files in lib/
S3 file browserminimalAdd S3Query (list/read/download), S3Uploader, IFrame for preview

Read the template example files from assets/examples/<name>/ before customizing — understand what you're starting from.

E. NEW App Workflow

  1. Read references/TOOLSCRIPT-CHEATSHEET.md for rules
  2. Scaffold: python scripts/scaffold_app.py "App Name" --template <type> --output-dir <path>
  3. Note: Scaffolded apps include mock data fallbacks and a Setup Guide modal so the app is functional on import without a database. See "Mock Data" below.
  4. Read ALL generated files to understand the starting point
  5. Read the closest example from assets/examples/ for pattern reference
  6. Customize: modify query SQL, component labels/attributes, column definitions, form fields
  7. Add new components: python scripts/add_component.py <dir> --type TextInput --id searchInput --parent-frame '$main' --after pageTitle --attrs 'label="" placeholder="Search..."' --width 6
  8. Add new queries: python scripts/add_query.py <dir> --type SELECT --id selectItems --table items --sql-file
  9. Extract if main.rsx is large: python scripts/extract_component.py <dir> --component editModal
  10. Fix positions if needed: python scripts/fix_positions.py <dir>
  11. Validate: python scripts/validate_app.py <dir> Fix ALL failures before proceeding.
  12. Zip: bash scripts/zip_app.sh <dir>

F. EDIT Workflow

  1. Understand the app: python scripts/list_components.py <dir>
  2. Read specific files that need changes
  3. Make targeted modifications using scripts where possible:

- Adding components → add_component.py - Adding queries → add_query.py - Extracting to src/ → extract_component.py

  1. For complex changes (modifying existing attributes, rewiring events), edit RSX directly
  2. Fix positions: python scripts/fix_positions.py <dir>
  3. Validate: python scripts/validate_app.py <dir>
  4. Zip: bash scripts/zip_app.sh <dir>

G. IMPROVE Workflow + Audit Checklist

  1. Understand the app: python scripts/list_components.py <dir>
  2. Read functions.rsx fully to understand query patterns
  3. Audit against checklist:

- Destructive queries (DELETE) have requireConfirmation={true}? - Mutation queries have success events that refresh data? - After update: does it re-select the updated row (selectRow)? - After delete: does it clear selection (clearSelection)? - Forms have loading="{{query.isFetching}}" and disableSubmit="{{query.isFetching}}"? - Could dropdown options use SqlTransformQuery instead of separate queries? - Could filtering use client-side setFilterStack() instead of SQL WHERE? - Are State variables used for UI mode flags (bulk update, editing state)? - Does the app have proper event chains (mutate → refresh → UI update)? - Are ModalFrame/SplitPaneFrame/DrawerFrame/SidebarFrame children of App (not Frame)? - PlotlyChart data/layout stored in lib/ JSON files (not inline)? - HTML/IFrame components sanitize user-provided content? - Remove mock data fallbacks if real DB is connected (Array.isArray(q.data)? q.data: [...] in Table/Select data attributes)? - Remove Setup Guide modal if no longer needed?

  1. Present findings and proposed changes to user
  2. Apply approved improvements
  3. Validate + zip

H. Manual Editing Reference

For when scripts aren't sufficient — the critical rules to follow:

Nesting

  • ModalFrame/SplitPaneFrame/DrawerFrame must be children of <App> (not <Frame>)
  • Form requires <Header> + <Body> + <Footer> (all three; use showHeader={false} to hide)
  • Container requires at least one <View> direct child (not inside Body)
  • Table requires at least one <Column> child
  • Never use enableFullBleed={true} on Containers inside SplitPaneFrame/DrawerFrame — causes overflow

Positioning

  • Every visible component needs a .positions.json entry
  • Omit row and col when they are 0 (zero is the default)
  • View is transparent — no position entry ever
  • col + width <= 12
  • Children inside a View use container: parentContainerId + subcontainer: viewId
  • Header/footer items use rowGroup: "header" or rowGroup: "footer"
  • ModalFrame children use subcontainer: modalId

Toolbar Layout

When placing buttons alongside filter inputs (Select, DateRange, TextInput), buttons need special sizing to look right:

  • Add heightType="auto" to the Button RSX
  • In positions: use height: 0.8 (not 1.0) and offset row by +0.2 from the filter row
  • Ordering: filters → search → action buttons (left to right)
  • Extract ModalFrame components (especially Setup Guide) to src/ files via Include

IDs

  • All IDs globally unique across all.rsx files
  • Columns/Views/Options/Actions: 5-char hex [0-9a-f]{5}
  • Events: 8-char hex [0-9a-f]{8}

Syntax

  • No <!-- comments --> — use _comment="text" attribute
  • Boolean: {true} not "true"
  • Expressions: {{widget.value}}
  • Include: {include("./lib/file.sql", "string")}
  • All SQL goes in lib/ files — even one-liners. Never use inline query="SELECT...".

Attributes to Omit

Don't include these — Retool strips them and they clutter the output:

  • resourceDisplayName on any query (cosmetic label, not used for import)
  • transformer="return data" on SELECT queries (it's the default)
  • resourceDisplayName="JavascriptQuery" and runWhenModelUpdates={false} on JavascriptQuery
  • query="" on RESTQuery (empty string is the default)
  • hidden={false}, showFooter={false} on any component (false is always the default)

Mock Data

Scaffolded apps (crud, master-detail, search-filter, advanced-crud) include inline mock data fallbacks on Table and Select data attributes. This makes the app fully functional with sample data before a real database is connected.

How it works: data="{{Array.isArray(query.data)? query.data: [{id: 1, name: 'Example'}]}}" — when the query has no resource, query.data returns an error object (not an array), so the fallback is used. When a real DB returns data (an array), the ternary uses it directly.

To connect your real database:

  1. Update resourceName in each query in functions.rsx to your database resource UUID
  2. Remove the mock data fallbacks from Table/Select data attributes (change {{Array.isArray(query.data)? query.data: [...]}} to {{query.data}})
  3. Delete the Setup Guide modal (setupGuideModal ModalFrame) and the setupGuideBtn button

For deeper reference: read references/TOOLSCRIPT-CHEATSHEET.md or the full spec.

I. Quick Templates

main.rsx skeleton

<App>
  <Include src="./functions.rsx" />
  <Frame id="$main" type="main" padding="8px 12px" paddingType="normal" sticky={false}
    isHiddenOnDesktop={false} isHiddenOnMobile={false}>
    <Text id="pageTitle" value="### App Title" verticalAlign="center" marginType="normal" />
  </Frame>
</App>

functions.rsx skeleton

<GlobalFunctions>
</GlobalFunctions>

metadata.json template

{
  "toolscriptVersion": "1.0.0",
  "version": "43.0.9",
  "pageUuid": "00000000-0000-0000-0000-000000000001",
  "appTemplate": {
    "appMaxWidth": "100%",
    "appThemeId": -1,
    "experimentalFeatures": { "object": { "sourceControlTemplateDehydration": false } },
    "notificationsSettings": { "object": { "globalQueryShowFailureToast": true, "globalQueryShowSuccessToast": true, "globalQueryToastDuration": 4.5 } },
    "version": "3.338.0"
  }
}

.positions.json minimal

{
  "pageTitle": { "row": 0, "height": 0.6, "width": 12 }
}

Event template

<Event id="hex8char" event="success" method="trigger"
  params={{ ordered: [] }} pluginId="queryId" type="datasource"
  waitMs="0" waitType="debounce" />

SELECT query one-liner

<SqlQueryUnified id="selectItems" query={include("./lib/selectItems.sql", "string")}
  resourceName="REPLACE_WITH_RESOURCE_UUID"
  resourceTypeOverride="" warningCodes={[]} />

INSERT one-liner

<SqlQueryUnified id="insertItem" actionType="INSERT" changesetIsObject={true}
  changesetObject="{{ { ...CreateForm.data } }}" editorMode="gui"
  resourceName="REPLACE_WITH_RESOURCE_UUID"
  resourceTypeOverride="" runWhenModelUpdates={false} tableName="public.items">
  <Event id="hex8" event="success" method="trigger" pluginId="selectItems" type="datasource" waitMs="0" waitType="debounce" />
</SqlQueryUnified>

UPDATE_BY one-liner

<SqlQueryUnified id="updateItem" actionType="UPDATE_BY" changesetIsObject={true}
  changesetObject="{{ { ...EditForm.data } }}" editorMode="gui"
  filterBy={
    '[{"key":"id","value":"{{ table.selectedRow.id }}","operation":"="}]'
  }
  resourceName="REPLACE_WITH_RESOURCE_UUID"
  resourceTypeOverride="" runWhenModelUpdates={false} tableName="public.items" />

DELETE_BY one-liner

<SqlQueryUnified id="deleteItem" actionType="DELETE_BY" editorMode="gui"
  filterBy={
    '[{"key":"id","value":"{{ table.selectedRow.id }}","operation":"="}]'
  }
  requireConfirmation={true} confirmationMessage="Delete **{{ table.selectedRow.name }}**?"
  resourceName="REPLACE_WITH_RESOURCE_UUID"
  resourceTypeOverride="" runWhenModelUpdates={false} tableName="public.items" />

平台分布

Codex

35.09%
按下载量换算55

Claude

30.16%
按下载量换算48

Cursor

20.14%
按下载量换算32

Gemini CLI

9.19%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills