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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aidp-bucket-mapping

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00038 $0.00508
Sonnet 5.5 $0.00019 $0.00254
Haiku 4.5 $0.00010 $0.00127

Measured 2mo ago against content hash 9d939ac638ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (4 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 1,271 once invoked, about $0.0004 per session on Opus 5.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

aidp-bucket-mapping compared with skills from other repositories

aidp-bucket-mapping next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aidp-bucket-mappingahmedawan-oracle/claude-code-pluginsSkill43mo agoMITA95Claude Code
tensorrt-llmNousResearch/hermes-agentSkill262ktodayMITA18Claude Code, Codex
agent-platform-tuninggoogle/skillsSkill23ktodayApache-2.0A64Claude Code, Codex
google-cloud-solution-guided-gke-ai-migrationgoogle/skillsSkill23ktodayApache-2.0A157Claude Code, Codex
apigee-agent-gateway-governancegoogle/skillsSkill23ktodayApache-2.0A222Claude Code, Codex
agent-platform-endpoint-managementgoogle/skillsSkill23ktodayApache-2.0A64Claude Code, Codex
gke-inferencegoogle/skillsSkill23ktodayApache-2.0A119Claude Code, Codex