Skip to content

Use gh-aw agentic workflow for AI-powered registry categorization#30

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/improve-registry-md-generation
Draft

Use gh-aw agentic workflow for AI-powered registry categorization#30
Copilot wants to merge 4 commits into
mainfrom
copilot/improve-registry-md-generation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 26, 2026

Replace hardcoded keyword-matching categorization with a GitHub Agentic Workflow that uses AI to intelligently categorize skills in the registry.

scripts/generate-registry.py — two-phase design

Refactored to support the agentic workflow's fetch→categorize→build pipeline:

  • --fetch-only: dumps compact JSON (name, description, keywords, version) to stdout for the AI agent to read
  • --categories FILE: reads a {package_name: category} JSON mapping and builds registry.md with category badges + filter UI
  • No args: builds without categories (backward compat for docs.yml)
# Phase 1: deterministic fetch
python scripts/generate-registry.py --fetch-only > packages.json

# Phase 2: AI categorizes, writes categories.json

# Phase 3: build with categories
python scripts/generate-registry.py --categories categories.json

.github/workflows/generate-registry.md — gh-aw workflow

Scheduled daily agentic workflow that:

  • Fetches packages via --fetch-only
  • AI reads each package and assigns one of 10 categories (AI & Agents, Code Quality, Testing, Documentation, Web Dev, DevOps, Security, Data, Productivity, Other)
  • Generates categorized registry and deploys via mkdocs gh-deploy
  • Creates PR with changes via safe-outputs

.github/workflows/docs.yml

Removed scheduled cron (moved to agentic workflow). Push-triggered and manual dispatches unchanged.

Post-merge

Run gh aw compile to generate generate-registry.lock.yml, commit and push.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • github.github.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/curl curl -sSL -o /dev/null -w %{http_code} %{redirect_url} REDACTED (dns block)
  • https://api.github.com/repos/github/gh-aw/releases/latest
    • Triggering command: /usr/bin/gh gh extension install github/gh-aw (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: sbroenne <3026464+sbroenne@users.noreply.github.com>
Copilot AI changed the title [WIP] Enhance generation of Registry.md file with skill categorization Add category system to Agent Skills Registry Feb 26, 2026
Copilot AI and others added 2 commits February 26, 2026 07:19
Replace hardcoded Python keyword-matching categorization with a GitHub
Agentic Workflow (gh-aw) that uses AI to intelligently categorize skills.

- Refactor generate-registry.py to support --fetch-only and --categories modes
- Create .github/workflows/generate-registry.md agentic workflow
- Move scheduled registry generation from docs.yml to the agentic workflow
- Keep docs.yml for push-triggered and manual deploys (backward compatible)

Co-authored-by: sbroenne <3026464+sbroenne@users.noreply.github.com>
Co-authored-by: sbroenne <3026464+sbroenne@users.noreply.github.com>
Copilot AI changed the title Add category system to Agent Skills Registry Use gh-aw agentic workflow for AI-powered registry categorization Feb 26, 2026
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.

2 participants