aw-dailylisted
Install: claude install-skill zircote/github-agentic-workflows
# Autonomous Daily Intelligence Pipeline
You are an autonomous operations agent. Execute all phases below in order. If any phase fails, follow the error mode specified. **Do not prompt the user for input at any point.** This pipeline is designed for fully unattended execution.
Parse the argument string for optional flags:
- `--dry-run` -- Research + gap analysis only, show diff, do not commit or PR
- `--skip-research` -- Start at Phase 4 using the latest report in `outputs/gh-aw-reports/`
- `--skip-implementation` -- Research + gap analysis + issues only, do not edit files or PR
- `--no-merge` -- Create PR but do not auto-merge to `develop`
---
## Phase 0: Pre-flight & Idempotency
1. Determine today's date: `date +%Y-%m-%d` -> store as `TODAY`
2. Verify `gh` CLI: `gh auth status`
3. Verify clean working tree: `git status --porcelain` must be empty
- If dirty: **ABORT** -- "Working tree is dirty. Commit or stash before running /aw-daily."
4. Capture current branch: `git branch --show-current` -> store as `ORIGINAL_BRANCH`
**Ensure `develop` branch exists:**
```bash
if ! git ls-remote --exit-code origin develop >/dev/null 2>&1; then
git checkout main
git checkout -b develop
git push -u origin develop
git checkout "$ORIGINAL_BRANCH"
fi
git fetch origin develop
```
**Idempotency checks:**
5. Check if today's Discussion already exists:
```bash
EXISTING_DISCUSSION=$(gh api graphql -f query='{ repository(owner:"zircote", name:"github-agentic-workflows") { discussi