thoth-plugin 1.2.0 → 1.2.2

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 (69) hide show
  1. package/README.md +16 -0
  2. package/defaults/AGENTS.md +53 -0
  3. package/{dist/defaults/skill → defaults/skill/_legacy}/gardener/SKILL.md +243 -17
  4. package/defaults/skill/_legacy/onboarding/SKILL.md +207 -0
  5. package/defaults/skill/evening-close/SKILL.md +97 -0
  6. package/defaults/skill/mail-triage/SKILL.md +26 -0
  7. package/defaults/skill/morning-boot/SKILL.md +45 -0
  8. package/defaults/skill/slack-pulse/SKILL.md +26 -0
  9. package/defaults/skill/thought-router/SKILL.md +89 -0
  10. package/dist/cli.d.ts +0 -8
  11. package/dist/cli.js +70 -436
  12. package/dist/config/index.d.ts +1 -1
  13. package/dist/config/schema.d.ts +17 -0
  14. package/dist/defaults/skill/_legacy/cal-grid/SKILL.md +16 -0
  15. package/dist/defaults/skill/_legacy/capsule-init/SKILL.md +102 -0
  16. package/dist/defaults/skill/_legacy/cross-linker/SKILL.md +357 -0
  17. package/dist/defaults/skill/_legacy/email-draft/skill.md +134 -0
  18. package/dist/defaults/skill/_legacy/gardener/SKILL.md +509 -0
  19. package/dist/defaults/skill/_legacy/gardener/confidence-tiers.md +142 -0
  20. package/dist/defaults/skill/_legacy/gardener/repair-workflow.md +170 -0
  21. package/dist/defaults/skill/_legacy/google-chat-scan/SKILL.md +135 -0
  22. package/dist/defaults/skill/_legacy/handover/SKILL.md +18 -0
  23. package/dist/defaults/skill/_legacy/interview-prep/SKILL.md +23 -0
  24. package/dist/defaults/skill/_legacy/leadership-coach/SKILL.md +167 -0
  25. package/dist/defaults/skill/_legacy/link-retrofit/SKILL.md +345 -0
  26. package/dist/defaults/skill/_legacy/onboarding/SKILL.md +207 -0
  27. package/dist/defaults/skill/_legacy/post-meeting-drill/SKILL.md +485 -0
  28. package/dist/defaults/skill/_legacy/restore-environment/SKILL.md +30 -0
  29. package/dist/defaults/skill/_legacy/scorecard-synthesis/SKILL.md +26 -0
  30. package/dist/defaults/skill/_legacy/skill-generator/SKILL.md +362 -0
  31. package/dist/defaults/skill/_legacy/skill-generator/testing-protocol.md +158 -0
  32. package/dist/defaults/skill/_legacy/system-init/SKILL.md +103 -0
  33. package/dist/defaults/skill/evening-close/SKILL.md +6 -7
  34. package/dist/defaults/skill/mail-triage/SKILL.md +11 -8
  35. package/dist/defaults/skill/morning-boot/SKILL.md +26 -87
  36. package/dist/defaults/skill/slack-pulse/SKILL.md +11 -7
  37. package/dist/defaults/skill/thought-router/SKILL.md +10 -8
  38. package/dist/index.js +11316 -2308
  39. package/dist/schemas/skill.d.ts +96 -0
  40. package/dist/sdk/index.d.ts +4 -0
  41. package/dist/sdk/sentinel-service.d.ts +71 -0
  42. package/dist/sdk/skill-runner.d.ts +21 -0
  43. package/dist/sdk/thoth-client.d.ts +51 -0
  44. package/dist/sdk/workflows/calendar-watcher.d.ts +2 -0
  45. package/dist/sdk/workflows/inbox-watcher.d.ts +2 -0
  46. package/dist/sdk/workflows/index.d.ts +4 -0
  47. package/dist/sdk/workflows/system-watcher.d.ts +2 -0
  48. package/dist/sdk/workflows/task-watcher.d.ts +2 -0
  49. package/dist/services/index.d.ts +1 -0
  50. package/dist/services/skill-registry.d.ts +23 -0
  51. package/dist/tools/skill/tools.d.ts +2 -1
  52. package/package.json +8 -3
  53. /package/{dist/defaults/skill → defaults/skill/_legacy}/cal-grid/SKILL.md +0 -0
  54. /package/{dist/defaults/skill → defaults/skill/_legacy}/capsule-init/SKILL.md +0 -0
  55. /package/{dist/defaults/skill → defaults/skill/_legacy}/cross-linker/SKILL.md +0 -0
  56. /package/{dist/defaults/skill → defaults/skill/_legacy}/email-draft/skill.md +0 -0
  57. /package/{dist/defaults/skill → defaults/skill/_legacy}/gardener/confidence-tiers.md +0 -0
  58. /package/{dist/defaults/skill → defaults/skill/_legacy}/gardener/repair-workflow.md +0 -0
  59. /package/{dist/defaults/skill → defaults/skill/_legacy}/google-chat-scan/SKILL.md +0 -0
  60. /package/{dist/defaults/skill → defaults/skill/_legacy}/handover/SKILL.md +0 -0
  61. /package/{dist/defaults/skill → defaults/skill/_legacy}/interview-prep/SKILL.md +0 -0
  62. /package/{dist/defaults/skill → defaults/skill/_legacy}/leadership-coach/SKILL.md +0 -0
  63. /package/{dist/defaults/skill → defaults/skill/_legacy}/link-retrofit/SKILL.md +0 -0
  64. /package/{dist/defaults/skill → defaults/skill/_legacy}/post-meeting-drill/SKILL.md +0 -0
  65. /package/{dist/defaults/skill → defaults/skill/_legacy}/restore-environment/SKILL.md +0 -0
  66. /package/{dist/defaults/skill → defaults/skill/_legacy}/scorecard-synthesis/SKILL.md +0 -0
  67. /package/{dist/defaults/skill → defaults/skill/_legacy}/skill-generator/SKILL.md +0 -0
  68. /package/{dist/defaults/skill → defaults/skill/_legacy}/skill-generator/testing-protocol.md +0 -0
  69. /package/{dist/defaults/skill → defaults/skill/_legacy}/system-init/SKILL.md +0 -0
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: morning-boot
3
+ version: 1.0.0
4
+ description: Operational mode (e.g. 'deep-work', 'maintenance')
5
+ triggers:
6
+ inputs:
7
+ - name: mode
8
+ type: markdown
9
+ required: false
10
+ default: auto
11
+ output:
12
+ created: 2026-01-09
13
+ updated: 2026-01-09
14
+ ---
15
+
16
+ # Morning Boot Skill
17
+
18
+ You are the **Daily Operations Orchestrator**. Your goal is to gather all context, synthesize it, and create the user's "Living Document" for the day.
19
+
20
+ ## Execution Method
21
+
22
+ This skill uses **OpenProse** for multi-agent orchestration.
23
+
24
+ **To execute this workflow:**
25
+
26
+ 1. Load the OpenProse skill: `/open-prose`
27
+ 2. Execute the workflow: `/prose-run kernel/workflows/morning-boot.prose`
28
+
29
+ The OpenProse workflow handles:
30
+ - Parallel email, calendar, and Slack scans
31
+ - Operational mode detection
32
+ - Deep work block identification
33
+ - Complexity budget calculation
34
+ - Daily log synthesis
35
+ - Final briefing
36
+
37
+ ## Workflow Location
38
+
39
+ `kernel/workflows/morning-boot.prose`
40
+
41
+ ## Technical Constraints
42
+
43
+ - **Trust Level**: This skill requires Trust Level 2+ for email/calendar access.
44
+ - **OpenProse Required**: The open-prose skill must be available.
45
+ - **Privacy**: Never store raw email/message content in logs - only summaries and action items.
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: slack-pulse
3
+ version: 1.0.0
4
+ description: Lookback window in hours
5
+ triggers:
6
+ inputs:
7
+ - name: hours
8
+ type: markdown
9
+ required: false
10
+ default: 4
11
+ output:
12
+ created: 2026-01-09
13
+ updated: 2026-01-09
14
+ ---
15
+
16
+ # Slack Pulse Skill
17
+
18
+ You are the Real-Time Pulse Monitor for Zeus's Chief of Staff.
19
+
20
+ ## Protocol Execution
21
+
22
+ 1. **Read Master Instructions**: Load the full protocol from `kernel/Agents/slack-pulse.md`.
23
+ 2. **Execute**: Follow the protocol exactly as defined in the master file.
24
+ 3. **Synthesize**: Provide the pulse report and the required raw data block.
25
+
26
+ **MANDATORY**: Ensure the output includes the `## SCAN_DATA_START` and `## SCAN_DATA_END` markers as specified in the master instructions.
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: thought-router
3
+ version: 1.0.0
4
+ description: The thought(s) to capture
5
+ triggers:
6
+ inputs:
7
+ - name: content
8
+ type: markdown
9
+ required: true
10
+ output:
11
+ created: 2026-01-09
12
+ updated: 2026-01-09
13
+ ---
14
+
15
+ # Thought Router Skill
16
+
17
+ You are the **Thought Router**. Your purpose is to take unstructured "Brain Dumps" and route them to their correct home in Thoth's hemisphere system.
18
+
19
+ ## Protocol Execution
20
+
21
+ ### Step 1: Atomic Decomposition
22
+
23
+ Break the user's input into atomic, standalone items.
24
+
25
+ **Example**:
26
+ - *Input*: "Remind Sarah about the project deadline and I need to schedule a dentist appointment."
27
+ - *Atomic 1*: "Remind Sarah about project deadline."
28
+ - *Atomic 2*: "Schedule dentist appointment."
29
+
30
+ ### Step 2: Hemisphere Classification
31
+
32
+ For each atomic item, determine the Domain:
33
+
34
+ | Hemisphere | Description | Examples |
35
+ |------------|-------------|----------|
36
+ | **WORK** | Professional life | Projects, colleagues, stakeholders, career, meetings |
37
+ | **LIFE** | Personal life | Health, relationships, home, finances, hobbies |
38
+ | **CODING** | Technical work | Code tasks, bugs, features, technical decisions |
39
+
40
+ ### Step 3: Routing Logic
41
+
42
+ **For WORK Items:**
43
+ 1. **Search**: Use `grep` for relevant keywords (e.g., person name, project name) in `work/`.
44
+ 2. **Match Found?**
45
+ - Yes: Append to that file (e.g., `work/people/sarah.md`) using **Smart Merge** (add to `## Open Topics` or `## Notes`).
46
+ - No: Append to `work/inbox/dump.md`.
47
+
48
+ **For LIFE Items:**
49
+ 1. **Search**: Use `grep` for keywords in `life/`.
50
+ 2. **Match Found?**
51
+ - Yes: Append to that file.
52
+ - No: Append to `life/inbox/dump.md`.
53
+
54
+ **For CODING Items:**
55
+ 1. **Search**: Use `grep` for keywords in `coding/`.
56
+ 2. **Match Found?**
57
+ - Yes: Append to that file.
58
+ - No: Append to `coding/inbox/dump.md`.
59
+
60
+ ### Step 4: Smart Merge Rules
61
+
62
+ When appending to existing files:
63
+ - **Never overwrite** existing content
64
+ - **Add date stamp** to new entries: `### YYYY-MM-DD`
65
+ - **Append to appropriate section**:
66
+ - People files → `## Notes` or `## Open Topics`
67
+ - Project files → `## Tasks` or `## Notes`
68
+ - Area files → `## Log`
69
+
70
+ ### Step 5: Execution
71
+
72
+ 1. Perform the writes.
73
+ 2. Output a summary table of where items went.
74
+
75
+ ## Example Output
76
+
77
+ | Item | Hemisphere | Destination | Action |
78
+ |:-----|:-----------|:------------|:-------|
79
+ | "Sarah project deadline" | WORK | `work/people/sarah.md` | Appended to Open Topics |
80
+ | "Dentist appointment" | LIFE | `life/inbox/dump.md` | Captured |
81
+
82
+ ---
83
+
84
+ ## Technical Constraints
85
+
86
+ - **Trust Level**: Requires Level 2+ for file writes.
87
+ - **Speed**: This is a quick-capture tool. Don't over-analyze - route fast.
88
+ - **Ambiguity**: If unclear which hemisphere, ask user: "Is this work or personal?"
89
+ - **Smart Merge**: Always append with date stamp, never overwrite.
package/dist/cli.d.ts CHANGED
@@ -1,10 +1,2 @@
1
1
  #!/usr/bin/env node
2
- /**
3
- * Thoth CLI - Knowledge Base Management
4
- *
5
- * Usage:
6
- * npx thoth-plugin init [path]
7
- * npx thoth-plugin skill update [path]
8
- * npx thoth-plugin skill list
9
- */
10
2
  export {};