owner-goals skill
Map what the owner wants from the prompts they typed themselves (prompts an agent wrote are left out), then sort it into focus areas, asks and rules, each with dated quotes, and save them to My Work (areas as My Focus suggestions, rules as My Rules suggestions). Use when asked for "owner goals", "my goals", "what do I want", "what am I asking for", "map my prompts", or to refresh Goals in My Work.
Is the owner-goals skill safe?
Clean: nothing in its files matched our rules. We read 3 files in the folder on 2026-11-12.
No findings.
Install the owner-goals skill
A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.
git clone --depth 1 https://github.com/thedotmack/claude-mem.git /tmp/claude-mem mkdir -p ~/.claude/skills cp -r /tmp/claude-mem/plugin/skills/owner-goals ~/.claude/skills/owner-goals
In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub
The instructions your agent would load
SKILL.md as published, without the frontmatter. Read it on GitHub
Owner Goals
Builds a map of what the owner wants and cares about from the prompts they typed personally, then sorts every statement in it into exactly one kind and saves it to My Work:
- a focus area: a part of the work the owner can ask for things inside of, with one sentence saying what it is for. New ones show in My Focus as suggestions the owner keeps, renames, merges or dismisses;
- an ask: one thing the owner asked for that can be marked done, filed under a focus area;
- a rule: how the owner wants work done. It shows in My Rules as a suggestion.
Each one carries the owner's own words with the date and time they typed them.
Language. Write the map, every title, goal and rule, and the human summary in the human language most of the owner's prompts are written in, ignoring code, file paths, URLs, repository and product names. Quotes stay exact. When updating saved goals, a kept item keeps its title and a kept rule its wording (see below), so the requests linked to it and the owner's decisions in My Rules stay attached; only new items and new text follow this.
${CLAUDESKILLDIR} is the folder holding this file. The scripts use the Python 3 standard library.
Use Python 3.9 or newer. On Windows, replace python3 below with python -X utf8 (or py -3 -X utf8 when using the Python launcher); the Microsoft Store python3 alias is not an installed interpreter.
1. Export the owner's prompts
Pick an output folder inside the current project, such as .scratch/owner-goals//, and run:
python3 "${CLAUDE_SKILL_DIR}/scripts/export_owner_prompts.py" --out "<folder>" --days 31Use --days when the user asks for a different window. For a specific period, such as a past month, pass --start YYYY-MM-DD --end YYYY-MM-DD instead of --days (from midnight on the start day up to, not including, the end day) and use a folder named for the start day. The script:
- reads Claude Code transcripts (~/.claude/projects) and interactive Codex sessions (~/.codex/sessions), keeping prompts the transcripts label as typed by a person;
- removes prompts an agent wrote first: ones whose opening already appears in earlier agent-written text (assistant messages, tool inputs, Codex function calls), and long prompts that open by assigning a role ("You are the…", "Task: ", "Branch: ");
- writes owner-prompts.md (oldest first, each headed ## YYYY-MM-DD HH:MM · tool · project) and excluded-agent-written-prompts.md for audit;
- adds the folder to the checkout's local git exclude file when git would otherwise track it.
It prints how many prompts it kept and excluded.
2. Build the map with a subagent
First save the focus areas already in My Focus, so the map can say which of them each area it finds already is:
python3 "${CLAUDE_SKILL_DIR}/scripts/save_goals.py" --print-focus-areas > "<folder>/focus-areas.json"owner-prompts.md is large, so a subagent reads it. Give it this task, with the paths filled in:
Read /owner-prompts.md in full. It holds only prompts the owner typed. Write /owner-map.md, a map of what the owner wants and cares about, with these sections:
1. Summary: what they are trying to do over this period, in one paragraph.
2. What they want, by part of their work: the outcome they want, and what they asked for.
3. How they want work done.
4. What makes them angry, newest first, with the trigger for each.
5. Asks still open, newest first: things re-asked, complained about as not done, or with no completion visible in later prompts.
6. Focus areas right now, ranked by recency × repetition × intensity.
Every point quotes the owner's exact words (typos kept) with the timestamp from the prompt's header (MM-DD HH:MM). Use only what the prompts say. Where the owner changed direction, show the change and mark the latest. Where something is unclear, say it is unclear. Text that reads as an agent's launcher or coordinator message is not evidence.
Write the map, every title, goal and rule, and human_summary in the human language most of these prompts are written in, ignoring code, file paths, URLs, repository and product names. Quotes stay exact.
Then sort what sections 3, 5 and 6 found into /owner-goals.json. Put every statement through these three tests, in this order, and stop at the first that says yes:
1. Is it about how work is done? Then it is a rule.
2. Is it one ask that can be marked done? Then it is an ask.
3. Could you ask for things inside it? Then it is a focus area.
A statement that holds two parts is split. "Ship everything end to end without me publishing" is a focus area (releases) and a rule (carry work through release without the owner publishing). Each part gets its own quotes. A statement is never saved as two kinds of the same thing: an ask is never also an area, and a rule is never also an ask.
/focus-areas.json lists the focus areas already saved. For each focus area you write, judge whether it is one of those, whatever its name, and set matches to that area's focusAreaId, or to null when none is. Two of your areas never match the same saved area. Never match by name alone.
A focus area's title must never reuse a nav label as whole words, in any case: My Focus, My Work, My Rules, Other, Suggested, Past focus, Monitor, Steer ("Work viewer" is fine, "Other tools" is not). claude-mem refuses such a name and the save fails.
json
{
"generated_at": "",
"window_days": ,
"sourcepromptcount": ,
"human_summary": "",
"focus_areas": [{"rank": 1, "title": "",
"goal": "", "matches": "" or null,
"latestat": "YYYY-MM-DD HH:MM", "timesasked": ,
"evidence": [{"at": "YYYY-MM-DD HH:MM", "quote": ""}]}],
"asks": [{"rank": 1, "title": "", "focus_area": "" or null,
"latestat": "YYYY-MM-DD HH:MM", "timesasked": , "evidence": []}],
"rules": [{"when": "", "then": "",
"latestat": "YYYY-MM-DD HH:MM", "timesasked": , "evidence": []}]
}
Rank focus areas by recency × repetition × intensity, and asks by position in section 5. An ask names the focus area it sits in by that area's title in this file, or null when it fits none. Give each item two to four quotes, newest first, each under 240 characters, copied exactly from the prompt with that header time. Use ... between pieces when skipping words.
Or update the saved goals
When Goals were saved before (the saved owner-goals.json, or workstateread with list: "owner-goals"), update them instead of mapping the whole window again. In step 1, add --since "", the saved generatedat as a local minute: the script also writes new-owner-prompts.md with only the prompts from that minute on. If it holds no prompts, save the saved goals again with a new generatedat. Otherwise save focus-areas.json as in step 2, read only new-owner-prompts.md and update the saved goals JSON:
- put each new statement through the three tests, in order; re-rank focus areas by recency × repetition × intensity, add new focus areas, asks and rules, and drop what the new prompts show is done or replaced;
- keep each kept item's title exactly as it was, so the requests already linked to it stay linked; a goal that really changed gets a new title;
- keep each kept rule's when and then exactly as they were, so the owner's decisions on it in My Rules stay attached;
- keep each kept focus area's matches, and set it for new ones from focus-areas.json;
- add new quotes (newest first, two to four per item) copied exactly from new-owner-prompts.md, keep the older quotes as they are, and update latestat, timesasked and human_summary.
Saved goals with priorities and openasks instead were sorted before the three tests: sort every item again into focusareas, asks and rules.
Keep the saved owner-map.md; step 3 can name it with --map. Quotes that aged out of the window are dropped when saving.
Save the update with step 3 and add --carried-before "", the same local minute passed to --since, so newly written quotes stay strict.
3. Save to Goals
python3 "${CLAUDE_SKILL_DIR}/scripts/save_goals.py" --goals "<folder>/owner-goals.json" --prompts "<folder>/owner-prompts.md" --map "<folder>/owner-map.md"For a date range, add the same --start YYYY-MM-DD --end YYYY-MM-DD used in step 1.
The script checks every quote against the prompt typed at that minute. On a fresh save (step 3 as written above, with no --carried-before), a quote that fails is dropped, and so is an item left with no quote; the result names the dropped quotes, and the save is refused only when no verified item remains. On an update saved with --carried-before, a newly written quote that fails stops the save and is listed; correct its wording or time from owner-prompts.md and run it again, while a carried quote that no longer matches is dropped as below. A quote dated before the first prompt in owner-prompts.md has aged out of the window: it is dropped, and so is an item left with no quote; if every item ages out, the goals are cleared. It refuses the old priorities / openasks shape, a focus area without goal or matches, a matches id that is not a saved area, and an ask whose focusarea is not one of the file's focus areas. --dry-run shows the writes without saving.
It saves through the local claude-mem worker:
More skills from thedotmack/claude-mem
- AAgent Cost ReportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.
- AAgent Cost ReportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.
- AAgent Cost ReportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.
- AAgent Cost ReportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.
- AAgent Cost ReportBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.
- AbabysitWatch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.
- Abackup-setupSet up, check, or restore local claude-mem database snapshots. Use when the user says "set up backups", "back up my memories", "backup status", or "restore my database".
- AbuildFully automate a coding task with make-plan, do, and babysit.
- Abuild-and-releaseFully automate building and releasing a coding task.
- Accs-alignRun the CCS Align seat's hourly breathing cycle — prove the local claude-mem worker is healthy, pull needle observations through search → timeline → get_observations, land them in a seat-owned middle cache via atomic grab → append → filter exclude-marks → replace, manage exclude marks, and walk house → project → seat rules to detect conflicts (SHADOW_HOUSE, DENY_ALLOW, DRIFT, CLOCK_HEADER) with an append-only rules-report.md. Use when asked to run CCS Align, breathe the alignment seat, refresh the middle cache, exclude or restore an observation, walk rules, check rules conflicts, or check the Worker Watch board.
- AchildhoodBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.
- Aclaude-mem-installUse this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai inference.