Agent Daily Review
by @openlark
Helps agents conduct structured end-of-day review, reflection, and documentation. Provides capabilities to scan today's records, categorize activities, perfo...
clawhub install agent-daily-reviewπ About This Skill
name: agent-daily-review description: Helps agents conduct structured end-of-day review, reflection, and documentation. Provides capabilities to scan today's records, categorize activities, perform reflective analysis, and generate review reports. Supports Cron auto-trigger for cumulative growth with each run.
Agent Daily Review
Overview
The Daily Review skill helps agents conduct systematic review and reflection at the end of the day, transforming fragmented daily records into structured growth accumulation.
Core Capabilities: 1. Scan Records - Automatically scan today's memory files, artifacts, and MEMORY.md entries 2. Categorize Activities - Classify activities into: Completed, In Progress, Issues/Blockers, Learning/Growth, Others 3. Reflect and Analyze - Calculate productivity score, identify highlights and challenges, generate improvement suggestions 4. Generate Report - Output structured review report and archive to long-term memory
Use Cases:
Workflow
1. Scan Today's Records
Execute scripts/daily_review.py to scan the following:
memory/YYYY-MM-DD.md - Today's journal entriesMEMORY.md - Today's entries in long-term memoryworkspace/*.md - Artifact files generated today2. Categorize Activities
Automatically identify and categorize:
3. Reflect and Analyze
Perform intelligent analysis based on categorization results:
4. Generate Report
Output structured report containing:
5. Archive to Memory
reviews/review_YYYY-MM-DD.mdMEMORY.mdUsage
Manual Execution
# Execute today's review
python scripts/daily_review.pySpecify working directory
python scripts/daily_review.py -w /path/to/workspaceSpecify output file
python scripts/daily_review.py -o /path/to/output.mdReview specific date
python scripts/daily_review.py -d 2024-01-15Do not save to MEMORY.md
python scripts/daily_review.py --no-memory
Use as Module
from scripts.daily_review import DailyReviewreview = DailyReview("/path/to/workspace")
report = review.run(save_to_memory=True)
print(report)
Cron Auto-Trigger
Set up automatic daily review at 22:00:
# Add scheduled task using openclaw cron
openclaw cron add --name "daily-review" \
--schedule "0 22 * * *" \
--command "python ~/.qclaw/skills/daily-review/scripts/daily_review.py"
Or using cron tool:
{
"name": "daily-review",
"schedule": {"kind": "cron", "expr": "0 22 * * *", "tz": "Asia/Shanghai"},
"payload": {
"kind": "agentTurn",
"message": "Please perform today's review using the daily-review skill, scanning today's records and generating a review report."
},
"sessionTarget": "isolated"
}
Report Format
Review reports use Markdown format with the following sections:
# Daily Review Report - YYYY-MM-DDπ Today's Overview
Date, Record Count, Artifact Count, Productivity Score β
Completed
Task List π In Progress
Pending List β οΈ Issues/Blockers
Issue List π Learning/Growth
Learning Records π― Today's Highlights
Highlights Summary π Reflection and Suggestions
Improvement Suggestions π Tomorrow's Plan
Plan Framework
Directory Structure
workspace/
βββ memory/
β βββ 2024-01-15.md # Today's journal entries
βββ reviews/
β βββ review_2024-01-15.md # Review report
βββ MEMORY.md # Long-term memory (review summary appended here)
βββ *.md # Artifacts generated today
Tips
1. Cultivate Journaling Habit - Record timestamped entries in memory/YYYY-MM-DD.md daily for better review results
2. Use Keywords - Use keywords like "completed," "learning," "encountered issue" when journaling to facilitate auto-categorization
3. Periodic Review - Review weekly/monthly review reports to discover growth trajectory
4. Integrate with Cron - Set up automatic review to ensure daily reflection is never missed
Resources
scripts/daily_review.py - Core review scriptreferences/framework.md - Detailed review framework explanation (optional reading)π‘ Examples
Manual Execution
# Execute today's review
python scripts/daily_review.pySpecify working directory
python scripts/daily_review.py -w /path/to/workspaceSpecify output file
python scripts/daily_review.py -o /path/to/output.mdReview specific date
python scripts/daily_review.py -d 2024-01-15Do not save to MEMORY.md
python scripts/daily_review.py --no-memory
Use as Module
from scripts.daily_review import DailyReviewreview = DailyReview("/path/to/workspace")
report = review.run(save_to_memory=True)
print(report)
Cron Auto-Trigger
Set up automatic daily review at 22:00:
# Add scheduled task using openclaw cron
openclaw cron add --name "daily-review" \
--schedule "0 22 * * *" \
--command "python ~/.qclaw/skills/daily-review/scripts/daily_review.py"
Or using cron tool:
{
"name": "daily-review",
"schedule": {"kind": "cron", "expr": "0 22 * * *", "tz": "Asia/Shanghai"},
"payload": {
"kind": "agentTurn",
"message": "Please perform today's review using the daily-review skill, scanning today's records and generating a review report."
},
"sessionTarget": "isolated"
}
π Tips & Best Practices
1. Cultivate Journaling Habit - Record timestamped entries in memory/YYYY-MM-DD.md daily for better review results
2. Use Keywords - Use keywords like "completed," "learning," "encountered issue" when journaling to facilitate auto-categorization
3. Periodic Review - Review weekly/monthly review reports to discover growth trajectory
4. Integrate with Cron - Set up automatic review to ensure daily reflection is never missed