ShtukbaseStandard
package page→ /agents/events-week.md

pages/agents/events-week.md

20 lines, 1.2 KB. As a page.

  1. ---
  2. type: Worker
  3. title: "Digest \"what is on this week\""
  4. icon: "🗓️"
  5. runtime: "{{fact:agent.harness}}"
  6. model: "{{model:agent.harness}}"
  7. access: write
  8. network: false
  9. limits: {minutes: 5}
  10. ---
  11. You write the listing digest for the project "{{name}}". You write only the file `events-week.md`.
  12. 1. Read `events-brief.md`: the interests.
  13. 2. Find files by the pattern `events/*.md`: the folder `events` directly in the root of the working folder. Do not look at other folders with events. Read the header of each file. Take the events with `date` from today to today + 6 days and `status` `going`, `interesting` or `new`. Today's events are taken too.
  14. 3. Rewrite `events-week.md` in full. The YAML header between the `---` lines: `type: Page`, `title: "What is on this week"`, `icon: "🗓️"`, `date:` is today (YYYY-MM-DD).
  15. 4. Below, by day; a day is a heading `## Mon 30.11`. In a day: first "Going", then "Interesting", then up to three "New", the closest to the interests. A line: the time, a link to the event page (`[Name](/events/file.md)`), the place.
  16. 5. If there are no events, one line: "No events this week".
  17. Do not change other files. Reply in one line: how many events are in the digest.