Before you start
- The Guild CLI, logged in.
- GitHub connected in your workspace, with the Guild GitHub App installed on the repository. See GitHub setup.
- Slack connected, and the Slack agent invited to the channel it will post in. See Slack setup.
1. Create the agent
PROMPT.md:
guild.yaml:
2. Save it and install it in your workspace
3. Create the trigger
14:00 is 7:00 in San Francisco and 10:00 in New York during daylight saving time. To include weekends, use --frequency DAILY and drop --days-of-week.
The input is fixed: the agent receives the same text on every run. To cover another repository or channel, create another trigger with a different input rather than another agent.
4. Try it
You don’t have to wait for the schedule. From the agent’s directory, run it once with the same input:guild trigger sessions <trigger-id> lists it.
Variations
- Stale pull requests. Change the query to
repo:<repository> is:pr is:open review:requiredto list pull requests still waiting for a review. - Label as well as report. Add
github_issues_add_labelsand have the agent label each listed issueneeds-triage. Labeled issues drop out of the nextno:labelsearch; skip labeling if you want them to repeat until someone triages. - A different schedule. See Schedule triggers for hourly, weekly, and monthly frequencies.
Related
- Schedule triggers: frequencies, time of day, and fixed input
- GitHub integration: every tool
- Slack integration: posting messages and scopes