AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Configuring Raycast for Teams: Shared AI Commands, Private Extensions, and Provider Allowlists

Kim Hyuk-chul · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Engineering leaders face a familiar tipping point when desktop productivity tools catch fire organically: developers love them, but IT and security teams lose sleep. Individual engineers build isolated prompt snippets in local clients, proprietary codebase fragments get pasted into unvetted commercial model endpoints, and internal infrastructure scripts remain trapped in personal configurations or unmanaged dotfiles.

Raycast for Teams—and particularly its Enterprise tier—transforms Raycast AI and its extensible runtime from a disparate set of personal macOS/Windows conveniences into an auditable, standardized engineering platform. This guide provides an end-to-end operational blueprint for configuring shared AI commands, managing private internal extension distribution, and enforcing strict model provider allowlists across your engineering organization.


The 365Finds Architectural Verdict

At 365Finds, our research leads to a decisive conclusion: engineering organizations should never treat Raycast as an unmanaged endpoint tool. Letting individual developers independently connect arbitrary API keys and publish unreviewed extensions creates severe security blind spots and operational drift.

We explicitly recommend that engineering organizations adopt a GitOps-driven, Gateway-centered architecture:

  1. Enforce CI/CD for Private Extensions: Set Private Extension Publishing to "No one" or "Managers only" in Raycast Admin Controls. Internal extensions that interact with company APIs must be committed to private Git repositories and published exclusively via automated CI pipelines following mandatory peer review.
  2. Centralize Model Routing via Custom Gateways: Rather than distributing raw commercial LLM access, engineering leaders should deploy an internal OpenAI-compatible proxy (such as LiteLLM or an Azure OpenAI / AWS Bedrock gateway) and push it out organization-wide using a centralized providers.yaml in the AI Control Center.
  3. Lock Down Built-in Providers: Enable the AI Provider Allow-List and disable public providers whose data retention policies fail to satisfy corporate compliance standards, restricting developers strictly to approved enterprise models.

1. Deploying Standardized Shared AI Commands

In Raycast, AI Commands transform complex, reusable system instructions into single-action commands executable from Root Search or direct global hotkeys across any focused application.

Understanding Command Scope and Team Sync

While personal AI Commands remain isolated in individual local databases, shared AI Commands belong to your organization workspace. When a team member or administrator saves a command to the organization, Raycast syncs the configuration to every authenticated member instantly. Any member role (Member, Billing, or Manager) can author or edit shared commands by default, making clear naming conventions and operational discipline essential.

Step-by-Step Configuration

To create and deploy a team-wide AI Command:

  1. Launch Raycast Root Search and execute the command Create AI Command.
  2. Prompt Definition: Construct the prompt using Raycast's template syntax. Use Dynamic Placeholders to pull runtime context:
    • {selection}: Inserts the currently highlighted text from any IDE, terminal, or browser.
    • {clipboard}: Injects the active clipboard buffer.
    • {argument name="Variable"}: Prompts the developer for dynamic parameter inputs at execution time.
    • @extension-name: Invokes installed tools via AI Extensions to pull real-time environment data.
  3. Workspace Organization: Click the Organization dropdown and select your company team rather than "Personal".
  4. Model Selection & Parameters:
    • Set Model to Default to inherit your team's centralized baseline, or pin a specific audited reasoning model for complex engineering tasks.
    • Set Creativity (temperature): choose None or Low for deterministic tasks (such as SQL syntax generation or commit message drafting) and Medium for creative documentation.
    • Set Reasoning Effort: For reasoning architectures, specify Low, Medium, or High depending on computational budget and latency constraints.
  5. Output Behavior:
    • Open in Raycast: Displays the response in an interactive Raycast buffer, ideal for reviewing diffs or iterative debugging.
    • Replace Selection: Overwrites the highlighted text directly in the active IDE or document, essential for inline refactoring and syntax fixes.
    • Check Highlight Editing Changes to give developers a visual diff of in-place modifications.
  6. Press ⌘ Enter (macOS) or Ctrl Enter (Windows) to save and publish.

Core Engineering AI Command Templates

Organizations should deploy a standard suite of engineering commands to replace ad-hoc prompting:

Command NameScope & TriggerOutput BehaviorPurpose & Prompt Structure
[Eng] Review DiffOrganization / HotkeyOpen in RaycastAnalyzes {selection} for security anti-patterns, memory leaks, missing error checks, and test coverage gaps.
[Eng] Generate Conventional CommitOrganization / Root SearchReplace SelectionReads git diff or staged code in {selection} and outputs a formatted commit message following Conventional Commits format.
[Eng] Explain Stack TraceOrganization / HotkeyOpen in RaycastIngests runtime exception text from {selection}, diagnoses root causes, and recommends targeted code fixes.
[Eng] SQL Explain & IndexOrganization / Root SearchOpen in RaycastAnalyzes execution plans or complex queries in {selection} to propose index optimizations and performance adjustments.

2. Managing and Distributing Private Extensions

Private Extensions allow engineering teams to build custom desktop interfaces for proprietary internal tooling—such as deploying pull requests, querying customer debug metadata, generating shortlinks, or triggering Kubernetes rollouts—without publishing code to the public Raycast Store.

Building for the Organization

Raycast extensions run on a TypeScript and React foundation using the @raycast/api package. To ensure an extension is recognized as a private corporate tool:

  1. Scaffold the extension locally with Create Extension in Raycast or using the Raycast CLI.
  2. In the project's root package.json, locate the owner property and set its value to your organization's unique handle:
    {
      "name": "internal-devops-tools",
      "title": "Internal DevOps Tools",
      "description": "Trigger staging deployments and query build statuses",
      "icon": "command-icon.png",
      "author": "platform-engineering",
      "owner": "acme-corp",
      "license": "MIT",
      "commands": [...]
    }
    
  3. To obtain your exact handle, launch Raycast, run Manage Organization, select your workspace, and select Copy Organization Handle (⌘ ⇧ .).

Enterprise Publishing Governance

By default, any team member authenticated via npx ray login can execute npm run publish from their terminal, compiling and uploading extension bundles directly into the organization's Private Store. In enterprise engineering environments, this creates supply-chain vulnerability.

Administrators on Enterprise plans should govern publishing privileges via Raycast Account Settings → Organization → Admin Controls → Private Extension Publishing:

365Finds Recommended Workflow: GitOps Deployment

When Private Extension Publishing is restricted to "Managers only" or "No one", engineering teams can establish a robust CI/CD pipeline:

[Developer Branch] ──> [Pull Request] ──> [Automated Code & Security Audit]
                                                    │
                                                    ▼
[Private Org Store] <── [npx ray publish] <── [Merge to Main in GitHub Actions]

In GitHub Actions or GitLab CI, store an organization Manager's Raycast access token as an encrypted repository secret. When pull requests merge to main, the CI workflow runs linting, tests, and automated compilation, then publishes the verified package via CLI.

Team members install the verified tool directly from Raycast Root Search by filtering the Store by Organization. When updates merge, Raycast silently syncs the new bundle to all client installations.


3. Enforcing Provider Allowlists, BYOK, and Model Gateways

Allowing client desktop software to communicate with arbitrary AI providers exposes organizations to intellectual property leakage, non-compliant data retention, and unmetered operational costs. Raycast Enterprise provides three complementary administrative layers within the AI Control Center (Raycast Account Settings → Organization → AI Control Center).

Layer 1: AI Provider Allow-List

The AI Provider Allow-List dictates which built-in commercial LLM providers developers are permitted to query.

  1. Navigate to Organization → AI Control Center → AI Provider Allow-List.
  2. Review the built-in providers: Anthropic, Baseten, Google, Groq, Mistral, OpenAI, Perplexity, Raycast, and xAI.
  3. Uncheck vendors that do not comply with your corporate data privacy framework or data residency mandates.
  4. Total Lockdown Mode: If an organization unchecks every provider in the allowlist, all built-in model endpoints are instantly hidden from developers' clients. Developers are restricted exclusively to approved local models (such as local Ollama instances) or centralized Custom Providers configured by IT.

Layer 2: Custom API Keys (BYOK) and Enforcement

For organizations with negotiated enterprise agreements with Anthropic, Google, or OpenAI, the Custom API Keys (BYOK) setting routes employee queries through corporate accounts, maintaining contractual Data Processing Agreements (DPAs) and negotiated Zero Data Retention (ZDR) terms:

  1. In Organization → AI Control Center, locate Custom API Keys (BYOK).
  2. Select the vendor from the dropdown (Anthropic, Google, or OpenAI), insert your corporate API key, and click Save.
  3. Enable Custom API Keys Enforcement:
    • Enforcement Disabled: Corporate BYOK models appear alongside standard Raycast pool models.
    • Enforcement Enabled: Raycast disables its built-in token infrastructure entirely. Developers can only select models originating from your corporate API keys (indicated by a key badge in the Raycast model selector).

Layer 3: Centralized Custom Provider Gateway (providers.yaml)

For engineering organizations with strict internal networking rules, air-gapped VPCs, or central AI proxies (e.g., LiteLLM, Portkey, Azure OpenAI Service, or self-hosted vLLM), Raycast allows administrators to distribute a company-wide providers.yaml.

When a manager uploads a centralized configuration:

Example Production Gateway Configuration

providers:
  - id: corporate-llm-gateway
    name: "Acme Secure Gateway"
    base_url: "https://llm-gateway.internal.acme.corp/v1"
    api_keys:
      internal: "${INTERNAL_GATEWAY_TOKEN}"
    additional_parameters:
      organization_unit: "engineering"
    models:
      - id: "claude-sonnet-4-enterprise"
        name: "Claude Sonnet 4 (Enterprise Audited)"
        description: "Zero-retention code review and architecture analysis"
        context: 200000
        abilities:
          temperature:
            supported: true
          vision:
            supported: true
          system_message:
            supported: true
          tools:
            supported: true
      - id: "gpt-4o-gov"
        name: "GPT-4o (Internal Azure Proxy)"
        description: "Corporate-approved general reasoning endpoint"
        context: 128000
        abilities:
          temperature:
            supported: true
          vision:
            supported: true
          system_message:
            supported: true
          tools:
            supported: true

[!WARNING] Uploading a Custom Provider configuration does not automatically disable Raycast's built-in providers. To guarantee that developers cannot bypass your gateway, you must navigate to the AI Provider Allow-List and uncheck all built-in vendors.


Additional Security and Compliance Hardening

Beyond model routing and extension publishing, SecOps and IT administrators must configure the remaining dials in Raycast Enterprise:


Governance Architecture Summary

CapabilityTeams TierEnterprise TierRecommended Engineering Posture
Shared AI CommandsSupportedSupportedMandate structured prefixes like [Eng]; configure Replace Selection for code refactoring workflows.
Private Extension StoreSupportedSupportedPackage internal tools with "owner": "<org-handle>" for centralized distribution.
Publishing RestrictionsUnrestricted (all members)All / Managers / No oneSet to "No one" or "Managers only"; mandate automated CI/CD deployment pipelines.
AI Provider Allow-ListUnavailableFull ControlUncheck unapproved commercial LLMs; isolate model access to audited endpoints.
BYOK EnforcementClient-level personal keysCentralized Org Keys + EnforcementEnable Enforcement to decommission standard pool models in favor of corporate contracts.
Centralized GatewayManual client providers.yamlOrg-wide providers.yaml OverrideDeploy internal proxy (LiteLLM/Azure); override local files to prevent endpoint tampering.
Telemetry & Memory ControlsIndividual member togglesOrganization-wide Admin EnforcementDisable AI Memory, Screen Awareness, and Feedback reporting for strict compliance.

By pairing Raycast's desktop ergonomics with Enterprise governance, engineering teams gain massive productivity acceleration without compromising code privacy, compliance boundaries, or credential hygiene.


References