Documentation and monitoring tools for Snowflake Cortex Code Skills.
- Visit the Cortex Skill Pulse live doc site
This repository provides documentation, version monitoring, and automated skill ingestion for Snowflake's Cortex Code capabilities. It maintains up-to-date records of available CLI tools and generates comprehensive reports.
- 🔍 Version Monitoring: Automatically tracks Cortex CLI version changes
- 📚 Skill Documentation: Ingests and catalogs all available Cortex Code Skills
- 🤖 Automated Updates: GitHub Actions workflows keep documentation in sync
- 📊 Comprehensive Reporting: Generates detailed skill reports and snapshots
File: .github/workflows/cortex_version_monitor.yml
Schedule: Every 6 hours (can be triggered manually)
This workflow:
- Monitors the current Cortex CLI version
- Compares with stored version in
data/cortex_code_cli_version - Automatically commits version updates when changes are detected
- Triggers the documentation update workflow on version changes
- Runs integration tests via
tests/test_monitor.sh
Key Steps:
- Sets up Python 3.13 and installs the Cortex Code CLI
- Runs version checks and comparison logic
- Commits changes if version differs
- Triggers the
cortex_code_docs_updatedworkflow
File: .github/workflows/cortex_code_docs_updated.yml
Trigger: Manual dispatch (automatically triggered by version monitor)
This workflow:
- Installs Cortex CLI and Python dependencies
- Runs skill ingestion script (
src/ingest_skills.py) - Generates documentation report (
src/build_report.py) - Commits updated skill data and documentation to
data/anddocs/directories
Key Steps:
- Sets up Python 3.13 environment with
uv - Installs Cortex Code CLI
- Ingests current available skills
- Generates comprehensive documentation
- Commits changes with timestamped commit messages
cortex_code_updates/
├── .github/workflows/ # GitHub Actions workflows
│ ├── cortex_version_monitor.yml
│ └── cortex_code_docs_updated.yml
├── data/ # Data snapshots
│ └── cortex_code_cli_version # Current CLI version
├── docs/ # Generated documentation
├── src/ # Python scripts
│ ├── ingest_skills.py # Skill ingestion script
│ └── build_report.py # Report generation script
├── tests/ # Test scripts
│ └── test_monitor.sh # Version monitor tests
└── README.md # This file
- Language: Python
- CI/CD: GitHub Actions
- Dependencies:
uv- Python package installerpyyaml- YAML parsing- Cortex Code CLI
- Python 3.13+
- GitHub account with repository access
- Cortex Code CLI credentials
uvpackage manager
- Clone the repository:
git clone https://github.com/sfc-gh-mvargas/cortex_code_updates.git
cd cortex_code_updates- Install dependencies:
uv pip install -r requirements.txt- Install Cortex CLI:
curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | shYou can manually trigger workflows via GitHub Actions:
- Go to Actions tab in the repository
- Select the workflow to run:
Cortex Code Version MonitorIngest Cortex CLI Skills
- Click Run workflow
To run scripts locally:
# Ingest skills
uv run python src/ingest_skills.py
# Generate documentation
uv run python src/build_report.py
# Run tests
bash tests/test_monitor.sh- Version Monitoring: Every 6 hours
- Documentation Updates: Triggered automatically when version changes are detected
- Manual Triggers: Available anytime via GitHub Actions UI
Contributions are welcome! Please:
- Create a feature branch
- Make your changes
- Submit a pull request
This project is open source and available under the MIT License.
For issues or questions:
- Check GitHub Issues
- Review workflow logs in GitHub Actions
- Visit the Live Documentation
Last Updated: 2026-05-01
Repository: sfc-gh-mvargas/cortex_code_updates