This directory contains GitHub-specific configuration for the Node9 repository.
The following secrets are configured for this repository:
MOD_TOKEN: API key for AI model access in GitHub Actions workflows- Used by GitHub Actions workflows for automated tasks
- Already configured - no setup needed!
GitHub Copilot has access to environment secrets including:
MODEL_TOKEN: API key for AI model access in GitHub Copilot- Automatically available when using Copilot in this repository
- Copilot reads
node9.prompt.ymlto use specialized prompts - No manual configuration needed for Copilot users
Access secrets in GitHub Actions workflows:
env:
MOD_TOKEN: ${{ secrets.MOD_TOKEN }}Example workflow: .github/workflows/ai-review.yml
GitHub Copilot automatically injects the MODEL_TOKEN when using prompts from node9.prompt.yml:
- The prompt file uses template variables that fall back in order:
{{MODEL_TOKEN}}- For GitHub Copilot environment{{MOD_TOKEN}}- For GitHub Actions{{MODEL_KEY}}- For local development
- Available prompts: code_review, code_generate, debug, build, library, etc.
Custom agents are defined in .github/agents/:
node9.agent.md: Specialized Node9 development orchestration agent
GitHub Actions workflows in .github/workflows/:
ai-review.yml: AI-powered code review using MOD_TOKENsummary.yml: Other workflow tasks
- Secrets are never exposed in logs
- Only authorized users and workflows can access secrets
- Secrets are encrypted at rest
- Update secrets via repository settings: Settings → Secrets and variables → Actions
For more details on AI model configuration, see:
- AI Model Configuration Guide
- node9.prompt.yml - Prompt definitions
| Context | Secret Name | Purpose |
|---|---|---|
| GitHub Copilot | MODEL_TOKEN |
AI API key for Copilot environment |
| GitHub Actions | MOD_TOKEN |
AI API key for Actions workflows |
| Local Dev | MODEL_KEY or MODEL_TOKEN |
AI API key in .env file |
To add a new secret:
- Go to repository Settings
- Select "Secrets and variables" → "Actions"
- Click "New repository secret"
- Add name and value
- Secret becomes available to workflows as
${{ secrets.SECRET_NAME }}