Install
openclaw skills install secretary-skillFull lifecycle goal management: from vague vision to filed, tracked, and automated long-term plan. 5-stage pipeline: de-ambiguation -> vertical splitting -> persistent storage -> cron automation -> ongoing review.
openclaw skills install secretary-skillA specialized procedural tool that prevents long-term plans from failing by combating the three main killers of long-term goals: ambiguity (not knowing how to start), overwhelm (large goals feeling impossible), and oblivion (forgetting or losing motivation over time).
Now extended with persistent storage and lifecycle management — every goal gets filed to disk, tracked, and retrievable across sessions.
[Vague/Profound Goal]
│
▼
1. De-ambiguation ──► 一次一问,锁定 Original Goal
│
▼
2. Vertical Splitting ──► 里程碑 → 2小时可执行原子任务
│
▼
3. Persistent Storage ──► 写入 ~/.hermes/goals/<slug>.md + memory 指针
│
▼
4. Cron Automation ──► 设置定时提醒 / 复盘任务
│
▼
5. Tracking & Review ──► 更新进度、追加复盘日志、状态流转
NEVER ask multiple questions at once. The de-ambiguation phase must follow this protocol:
Question style guidelines:
Once the Original Goal is locked, break it down hierarchically:
| Depth | Output | Time per item |
|---|---|---|
| 1 | 3-5 major milestones | weeks to months |
| 2 | 10-20 sub-tasks per milestone | days |
| 3 | Atomic executable items | ~2 hours |
The /split --depth [1-3] command controls this.
Every locked + split goal gets persisted to disk so it survives across sessions.
~/.hermes/goals/
└── <slug>.md # One file per goal
---
title: "<goal title>"
slug: <unique-slug>
status: active # active | paused | completed | archived
created_at: YYYY-MM-DD
target_date: YYYY-MM-DD
category: finance # finance | health | career | learning | project | other
tags: [tag1, tag2]
metrics:
- name: <metric name>
target: <number>
current: <number>
unit: <unit string>
last_reviewed: YYYY-MM-DD
---
# <Goal Title>
## 原始目标
(什么)
## 背景
(为什么、怎么样、关键参数)
## 计划详情
(倒推过程和结构化计划)
## 关键纪律
(要遵守的规则)
## 复盘记录
### YYYY-MM-DD
(每次复盘加一条记录)
When the user says "存下这个目标" or the goal is locked and split:
~/.hermes/goals/<slug>.mdMaps tasks onto a timeline and schedules automated reminders.
{
"skill_target": "Secretary Skill",
"cron_expression": "0 9 * * 1-5",
"action_type": "active_reminder",
"payload": {
"original_goal_snapshot": "[Locked Goal]",
"current_task": "[Task X]",
"trigger_prompt": "Re-anchor the user to the grand vision, verify if [Task X] is ready for today, and listen for a `/align` call if scheduling conflicts exist."
}
}
Use the cronjob tool to set up recurring reminders:
0 9 1 * * (1st of every month)0 10 * * 1 (Mondays 10am)0 9 * * 1-5 (weekdays)The memory pointer is the key to cross-session recall. When the user mentions a goal:
~/.hermes/goals/<slug>.md| User says | Action |
|---|---|
| "我有哪些目标" / "列出目标" | Read all .md from ~/.hermes/goals/, parse frontmatter, present summary table (title, status, category, target_date, progress) |
| "看看 <目标>" / "show <slug>" | Read and display the full goal file |
| "更新进度" / "update <slug>" | Update metrics (current values), append a review log entry, write back, update memory |
| "这个目标完成了" / "archive <slug>" | Set status to completed or archived, write back, update memory |
| "暂停这个目标" / "pause <slug>" | Set status to paused, write back, update memory |
Each review entry in the body:
### YYYY-MM-DD
- Status: active → active (or → paused)
- Metrics: current=N (change: +X)
- Notes: (brief reflection on progress, issues, adjustments)
| Command | Stage | Description |
|---|---|---|
/init_goal [text] | 1 | Activates de-ambiguation, one question at a time |
/split --depth [1-3] | 2 | Breaks locked goal into milestones → atomic tasks |
/save | 3 | Persists current goal to ~/.hermes/goals/ |
/schedule --freq [daily/weekly/monthly] | 4 | Creates cron job for reminders |
/align | 5 | Recalibrates when plans change or friction occurs |
/status --report [slug] | 5 | Shows current progress toward the goal |
/goal list | 5 | Lists all stored goals |
/goal show <slug> | 5 | Shows a specific goal's full content |
/goal update <slug> | 5 | Updates metrics and appends review log |
/goal archive <slug> | 5 | Marks goal as completed/archived |
The skill comes with domain-specific reference files that provide background knowledge for common financial planning scenarios:
references/shenzhen-financial-planning.md) — covers social insurance ratios, tax brackets, housing fund rules, and sample goal breakdowns for users in Shenzhen. Load this reference when the user's goal involves Chinese social insurance, tax, or housing fund calculations.When a goal involves structured quantitative analysis (financial planning, budgets, timelines), the Agent should perform the full calculation in-session as part of Stages 1-2, then persist the results in Stage 3. The secretary-skill itself does not offload calculations to sub-skills — the analysis is the core value the user is paying attention to during the de-ambiguation and splitting phases.