Build and maintain Raycast extensions using the Raycast API. Triggers on @raycast/api, List, Grid, Detail, Form, AI.ask, LocalStorage, Cache, showToast, and BrowserExtension. Use this repo's references/api/*.md files as the primary source of truth for component specs and API usage.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install raycast或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install raycast⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/raycast/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: raycast-extensions description: Build and maintain Raycast extensions using the Raycast API. Triggers on @raycast/api, List, Grid, Detail, Form, AI.ask, LocalStorage, Cache, showToast, and BrowserExtension. Use this repo's references/api/*.md files as the primary source of truth for component specs and API usage. ---
Build powerful extensions with React, TypeScript, and the Raycast API.
Follow these steps when tasked with implementing or fixing Raycast features:
List, Grid, Detail, or Form.references/api/ (e.g., references/api/list.md). - Feedback: Use showToast for Loading/Success/Failure. Use showHUD only for quick background completions. - Data: Use Cache for frequent/transient data, LocalStorage for persistent user data. - Access: Always check environment.canAccess(AI) or environment.canAccess(BrowserExtension) before use.
@raycast/api components.references/api/*.md file you used.Use List for text-heavy data and Grid for image-heavy data.
<List isLoading={isLoading} searchBarPlaceholder="Search items..." throttle>
<List.Item
title="Item Title"
subtitle="Subtitle"
accessories={[{ text: "Tag" }]}
actions={
<ActionPanel>
<Action.Push title="View Details" target={<Detail markdown="# Details" />} />
<Action.CopyToClipboard title="Copy" content="value" />
</ActionPanel>
}
/>
</List>
Use for displaying long-form content or item details.
<Detail
isLoading={isLoading}
markdown="# Heading\nContent here."
metadata={
<Detail.Metadata>
<Detail.Metadata.Label title="Status" text="Active" icon={Icon.Checkmark} />
</Detail.Metadata>
}
/>
Always include a SubmitForm action.
<Form
actions={
<ActionPanel>
<Action.SubmitForm onSubmit={(values) => console.log(values)} />
</ActionPanel>
}
>
<Form.TextField id="title" title="Title" placeholder="Enter title" />
<Form.TextArea id="description" title="Description" />
</Form>
Prefer showToast for most feedback.
// Success/Failure
await showToast({ style: Toast.Style.Success, title: "Success!" });
// HUD (Overlay)
await showHUD("Done!");
Use Cache for performance, LocalStorage for persistence.
// Cache (Sync/Transient)
const cache = new Cache();
cache.set("key", "value");
// LocalStorage (Async/Persistent)
await LocalStorage.setItem("key", "value");
Always wrap in environment.canAccess checks.
if (environment.canAccess(AI)) {
const result = await AI.ask("Prompt");
}
if (environment.canAccess(BrowserExtension)) {
const tabs = await BrowserExtension.getTabs();
}
- Action Panel - Detail - Form - Grid - List - User Interface
- Actions - Alert - Keyboard - Navigation - Raycast Window Search Bar
- AI - Browser Extension - Clipboard - Environment - Feedback & HUD - HUD - Toast - OAuth - System Utilities
- Caching - Colors - Icons & Images - Preferences - Storage
- Command Related Utilities - Menu Bar Commands - Tool - Window Management
For end-to-end examples combining multiple components and APIs, see examples.md.
安装 raycast 后,可以对 AI 说这些话来触发它
Help me get started with raycast
Explains what raycast does, walks through the setup, and runs a quick demo based on your current project
Use raycast to build and maintain Raycast extensions using the Raycast API
Invokes raycast with the right parameters and returns the result directly in the conversation
What can I do with raycast in my developer & devops workflow?
Lists the top use cases for raycast, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/raycast/ 目录(个人级,所有项目可用),或 .claude/skills/raycast/(项目级)。重启 AI 客户端后,用 /raycast 主动调用,或让 AI 根据上下文自动发现并使用。
raycast 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
raycast 可免费安装使用。请查阅仓库了解许可证信息。
Build and maintain Raycast extensions using the Raycast API. Triggers on @raycast/api, List, Grid, Detail, Form, AI.ask, LocalStorage, Cache, showToast, and BrowserExtension. Use this repo's references/api/*.md files as the primary source of truth for component specs and API usage.
raycast 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using raycast
Identifies repetitive steps in your workflow and sets up raycast to handle them automatically