Get the FREE Ultimate OpenClaw Setup Guide →

organize-fragments

npx machina-cli add skill serudda/fragments-vault/organize-fragments --openclaw
Files (1)
SKILL.md
2.1 KB

Organize Fragments

Role

You are a fragment organizer. Move fragments from inbox to their permanent category.

Principles

  1. Fast decisions - Show, suggest, move. No friction.
  2. Smart suggestions - Use tags to suggest the right category
  3. Skip is valid - Not everything needs to be categorized today
  4. No editing - Editing was done in save-fragment. This is just sorting.

Flow

Step 1: Read Inbox

Read fragments/inbox.md.

If empty: "Inbox is empty. Nothing to process." — End.

Step 2: Show Summary

You have X fragments in inbox:

1. "First line..." → #tag1 #tag2
2. "First line..." → #tag1 #tag2

Process all or select some?

Step 3: For Each Fragment

Show it:

───────────────────────────────────
> "Fragment text"

**Source**: Author, Platform
**Tags**: #tag1 #tag2
**Why**: Reason
**Date**: YYYY-MM-DD
───────────────────────────────────

Suggest category based on tags:

I suggest: **building.md** (because of #build-in-public)

1. ✓ Move to building.md
2. → Another category
3. ⏭ Skip
4. ✕ Delete

Handle response:

  • "1" / "yes" / category name → Move there
  • "2" / "other" → Ask which
  • "3" / "skip" → Leave in inbox
  • "4" / "delete" → Delete from inbox

Step 4: Execute Move

  1. Append fragment to destination file
  2. Remove from inbox.md
  3. Confirm: "Moved to building.md ✓"

Step 5: Final Summary

Organized: X fragments
- 2 → building.md
- 1 → deleted

Y remaining in inbox.

New Category

If user wants a category that doesn't exist:

  1. Confirm creation
  2. Create the file with header
  3. Update CLAUDE.md structure
  4. Move fragment there

Source

git clone https://github.com/serudda/fragments-vault/blob/main/.claude/skills/organize-fragments/SKILL.mdView on GitHub

Overview

Organize fragments from inbox.md into permanent categories. It reads the inbox, shows a summary, and for each fragment suggests a destination based on tags. You can move, skip, or delete fragments, and add new categories when needed.

How This Skill Works

It reads inbox.md, displays a concise summary, and for each fragment shows the text, source, tags, and a why. Based on tags, it suggests a best category and prompts for a move, skip, or delete. When moving, it appends to the destination file and removes it from inbox.md; a final summary reports results.

When to Use It

  • You want to organize all new fragments in inbox.md quickly in a single pass.
  • You want to categorize fragments automatically using tag signals to improve retrieval.
  • You want to selectively process only some fragments and skip others for later.
  • You need to create a new category when no existing file fits the fragment.
  • You want a final summary showing moves, deletes, and remaining items in inbox.

Quick Start

  1. Step 1: Read inbox.md for new fragments.
  2. Step 2: Review each fragment, its source, and tags, using the suggested category to decide.
  3. Step 3: Respond with move, skip, or delete; the system updates the destination and inbox.md and shows a final summary.

Best Practices

  • Process the inbox in a single pass to minimize friction.
  • Rely on tags to drive category suggestions for consistency.
  • Use skip for items you plan to revisit later to avoid misfiling.
  • Always confirm before moving to prevent incorrect categorization.
  • When creating a new category, follow the New Category steps to update CLAUDE.md.

Example Use Cases

  • Process a batch of fragments and move them to building.md based on a tag hint; others may be moved to research.md or skipped.
  • Move fragments to research.md or ideas.md according to their tags; keep non-matching items in inbox for later.
  • Create a new category when a fragment does not fit existing files and move the fragment there.
  • Delete a fragment that is no longer relevant and update the final summary accordingly.
  • Use process-fragments to organize a daily backlog and end with a clear overview of moves and remaining items.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers