Token导航 LogoToken导航TokenDH.com
运维和基础设施操作浏览器github未标认证来源可访问clear审计提醒

openbb-app-builderopenbb 应用程序构建器

Agent Skill

openbb-app-builder 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,363

周安装

143

GitHub Stars

176

下载量

1,178
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/openbb-finance/backends-for-openbb --skill openbb-app-builder

简介

openbb-app-builder 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 文档进一步核验具体用法和功能边界。

SKILL.md

OpenBB App Builder

You are an expert OpenBB app developer. This skill handles the complete pipeline for building OpenBB Workspace apps - from requirements gathering to tested deployment.

Quick Reference

CommandAction
"Build an OpenBB app for X"Full pipeline
"Convert this Streamlit app"Reference-based build
"Quick mode: build X"Minimal questions

Execution Modes

ModeTriggersBehavior
Standard(default)Confirm at each phase, detailed explanations
Quick"quick mode", "fast", "minimal"Sensible defaults, single final confirmation
ReferenceCode snippets, "convert this", "like this app"Auto-analyze code, extract components, map to OpenBB
Verbose"verbose", "teach me", "explain"Educational approach, explain decisions

Mode detection: Check user's first message for trigger phrases. Default to Standard if unclear.

Pipeline Overview

Phase 1: Interview      → Gather requirements, analyze references
Phase 2: Widgets        → Define widget metadata
Phase 3: Layout         → Design dashboard layout
Phase 4: Plan           → Generate implementation plan
Phase 5: Build          → Create all files
Phase 6: Validate       → Run validation scripts
Phase 6.5: Browser Val  → Test against OpenBB Workspace (recommended)
Phase 7: Test           → Browser testing (optional)

For full architecture details, error recovery patterns, and troubleshooting, see ARCHITECTURE.md.

Phase Execution

Phase 1: Requirements Interview

Goal: Gather complete requirements before writing code.

Two modes:

  1. Interactive - Ask structured questions about data, widgets, auth
  2. Reference - Analyze Streamlit/Gradio/React code and extract components

For detailed interview process and component mapping, see APP-INTERVIEW.md.

Output: Create {app-name}/APP-SPEC.md with requirements.


Phase 2: Widget Metadata

Goal: Define every widget with complete specifications.

For each widget, define:

  • Type (table, chart, metric, etc.)
  • Parameters and their types
  • Column definitions (for tables)
  • Data format

For complete widget type reference and parameter guide, see WIDGET-METADATA.md.

Output: Append widget definitions to APP-SPEC.md.


Phase 3: Dashboard Layout

Goal: Design visual layout with tabs and positioning.

  • OpenBB uses a 40-column grid
  • Organize widgets into logical tabs
  • Define parameter groups for synced widgets

CRITICAL: Group names must follow "Group 1", "Group 2" pattern - custom names fail silently.

For layout templates and ASCII design guide, see DASHBOARD-LAYOUT.md.

Output: Append layout to APP-SPEC.md.


Phase 4: Implementation Plan

Goal: Generate step-by-step build plan.

For plan structure and templates, see APP-PLANNER.md.

Output: Create {app-name}/PLAN.md.


Phase 5: Build

Goal: Create all application files.

Files to create:

  • main.py - FastAPI app with endpoints
  • widgets.json - Widget configurations
  • apps.json - Dashboard layout
  • requirements.txt - Dependencies
  • .env.example - Environment template

For core implementation patterns and widget type details, see OPENBB-APP.md.


Phase 6: Validation

Goal: Validate all generated files.

For validation commands and error handling, see VALIDATE.md.

Run schema validation first. Then, by default, ask the user if they want endpoint validation as well so you can confirm each API route returns data before they open the app in Workspace.

Recommended phrasing:

  • "Do you want me to start the backend and validate the live endpoints too? That catches cases where the app loads but widgets show no data."

If the user agrees:

  • Start the backend locally
  • Run validate_endpoints.py
  • Fix and re-validate if endpoint errors are found

If errors, fix and re-validate (max 3 retries).


Phase 6.5: Browser Validation (Highly Recommended)

Goal: Validate against OpenBB Workspace's actual schema.

Static validation cannot catch all issues. Browser validation against pro.openbb.co is the most reliable method.

See VALIDATE.md for steps and common errors.


Phase 7: Browser Testing (Optional)

Goal: Test in real browser with OpenBB Workspace.

For browser testing procedures, see APP-TESTER.md.


Core Implementation Reference

Backend Structure

from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
import json
from pathlib import Path

app = FastAPI()

app.add_middleware(
    CORSMiddleware,
    allow_origins=[
        "https://pro.openbb.co",
        "https://pro.openbb.dev",
        "http://localhost:1420"
    ],
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)

# Load apps.json at startup
APPS_FILE = Path(__file__).parent / "apps.json"
with open(APPS_FILE) as f:
    APPS_CONFIG = json.load(f)

@app.get("/widgets.json")
def get_widgets():
    return {  # MUST be dict, NOT array
        "widget_id": {
            "name": "Widget Name",
            "type": "table",
            "endpoint": "my_endpoint"
        }
    }

@app.get("/apps.json")
def get_apps():
    return APPS_CONFIG  # MUST be an array of app objects

Widget Types

TypeUse Case
tableTabular data with sorting/filtering
chartPlotly visualizations
metricKPI values with labels
markdownFormatted text
newsfeedArticle lists

Best Practices

  1. No runButton: true unless heavy computation (>5 seconds)
  2. Reasonable heights: metrics h=4-6, tables h=12-18, charts h=12-15
  3. widgets.json must be dict format with widget IDs as keys
  4. apps.json must be array format, served via /apps.json endpoint - app objects are served here.
  5. Plotly charts: No title (widget provides it), support raw param
  6. Group names: Must be "Group 1", "Group 2" etc. with name field in group object
  7. Table metadata: Use data.table.columnsDefs, not columns or data.columnsDefs

For complete apps.json structure and required fields, see OPENBB-APP.md.

For pre-deployment checklist and browser validation, see VALIDATE.md.


Directory Structure Created

{app-name}/
├── APP-SPEC.md        # Requirements
├── PLAN.md            # Implementation plan
├── main.py            # FastAPI application
├── widgets.json       # Widget configs
├── apps.json          # Dashboard layout
├── requirements.txt   # Dependencies
└── .env.example       # Environment template

Completion

On success:

App created at {app-name}/

To run:
  cd {app-name}
  pip install -r requirements.txt
  uvicorn main:app --reload --port 7779

To add to OpenBB:
  Settings → Data Connectors → Add: http://localhost:7779

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.29%
按下载量换算357

OpenCode

21.84%
按下载量换算257

Codex

19.27%
按下载量换算227

Gemini CLI

13.72%
按下载量换算162

Antigravity

8.64%
按下载量换算102

windsurf

3.32%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills