aidp-bucket-mapping

aidp-bucket-mapping is a skill for Claude Code from ahmedawan-oracle/claude-code-plugins. It costs 95 tokens per session (1,271 once invoked), scanned A, original, MIT.

A configuration tool that maps paths from Amazon S3 storage to Oracle Cloud Infrastructure Object Storage. It lets migration tools translate locations such as `s3://...` into their `oci://...` equivalents.

In plain words
What is it for?
Use it when migrating external tables, files, or notebook code from Databricks and S3 to OCI, or when a tool reports a missing S3-to-OCI bucket mapping.
Why use it?
It prevents migration checks and rewrites from failing when an S3 bucket has no known destination in OCI. All related migration steps can use the same mapping.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oracle-ai-data-platform-workbench-databricks-migrator plugin — 10 skills, 4 commands, 2 agents shipped together

Good fit Use it when migrating external tables, files, or notebook code from Databricks and S3 to OCI, or when a tool reports a missing S3-to-OCI bucket mapping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahmedawan-oracle/claude-code-plugins/aidp-bucket-mapping
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ahmedawan-oracle/claude-code-plugins --skill aidp-bucket-mapping
Clone the repo
git clone --depth 1 https://github.com/ahmedawan-oracle/claude-code-plugins

Made for: Claude Code.

Or install oracle-ai-data-platform-workbench-databricks-migrator, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aidp-bucket-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/aidp-bucket-mapping.svg)](https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/aidp-bucket-mapping)
Your own site
<a href="https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/aidp-bucket-mapping"><img src="https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/aidp-bucket-mapping.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01271
Opus 5 $0.00048 $0.00635
Sonnet 5 $0.00019 $0.00254
Haiku 4.5 $0.00010 $0.00127

Measured 8d ago against content hash 9d939ac638ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

aidp-bucket-mapping scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-code-plugins/oracle-ai-data-platform-workbench-databricks-migrator/skills/aidp-bucket-mapping/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

aidp-bucket-mapping — wire up s3://oci://

Several places in the migrator look up s3://<bucket>/<path> and rewrite to oci://<bucket>@<namespace>/<path>:

  • aidp-migrate-catalog rewrites external-table LOCATION clauses.
  • aidp-migrate-job Pass-1 rewrites spark.read.parquet("s3://...") literals in notebook cells.
  • aidp-check-data probes paths via the same translation.

All consult the same bucket-mapping config.

When to use

  • Setting up the migrator on a new workstation / new tenancy combo.
  • Any time a tool reports S3 bucket "<name>" not found in OCI bucket mapping. Known buckets: [...].
  • After provisioning a new OCI Object Storage bucket that mirrors a Databricks-side S3 bucket.

The config file

The migrator loads bucket mappings via the load_bucket_mapping() helper. The customer supplies a JSON file with this shape (file path is configurable via --bucket-mapping):

{
  "buckets": {
    "<s3-bucket-name>": {
      "oci_bucket": "<oci-bucket-name>",
      "oci_namespace": "<oci-namespace>",
      "notes": "optional human note"
    },
    "<another-s3-bucket>": {
      "oci_bucket": "<another-oci-bucket>",
      "oci_namespace": "<oci-namespace>"
    }
  },
  "default_namespace": "<oci-namespace>",
  "default_region": "<oci-region>"
}
Field Meaning
buckets.<s3-name>.oci_bucket Target OCI Object Storage bucket.
buckets.<s3-name>.oci_namespace OCI tenancy namespace (NOT the DataLake namespace — these can differ).
default_namespace Used when a path references an oci:// URL without an explicit @<ns>.
default_region Used to construct the OCI client.

Save the file to a path the user controls (gitignored — it contains tenancy-specific identifiers). Pass via --bucket-mapping <path> to every migrator entrypoint.

Building the mapping for a new tenancy

If the user is doing this for the first time:

  1. List the source S3 buckets referenced in the Databricks workspace. Quick way:
    # On the migrator repo:
    grep -roE 's3://[a-z0-9.-]+' <source-databricks-checkout>/ | sort -u
    
    Or use the migrator's prep helper if available.

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 99 lines · 95 tokens per session scan A 9d939ac638ce

Subscribe to this mod's changes

aidp-bucket-mapping is a skill published in the GitHub repository ahmedawan-oracle/claude-code-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 1,271 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

tensorrt-llm

High-throughput LLM inference on NVIDIA GPUs.

NousResearch/hermes-agent · 18 tokens

google-cloud-solution-guided-gke-ai-migration

Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…

google/skills · 157 tokens

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

agent-platform-endpoint-management

Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for running model…

google/skills · 64 tokens

gke-inference

Deploys and optimizes AI/ML inference workloads on GKE, using GPUs, TPUs, and model servers. Use when deploying GKE inference servers, configuring GKE GPU resources for inference, or deploying LLMs on GKE. Don't use for generic batch jobs or HPC task queues (use gke-batch-hpc instead).

google/skills · 74 tokens

modal

Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.

K-Dense-AI/scientific-agent-skills · 65 tokens