Install
openclaw skills install todo-tracker-safeSecure TODO tracker with input validation and safe file operations. Use for task management across sessions.
openclaw skills install todo-tracker-safe安全的跨会话任务追踪工具,带有输入验证和安全文件操作。
相比原始版本,此版本包含以下安全增强:
sanitize_input() 过滤grep -F 避免正则注入eval 或命令替换执行用户输入set -euo pipefail 严格模式# 添加任务
todo.sh add high "完成项目报告"
todo.sh add medium "回复邮件"
todo.sh add low "整理文件"
# 标记完成
todo.sh done "项目报告"
# 删除任务
todo.sh remove "整理文件"
# 列出任务
todo.sh list # 全部
todo.sh list high # 高优先级
todo.sh list done # 已完成
# 摘要(用于 heartbeat)
todo.sh summary
TODO_FILE - 自定义 TODO 文件路径(默认:~/.openclaw/workspace/TODO.md)当用户说: