agentleFS
readdlereaddle/spark-cli-skills/skills/recipe-inbox-by-category/SKILL.md

spark-recipe-inbox-by-category

Skill149 starsChanged 7 months agoMITView on GitHub

Process inbox in priority order by Spark's smart categories: priority first, then people, invites, notifications, newsletters.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prerequisite: Read the use-spark base skill for command reference and filter syntax.

    line 18
  2. Distinctive:

    Access level required: read-only.

    line 20

≈ “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

Recipe: Inbox by Category

Process the inbox in priority order using Spark's smart categories. This ensures the most important messages get attention first.

Prerequisite: Read the use-spark base skill for command reference and filter syntax.

Access level required: read-only.

Steps

Step 1: Priority mail (highest priority)

spark emails Inbox --filter "category:priority is:unread"

Emails Spark auto-prioritized or that the user manually marked as priority. These are the most important items.

Step 2: People mail

spark emails Inbox --filter "category:personal is:unread"

Direct person-to-person emails. Real conversations that usually need a response.

Step 3: Pending invitations

spark emails Inbox --filter "category:invitation"

Calendar invitations waiting for a response. Time-sensitive by nature.

Step 4: Notifications

spark emails Inbox --filter "category:notification is:unread"

Service notifications, alerts, and receipts. Scan for anything actionable, then move on.

Step 5: Newsletters

spark emails Inbox --filter "category:newsletter newer_than:7d"

Subscriptions and digests from the past week. Skim for interest, skip the rest.

Step 6: Summarize

Report to the user:

  • N unread people emails (with subjects/senders for the most recent)
  • M unread priority emails
  • K pending invitations
  • Notification and newsletter counts (don't list unless asked)

Tips

  • This is the recommended default when the user asks "what's new" or "catch me up."
  • Skip steps 4 and 5 for a quick briefing - priority + people + invites covers the essentials.
  • For each category, only dig into spark thread <id> when the user asks about a specific email.
  • Combine with spark events --today for a full morning briefing.

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.