Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计提醒

iblai-componentiblai 组件

Agent Skill

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

总安装

881

周安装

36

GitHub Stars

14

下载量

285
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/iblai/vibe --skill iblai-component

简介

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

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

/iblai-component

Overview of all ibl.ai components and how to create a new app.

Before adding a component or creating a new app, check for a iblai.env in the project root. Look for PLATFORM, DOMAIN, and TOKEN variables. If the file does not exist or is missing these variables, tell the user: "You need an iblai.env with your platform configuration. Download the template and fill in your values: curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.env"

iblai.env is NOT a .env.local replacement — it only holds the 3 shorthand variables. Next.js still reads runtime env vars from .env.local.

Use pnpm as the default package manager. Fall back to npm if pnpm is not installed. The generated app should live in the current directory, not in a subdirectory.

When building a navbar or header, do NOT display the tenant/platform name. Use the ibl.ai logo instead.

Follow BRAND.md for colors, typography, spacing, and component styles.

Creating a New App

Vanilla Next.js + ibl.ai Features

Start with a standard Next.js app and add features as needed:

The CLI reads PLATFORM from iblai.env automatically. Pass --platform only if you want to override it or don't have an iblai.env.

npx create-next-app@latest iblai-init --yes
cp -a iblai-init/. . && rm -rf iblai-init
rm -rf node_modules && pnpm install
iblai add auth
iblai add chat
pnpm dev

Full ibl.ai Agent App

Scaffold a complete app with auth, chat, and everything pre-configured. Always create in a temp directory and copy back to the current directory:

iblai startapp agent -o iblai-init
cp -a iblai-init/<app-name>/. . && rm -rf iblai-init
rm -rf node_modules && pnpm install
cp .env.example .env.local
pnpm dev

Non-Interactive (CI/CD)

iblai startapp agent --yes --platform acme --agent my-id --app-name my-app -o iblai-init
cp -a iblai-init/my-app/. . && rm -rf iblai-init
rm -rf node_modules && pnpm install
cp .env.example .env.local

AI-Enhanced Scaffolding

Set your API key as an environment variable (never pass secrets as CLI arguments):

export ANTHROPIC_API_KEY=<your-key>
iblai startapp agent \
  --prompt "kids learning assistant with bright colors"

Available Components

CommandWhat It AddsSkill
iblai add mcpMCP servers + skills (run first)
iblai add authSSO authentication/iblai-auth
iblai add chatAI chat widget (requires agent ID)/iblai-chat
iblai add profileUser profile dropdown/iblai-profile
iblai add accountAccount/organization settings/iblai-account
iblai add analyticsAnalytics dashboard/iblai-analytics
iblai add notificationNotification bell/iblai-notification
User invitation dialogs/iblai-invite
Workflow builder components/iblai-workflow
iblai add buildsTauri v2 desktop/mobile shell

Layout & Page Patterns

Page background

The page background should be var(--sidebar-bg, #fafbfc) (light gray). Set in globals.css:

@layer base {
  body {
    background-color: var(--sidebar-bg, #fafbfc);
  }
}

SDK component wrappers

SDK components (Profile, Account, AnalyticsLayout) have no outer background. Wrap them in a white container so they render as cards:

<div className="mx-auto w-full flex-1 overflow-auto px-4 py-8 md:w-[75vw] md:px-0">
  <div className="rounded-lg border border-[var(--border-color)] bg-white overflow-hidden">
    <SdkComponent ... />
  </div>
</div>

Responsive width

Use w-full px-4 on mobile, md:w-[75vw] md:px-0 on desktop for all page content and the navbar inner container. This keeps everything aligned.

Navbar pattern

Use a sticky top navbar with frosted glass effect, ibl.ai logo on the left, nav links next to it, and profile dropdown on the right:

<header className="sticky top-0 z-50 flex-shrink-0 border-b border-[var(--border-color)] bg-white/80 backdrop-blur-xl backdrop-saturate-150">
  <div className="mx-auto flex h-14 w-full items-center px-4 md:w-[75vw] md:px-0">
    {/* Mobile hamburger (Sheet) */}
    {/* Logo */}
    {/* Desktop nav links with bottom-border active state */}
    {/* Profile dropdown ml-auto */}
  </div>
</header>

Key navbar details:

  • Active link: border-b-2 border-[var(--primary-color)] text-[var(--primary-color)]
  • Inactive link: border-transparent text-[var(--text-secondary)] hover:text-[var(--text-primary)]
  • Mobile: Use shadcn Sheet with side="left" for a slide-out drawer. Note: shadcn Sheet uses @base-ui/react/dialog, NOT Radix. The asChild prop is NOT available on SheetTrigger.

Footer pattern

<footer className="flex-shrink-0 border-t border-[var(--border-color)]">
  <div className="mx-auto flex h-11 w-full items-center justify-between px-4 text-xs text-[var(--text-muted)] md:w-[75vw] md:px-0">
    <p>&copy; {new Date().getFullYear()} ibl.ai</p>
    <div className="flex items-center gap-5">
      {/* Docs, Privacy, Terms links */}
    </div>
  </div>
</footer>

Component Gallery

All components below are from @iblai/iblai-js/web-containers. Use MCP tools (get_component_info, get_hook_info) for full props and usage examples.

Auto-generated from @iblai/web-containers type declarations. Re-generate with: iblai update-gallery <path>

Authentication & SSO

ExportImportDescription
DEFAULT_SSO_STORAGE_KEYSssoDefault localStorage key constants for SSO
LoginButtonrootAuth login button -- redirects to authUrl with redirect options
SignupButtonrootSignup button -- opens signup flow, optionally in new tab
SsoLoginnextSSO callback handler -- stores tokens from URL into localStorage and redirects
import { DEFAULT_SSO_STORAGE_KEYS } from "@iblai/iblai-js/web-containers/sso";
import { LoginButton, SignupButton } from "@iblai/iblai-js/web-containers";
import { SsoLogin } from "@iblai/iblai-js/web-containers/next";

User Profile & Account

ExportImportDescription
AccountnextAccount/org settings with tabs (Organization, Management, Integrations, Advanced, Billing)
CompanyDialogrootCompany selection dialog
EducationDialogrootDialog for adding/editing education
EducationTabrootEducation background management
ExperienceDialogrootDialog for adding/editing experience
ExperienceTabrootProfessional experience management
InstitutionDialogrootInstitution selection dialog
InviteUserDialogrootDialog to invite users to a platform
InvitedUsersDialogrootDialog showing pending invitations
LocalLLMTabrootLocal LLM model management (Tauri desktop)
OrganizationTabnextOrganization settings tab
ProfilerootFull inline profile management (use for /profile page)
ResumeTabrootResume upload and display
UserProfileDropdownnextAvatar dropdown with profile, organization, platform switcher, logout
UserProfileModalnextProfile editing modal/dialog (use for overlay, NOT for a page)
import { Account, OrganizationTab, UserProfileDropdown, UserProfileModal } from "@iblai/iblai-js/web-containers/next";
import { Profile, CompanyDialog, EducationDialog, EducationTab, ExperienceDialog, ExperienceTab, InstitutionDialog, ... } from "@iblai/iblai-js/web-containers";
Profile vs UserProfileModal: Profile renders inline (full page). UserProfileModal renders as a dialog overlay. Use Profile for a dedicated /profile route. Use UserProfileModal for a quick-edit overlay.

Platform & Organization

ExportImportDescription
TenantSwitcherrootSwitch between platforms/organizations with RBAC support
import { TenantSwitcher } from "@iblai/iblai-js/web-containers";

Analytics

ExportImportDescription
AccessTimeHeatmaprootAccess time heatmap visualization
AnalyticsCourseDetailrootSingle course detail view
AnalyticsCoursesrootCourse analytics listing
AnalyticsFinancialStatsrootFinancial/billing statistics
AnalyticsLayoutrootLayout wrapper for analytics pages with built-in tab navigation
AnalyticsOverviewrootOverview dashboard with key metrics
AnalyticsProgramDetailrootSingle program detail view
AnalyticsProgramsrootProgram analytics listing
AnalyticsReportDownloadrootDownload analytics reports
AnalyticsReportsrootReport listing and management
AnalyticsSettingsProviderrootContext provider for analytics settings (required wrapper)
AnalyticsTopicsStatsrootTopic/conversation statistics
AnalyticsTranscriptsStatsrootTranscript browsing and search
AnalyticsUsersStatsrootUser activity statistics
ChartCardWrapperrootWrapper for chart visualizations
ChartFiltersProviderrootContext provider for chart filter state
CustomDateRangePickerrootCustom date range selector
EmptyStatsrootEmpty state placeholder for stats
GroupsFilterDropdownrootFilter analytics by user groups
StatCardrootSingle statistic card
TimeFilterrootTime range filter dropdown
import { AnalyticsLayout, AnalyticsSettingsProvider, AnalyticsOverview, AnalyticsCourses, AnalyticsPrograms, AnalyticsFinancialStats, AnalyticsUsersStats, AnalyticsTopicsStats, AnalyticsTranscriptsStats, AnalyticsReports } from "@iblai/iblai-js/web-containers";
AnalyticsFinancialStats does NOT accept a basePath prop. All other analytics sub-page components do.

Notifications

ExportImportDescription
AlertsTabrootAlert management tab
EditAlertDialogrootDialog to create/edit alerts
NotificationDisplayrootFull notification center with Inbox and Alerts tabs
NotificationDropdownrootBell icon with unread badge -- compact navbar widget
SendNotificationDialogrootDialog to compose and send notifications (admin)
import { AlertsTab, EditAlertDialog, NotificationDisplay, NotificationDropdown, SendNotificationDialog } from "@iblai/iblai-js/web-containers";

Mentor UI (App Shell)

ExportImportDescription
AppSidebarnextCollapsible sidebar with menu items, projects, pinned/recent messages
ConversationStartersnextGuided prompt cards for starting conversations
NavBarnextTop navigation bar with user menu, mentor dropdown, new chat action
import { AppSidebar, ConversationStarters, NavBar } from "@iblai/iblai-js/web-containers/next";

Workflows

ExportImportDescription
ConnectorManagementDialogrootConnector setup and management
CreateWorkflowModalrootCreate new workflow modal
DeleteWorkflowModalrootDelete workflow confirmation
ToolDialogsrootTool configuration dialogs
WorkflowSidebarrootWorkflow node type browser sidebar
import { ConnectorManagementDialog, CreateWorkflowModal, DeleteWorkflowModal, ToolDialogs, WorkflowSidebar } from "@iblai/iblai-js/web-containers";

Content & Display

ExportImportDescription
CopyButtonIconrootCopy-to-clipboard button icon
LoaderrootLoading overlay component
MarkdownrootMarkdown renderer with syntax highlighting and copy buttons
RichTextEditorrootTiptap-based rich text editor (HTML or Markdown output)
SearchableMultiSelectrootMulti-select dropdown with search filtering
SpinnerrootLoading spinner (sm, md, lg)
TimeTrackingProviderrootProvider for automatic time tracking
TopBannerrootDismissible top banner notification bar
VersionrootApp version display footer
import { CopyButtonIcon, Loader, Markdown, RichTextEditor, SearchableMultiSelect, Spinner, ... } from "@iblai/iblai-js/web-containers";

Error Handling

ExportImportDescription
ClientErrorPagenextClient-side error boundary page
ErrorPagenextError page with code, message, support link, home button
import { ClientErrorPage, ErrorPage } from "@iblai/iblai-js/web-containers/next";

Hooks & Utilities

ExportImportDescription
TAURI_COMMANDSrootTauri IPC command name constants
TAURI_EVENTSrootTauri event name constants
import { TAURI_COMMANDS, TAURI_EVENTS } from "@iblai/iblai-js/web-containers";

UI Primitives (Shadcn/Radix)

These are bundled with the SDK and share the ibl.ai Tailwind theme. Available when you need lower-level building blocks inside SDK component customizations:

AlertDialog, Avatar, Badge, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chart, Checkbox, Dialog, DropdownMenu, Input, Label, Pagination, Popover, Progress, RadioGroup, Select, Separator, Sheet, Sidebar, Skeleton, Sonner, Switch, Table, Tabs, Textarea, Toast, Toaster, Toggle, Tooltip

Note: For your own UI, install shadcn/ui directly (npx shadcn@latest add...) rather than importing these from the SDK. The SDK exports are for internal use and SDK component customization.

Component Priority

  1. ibl.ai components first -- always use the native component when one exists
  2. shadcn/ui for everything else -- forms, tables, modals, date pickers, etc.: npx shadcn@latest add button dialog table form
  3. shadcnspace blocks -- pre-built page sections: npx shadcn@latest add @shadcn-space/hero-01

ibl.ai and shadcn components share the same Tailwind theme and are visually seamless.

SDK Styling Notes

  • SDK components use Tailwind classes internally (bg-white, bg-gray-50, bg-[#f5f7fb]). Do NOT override these globally.
  • To make SDK components look correct on a gray page background, wrap them in a bg-white rounded-lg border border-[var(--border-color)] overflow-hidden container.
  • The AnalyticsLayout hardcodes bg-[#f5f7fb] for its background. If you need white, add a targeted CSS override in globals.css: .bg-\[\#f5f7fb\] {background-color: #ffffff!important;}
  • shadcn Sheet uses @base-ui/react/dialog, NOT Radix. The asChild prop is NOT available on SheetTrigger.

CLI Updates

Before running any iblai command, ensure the CLI is up to date. Run iblai --version to check the current version, then upgrade directly:

  • pip: pip install --upgrade iblai-app-cli
  • npm: npm install -g @iblai/cli@latest

This is safe to run even if already at the latest version.

Requirements

  • Next.js App Router project (app/ directory)
  • Node.js 18+
  • iblai CLI available (iblai --version). See /iblai-auth prerequisites for installation.
  • Run iblai add mcp first to set up MCP servers and skills
  • If you started with npx create-next-app@latest, run iblai add auth first -- other components depend on the auth providers
  • If you used iblai startapp agent, auth is already set up
  • Brand guidelines: BRAND.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.33%
按下载量换算101

Claude

32.92%
按下载量换算94

Cursor

19.56%
按下载量换算56

Gemini CLI

8.62%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills