@rubytech/create-realagent-code 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/plugins/admin/PLUGIN.md +4 -0
  3. package/payload/platform/plugins/admin/skills/admin-user-management/SKILL.md +47 -0
  4. package/payload/platform/plugins/admin/skills/commitment-followthrough/SKILL.md +60 -0
  5. package/payload/platform/plugins/admin/skills/file-presentation/SKILL.md +67 -0
  6. package/payload/platform/plugins/admin/skills/session-management/SKILL.md +62 -0
  7. package/payload/platform/plugins/deep-research/.claude-plugin/plugin.json +1 -1
  8. package/payload/platform/plugins/deep-research/PLUGIN.md +7 -1
  9. package/payload/platform/plugins/deep-research/recipes/README.md +36 -0
  10. package/payload/platform/plugins/deep-research/skills/academic-verify/SKILL.md +75 -0
  11. package/payload/platform/plugins/deep-research/skills/book-mirror/SKILL.md +68 -0
  12. package/payload/platform/plugins/deep-research/skills/data-research/SKILL.md +108 -0
  13. package/payload/platform/plugins/deep-research/skills/strategic-reading/SKILL.md +69 -0
  14. package/payload/platform/plugins/docs/references/deployment.md +3 -2
  15. package/payload/platform/plugins/email/mcp/dist/lib/imap.d.ts +1 -1
  16. package/payload/platform/plugins/email/mcp/dist/scripts/email-fetch.d.ts +7 -2
  17. package/payload/platform/plugins/email/mcp/dist/scripts/email-fetch.d.ts.map +1 -1
  18. package/payload/platform/plugins/email/mcp/dist/scripts/email-fetch.js +7 -2
  19. package/payload/platform/plugins/email/mcp/dist/scripts/email-fetch.js.map +1 -1
  20. package/payload/platform/plugins/linkedin-import/skills/linkedin-import/SKILL.md +2 -0
  21. package/payload/platform/plugins/memory/PLUGIN.md +6 -0
  22. package/payload/platform/plugins/memory/skills/archive-crawler/SKILL.md +67 -0
  23. package/payload/platform/plugins/memory/skills/concept-synthesis/SKILL.md +80 -0
  24. package/payload/platform/plugins/memory/skills/conversation-archive/SKILL.md +2 -0
  25. package/payload/platform/plugins/memory/skills/document-ingest/SKILL.md +2 -0
  26. package/payload/platform/plugins/scheduling/PLUGIN.md +3 -0
  27. package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.d.ts +7 -3
  28. package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.d.ts.map +1 -1
  29. package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.js +7 -3
  30. package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.js.map +1 -1
  31. package/payload/platform/plugins/scheduling/skills/briefing/SKILL.md +75 -0
  32. package/payload/platform/plugins/scheduling/skills/daily-prep/SKILL.md +61 -0
  33. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
  34. package/payload/platform/services/claude-session-manager/dist/http-server.js +14 -1
  35. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  36. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +14 -0
  37. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
  38. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +9 -2
  39. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
  40. package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts +25 -1
  41. package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts.map +1 -1
  42. package/payload/platform/services/claude-session-manager/dist/system-prompt.js +54 -3
  43. package/payload/platform/services/claude-session-manager/dist/system-prompt.js.map +1 -1
  44. package/payload/platform/templates/agents/admin/IDENTITY.md +38 -284
  45. package/payload/platform/templates/agents/admin/SOUL.md +4 -4
  46. package/payload/platform/templates/specialists/agents/content-producer.md +24 -69
  47. package/payload/platform/templates/specialists/agents/database-operator.md +49 -155
  48. package/payload/platform/templates/specialists/agents/personal-assistant.md +27 -177
  49. package/payload/platform/templates/specialists/agents/project-manager.md +29 -96
  50. package/payload/platform/templates/specialists/agents/research-assistant.md +36 -78
  51. package/payload/premium-plugins/real-agency/agents/compliance.md +14 -0
  52. package/payload/premium-plugins/real-agency/agents/negotiator.md +22 -0
  53. package/payload/premium-plugins/real-agency/agents/valuer.md +16 -0
  54. package/payload/premium-plugins/real-agency/plugins/estate-business/.claude-plugin/plugin.json +1 -1
  55. package/payload/premium-plugins/real-agency/plugins/estate-business/PLUGIN.md +29 -13
  56. package/payload/premium-plugins/real-agency/plugins/estate-business/skills/commission-calculator/SKILL.md +40 -0
  57. package/payload/premium-plugins/real-agency/plugins/estate-business/skills/month-end-close/SKILL.md +69 -0
  58. package/payload/premium-plugins/real-agency/plugins/estate-business/skills/payment-batch-stager/SKILL.md +42 -0
  59. package/payload/premium-plugins/real-agency/plugins/estate-business/skills/period-reconciler/SKILL.md +42 -0
  60. package/payload/premium-plugins/real-agency/plugins/estate-sales/.claude-plugin/plugin.json +1 -1
  61. package/payload/premium-plugins/real-agency/plugins/estate-sales/PLUGIN.md +27 -13
  62. package/payload/premium-plugins/real-agency/plugins/estate-sales/skills/chase-progression/SKILL.md +107 -0
  63. package/payload/premium-plugins/real-agency/plugins/estate-sales/skills/risk-scorer/SKILL.md +42 -0
  64. package/payload/premium-plugins/real-agency/plugins/leads/.claude-plugin/plugin.json +1 -1
  65. package/payload/premium-plugins/real-agency/plugins/leads/PLUGIN.md +24 -10
  66. package/payload/premium-plugins/real-agency/plugins/leads/skills/chain-progression-tracker/SKILL.md +51 -0
  67. package/payload/premium-plugins/real-agency/plugins/leads/skills/diary-builder/SKILL.md +38 -0
  68. package/payload/premium-plugins/real-agency/plugins/leads/skills/enquiry-triage/SKILL.md +36 -0
  69. package/payload/premium-plugins/real-agency/plugins/leads/skills/morning-round/SKILL.md +72 -0
  70. package/payload/premium-plugins/real-agency/plugins/listings/.claude-plugin/plugin.json +1 -1
  71. package/payload/premium-plugins/real-agency/plugins/listings/PLUGIN.md +43 -12
  72. package/payload/premium-plugins/real-agency/plugins/listings/skills/comparable-finder/SKILL.md +52 -0
  73. package/payload/premium-plugins/real-agency/plugins/listings/skills/epc-checker/SKILL.md +38 -0
  74. package/payload/premium-plugins/real-agency/plugins/listings/skills/listing-copy-writer/SKILL.md +55 -0
  75. package/payload/premium-plugins/real-agency/plugins/listings/skills/local-market-stats/SKILL.md +33 -0
  76. package/payload/premium-plugins/real-agency/plugins/listings/skills/new-instruction/SKILL.md +78 -0
  77. package/payload/premium-plugins/real-agency/plugins/listings/skills/particulars-builder/SKILL.md +48 -0
  78. package/payload/premium-plugins/real-agency/plugins/listings/skills/portal-launch-scheduler/SKILL.md +49 -0
  79. package/payload/premium-plugins/real-agency/plugins/listings/skills/pricing-scenario-builder/SKILL.md +35 -0
  80. package/payload/premium-plugins/real-agency/plugins/listings/skills/supplier-booker/SKILL.md +39 -0
  81. package/payload/premium-plugins/real-agency/plugins/listings/skills/talk-track-composer/SKILL.md +36 -0
  82. package/payload/premium-plugins/real-agency/plugins/listings/skills/terms-of-business-drafter/SKILL.md +54 -0
  83. package/payload/premium-plugins/real-agency/plugins/listings/skills/valuation-prep/SKILL.md +69 -0
  84. package/payload/premium-plugins/real-agency/plugins/loop/PLUGIN.md +20 -0
  85. package/payload/premium-plugins/real-agency/plugins/loop/skills/compliance-flag-checker/SKILL.md +53 -0
  86. package/payload/premium-plugins/real-agency/plugins/loop/skills/priority-ranker/SKILL.md +40 -0
  87. package/payload/premium-plugins/real-agency/plugins/loop/skills/tone-matched-drafter/SKILL.md +53 -0
  88. package/payload/premium-plugins/real-agency/plugins/loop/skills/variance-narrator/SKILL.md +50 -0
  89. package/payload/premium-plugins/real-agency/plugins/loop/skills/vendor-research/SKILL.md +54 -0
  90. package/payload/server/server.js +73 -162
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: strategic-reading
3
+ description: "Reads a source (article, book, report, document) through a specific lens the owner names, and produces both a faithful summary and an applied playbook. Triggers when the owner says 'read this through the lens of X', 'apply this to my problem', 'extract a playbook for Y from this', 'what can I learn from this about Z'."
4
+ ---
5
+
6
+ # Strategic reading
7
+
8
+ This skill reads a document with a specific question in mind. The owner names the lens (a project, a problem, a goal). The skill summarises what the source actually says, then translates each section into how it applies to the named lens, and closes with a playbook of three to seven concrete steps. Both halves are grounded: the left half in the source text, the right half in the graph.
9
+
10
+ ## When to run
11
+
12
+ Run when the owner has a specific problem and wants to test what a particular source teaches them about it. Not for general reading; for applied reading. The trigger phrases are above.
13
+
14
+ ## Inputs
15
+
16
+ | Input | Meaning |
17
+ |---|---|
18
+ | `source` | The text to read. Path to a file, a URL, or pasted text. |
19
+ | `lens` | The named focus. A `:Project`, a `:Goal`, a problem statement in the owner's words, or an entity in the graph the owner wants to apply the source to. |
20
+
21
+ If `lens` is missing, ask once: "Through which lens: a project, a goal, or a problem statement?".
22
+
23
+ ## Method
24
+
25
+ 1. **Confirm the source.** Read or fetch it. If it cannot be read, refuse; do not paraphrase from training memory.
26
+ 2. **Resolve the lens.** If the lens is a named entity, `memory-search` for it and pull its current state, recent obstacles, related entities. If the lens is a free-text problem, capture it verbatim; it is the question every section will be tested against.
27
+ 3. **Walk the source in sections.** Section boundaries are the source's own headings. For each section, two paragraphs:
28
+ - **The section.** One paragraph: what it claims and what its evidence is. Quote verbatim only when the wording matters.
29
+ - **Applied to <lens>.** One paragraph: how the section's claim helps or hurts the lens. Use graph specifics. Name entities. Do not write "this could apply" or "consider how this might"; write the specific implication for the specific lens.
30
+ 4. **Produce the playbook.** After the last section, compose a single list of three to seven concrete actions the owner could take. Each action is imperative, names a specific next step, and (where possible) names the entity it touches.
31
+ 5. **Save the result.** Compose the whole pack as one `:KnowledgeDocument` linked to the lens's underlying entity via `INFORMS` (or `REFERENCES` if `INFORMS` is not in the live ontology).
32
+
33
+ ## Output format
34
+
35
+ ```
36
+ # Strategic reading: <source title> for <lens>
37
+
38
+ ## Lens
39
+ <one-paragraph restatement of the lens, including the graph context the skill loaded>
40
+
41
+ ## Section 1: <section heading>
42
+
43
+ **The section.** <one paragraph on the source's claim>
44
+
45
+ **Applied to <lens>.** <one paragraph on the implication for this owner>
46
+
47
+ ## Section 2: ...
48
+
49
+ ## Playbook
50
+ 1. <imperative action, names entity>
51
+ 2. <imperative action, names entity>
52
+ ... (three to seven items)
53
+ ```
54
+
55
+ Render the pack via `render-component name: document-editor` for review before save.
56
+
57
+ ## Difference from book-mirror
58
+
59
+ Book mirror walks every chapter and produces a chapter-by-chapter application: the unit of work is the chapter. Strategic reading uses the source's own sections and is filtered by a specific question: the unit of work is the section, and the filter is the lens. A book mirrored is a personalised version of the whole book. A source read strategically is the answer to one question about that source.
60
+
61
+ ## Failure modes
62
+
63
+ - **Lens resolves to an entity with no graph context.** Surface the gap and ask whether to proceed with the lens as a free-text problem instead.
64
+ - **Source covers a topic the lens does not touch.** Each section's right-hand column will read as "this section does not apply directly to <lens>". Surface this pattern after section 3; the owner may want to abandon the read or change the lens.
65
+ - **Source is shorter than three sections** (a short blog post, a one-page memo). Use paragraph boundaries instead of section boundaries. If the source is fewer than 200 words, do not run; the owner can read it themselves faster than the skill can mirror it.
66
+
67
+ ## What this skill does not do
68
+
69
+ It does not produce a critical review of the source. It does not score the source. It does not compare it against other sources. It produces one specific output: one source read with one lens, ending in one playbook.
@@ -45,8 +45,8 @@ After install, the first time you open the admin URL, {{productName}} walks you
45
45
 
46
46
  - `seed-neo4j.sh` writes the node at install time with `currentStep=0`. The installer re-reads it before exiting; a missing node or an unreachable Neo4j fails the install loudly (`[install-invariant] onboarding-state-MISSING` or `onboarding-state-UNREACHABLE`).
47
47
  - Every admin session-create reads `currentStep`. Anything below 9 keeps `onboarding_complete=false` on `/api/health` and `/api/admin/session`, and the chat opens on the next step's component (multi-select, dropdown, etc.).
48
- - The first input on a freshly-spawned admin claude session is prepended with an `<onboarding-state currentStep="N">` directive that tells the agent to call `skill-load skillName=onboarding`. Resumed sessions skip this prepend so the agent doesn't re-ask the same step.
49
- - If Neo4j is unreachable at session-create, the prepend becomes a loud-fail block (`graphUnreachable="true"`) and `onboarding_complete` is reported false — never silently skipped.
48
+ - Every freshly-spawned admin claude session ships the `<onboarding-state currentStep="N">` directive as a third sentinel-wrapped section in `--append-system-prompt` (alongside `<host>` and `<attachment-ceiling>`). The agent's first turn calls `skill-load skillName=onboarding`. Resumed sessions skip the section so the agent doesn't re-ask the same step. (Task 043 — pre-fix the directive was prepended to the first user message; the Claude CLI's Ink TextInput interpreted each `\n` in the block as Enter, dropping the directive bytes before they reached the agent. The system prompt is the only multi-line-safe surface for PTY-spawned Claude Code.)
49
+ - If Neo4j is unreachable at session-create, the section becomes a loud-fail block (`graphUnreachable="true"`) and `onboarding_complete` is reported false — never silently skipped.
50
50
 
51
51
  Diagnostic command on the Pi (substitute the brand's Neo4j port from `~/.maxy/.env` or `~/.realagent/.env`):
52
52
 
@@ -61,6 +61,7 @@ Failure signals to grep in `~/.maxy/logs/server.log` (or `~/.realagent/logs/serv
61
61
  - `[install-invariant] onboarding-state-MISSING`
62
62
  - `[onboarding-gate] step=null complete=true` (the pre-Task-033 bug)
63
63
  - missing `[skill-load] name=onboarding` while `[onboarding-gate]` reports `complete=false`
64
+ - missing `[onboarding-prompt] step=<n|missing|graph-unreachable> bytes=<n>` for a fresh spawn whose `[pty-spawn] appendSystemPromptBytes=` is at the bare 622-byte host + ceiling size (Task 043 — the onboarding directive failed to ship in the system prompt)
64
65
 
65
66
  ## Service Management
66
67
 
@@ -134,7 +134,7 @@ export declare function searchMessages(config: EmailConfig, password: string, qu
134
134
  beforeUid?: number;
135
135
  }): Promise<PaginatedMessages>;
136
136
  /**
137
- * Result from an incremental email fetch for the polling cron.
137
+ * Result from an incremental email fetch performed by the email-fetch dispatcher.
138
138
  * Includes the raw envelope data needed for graph storage (not just display).
139
139
  */
140
140
  export interface FetchedEmail {
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Cron script: email-fetch
2
+ * Dispatcher script: email-fetch
3
3
  *
4
4
  * Polls IMAP for new emails and persists them as Email nodes in the graph.
5
- * Runs every minute via cron; checks pollIntervalMinutes before fetching.
5
+ * Standalone dispatcher. Not fired automatically on a running install — the
6
+ * installer-registered cron entry was removed in Task 039 and the replacement
7
+ * surface (Claude Code's desktop scheduled tasks, per maxy-code-prd.md
8
+ * §Scheduled tasks) is not yet wired. Until that lands, this binary runs only
9
+ * when invoked manually or by a future scheduled-task dispatcher. When invoked,
10
+ * checks pollIntervalMinutes before fetching.
6
11
  *
7
12
  * Flow:
8
13
  * 1. Acquire PID lock (skip if another instance is running)
@@ -1 +1 @@
1
- {"version":3,"file":"email-fetch.d.ts","sourceRoot":"","sources":["../../src/scripts/email-fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
1
+ {"version":3,"file":"email-fetch.d.ts","sourceRoot":"","sources":["../../src/scripts/email-fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG"}
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Cron script: email-fetch
2
+ * Dispatcher script: email-fetch
3
3
  *
4
4
  * Polls IMAP for new emails and persists them as Email nodes in the graph.
5
- * Runs every minute via cron; checks pollIntervalMinutes before fetching.
5
+ * Standalone dispatcher. Not fired automatically on a running install — the
6
+ * installer-registered cron entry was removed in Task 039 and the replacement
7
+ * surface (Claude Code's desktop scheduled tasks, per maxy-code-prd.md
8
+ * §Scheduled tasks) is not yet wired. Until that lands, this binary runs only
9
+ * when invoked manually or by a future scheduled-task dispatcher. When invoked,
10
+ * checks pollIntervalMinutes before fetching.
6
11
  *
7
12
  * Flow:
8
13
  * 1. Acquire PID lock (skip if another instance is running)
@@ -1 +1 @@
1
- {"version":3,"file":"email-fetch.js","sourceRoot":"","sources":["../../src/scripts/email-fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,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CAAC;IAChB,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IAC/C,GAAG,CAAC,OAAO,EAAE,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACpE,WAAW,EAAE,CAAC;IACd,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -5,6 +5,8 @@ description: Import a LinkedIn Basic Data Export into a {{productName}} Neo4j gr
5
5
 
6
6
  # LinkedIn Import
7
7
 
8
+ **Default parent.** Every `:Person`, `:Organization`, `:Position`, `:Skill`, and `:Message` node this skill writes is anchored to the archive-owner `:Person` (the user whose LinkedIn account produced the export). That Person is itself anchored to the account's `:LocalBusiness`. The archive owner's elementId is the first thing this skill confirms — without it, every row would land as an orphan and the importer refuses to start. Cross-hierarchy edges (`CONNECTED_ON_LINKEDIN`, `WORKS_FOR`, `HAS_SKILL`) describe the relationships; the containment edge from the archive owner is what makes the rows reachable.
9
+
8
10
  Ingests a LinkedIn Basic Data Export (unzipped directory of CSVs + subdirs) into a {{productName}} Neo4j graph. Every edge written corresponds to a real relationship expressed by the data — not a convenience anchor.
9
11
 
10
12
  ## Archive-owner confirmation (mandatory first step)
@@ -39,6 +39,8 @@ skills:
39
39
  - skills/document-ingest/SKILL.md
40
40
  - skills/conversation-archive/SKILL.md
41
41
  - skills/conversation-archive-enrich/SKILL.md
42
+ - skills/concept-synthesis/SKILL.md
43
+ - skills/archive-crawler/SKILL.md
42
44
  always: true
43
45
  embed: false
44
46
  ---
@@ -61,6 +63,10 @@ Ranking is ephemeral and contextual — nothing is written back to the graph. Wh
61
63
 
62
64
  Use `expandHops: 0` for listing and inventory queries (returns node properties only — compact output). Use `expandHops: 1` (default) for deep context queries where related nodes add value. Queries that combine a high `limit` with `expandHops: 1` on node types that have many relationships (e.g. KnowledgeDocument with HAS_SECTION) are most likely to trigger trimming.
63
65
 
66
+ ## Hierarchy
67
+
68
+ Every node in the graph sits under a parent in the canonical chain `LocalBusiness → Project → Task | Person | Organisation | KnowledgeDocument`. `memory-write` and `memory-ingest` require the caller to name the parent (an `elementId` for the resolved parent node) and refuse the write if the parent does not exist or is at the wrong level of the chain. Specialists author the parent resolution — typically via `memory-search` against the brief — before invoking the write. Cross-hierarchy edges (a `:Person` linked to several Projects, a `:KnowledgeDocument` about several Organisations) are normal and are added as separate `memory-write` calls; the hierarchy rule governs the containment edge that anchors the node, not the additional cross-edges that describe what the node relates to.
69
+
64
70
  ## Anchoring writes to provenance — `producedByTaskId` and the conversation env-stamp
65
71
 
66
72
  Writes targeting `:Person`, `:UserProfile`, `:AdminUser`, `:Organization`, `:LocalBusiness`, `:CloudflareTunnel`, or `:CloudflareHostname` require an inbound `:PRODUCED` edge whose source is one of `:Task`, `:Conversation`, or `:Message` (deterministic bootstrap paths run as `createdBy.agent === 'system'` and are exempt). Two surfaces feed the gate:
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: archive-crawler
3
+ description: "Walks a folder of files the owner has accumulated over time (Downloads, Dropbox, an old archive), classifies each candidate, presents a filtered list for confirmation, and routes the approved set to the right ingest skill. Triggers when the owner says 'scan my Downloads for X', 'mine my old files', 'crawl my Dropbox archive'. Compresses at ingest; never writes without explicit operator filter selection."
4
+ ---
5
+
6
+ # Archive crawler
7
+
8
+ This skill imports volume in a controlled way. It walks a folder, classifies each file, asks the owner to filter, and routes only the approved set through the existing ingest skills. It does not invent a new write path; it sits in front of `document-ingest` and `conversation-archive` and gates them.
9
+
10
+ **Default parent.** This skill performs no graph writes itself. The downstream ingest skill it dispatches to (`document-ingest`, `conversation-archive`, or a per-source archive importer) is responsible for naming the parent in the canonical hierarchy `LocalBusiness → Project → KnowledgeDocument | ConversationArchive`. The operator's filter selection answers the parent question implicitly — "scan my Downloads for pricing notes" names the topical scope that the downstream skill resolves into a `:Project` anchor before any write.
11
+
12
+ ## When to run
13
+
14
+ Run when the owner names a folder and a kind of content to find inside it. Examples:
15
+
16
+ - "scan my Downloads for articles from this year"
17
+ - "mine my Dropbox archive for old meeting notes"
18
+ - "find every PDF in this folder about pricing"
19
+ - "crawl this folder and import the conversations"
20
+
21
+ Do not run when the owner uploads a single file (use `document-ingest` directly) or a single archive in a known format (use the matching per-source skill).
22
+
23
+ ## Required inputs
24
+
25
+ | Input | Meaning |
26
+ |---|---|
27
+ | `folder` | Absolute path to the folder to walk. Must be inside `$ACCOUNT_DIR` or a path the owner explicitly authorised this turn. |
28
+ | `filter` | One or more of: file type (extension), date range, keyword in filename, size band. At least one filter is required. |
29
+ | `scope` | `admin` or `public`. Where the resulting graph nodes live. |
30
+
31
+ If any required input is missing, call `AskUserQuestion` for the missing one. Never guess.
32
+
33
+ ## Method
34
+
35
+ 1. **Walk the folder.** Use `Bash` with `find` against the named folder, applying the filter as `find` predicates (`-type f`, `-name`, `-newer`, `-size`). Cap the candidate count at 1000 per run. If the count exceeds the cap, surface the count and ask the owner to tighten the filter.
36
+ 2. **Classify each candidate.** Inspect the file's extension and first kilobyte:
37
+ - Narrative document (`.pdf`, `.md`, `.txt`, `.docx`, `.html`, `.rtf`) → routes to `document-ingest`.
38
+ - Conversation transcript (`_chat.txt` from WhatsApp, `.json` from Telegram export, `.vtt` from Zoom, similar) → routes to `conversation-archive`.
39
+ - Flat dataset (`.csv` matching a known per-source archive shape such as LinkedIn `Connections.csv`) → routes to the named per-source skill.
40
+ - Unknown → set aside under "needs operator decision".
41
+ 3. **Present the candidate list.** Group by classification. Show the count per group and a sample of three file names per group. Ask the owner to confirm each group with **wire all**, **wire some** (the owner names which), or **skip group**.
42
+ 4. **Route the approved set.** For each approved group, invoke the matching ingest skill, passing the file path and the operator-confirmed anchor (the document subject for documents, the archive owner for conversations). The ingest skill is the only path that touches the graph; this skill never writes directly.
43
+
44
+ ## What it does not do
45
+
46
+ - It does not classify file content beyond extension and first kilobyte. The downstream ingest skill (`memory-classify` inside `document-ingest`) is the classifier. This skill is the gate.
47
+ - It does not compress files. It selects which files to ingest, and downstream `memory-write` writes the compressed representation.
48
+ - It does not flatten subdirectories silently. If the folder has subdirectories, list them and ask whether to recurse.
49
+ - It does not create placeholder graph nodes for files in the "needs operator decision" group.
50
+
51
+ ## Output to the operator
52
+
53
+ A short report:
54
+
55
+ - `<N>` candidate files found across `<G>` classifications.
56
+ - `<K>` approved, `<S>` skipped, `<U>` left as "needs operator decision".
57
+ - For each approved group: the count routed to the named downstream skill, with the count of writes the downstream skill returned.
58
+
59
+ ## Failure modes
60
+
61
+ - **Folder does not exist or is outside `$ACCOUNT_DIR`.** Refuse with the path and the reason. Do not walk.
62
+ - **Filter matches zero files.** Report the filter and ask whether to widen it.
63
+ - **Downstream ingest skill fails mid-batch.** Stop. Report which files completed and which did not. Do not retry inline.
64
+
65
+ ## Why the filter is mandatory
66
+
67
+ A folder of 30,000 accumulated files exceeds the operator's ability to review case-by-case. The filter is not a convenience; it is the precondition for ingest. Without it, the owner cannot meaningfully consent to what enters the graph, and the graph becomes a landfill. The compress-at-ingest doctrine is enforced at this skill, not in `memory-write`: if a file gets here without an operator-confirmed filter, the skill refuses.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: concept-synthesis
3
+ description: "Walks the knowledge documents already in the graph, clusters them by topic, and proposes Concept nodes that connect related material. Triggers when the owner says 'synthesise my notes', 'find patterns across what I've stored', 'build a concept map', or 'deduplicate my knowledge'. The owner approves each cluster before any write."
4
+ ---
5
+
6
+ # Concept synthesis
7
+
8
+ This skill turns a pile of saved documents into a usable concept map. It reads what the graph already holds, groups related material, names the groups, and connects them back to their sources. It writes nothing without the owner's approval, and it never auto-merges across groups.
9
+
10
+ **Default parent.** Every `:Concept` node this skill creates is anchored to a `:Project` (when the scope is a project) or to the account's `:LocalBusiness` (when the scope is a topic phrase or date range that crosses projects). The parent is named at proposal time and shown in the per-cluster row the operator approves — a Concept with no project or LocalBusiness parent is a write defect, never an option.
11
+
12
+ ## When to run
13
+
14
+ Run when the owner asks to make sense of accumulated knowledge: "synthesise my notes", "find patterns across what I've stored", "build a concept map", "deduplicate my knowledge", "what themes are in my graph". Do not run as a routine maintenance pass. A concept map ages quickly and is most useful when the owner has a specific reason to ask.
15
+
16
+ ## Inputs
17
+
18
+ The owner names the scope. Three shapes:
19
+
20
+ 1. **A LocalBusiness or Project.** Cluster every `:KnowledgeDocument` linked to that entity.
21
+ 2. **A topic phrase** ("everything I've saved about pricing"). Cluster the `:KnowledgeDocument` and `:Section` nodes that match the phrase by vector similarity.
22
+ 3. **Date range.** Cluster every document ingested in the given window.
23
+
24
+ If the owner names none of these, ask one question: "Which scope: a project, a topic phrase, or a date range?".
25
+
26
+ ## What it produces
27
+
28
+ For each cluster the skill produces a proposal:
29
+
30
+ - A name for the cluster (one short noun phrase, owner-domain language).
31
+ - A one-sentence description of what the documents in the cluster share.
32
+ - The list of source `:KnowledgeDocument` and `:Section` nodes (element IDs and human-readable titles).
33
+ - The proposed `:Concept` node properties and the `:RELATES_TO` edges from `:Concept` back to each source.
34
+
35
+ Present one row per cluster, in a numbered list. The owner picks one of three actions per row: **wire** (write the `:Concept` and the edges), **skip** (drop the proposal), or **rename** (the owner gives a different name; the skill re-proposes).
36
+
37
+ ## Method
38
+
39
+ 1. **Pull the candidate set.** Call `memory-search` for the topic phrase, or `mcp__graph__maxy-graph-read_neo4j_cypher` for a project or date range. Bound the set: never cluster more than 500 nodes in one run. If the set is larger, ask the owner to narrow.
40
+ 2. **Cluster by embedding similarity.** Use the existing embedding on each node. Group nodes whose pairwise similarity is above the cluster threshold (default 0.78). Clusters of one are surfaced separately as "isolated" rows the owner can wire as standalone concepts or skip.
41
+ 3. **Name each cluster.** Compose a one-line name from the highest-weighted terms shared across the cluster's sections. Never use a name that is just a copy of a document title; the name should generalise the cluster.
42
+ 4. **Present proposals.** One numbered row per cluster, in the format above.
43
+ 5. **Wait for owner decisions.** Apply each decision one at a time. Never auto-merge two clusters into one even if their names look similar; if the owner wants two clusters merged, they say so.
44
+
45
+ ## Writes
46
+
47
+ For each approved cluster:
48
+
49
+ ```
50
+ memory-write {
51
+ label: "Concept",
52
+ properties: { name, description, accountId, createdByAgent: "concept-synthesis", createdAt: datetime() },
53
+ parent: { elementId: <project-or-localbusiness-elementId>, edgeType: "PART_OF" },
54
+ relationships: [
55
+ { type: "RELATES_TO", direction: "out", target: <source elementId> }
56
+ ... one per source
57
+ ]
58
+ }
59
+ ```
60
+
61
+ If an approved cluster matches an existing `:Concept` node by name, ask the owner whether to merge into it or create a new one. Never silently overwrite.
62
+
63
+ ## Output to the operator
64
+
65
+ Return a short report:
66
+
67
+ - `<N>` clusters proposed, `<K>` approved, `<S>` skipped, `<R>` renamed.
68
+ - For each approved cluster: the cluster name, the count of `:RELATES_TO` edges written, and the new `:Concept` element ID.
69
+ - Any source nodes that could not be wired (e.g. because the source was deleted between proposal and approval), with the reason.
70
+
71
+ ## Failure modes
72
+
73
+ - **Candidate set too large.** Tell the owner the count and ask to narrow the scope. Do not proceed.
74
+ - **Embedding missing on a node.** Skip the node, list it in the report under "no embedding". Do not synthesise an embedding inline.
75
+ - **Owner approves the same cluster name twice in one run.** Treat the second as a merge request for the first; confirm.
76
+ - **`memory-write` failure mid-batch.** Stop. Report which clusters wired before the failure and which did not.
77
+
78
+ ## Owner discipline
79
+
80
+ The owner approves each cluster, not a batch. Approve-all is not a supported action. The single-row-at-a-time gate is the only path because the operator's intent is to curate the concept layer of the graph, and curation cannot be automated.
@@ -5,6 +5,8 @@ description: Source-agnostic ingest for conversation transcripts. One skill for
5
5
 
6
6
  # Conversation Archive — source-agnostic transcript ingestion
7
7
 
8
+ **Default parent.** Every `:ConversationArchive` is anchored to the operator-confirmed owner (`:AdminUser` for the account owner, `:Person` for a third-party archive). The owner's elementId is supplied to the bash entry as `--owner-element-id` and becomes the containment parent for the archive node. Per-session `:Section:Conversation` chunks attach to the archive via `:PART_OF`. Participant cross-edges from the archive to each distinct sender (`:Person` / `:AdminUser`) are added alongside the containment edge — they describe the conversation, they do not substitute for the parent.
9
+
8
10
  One skill, one bash entry, one writer. The pipeline is identical for every conversation source. The only source-specific code is the per-source normaliser (a pluggable function under [`platform/plugins/memory/mcp/src/lib/conversation-normalisers/`](../../mcp/src/lib/conversation-normalisers/)). New sources = a new normaliser file + an enum entry, never a new skill.
9
11
 
10
12
  ## Confirmed sources (Phase 0)
@@ -5,6 +5,8 @@ description: Universal document ingestion — maps any unstructured document (PD
5
5
 
6
6
  # Document Ingest
7
7
 
8
+ **Default parent.** Every `:KnowledgeDocument` (document mode) and `:ConversationArchive` (chat mode) is anchored to a `:Project` when the dispatch brief names one, or to the account's `:LocalBusiness` when the document is account-scoped rather than project-scoped. The admin agent's brief carries the parent elementId; `memory-ingest` refuses the write if the parent is missing or does not exist. Brief-named entity wiring (Persons, Organizations, Tasks) creates cross-hierarchy edges from the document — never substitutes for the containment parent.
9
+
8
10
  Ingests any unstructured input — documents (PDF, text, transcript, web page) and chat archives (WhatsApp `_chat.txt`) — into the graph. Every classified section becomes one `:Section` node. **Two parent shapes, one pipeline:**
9
11
 
10
12
  | Input shape | Parent label | Section secondary label | Identity property | mode |
@@ -10,6 +10,9 @@ tools:
10
10
  - schedule-export-ics
11
11
  - schedule-import-ics
12
12
  - time-resolve
13
+ skills:
14
+ - skills/daily-prep/SKILL.md
15
+ - skills/briefing/SKILL.md
13
16
  always: false
14
17
  embed: false
15
18
  metadata: {"platform":{}}
@@ -1,8 +1,12 @@
1
1
  /**
2
- * Cron script: check-due-events
2
+ * Dispatcher script: check-due-events
3
3
  *
4
- * Platform heartbeat runs every minute via cron. Finds events whose time
5
- * has arrived and marks them appropriately:
4
+ * Standalone dispatcher. Not fired automatically on a running install the
5
+ * installer-registered cron entry was removed in Task 039 and the replacement
6
+ * surface (Claude Code's desktop scheduled tasks, per maxy-code-prd.md
7
+ * §Scheduled tasks) is not yet wired. Until that lands, this binary runs only
8
+ * when invoked manually or by a future scheduled-task dispatcher. Finds events
9
+ * whose time has arrived and marks them appropriately:
6
10
  *
7
11
  * - One-time events: set eventStatus = 'due'
8
12
  * - Recurring events: set lastTriggered, advance nextRun, append trigger note
@@ -1 +1 @@
1
- {"version":3,"file":"check-due-events.d.ts","sourceRoot":"","sources":["../../src/scripts/check-due-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
1
+ {"version":3,"file":"check-due-events.d.ts","sourceRoot":"","sources":["../../src/scripts/check-due-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
@@ -1,8 +1,12 @@
1
1
  /**
2
- * Cron script: check-due-events
2
+ * Dispatcher script: check-due-events
3
3
  *
4
- * Platform heartbeat runs every minute via cron. Finds events whose time
5
- * has arrived and marks them appropriately:
4
+ * Standalone dispatcher. Not fired automatically on a running install the
5
+ * installer-registered cron entry was removed in Task 039 and the replacement
6
+ * surface (Claude Code's desktop scheduled tasks, per maxy-code-prd.md
7
+ * §Scheduled tasks) is not yet wired. Until that lands, this binary runs only
8
+ * when invoked manually or by a future scheduled-task dispatcher. Finds events
9
+ * whose time has arrived and marks them appropriately:
6
10
  *
7
11
  * - One-time events: set eventStatus = 'due'
8
12
  * - Recurring events: set lastTriggered, advance nextRun, append trigger note
@@ -1 +1 @@
1
- {"version":3,"file":"check-due-events.js","sourceRoot":"","sources":["../../src/scripts/check-due-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAsB,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,OAAO,E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AM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnC,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,sBAAsB,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACxF,WAAW,EAAE,CAAC;IACd,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: briefing
3
+ description: "Composes a one-screen daily briefing covering outstanding commitments, today's calendar with attendee context, the highest-priority open tasks, and overnight changes. Triggers when the owner says 'daily briefing', 'what's happening today', 'morning update', or 'brief me'."
4
+ ---
5
+
6
+ # Briefing
7
+
8
+ This skill produces the owner's daily reading pack. It pulls four signals from the graph and composes them into a single screen of output. It is read-only. It does not draft replies, schedule events, or mark tasks complete.
9
+
10
+ ## When to run
11
+
12
+ Run when the owner asks to be briefed on the day. The trigger phrases are above. The briefing is also the typical first message of a session, so the owner may not name the skill: when the system prompt carries a `<previous-context>` block and the owner opens with "morning" or similar, this skill is the right response.
13
+
14
+ ## Inputs
15
+
16
+ None required. Optional: a `topic` parameter that narrows the four sections to one project or one named person.
17
+
18
+ ## Method
19
+
20
+ The briefing has four sections, in this fixed order. Sections with no content collapse to one line ("nothing outstanding" rather than disappearing) so the owner sees that the skill checked.
21
+
22
+ ### 1. Outstanding commitments
23
+
24
+ Call `task-list` filtered to `status: open` AND (`dueDate <= today` OR `priority: high`). Order by due date ascending, then by priority. List the top five with one line each: title, due date, related entity. If more than five qualify, end the list with "+ N more open" and the total count.
25
+
26
+ ### 2. Today's calendar
27
+
28
+ Chain into `daily-prep` with `date: today`. Reproduce its chronological event list and the per-event context blocks. Length cap: collapse to event titles only if the briefing would otherwise exceed one screen.
29
+
30
+ ### 3. Open tasks ranked
31
+
32
+ Call `memory-rank` with `kind: task` and `limit: 5`. This returns the tasks the ranker considers most urgent given current context, with one-line reasoning per task. Reproduce the ranked list with its reasoning. Do not re-rank against memory-search results.
33
+
34
+ ### 4. Overnight changes
35
+
36
+ Two sub-pieces:
37
+
38
+ - **Messages awaiting reply.** Call `memory-search` for `:Message` nodes with `direction: inbound` and `repliedAt: null` since the owner's last active session. Count and list the top three by inferred priority (sender role, message length, named urgency).
39
+ - **Fresh inbox items.** Same query, scope it to messages that arrived since the previous session's end timestamp. List the count and the senders' names.
40
+
41
+ ## Output format
42
+
43
+ ```
44
+ ## Daily briefing
45
+
46
+ **Outstanding.** 3 commitments: invoice follow-up with Acme (due today), draft offer to Daniel Park (overdue 2 days), confirm photographer for 12 Park Road (due tomorrow). + 2 more open.
47
+
48
+ **Today.**
49
+ 08:30: Coffee with Alice Cohen
50
+ 09:30: Pricing review with the team
51
+ 14:00: Call with Daniel Park
52
+
53
+ (per-event context blocks if there is room, otherwise titles only)
54
+
55
+ **Priorities.** 1. Chase 14 Garth Road buyer's solicitor (mortgage offer expires in 6 days). 2. Approve the Acme intro draft (sat for 4 days). 3. Confirm the Cohen viewing slot (vendor has asked twice).
56
+
57
+ **Overnight.** 4 inbound messages awaiting reply (top: Cohen: viewing follow-up; Singh: pricing question; Park: booking confirmation; Webber: referral thanks). 2 fresh items in the inbox since last session: Cohen, Webber.
58
+ ```
59
+
60
+ ## One-screen cap
61
+
62
+ The whole briefing must fit in one screen. If any section would overflow, collapse it (event titles only, top-three not top-five, count plus example). Never spread the briefing across two screens; the operator's intent is a scannable pack, not a report.
63
+
64
+ ## Failure modes
65
+
66
+ - **`task-list` empty.** Section 1 collapses to "nothing outstanding".
67
+ - **`schedule-list` empty.** Section 2 collapses to "nothing in the diary today".
68
+ - **`memory-rank` returns fewer than five.** List what it returned; do not pad.
69
+ - **`profile-read` shows the owner has no `lastActiveSession`.** Section 4 collapses to "no prior session recorded" rather than reporting from training data.
70
+
71
+ ## What this skill does not do
72
+
73
+ - Draft replies to the inbound messages. The owner sees the count and the senders; if they want a draft, they ask and the right skill is loaded.
74
+ - Mark tasks complete or update priorities. Read-only.
75
+ - Speak in marketing voice or add encouragement. The owner reads the briefing for facts, not for cheerleading.