penny_write
Save the moment something durable emerges — a decision, preference, plan, correction, a to-do, a measurement, or something you produced — mid-conversation and unprompted; when the call is close, save. Choose entityType: walk this ladder, first match wins:
Durable fact about the user/their people → update the profile (upsert/penny_edit). Person card (relation/dates) → person; task people → forPeople/waitingOn. How they want to be remembered → memory_policy in their words; how they want you to show up (tone/register/manner) → persona. When the user tells you what to save, skip, check, or surface, update their memory_policy block in the same turn as a general rule in their words.
Commitment/action with a done-state → task. Organize via area/project/heading. A to-do the user mentions, even in passing, is a task: offer to capture it, then write it. When you write a to-do you could help with, prepare a short action card; prepare a full one when asked, and act only on cards the user approved. Project: create with patch.name/purpose + operationId; revise: projectId + Brief's expectedRevision + sparse patch (max25 step/resource changes). project_interaction: actor proposals/declines/deferrals. pending_share_approval is a proposal, not a save. An objective that spans sessions is a Project: read its Brief before working on it, propose one when none exists, and keep it current once accepted.
Measurements → tracker_entry (check inventory). Active duplicate tracker names fail; edit via penny_edit. A measurement the user would log more than once is a tracker entry; if no tracker fits, propose one before logging.
Know-how → skill; trigger schedules it (legacy rhythm). Existing names preview changes; wait for user approval before penny_edit op:apply + proposalId. Run on-demand via skill_invoke; scheduled via skill_run. Know-how the user would rather not re-explain is a skill: save it once, and load it when a task fits its description.
Other context/events/ideas/learning → note. A note is the fallback, not the default. When the user is learning something to keep, offer to let them try first; if search shows they asked before, say so once with the date; save misses and level. If so, read penny_get_skill references/learning.md. Also tag_relation, tracker_note_link, live_tool (requested Penny tool: key + definition + operationId). Batch notes/tracker_entry entries: max100. Modify via penny_edit; trash via penny_delete. Reuse an existing tag before minting a new one. Tagging and linking conventions live in the Penny skill.
Note confidence measures signal, not pipeline. 0.95 = explicit user statement; 0.80 = confirmed decision; 0.60 = reasonable inference; 0.40 = hedged/sleeptime-derived; 0.20 = weak signal. sampleQuestions: exactly three short, distinct questions the note answers, in the user's voice. Avoid keywords and near-duplicates. APA: ["Which citation style?", "How do I format references?", "What style do I use in my thesis?"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entityType": "<entityType>"
},
"name": "penny_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | live_tool: new tool key. | |
| card | No | task: its action card, one op (claim|release|prepare|save|outcome). Shape: references/action-cards.md. | |
| goal | No | rhythm: required run instructions; skill uses instructions instead. | |
| kind | No | tracker: required; habit|metric|goal|log|status|custom. | |
| name | No | Required: tracker/area/project/rhythm, entityType:"skill"; skill_invoke/skill_run: or skillId. Skills: existing name previews, new creates. Trackers: active duplicate fails, archived reactivates. | |
| tags | No | task: tags to attach. | |
| unit | No | tracker: unit of measure. | |
| actor | No | task/area/project/heading: actor (me|agent) recorded in activity ledger. | |
| child | No | tag_relation: required child tag. | |
| notes | No | note: max100 items with content, confidence (0–1), tags, exactly 3 sampleQuestions in user's voice; optional source/memoryType (episodic|semantic|procedural)/validFrom. task/area/project: Markdown string. | |
| order | No | task/area/project/heading: sort order. | |
| owner | No | task: whose turn, me or agent; agent is its cue to work on it. | |
| patch | No | Project: sparse changes; omitted fields stay. Max 25 step/resource changes. | |
| scope | No | Profile: global|workspace. Projects: private; workspace requires workspaceId. | |
| title | No | task/heading: required title/label. | |
| areaId | No | project: required parent area. | |
| parent | No | tag_relation: required parent tag of child_of edge. | |
| person | No | person: card. dates: max 5 {label, month, day, year?}; tag: their existing note tag. | |
| source | No | note/tracker_entry: provenance; defaults conversation/agent-mcp respectively. | |
| status | No | task: initial status. | |
| whenAt | No | task/project: schedule date (ms epoch). | |
| content | No | profile: required block content. | |
| deliver | No | entityType:"skill": required with trigger; rhythm: required; omit for on-demand. Output: {kind:'note',tags?:string[]}|{kind:'profile_block',blockName:string}|{kind:'notify'}. | |
| entries | No | tracker_entry: up to 100 for one trackerId; each {payload,loggedAt?,agentNote?,noteIds?,source?,metadata?,externalId?}. Mutually exclusive with top-level payload. Receipts list saved/failed items and duplicates for stored externalIds; do not claim all saved from a partial result. person: up to 20 {name, person?}, one question for all. | |
| noteIds | No | tracker_entry: archival note IDs to attach. tracker_note_link: required note IDs to link. | |
| payload | No | tracker_entry: tracker-defined data point; required unless entries is used. | |
| posture | No | entityType:"skill" with trigger, or rhythm: read|propose|act; default read. | |
| skillId | No | skill_invoke/skill_run: skill to run now/begin; required unless name is given. | |
| trigger | No | entityType:"skill": optional; rhythm: required; needs deliver. Penny does not run it; agent receives due signals. {kind:"schedule",cadence:"daily"|"weekly"|"monthly",at?:"Fri 16:00",timezone?:"America/Denver"}. ALWAYS set IANA timezone; UTC default shifts local times. Or {kind:"event",on:"note.created",where?:{tags?:string[]}}. | |
| deadline | No | task/project: hard due date (ms epoch). | |
| rhythmId | No | rhythm_run: rhythm to begin; or pass name. | |
| agentNote | No | tracker_entry, single only: short non-searchable caption. | |
| blockName | No | profile: required block name to upsert. | |
| dependsOn | No | task: full prerequisite taskId set; replaces all. | |
| forPeople | No | task: who it is for, personIds or names (max 5). A new name adds a person; an ambiguous one saves nothing and returns personChoices. | |
| headingId | No | task: parent heading. | |
| linkNotes | No | task: note IDs to link. | |
| projectId | No | task: parent Project. heading: required parent Project. | |
| reasoning | No | tag_relation: short edge justification, typically a user quote. | |
| todayRank | No | task: rank within Today for date (local YYYY-MM-DD); lower first. Ignored on other days. Not order. | |
| trackerId | No | tracker_entry: required tracker to log against. | |
| waitingOn | No | task: who it waits on; as forPeople. | |
| definition | No | live_tool: complete definition. | |
| entityType | Yes | What to create; first match in the tool description's ladder wins. | |
| externalId | No | tracker_entry/entries: source ID for imports/sync, max200 chars. Same-tracker repeats return the existing entry as duplicate. Opaque, unencrypted: never include content. | |
| recordedAt | No | tracker_entry, single only: observation time (ms epoch); default now. | |
| recurrence | No | task: repeat; taskId is first occurrence, completion returns nextTaskId (penny_edit status). Never reuse completed IDs. | |
| targetSpec | No | tracker: JSON target spec, interpreted at retrieval (e.g. {kind:'daily_minimum',value:10000}). | |
| whenBucket | No | task/project: undated bucket; mutually exclusive with whenAt. | |
| description | No | tracker: required meaning. entityType:"skill"/rhythm: required one-line purpose, including on-demand skills. | |
| interaction | No | project_interaction: actor decision; read first, update with expectedUpdatedAt. | |
| operationId | No | Project/live_tool receipt key; identical retries only. | |
| instructions | No | skill: required know-how for invocation or when a connected agent picks up a due skill. Replaces rhythm goal. | |
| allowSameName | No | person: add someone new who shares a saved name (ask first). Needs name; description is optional. | |
| retrievalPlan | No | entityType:"skill"/rhythm: optional deterministic steps [{tool,args}] for a bounded tier. | |
| trackerEntryId | No | tracker_note_link: required entry to attach notes to. | |
| expectedRevision | No | Project Brief/live_tool revision; reconcile conflicts. | |
| expectedUpdatedAt | No | Source version from read. |