aidp-build-dag

aidp-build-dag is a skill for Claude Code from ahmedawan-oracle/claude-code-plugins. It costs 89 tokens per session (1,239 once invoked), scanned A, original, MIT.

A migration-planning tool for Databricks notebooks and workflows. It maps which notebooks depend on one another, including `%run` links and calls that run other notebooks, and saves that map as a manifest.

In plain words
What is it for?
Use it before migrating a Databricks workload, or when you need to inspect the dependency tree for a workspace folder or Databricks Job.
Why use it?
It shows what a migration will include and gives migration tools the dependency order they need. This reduces the risk of moving notebooks without the code or tasks they rely on.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it before migrating a Databricks workload, or when you need to inspect the dependency tree for a workspace folder or Databricks Job.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ahmedawan-oracle/claude-code-plugins
Claude Code
/plugin install oracle-ai-data-platform-workbench-databricks-migrator

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-build-dag

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag/github.svg)](https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag)
Your own site
<a href="https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag"><img src="https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag/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-build-dag

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag"><img src="https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/aidp-build-dag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,239 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.00089 $0.01239
Opus 5.5 $0.00036 $0.00496
Sonnet 5.5 $0.00018 $0.00248
Haiku 4.5 $0.00009 $0.00124

Measured 2mo ago against content hash d04f9db19b57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aidp-build-dag 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-build-dag/SKILL.md · 112 lines

How it starts

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

aidp-build-dag — build the migration manifest

The execution DAG is what the migrator reads to know which notebooks to migrate, in what order, with what dependencies. Build it once per workload.

When to use

  • User asks "what would migrate", "show me the dependency tree", "build the manifest".
  • Before any aidp-migrate-job invocation against a new workload.
  • After changing the Databricks workspace path or workflow ID.

Two entry points

The migrator ships two DAG builders. Pick based on input shape:

Input Entrypoint
Path-based: a folder of .ipynb / .py notebooks the user wants migrated ${CLAUDE_PLUGIN_ROOT}/engine/scripts/build_dag.py
Workflow-based: a Databricks Job ID whose tasks the user wants migrated, preserving the task DAG ${CLAUDE_PLUGIN_ROOT}/engine/scripts/build_dag_from_workflow.py

Path-based invocation

python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/build_dag.py \
  --root "<databricks-workspace-path>" \
  --job-name "<MyJob>" \
  --output reports/<MyJob>_manifest.json
  • --root — Databricks workspace folder containing the entry notebooks. The script walks every *.ipynb / *.py under this prefix.
  • --job-name — a name for the manifest (used as the output-base subdirectory).
  • --output — manifest write path.

The builder follows %run chains AND dbutils.notebook.run(...) calls to build a topo-ordered DAG. It also flags transitive deps so Pass-1 knows which notebooks to migrate code-only first.

Workflow-based invocation

python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/build_dag_from_workflow.py \
  --job-id <databricks-job-id> \
  --output reports/<MyJob>_manifest.json

This pulls the Job's task definitions via the Databricks Jobs REST API and converts depends_on task edges into the manifest's DAG. Use when the user wants the AIDP migration to mirror the Databricks Workflow shape (vs. just inferring dependencies from %run).

Read the full file on GitHub · 112 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 · 112 lines · 89 tokens per session scan A d04f9db19b57

Subscribe to this mod's changes

aidp-build-dag is a skill published in the GitHub repository ahmedawan-oracle/claude-code-plugins (4 stars, last pushed 3mo ago), licensed MIT. It adds 89 tokens to every session and 1,239 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-build-dag compared with skills from other repositories

aidp-build-dag next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aidp-build-dagahmedawan-oracle/claude-code-pluginsSkill43mo agoMITA89Claude Code
agent-platform-model-registrygoogle/skillsSkill23ktodayApache-2.0A60Claude Code, Codex
foundry-config-setupmicrosoft/agent-frameworkSkill15kyesterdayMITA65Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill23ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill19k2d agoMITA35Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
finetuningmicrosoft/skillsSkill3.2kyesterdayMITA132Claude Code