README.md
# Personal Productivity (AgentRove native agent)
`agentrove.personal-productivity` 0.1.2 · MIT · Node.js >= 20 · no npm dependencies · fully offline
Published by AgentRove (provisional, configurable name). Package identifiers keep the agentrove prefix for compatibility.
Turns a Markdown task list into an Eisenhower matrix (with the reason for every placement), a
time-blocking plan inside your free time, and daily or weekly review checklists. It uses only what
you wrote on each task: **no effort, due date or priority is ever guessed.**
## Task syntax
```markdown
# Work
- [ ] Write Q4 report due:2026-12-01 !high ~90m #work
- [ ] Book flights @due(2026-11-27) ~20m
- [ ] Check passport (subtask)
- [ ] (B) Call bank #urgent ~15m
- [ ] Refactor auth priority:low due:2026-12-20 est:2h #waiting
- [x] Send invoice done:2026-11-24
- [-] Old idea (cancelled)
```
| What | Accepted forms |
| --- | --- |
| Due date | `due:YYYY-MM-DD`, `due:: YYYY-MM-DD`, `@due(YYYY-MM-DD)`, `due:today`, `due:tomorrow`, Obsidian Tasks calendar emoji + date |
| Completion date | `done:YYYY-MM-DD`, Obsidian Tasks check-mark emoji + date |
| Priority | `!high` `!medium` `!low` (`!h` `!m` `!l`, `!p1`-`!p3`, `!1`-`!3`), `priority:high`, `[#A]`-`[#C]`, leading `(A)`-`(C)`, Obsidian priority emoji |
| Effort | `~45m`, `~2h`, `~1h30m`, `~1.5h`, `est:90m`, `effort:1h`, `estimate:: 30m` |
| Flags | `#urgent`/`!urgent`, `#important`/`!important`, `#waiting`/`@waiting`/`#delegate` |
| Other | `#tags`, headings become `section`, indentation makes subtasks, code fences are ignored |
Impossible dates (e.g. `2026-02-30`) are ignored with a warning, never corrected.
## Tools
| Tool | What it does |
| --- | --- |
| `parse_tasks` | Markdown to structured tasks (`id` = `L<line>`). |
| `classify_eisenhower` | Quadrants `do`, `schedule`, `delegate`, `eliminate`, plus `unsorted` for tasks with no due date, priority or flag (not guessed). Urgent = overdue, due within `urgent_within_days` (default 2) or `#urgent`; important = priority in `important_priorities` (default `["high"]`) or `#important`. A task with a due date is never put in `eliminate`: if it is neither urgent nor important it goes to `schedule` (do it before the date), with that reason. Every task carries `reasons`. |
| `plan_time_blocks` | Places `do` then `schedule` tasks (by due date, then priority) into free time, then by default fills what is left with `unsorted` tasks that have a written effort estimate (pass `include_quadrants` to plan exactly the quadrants you list, with no fill). Tasks tagged `#waiting`/`#delegate` are never time-blocked. Free time comes from `slots` (for example the `slots` output of calendar-assistant `find_free_slots`) **or** `working_hours` + `date_from`/`date_to` minus `busy`. Uses only written effort, or `default_block_minutes` if you set it (the unsorted fill always needs written effort). Splits long tasks (pieces of at least `min_block_minutes`, default 25) unless `allow_split: false`; optional `break_minutes`. Returns blocks with local labels, `events` (calendar_events), `unscheduled` with reasons, `at_risk` (overdue or finishing after the due date) and `remaining_slots`. |
| `review_checklist` | `kind: "daily"`: overdue, due today, top three "do first", unsorted inbox, daily prompts. `kind: "weekly"`: completed in the last 7 days (needs `done:` dates; ticked `[x]`; cancelled `[-]` tasks are not counted as done), overdue, due in the next 7 days, waiting/delegated (tagged), delegate candidates (urgent, not important), high priority without a date, someday/unsorted, weekly review prompts. Markdown checkboxes. |
All tools are side-effect free: nothing is written to files or calendars. "Today" is computed in
`timezone` (default UTC) unless you pass `today`.
## Usage (Node CLI)
```sh
node bin/cli.js --help
node bin/cli.js classify_eisenhower --input tasks.json # {"markdown": "<your list>", "timezone": "Europe/London"}
node bin/cli.js plan_time_blocks --input plan.json # {"markdown": "...", "slots": [...], "timezone": "Europe/London"}
node bin/cli.js review_checklist --input review.json # {"markdown": "...", "kind": "weekly"}
```
On Windows PowerShell, prefer `--input file.json` (or `--input -` with piped JSON).
Composing with calendar-assistant: run its `find_free_slots`, pass the returned `slots` here, then
review the returned `events`; create calendar entries yourself (calendar-assistant
`propose_meeting` drafts `.ics` files).
## Use as an MCP server
```sh
claude mcp add personal-productivity -- node /absolute/path/to/personal-productivity/bin/mcp.js
```
`claude-code/SKILL.md` is a Claude Code skill that drives the CLI.
## Testing status
Tested with Node.js (Vitest, `tests/personal-productivity.test.ts`, fixtures only). It has **not yet
been verified inside Claude Code** or any other MCP client by AgentRove.
## Limitations
- Line-based parsing of Markdown checkboxes; multi-line task bodies and task-app exports (Todoist,
Things) are not read. Recurrence markers are kept in the title, not expanded.
- Eisenhower placement is rule-based on your tags; it does not judge what is important.
- Overnight working hours are not supported; working-hours planning covers at most 31 days.
- The planner is greedy (earliest fitting slot, highest quadrant first); it does not optimise.
- Time-zone rules come from the ICU data bundled with your Node.js build.