Aidp User Settings

作者 oracle-samples90b42d6c24d4无许可证收录于 2026年10月8日更新于 2026年10月8日

Manage AIDP user settings / preferences — list, get, create, update, delete a user's settings for the DataLake. Use when the user wants to view or change their AIDP workbench preferences/settings, or manage stored user-setting entries. Self-contained — official `aidp user-setting` CLI preferred, `oci raw-request` fallback.

AI 生成的概览

通过 aidp CLI 或 oci raw-request 备用方式管理 AIDP DataLake 用户设置与偏好。

功能
该技能指导代理列出、获取、创建、更新和删除 AIDP DataLake 的用户设置条目。它说明了 CLI 命令、作为备用方式的 REST 端点,以及 GIT_ACCOUNT、IAM_USER_CREDENTIAL 等设置类型所需的创建请求体字段。它还要求在变更后重新读取设置以确认结果,并避免回显密钥内容。
适用场景
当用户想查看或更改其 AIDP 工作台设置或偏好,或管理已存储的用户设置条目时使用。适用于列出、获取、创建、更新或删除用户设置的请求。
运行要求
需要访问 AIDP 环境:已认证配置的官方 aidp CLI,或用于 raw-request 备用方式的 oci CLI。需要能访问 AIDP DataLake REST API 的网络、DataLake OCID,以及相应设置类型所需的凭据。该技能不附带脚本,仅为说明文档。

aidp-user-settings — user settings & preferences

Read and manage AIDP user-setting entries. Self-contained: no MCP / ai-data-engineer-agent required. Engine precedence per references/aidp-cli-map.md — prefer the official aidp CLI, else oci raw-request.

When to use

  • "Show / change my AIDP settings or preferences", "list/get/update/delete a user setting".

Engine (CLI-preferred)

  • aidp user-setting list <instance-id> --auth api_key --profile DEFAULT
  • aidp user-setting get|create|update|delete <instance-id> … (see aidp help user-setting for the key/body of each; create/update take a --body JSON).
  • Fallback (oci raw-request): …/20240831/dataLakes/<OCID>/userSettings — live-verified 200 (lake-scoped, 2026-06-10); GET …/userSettings/{key}, POST/PUT/DELETE for CRUD (confirm the create/update body via aidp help user-setting / a live read before writing).

Create body — CreateUserSettingDetails

CLI: aidp user-setting create <DATALAKE_OCID> --body <JSON> (CLI README "user-setting create"). Envelope (SDK create_user_setting_details.py:34-44):

Field (wire)ReqNotes
name✅user-friendly setting name
isDefault✅mark this the default for its type
data✅nested SettingData; discriminator type ∈ IAM_USER_CREDENTIAL | GIT_ACCOUNT | OAUTH (setting_data.py:18-26)

data variants (subclass models + CLI README "user-setting create"):

typeFields (wire)Source
GIT_ACCOUNTentityType (PERSONAL_ACCESS_TOKEN), providerName (GITHUB|BITBUCKET|GITLAB|OCI_DEVOPS), username, personalAccessTokengit_account_user_setting.py:77-83, enums …:18-34
IAM_USER_CREDENTIALuserId, tenancy, region, fingerprint, privateApiKeyiam_user_credential_user_setting.py:57-64

Example (GIT_ACCOUNT) — persist to .aidp/payloads/create-<name>-user-setting.json and confirm first; personalAccessToken/privateApiKey are secret material — pass in the body, never echo back:

json
{  "name": "my_github",  "isDefault": true,  "data": {    "type": "GIT_ACCOUNT",    "entityType": "PERSONAL_ACCESS_TOKEN",    "providerName": "GITHUB",    "username": "<user>",    "personalAccessToken": "<PAT>"  }}

Field names are confirmed (SDK attribute_map + CLI README). …/userSettings GET is live-200 (lake-scoped, 2026-06-10); still re-read after create to confirm the round-trip.

Workflow

  1. list/get to show current settings.
  2. For create/update/delete, show the change and apply it; re-read to confirm.

Guardrails

  • Scope to the caller's own settings; don't change another principal's settings without explicit instruction.

References

  • references/aidp-cli-map.md · references/oci-raw-request.md · references/rest-endpoint-map.md

来源与署名

来源:oracle-samples/oracle-aidp-samples位于ai/claude-code-plugins/oracle-ai-data-platform-workbench-engineer-agent/skills/aidp-user-settings提交90b42d6

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 oracle-samples/oracle-aidp-samples 的技能

Aidp Workspace Admin

oracle-samples

Provision and inspect AIDP DataLake instances and workspaces, including private-network workspaces attached to a customer VCN/subnet. Use when the user wants to create/list/get a workspace or DataLake instance, set up a new (e.g. private) AIDP environment, or replicate a customer setup. Create/delete are guarded — confirm before any provisioning.

待分类2026年10月8日

Aidp Volumes

oracle-samples

Work with AIDP volumes — list volumes, browse files inside a volume, upload/download via the PAR flow, and create directories. Use when the user mentions volumes, needs to stage large/binary files, or move data in/out of a volume (distinct from the workspace filesystem). Control-plane via the official `aidp` CLI.

待分类2026年10月8日

Aidp Verified Queries

oracle-samples

维护经过验证的问题到 Spark SQL 配对库,让智能体在生成新 SQL 前优先复用可信查询。

Data & Analytics2026年10月8日

Aidp Spark Optimization

oracle-samples

指导 Apache Spark 3.5.0 性能调优:分区、shuffle、连接、倾斜、内存、文件布局、AQE 与 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

维护 .aidp/semantic.md 业务语义层,定义指标、连接、同义词和值字典,为自然语言转 SQL 提供依据。

Data & Analytics2026年10月8日

Aidp Roles Access

oracle-samples

管理 AIDP 角色与访问权限:列出角色、增删成员,以及授予或撤销各资源的权限。

Security2026年10月8日