Skip to content

Fetch APX skills from upstream repo instead of bundling locally#217

Open
calreynolds wants to merge 1 commit intomainfrom
enhance/apx-dynamic-install
Open

Fetch APX skills from upstream repo instead of bundling locally#217
calreynolds wants to merge 1 commit intomainfrom
enhance/apx-dynamic-install

Conversation

@calreynolds
Copy link
Collaborator

Summary

  • APX skills (databricks-app-apx) are now fetched at install time from github.com/databricks-solutions/apx/skills/apx instead of being bundled in this repo
  • Uses the GitHub Contents API to dynamically discover files — no hardcoded file lists, so new files added by the APX team are automatically picked up
  • Follows the same pattern established for MLflow skills, with --apx-version flag support for version pinning

Test plan

  • install_skills.sh --list shows APX under its own section
  • install_skills.sh databricks-app-apx fetches all 3 files dynamically from the APX repo
  • install_skills.sh --local databricks-app-apx fails with a clear error message
  • Full install.sh run installs APX skills alongside Databricks and MLflow skills

🤖 Generated with Claude Code

APX skills are now dynamically fetched from github.com/databricks-solutions/apx
at install time, matching the pattern used for MLflow skills. File discovery
uses the GitHub Contents API so new files added by the APX team are
automatically picked up without changes here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Collaborator

@renardeinside renardeinside left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of things off

done
[ -f "$dest_dir/SKILL.md" ] || rm -rf "$dest_dir"
else
rm -rf "$dest_dir"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line seems like a potential security hole - can we improve it?

Comment on lines 85 to +739
@@ -727,6 +732,24 @@ install_skills() {
fi
done
ok "MLflow skills → ${dir#$HOME/}"

# Install APX skills from databricks-solutions/apx repo
for skill in $APX_SKILLS; do
local dest_dir="$dir/$skill"
mkdir -p "$dest_dir"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we test this somehow? I've tried curling these urls and didn't get any valid response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync up APX skill to ai-dev-kit install

2 participants