Agent skill
queue-management
Manage the content processing queue for batch content consumption. Use when user mentions queue, batch later, save for later, process queue, or wants to add multiple items for later analysis.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/queue-management
SKILL.md
Queue Management
Manage a queue of content URLs for later batch processing. Add items throughout the day, process them all at once when ready.
When to Use
Activate this skill when the user:
- Mentions "queue", "batch later", "save for later"
- Wants to add something to process later
- Asks "what's in my queue" or "show queue"
- Says "process my queue" or "analyze everything"
- Wants to manage pending content items
Queue Location
The queue is stored in inbox/queue.txt:
# Format: URL | type | added_timestamp
https://youtube.com/watch?v=abc123 | youtube | 2024-01-15T10:30:00
https://arxiv.org/abs/2401.12345 | arxiv | 2024-01-15T11:00:00
Operations
Adding to Queue
- Parse the URL
- Auto-detect content type:
- youtube.com, youtu.be →
youtube - arxiv.org →
arxiv - Otherwise →
article
- youtube.com, youtu.be →
- Read existing queue (create if missing)
- Check for duplicates
- Append with current timestamp
- Confirm to user
Listing Queue
- Read
inbox/queue.txt - Display formatted list with:
- Item number
- Content type badge
- URL or title
- Time since added
Processing Queue
- Read all pending items
- Process each using appropriate command:
- youtube →
/yt - arxiv →
/arxiv - article →
/read
- youtube →
- Remove successful items from queue
- Keep failed items for retry
- Show summary
Clearing Queue
- Confirm before clearing
- Create backup at
inbox/queue.txt.bak - Empty the file
- Confirm removal
Example Interactions
User: "Add this to my queue: https://youtube.com/watch?v=abc123" Action: Add to queue, confirm
User: "What's in my queue?" Action: List all pending items
User: "Process my reading queue" Action: Process all items, show results
User: "Save this for later: [URL]" Action: Add to queue
Error Handling
- Invalid URL: Warn, don't add
- Duplicate: Skip, inform user
- Process failure: Keep in queue, continue
- Empty queue: Inform, no action
Related
- Slash command:
/queue - Queue file:
inbox/queue.txt - Uses:
/yt,/read,/arxivcommands
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?