一键导入
fmapi-codingagent-setup
Configure Codex to use Databricks Foundation Model API — interactive or non-interactive setup
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure Codex to use Databricks Foundation Model API — interactive or non-interactive setup
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | fmapi-codingagent-setup |
| description | Configure Codex to use Databricks Foundation Model API — interactive or non-interactive setup |
| user_invocable | true |
Configure Codex to use Databricks Foundation Model API (FMAPI).
Run with no arguments. The CLI will prompt for all required values, pre-populating defaults from any existing configuration:
setup-fmapi-codex
Pass --host to enable non-interactive mode. All other flags auto-default if omitted:
setup-fmapi-codex \
--host "https://my-workspace.cloud.databricks.com"
| Flag | Description | Example |
|---|---|---|
--host URL | Databricks workspace URL | --host https://my-workspace.cloud.databricks.com |
--profile NAME | Databricks CLI profile name | --profile my-profile |
--model MODEL | Model (default: databricks-gpt-5-2) | --model databricks-gpt-5-2 |
--ttl MINUTES | Token refresh interval in minutes (default: 55, max: 60, 55 recommended) | --ttl 55 |
--settings-location PATH | Where to write settings (home, cwd, or a custom path) | --settings-location home |
--ai-gateway | Use AI Gateway v2 for API routing (beta, default: off) | --ai-gateway |
--workspace-id ID | Databricks workspace ID for AI Gateway (auto-detected if omitted) | --workspace-id 1234567890 |
--config PATH | Load configuration from a local JSON file | --config ./my-config.json |
--config-url URL | Load configuration from a remote JSON URL (HTTPS only) | --config-url https://example.com/cfg.json |
--verbose | Show debug-level output | --verbose |
--quiet / -q | Suppress informational output (errors always shown) | --quiet |
--no-color | Disable colored output | --no-color |
--dry-run | Show what would happen without making changes | --dry-run --host https://... |
When --host, --config, or --config-url is provided, the CLI runs non-interactively. Other flags auto-default if omitted (profile defaults to fmapi-codex-profile). CLI flags override config file values. --config and --config-url are mutually exclusive. --dry-run implies non-interactive mode.
| Command | Description |
|---|---|
setup-fmapi-codex status | Check FMAPI configuration health (use $fmapi-codingagent-status instead) |
setup-fmapi-codex reauth | Re-authenticate OAuth session (use $fmapi-codingagent-reauth instead) |
setup-fmapi-codex self-update | Update to the latest version |
setup-fmapi-codex uninstall | Remove all FMAPI artifacts |
setup-fmapi-codex --help | Show help message |
Run comprehensive FMAPI diagnostics — dependencies, configuration, profile, auth, connectivity, and model validation
List all serving endpoints available in your Databricks workspace
Re-authenticate Databricks OAuth session for FMAPI
Check FMAPI configuration health — OAuth session, workspace, and model settings
Validate that the configured FMAPI model exists and is ready in the workspace
Configure Claude Code to use Databricks Foundation Model API — interactive or non-interactive setup