Skip to content

feat: import Workflow Skill Extractor from github/gh-aw #223

@github-actions

Description

@github-actions

Summary

Imports the Workflow Skill Extractor agentic workflow from github/gh-aw.


Source

.github/workflows/workflow-skill-extractor.md in github/gh-aw

What it does

Runs weekly (and on demand) to analyze all workflows in .github/workflows/, identify repeated patterns across them (tool configurations, prompt skills, data processing logic, setup steps), and produce:

  • Up to 3 GitHub Issues ([refactoring] prefix) recommending the highest-impact shared component extractions
  • 1 GitHub Discussion report with a full analysis of all findings, prioritized by frequency and lines saved

Adaptations

  • Removed the source repo's cookie label (internal to github/gh-aw) from the issue label list
  • Simplified bash command examples to be repository-agnostic (e.g., generic workflow filename references)
  • Removed the "call noop" reminder in the prompt footer (that is handled by the framework)
  • All other logic, frontmatter, and structure preserved as-is

Custom agents

None — the workflow uses no custom agent file.

Category

Added to the Meta-Workflows section in README.md.


Files changed

File Description
workflows/workflow-skill-extractor.md Adapted workflow source
.github/workflows/workflow-skill-extractor.lock.yml Compiled lock file (fetched from source repo)
docs/workflow-skill-extractor.md Documentation page
README.md New entry in Meta-Workflows section

Generated by Import Workflow from Prompt Repository


Note

This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download patch artifact

The patch file is available in the agent-artifacts artifact in the workflow run linked above.

To create a pull request with the changes:

# Download the artifact from the workflow run
gh run download 22547459367 -n agent-artifacts -D /tmp/agent-artifacts-22547459367

# Create a new branch
git checkout -b import-workflow-skill-extractor-6f86338c76b30006

# Apply the patch (--3way handles cross-repo patches where files may already exist)
git am --3way /tmp/agent-artifacts-22547459367/aw-import-workflow-skill-extractor.patch

# Push the branch to origin
git push origin import-workflow-skill-extractor-6f86338c76b30006

# Create the pull request
gh pr create --title 'feat: import Workflow Skill Extractor from github/gh-aw' --base main --head import-workflow-skill-extractor-6f86338c76b30006 --repo githubnext/agentics
Show patch preview (500 of 1597 lines)
From c5a2094d4ca602fa8146c2eb521f8547b7a02cc5 Mon Sep 17 00:00:00 2001
From: Copilot <copilot@github.com>
Date: Sun, 1 Mar 2026 16:28:08 +0000
Subject: [PATCH] feat: import workflow-skill-extractor from github/gh-aw

Add the Workflow Skill Extractor agentic workflow that analyzes all
workflows in the repository to identify shared skills, tools, and
prompts that could be refactored into reusable shared components.

- workflows/workflow-skill-extractor.md: adapted workflow source
- .github/workflows/workflow-skill-extractor.lock.yml: compiled lock file
- docs/workflow-skill-extractor.md: documentation page
- README.md: added entry to Meta-Workflows section

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
 .../workflow-skill-extractor.lock.yml         | 1164 +++++++++++++++++
 README.md                                     |    1 +
 docs/workflow-skill-extractor.md              |   61 +
 workflows/workflow-skill-extractor.md         |  313 +++++
 4 files changed, 1539 insertions(+)
 create mode 100644 .github/workflows/workflow-skill-extractor.lock.yml
 create mode 100644 docs/workflow-skill-extractor.md
 create mode 100644 workflows/workflow-skill-extractor.md

diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml
new file mode 100644
index 0000000..c59b656
--- /dev/null
+++ b/.github/workflows/workflow-skill-extractor.lock.yml
@@ -0,0 +1,1164 @@
+#
+#    ___                   _   _      
+#   / _ \                 | | (_)     
+#  | |_| | __ _  ___ _ __ | |_ _  ___ 
+#  |  _  |/ _` |/ _ \ '_ \| __| |/ __|
+#  | | | | (_| |  __/ | | | |_| | (__ 
+#  \_| |_/\__, |\___|_| |_|\__|_|\___|
+#          __/ |
+#  _    _ |___/ 
+# | |  | |                / _| |
+# | |  | | ___ _ __ _  __| |_| | _____      ____
+# | |/\| |/ _ \ '__| |/ /|  _| |/ _ \ \ /\ / / ___|
+# \  /\  / (_) | | | | ( | | | | (_) \ V  V /\__ \
+#  \/  \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
+#
+# This file was auto
... (truncated)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions