Install
openclaw skills install second-brain-triageIntelligent information triage system based on Tiago Forte's PARA method (Projects/Areas/Resources/Archive) for automatic categorization and priority scoring. Use when the user wants to organize notes, classify content, prioritize tasks, or manage their second brain knowledge base.
openclaw skills install second-brain-triageIntelligent information triage system based on Tiago Forte's PARA method (Projects/Areas/Resources/Archive) for automatic categorization and priority scoring.
const { SecondBrainTriage } = require('./src');
const triage = new SecondBrainTriage();
// Triage single content item
const result = triage.triage('TODO: Complete project report, due this Friday');
console.log(result.summary);
// {
// title: "Complete project report, due this Friday",
// type: "task",
// category: "Projects",
// urgency: "High urgency",
// urgencyScore: 8,
// action: "Process today: recommend completing within 24 hours"
// }
// Batch triage
const results = triage.triageBatch([
'https://github.com/user/repo',
'Notes on learning React Hooks',
'TODO: Fix login bug',
]);
// Export report
const report = triage.exportReport(results, 'markdown');
# Analyze single content item
node scripts/triage.js "Text content to process"
# Analyze file
node scripts/triage.js --file ./notes.txt
# Batch analysis
node scripts/triage.js --batch ./items.json --output report.md
| Category | Description | Examples |
|---|---|---|
| Projects | Items with clear goals and deadlines | "Develop new feature", "Complete report" |
| Areas | Long-term responsibilities and standards | "Health management", "Skill development" |
| Resources | Topics of interest and reference materials | "Technical articles", "Learning notes" |
| Archive | Completed or inactive items | "Finished projects", "Historical records" |
| Inbox | Temporary storage for uncategorized items | Content that cannot be determined |
| Score | Level | Description | Recommendation |
|---|---|---|---|
| 9-10 | Critical | Process immediately | Take action now |
| 7-8 | High | Process today | Complete within 24 hours |
| 5-6 | Medium | Process this week | Schedule within the week |
| 3-4 | Low | Low priority | Can be deferred |
| 1-2 | Minimal | Archive for reference | No immediate action needed |
src/
├── content-analyzer.js # Content type recognition and metadata extraction
├── para-classifier.js # PARA classification algorithm
├── urgency-scorer.js # Urgency scoring algorithm
├── relatedness-detector.js # Relatedness detection
└── index.js # Main entry and API
const triage = new SecondBrainTriage({
enableRelatedness: true, // Enable relatedness detection
urgencyThreshold: 5, // Urgency threshold
});
Supported export formats:
MIT