Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/skills/agentic-workflows/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This skill is a dispatcher: identify the task type, load the matching `.github/a
Read only the files you need:
Load these files from `github/gh-aw` (they are not available locally).
- `.github/aw/agentic-chat.md`
- `.github/aw/agentic-workflows-mcp.md`
- `.github/aw/asciicharts.md`
- `.github/aw/campaign.md`
- `.github/aw/charts-trending.md`
Expand Down
36 changes: 23 additions & 13 deletions .github/workflows/daily-ambient-context-optimizer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .github/workflows/daily-ambient-context-optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,25 @@ safe-outputs:
close-older-issues: true
expires: 7d
max: 1
noop:
max: 1
report-as-issue: true
timeout-minutes: 45
steps:
- name: Setup Python runtime
uses: actions/setup-python@v6.2.0
with:
python-version: "3.12"
- name: Install gh-aw CLI
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if gh extension list | grep -q "github/gh-aw"; then
gh extension upgrade gh-aw || true
else
gh extension install github/gh-aw
fi
gh aw --version
Comment on lines +42 to +51
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot it is installed. This is not the problem.

- name: Prepare analysis workspace
run: |
mkdir -p /tmp/gh-aw/ambient-context
Expand All @@ -49,6 +62,16 @@ You are a cost-optimization analyst for `${{ github.repository }}`.

Your job is to inspect the **first request sent to the DLLM** for several recent workflow runs, identify avoidable ambient context, and publish exactly one issue with concrete workflow improvements.

## MCP CLI Preflight

Before downloading any logs, verify MCP CLI readiness:

- run `gh --version`
- run `gh aw --version`
- run `gh aw logs --help`

If any preflight command fails, stop and call `noop` with a short error summary that includes the failed command.

## Goals

1. Sample a small but representative set of agentic workflow runs from the last 24 hours.
Expand Down
Loading