Process all files in the /Needs_Action folder. Read each file, create a plan, execute actions or flag for approval, and move completed items to /Done. For sensitive actions, create approval request in /Pending_Approval. Human will move to /Approved or /Rejected, then orchestrator triggers execution.
Process all pending items in the /Needs_Action folder.
Always print action tags during execution for logging:
[SKILL] Using skill: /process-inbox
[READ] Reading: filename.md
[WRITE] Writing: filename.md
[MOVE] Moving: source -> destination
[DONE] Completed: action description
[SKILL] Using skill: /process-inbox
List all .md files in the /Needs_Action folder.
For each file:
Read the file
[READ] Reading: {filename}
Parse frontmatter and content
Claim ownership
[MOVE] Moving: /Needs_Action/{filename} -> /In_Progress/{filename}
Create a Plan.md
[WRITE] Writing: /Plans/PLAN_{filename}.md
Determine action type:
[MOVE] Moving: /In_Progress/{filename} -> /Done/{filename}
[DONE] Completed: {action summary}
[WRITE] Writing: /Pending_Approval/APPROVAL_{filename}.md
[MOVE] Moving: /In_Progress/{filename} -> /Pending_Approval/{filename}
[DONE] Flagged for approval: {reason}
[SKILL] Using skill: /update-dashboard
After processing all items, update Dashboard.md
| Folder | Purpose |
|---|---|
/Needs_Action | Items waiting to be processed |
/In_Progress | Items currently being processed (claimed) |
/Plans | Plan.md files with proposed actions |
/Pending_Approval | Items needing human approval |
/Approved | Human approved - awaiting execution |
/Rejected | Human rejected items |
/Archive | Original files (read-only) |
/Done | Completed tasks |
When processing a file, create a Plan.md in /Plans:
# Plan: {original_filename}
## Source
- **Original File:** /Archive/{filename}
- **Action File:** {action_filename}
- **Type:** {type}
- **Priority:** {priority}
## Analysis
{Brief analysis of what needs to be done}
## Proposed Actions
- [ ] Action 1
- [ ] Action 2
- [ ] Action 3
## Approval Required?
- [ ] No - Routine action, will execute directly
- [ ] Yes - Sensitive action, requires human approval
## Status
- [ ] In Progress
- [ ] Pending Approval
- [ ] Approved - Awaiting Execution
- [ ] Complete
## Notes
{Any additional notes}
For sensitive actions, create a file in /Pending_Approval:
---