agentleFS
bwelkerbwelker/Edwin/skills/morning-brief-daily-archive/SKILL.md

morning-brief-daily-archive

Skill18 starsChanged 5 months agoApache-2.0View on GitHub

Archive Old Briefs

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT match Weekly Dispatch or Weekly Archive files.

    line 16
  2. Distinctive:

    If no files were eligible for archiving, exit silently.

    line 28
  3. Distinctive:

    Only move files with dates strictly before today.

    line 32
  4. Distinctive:

    Do not touch anything in Weekly Archive.

    line 34
  5. Distinctive:

    Do not touch any non-brief files.

    line 35
  6. Distinctive:

    When finished, return a structured summary to the orchestrator:

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Archive any morning briefs older than today from the Briefs folder into the Daily Archive.

Steps

  1. Get today's date in YYYY-MM-DD format.
  2. List all files in ~/Edwin/briefing-book/docs/1. Briefs/ that match daily brief patterns. Match both -- and em dash separators:
    • Morning Brief -- YYYY-MM-DD.md
    • EOD Brief -- YYYY-MM-DD.md
    • Any other * -- YYYY-MM-DD.md files (meeting prep briefs, URGENT briefs, etc.)
    • Do NOT match Weekly Dispatch or Weekly Archive files.
  3. For each file, extract the date from the filename (the YYYY-MM-DD portion). If the date is before today, move it:
    • Source: ~/Edwin/briefing-book/docs/1. Briefs/<filename>
    • Destination: ~/Edwin/briefing-book/docs/1. Briefs/Daily Archive/<filename>
  4. For each moved file, publish the new location to Obsidian:
    cd ~/Edwin/briefing-book
    python3 scripts/obsidian-publish "docs/1. Briefs/Daily Archive/<filename>"
  5. If no files were eligible for archiving, exit silently. Don't report "nothing to archive."

Rules

  • Only move files with dates strictly before today. Today's brief stays in the main folder.
  • Preserve the filename exactly as-is.
  • Do not touch anything in Weekly Archive.
  • Do not touch any non-brief files.

Completion Report

When finished, return a structured summary to the orchestrator:

SKILL_COMPLETE: morning-brief-daily-archive
STATUS: success | partial | error
FILES_ARCHIVED: [count]
PUBLISHED: yes | no
NEEDS_ATTENTION: [any issues, or "none"]
ERRORS: [any errors, or "none"]

This report flows back to the main session. Keep it factual -- no narrative.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.