name: setup-reference-repos description: Run this to set up reference repositories for AI usage. disable-model-invocation: true
Follow these steps to clone repos of key dependencies for ai context.
- Read the
pyproject.tomlto understand which versions are being used. - Create directory: Ensure
ai_working/exists. - Check for existing repos: If any of these directories exist in
ai_working/, delete them completely before proceeding:ai_working/openai-pythonai_working/anthropic-sdk-pythonai_working/python-genai
- Clone each of the repos with the following template in parallel:
git clone --depth 1 --single-branch <repo-url> <local-path>openai-python: https://github.com/openai/openai-python.gitpython-genai: https://github.com/googleapis/python-genai.gitanthropic-sdk-python: https://github.com/anthropics/anthropic-sdk-python.git
- Check the AGENTS.md to see if each of the repos being cloned is mentioned there. If any are missing, add them without any notes.
- Briefly summarize what was done.