limixbot 0.3.144 → 0.3.145

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 (148) hide show
  1. package/dist/assets/{ActivityPanel-CrYENAiU.js → ActivityPanel-CqObZQbN.js} +1 -1
  2. package/dist/assets/{App-Dj2OBmtt.js → App-DcG1JmK6.js} +126 -126
  3. package/dist/assets/{AppEventEditor-gxH_1Ar3.js → AppEventEditor-DR01sHAK.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-BLJJjwSm.js → BotSettingsDialog-BHgSIU9E.js} +1 -1
  5. package/dist/assets/{BrowserPanel-Bvvi5USq.js → BrowserPanel-g96rlnqQ.js} +1 -1
  6. package/dist/assets/{BrowserProfilesManager-Bx9aQcsZ.js → BrowserProfilesManager-UJJC6OPf.js} +1 -1
  7. package/dist/assets/{CloudAddDialog-GRMmD1PH.js → CloudAddDialog-BjPYPhnk.js} +1 -1
  8. package/dist/assets/{ComputerFilesPane-DSRwnaSR.js → ComputerFilesPane-DA7MBSD0.js} +1 -1
  9. package/dist/assets/{ComputerPanel-wq3kIb8f.js → ComputerPanel--rY7_KCN.js} +2 -2
  10. package/dist/assets/{DataPanel-DV2g9pXG.js → DataPanel-CEhe1WKo.js} +1 -1
  11. package/dist/assets/{DesktopViewer-CiOyDjp2.js → DesktopViewer-RNuariIo.js} +1 -1
  12. package/dist/assets/{GrokMoveDialog-FR2OVMMz.js → GrokMoveDialog-DoUN6m5b.js} +1 -1
  13. package/dist/assets/{InspectorPanel-mxL-KZjY.js → InspectorPanel-CdCXUouJ.js} +1 -1
  14. package/dist/assets/{KeyboardShortcutsModal-CsQmq_9_.js → KeyboardShortcutsModal-CZ-BQqzV.js} +1 -1
  15. package/dist/assets/{LimixResizeHandles-ClndHIVB.js → LimixResizeHandles-BUe_6hSJ.js} +1 -1
  16. package/dist/assets/{LiveDesktop-DCKwqLP9.js → LiveDesktop-BnaxuTzU.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-BCMs7-gb.js → LocalVmWorkspace-X1ev9Wov.js} +1 -1
  18. package/dist/assets/{MacLocalControl-CwjfScEy.js → MacLocalControl-RXW-1ET9.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-CaeS40V0.js → MarkdownFilePreview-CIYTKbNj.js} +1 -1
  20. package/dist/assets/{MenuMotion-CJ3EL6xi.js → MenuMotion-C-qcisoG.js} +1 -1
  21. package/dist/assets/{NewBotDialog-RNeSqI8-.js → NewBotDialog-D_22AmDd.js} +1 -1
  22. package/dist/assets/{PhoneAppDialog-Dl-Oqycr.js → PhoneAppDialog-WOhzSF82.js} +1 -1
  23. package/dist/assets/{PlacesRail-owo7-LYs.js → PlacesRail-DoUGQSpd.js} +1 -1
  24. package/dist/assets/{PluginsPanel-Cg76nJ1A.js → PluginsPanel-DxM_qWtC.js} +1 -1
  25. package/dist/assets/{ProIntroduction-C6uHGrCp.js → ProIntroduction-CQFDxYxi.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-DCN59v5s.js → RemoteAgentSettingsPanel-CdQmz7Qu.js} +1 -1
  27. package/dist/assets/{RoomPanel-BH0Ez1ZP.js → RoomPanel-DVsYTCX7.js} +1 -1
  28. package/dist/assets/{RoutinesPage-DcsuJSZ5.js → RoutinesPage-DG30sQw7.js} +1 -1
  29. package/dist/assets/SettingsModal-BFeWJ1OS.js +20 -0
  30. package/dist/assets/{ShareTeamDialog-Cc09Z3Z0.js → ShareTeamDialog-BLddRjax.js} +1 -1
  31. package/dist/assets/{SignedInSites-BKvtcP9R.js → SignedInSites-BREmZ6gH.js} +1 -1
  32. package/dist/assets/{TeamLibraryPanel-DmI0uUU4.js → TeamLibraryPanel-Sg1D_gYP.js} +1 -1
  33. package/dist/assets/{TeamMapPage-BaWXBh9B.js → TeamMapPage-CP7ug7dF.js} +1 -1
  34. package/dist/assets/{TriggersPage-Cdqun-xU.js → TriggersPage-DmY-ibGg.js} +1 -1
  35. package/dist/assets/{VisibilitySection-sUFpuNQB.js → VisibilitySection-BqQTMT_O.js} +1 -1
  36. package/dist/assets/{WebhookTrigger-v5RpShRD.js → WebhookTrigger-Bk2khhKt.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-BAnzgrBN.js → WorksOnGrid-BhZTjLmG.js} +1 -1
  38. package/dist/assets/{abnfDiagram-YUKMZFIV-BShIKw4N.js → abnfDiagram-YUKMZFIV-4h66COg4.js} +1 -1
  39. package/dist/assets/{activity-Dg86AW-Y.js → activity-JVyqvn--.js} +1 -1
  40. package/dist/assets/{architectureDiagram-47P4ROYG-CmJg21RW.js → architectureDiagram-47P4ROYG-XVFtgz_w.js} +1 -1
  41. package/dist/assets/{blockDiagram-E7TT5TSB-Aj1hwdGc.js → blockDiagram-E7TT5TSB-Bzpnrunu.js} +1 -1
  42. package/dist/assets/{c4Diagram-CRA5TL53-DW8z1IzA.js → c4Diagram-CRA5TL53-Baf7lWcX.js} +1 -1
  43. package/dist/assets/{calendar-days-uny4AeNj.js → calendar-days-DJ8Sk4Wo.js} +1 -1
  44. package/dist/assets/channel-DJthUr0W.js +1 -0
  45. package/dist/assets/{chunk-2Q5K7J3B-Td582DAI.js → chunk-2Q5K7J3B-C01NJDuW.js} +1 -1
  46. package/dist/assets/{chunk-5VM5RSS4-DcogMbBa.js → chunk-5VM5RSS4-zCxCK82Z.js} +1 -1
  47. package/dist/assets/{chunk-7TKQ45FW-C3iGtJOF.js → chunk-7TKQ45FW-Dn3xzwzp.js} +1 -1
  48. package/dist/assets/{chunk-AW2ZBBNX-CrMPDJa8.js → chunk-AW2ZBBNX-D5v1LEvi.js} +1 -1
  49. package/dist/assets/{chunk-FVRAUYC3-o1j5js-h.js → chunk-FVRAUYC3-B_j2BQfP.js} +2 -2
  50. package/dist/assets/{chunk-HTAEGDNF-11Po0gGl.js → chunk-HTAEGDNF-CYEfb4lj.js} +1 -1
  51. package/dist/assets/{chunk-JWPE2WC7-DNNG2IRB.js → chunk-JWPE2WC7-DYxCqsdI.js} +1 -1
  52. package/dist/assets/{chunk-KQW6MTUR-8bqxTMty.js → chunk-KQW6MTUR-BVs1owNv.js} +1 -1
  53. package/dist/assets/{chunk-XXDRQBXY-nBGQqm9O.js → chunk-XXDRQBXY-oNREPc9w.js} +1 -1
  54. package/dist/assets/{classDiagram-v2-K4WV4PDN-tyTV-26Y.js → classDiagram-v2-K4WV4PDN-B8JOWdQM.js} +1 -1
  55. package/dist/assets/{coins-9fYbHf4u.js → coins-D-zVxeJ6.js} +1 -1
  56. package/dist/assets/{core-B0Jv62Pr.js → core-DGyt94O8.js} +1 -1
  57. package/dist/assets/{cose-bilkent-JH36ORCC-B3N4BJ97.js → cose-bilkent-JH36ORCC-Cvvvdg2x.js} +1 -1
  58. package/dist/assets/{cynefin-EF2NZ3EQ-CkGBluyX.js → cynefin-EF2NZ3EQ-BlyJPVpP.js} +1 -1
  59. package/dist/assets/{cynefinDiagram-3GCD6N5R-Cw7BUT2F.js → cynefinDiagram-3GCD6N5R-aXWhkS0N.js} +1 -1
  60. package/dist/assets/{dagre-W4DXFKR2-D0Adi0WD.js → dagre-W4DXFKR2-CK9mZlxS.js} +1 -1
  61. package/dist/assets/{diagram-2UJZ2QOL-DglYBdi-.js → diagram-2UJZ2QOL-ciDDPAUW.js} +1 -1
  62. package/dist/assets/{diagram-OVF4WLC6-BCESoOTI.js → diagram-OVF4WLC6-ZC2XGXAQ.js} +1 -1
  63. package/dist/assets/{diagram-PFPMY2P6-CJPe3Aln.js → diagram-PFPMY2P6-B_UNW8Y1.js} +1 -1
  64. package/dist/assets/{diagram-UMYRVEAY-dihXhKwO.js → diagram-UMYRVEAY-BzqwG15l.js} +1 -1
  65. package/dist/assets/{diagram-YEKJPTXX-fMI2BfDq.js → diagram-YEKJPTXX-f7zBrJwE.js} +1 -1
  66. package/dist/assets/{diagram-ZIFT7M5P-BsyTuxHx.js → diagram-ZIFT7M5P-QClomp2E.js} +1 -1
  67. package/dist/assets/{ebnfDiagram-VR2GEFS7-DqUUqK6O.js → ebnfDiagram-VR2GEFS7-BwcmIXBL.js} +1 -1
  68. package/dist/assets/{elk-IJKZMXRS-CInxAtfn.js → elk-IJKZMXRS-DPv8qzg-.js} +1 -1
  69. package/dist/assets/{erDiagram-O2IAPWRE-CtLhNkB3.js → erDiagram-O2IAPWRE-BHknllso.js} +1 -1
  70. package/dist/assets/{file-up-0W3zPN3C.js → file-up-B5lQ3tIu.js} +1 -1
  71. package/dist/assets/{flowDiagram-OXPTDLAJ-CSJXQyPz.js → flowDiagram-OXPTDLAJ-LwDo9oFR.js} +1 -1
  72. package/dist/assets/{ganttDiagram-R7TSEDQI-BxPwhRE_.js → ganttDiagram-R7TSEDQI-DDXQuF2p.js} +1 -1
  73. package/dist/assets/{gitGraphDiagram-XJZIOB7I-B7_5GQWX.js → gitGraphDiagram-XJZIOB7I-DxAL8MxK.js} +1 -1
  74. package/dist/assets/{import-name-DrBUVupF.js → import-name-fUZKEQiu.js} +1 -1
  75. package/dist/assets/{index-Bn-z4IV4.js → index-Bb6OwohQ.js} +1 -1
  76. package/dist/assets/{index-C0jCIcYX.js → index-C_1rKgRm.js} +3 -3
  77. package/dist/assets/{infoDiagram-5W2HQ5XZ-DTe4tqre.js → infoDiagram-5W2HQ5XZ-BxZNIlp6.js} +1 -1
  78. package/dist/assets/{ishikawaDiagram-K3B6WC7H-D_lFS_pL.js → ishikawaDiagram-K3B6WC7H-C6c1u1w2.js} +1 -1
  79. package/dist/assets/{journeyDiagram-COXZFDF6-BWwkG9Wu.js → journeyDiagram-COXZFDF6-BrngL-3X.js} +1 -1
  80. package/dist/assets/{kanban-definition-P3RFRI5V-yY-GGfzv.js → kanban-definition-P3RFRI5V-BhTOtF-B.js} +1 -1
  81. package/dist/assets/{mermaid.core-DH28Cv2M.js → mermaid.core-Cy9_uq1T.js} +4 -4
  82. package/dist/assets/{mindmap-definition-LZFPQGKD--BlKMUpH.js → mindmap-definition-LZFPQGKD-Dr3QB9wA.js} +1 -1
  83. package/dist/assets/{minimize-Cub3T_xk.js → minimize-Ct6C2khA.js} +1 -1
  84. package/dist/assets/{monitor-Bt-Nw5iC.js → monitor-BZrhga_j.js} +1 -1
  85. package/dist/assets/{new-bot-LM10NxOy.js → new-bot-DCA0S24E.js} +1 -1
  86. package/dist/assets/{org-library-B1h1amih.js → org-library-DgVAGwBY.js} +1 -1
  87. package/dist/assets/{package-format-Bwu7wqXD.js → package-format-BvWgfqGs.js} +1 -1
  88. package/dist/assets/{pegDiagram-BGZESJAR-xNMFigxg.js → pegDiagram-BGZESJAR-D0bSaHqd.js} +1 -1
  89. package/dist/assets/{pieDiagram-CAPJLFHJ-BeqCVqVc.js → pieDiagram-CAPJLFHJ-B8i7ox8l.js} +1 -1
  90. package/dist/assets/{quadrantDiagram-GDMTTRAM-BcXtvC07.js → quadrantDiagram-GDMTTRAM-BcJTpsdR.js} +1 -1
  91. package/dist/assets/{rail-Bh9Kz5ar.js → rail-Bzq4BbCt.js} +1 -1
  92. package/dist/assets/{railroadDiagram-SM67HX2B-BBvW1QlX.js → railroadDiagram-SM67HX2B-DSO-XOKW.js} +1 -1
  93. package/dist/assets/{remote-desktop-panel-DmbkLg0E.js → remote-desktop-panel-BVRS7AXc.js} +1 -1
  94. package/dist/assets/{requirementDiagram-X7JNWC4A-CJW-jnaM.js → requirementDiagram-X7JNWC4A-B5gEynme.js} +1 -1
  95. package/dist/assets/{sankeyDiagram-UM26HJRW-DM75AxXv.js → sankeyDiagram-UM26HJRW-CK2T6Pgm.js} +1 -1
  96. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-C89f2OJQ.js → sequenceDiagram-ZO4K6R2Y-Dx9DVGEG.js} +1 -1
  97. package/dist/assets/{sizeCapture-INFHLROL-FvDzKQKk.js → sizeCapture-INFHLROL-BbirmlCW.js} +1 -1
  98. package/dist/assets/{stateDiagram-v2-TBUQTH76-CBLS4xm0.js → stateDiagram-v2-TBUQTH76-CuJOlmiS.js} +1 -1
  99. package/dist/assets/{styles-Pta9BaPs.css → styles-CE5PtWhb.css} +1 -1
  100. package/dist/assets/{swimlanes-N4OXWK64-0bIYZbSm.js → swimlanes-N4OXWK64-BWFqBYF_.js} +1 -1
  101. package/dist/assets/swimlanesDiagram-K3J5GTZL-BjpCZGc-.js +8 -0
  102. package/dist/assets/{team-share-DLeRlsAM.js → team-share-1e1FK9fo.js} +1 -1
  103. package/dist/assets/{timeline-definition-YOQAKGHF-D90qmKgS.js → timeline-definition-YOQAKGHF-CzxPBKDi.js} +1 -1
  104. package/dist/assets/{usecaseDiagram-VIAY4XPW-ZU4U3uEB.js → usecaseDiagram-VIAY4XPW-B5-pXbU3.js} +1 -1
  105. package/dist/assets/{vennDiagram-BLWOH2XV-DaL2hish.js → vennDiagram-BLWOH2XV-BccL1p-U.js} +1 -1
  106. package/dist/assets/{wardleyDiagram-YMQ3BMBF-idgSzgFw.js → wardleyDiagram-YMQ3BMBF-DdJ9Pves.js} +1 -1
  107. package/dist/assets/{xychartDiagram-TAQBALBS-Dux_Zrd0.js → xychartDiagram-TAQBALBS-BAg7I3YQ.js} +1 -1
  108. package/dist/index.html +3 -3
  109. package/dist/rail.html +5 -5
  110. package/dist-server/index.js +1872 -1851
  111. package/dist-server/package.json +1 -1
  112. package/dist-server/server/cloud-codex-session.js +135 -0
  113. package/dist-server/server/cloud-connections.js +1 -0
  114. package/dist-server/server/index.js +9 -0
  115. package/dist-server/server/limix-skill-store.js +7 -0
  116. package/dist-server/server/routes/cloud-codex-session.js +47 -0
  117. package/dist-server/server/routes/config.js +50 -1
  118. package/package.json +1 -1
  119. package/skills/defuddle/LICENSE +21 -0
  120. package/skills/defuddle/SKILL.md +58 -0
  121. package/skills/defuddle/manifest.json +21 -0
  122. package/skills/json-canvas/LICENSE +21 -0
  123. package/skills/json-canvas/SKILL.md +265 -0
  124. package/skills/json-canvas/manifest.json +22 -0
  125. package/skills/json-canvas/references/EXAMPLES.md +329 -0
  126. package/skills/knap/LICENSE +21 -0
  127. package/skills/knap/SKILL.md +120 -0
  128. package/skills/knap/manifest.json +22 -0
  129. package/skills/obsidian-bases/LICENSE +21 -0
  130. package/skills/obsidian-bases/SKILL.md +619 -0
  131. package/skills/obsidian-bases/manifest.json +22 -0
  132. package/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md +173 -0
  133. package/skills/obsidian-cli/LICENSE +21 -0
  134. package/skills/obsidian-cli/SKILL.md +158 -0
  135. package/skills/obsidian-cli/manifest.json +21 -0
  136. package/skills/obsidian-headless/LICENSE +21 -0
  137. package/skills/obsidian-headless/SKILL.md +92 -0
  138. package/skills/obsidian-headless/manifest.json +23 -0
  139. package/skills/obsidian-markdown/LICENSE +21 -0
  140. package/skills/obsidian-markdown/SKILL.md +210 -0
  141. package/skills/obsidian-markdown/manifest.json +22 -0
  142. package/skills/obsidian-markdown/references/CALLOUTS.md +58 -0
  143. package/skills/obsidian-markdown/references/EMBEDS.md +70 -0
  144. package/skills/obsidian-markdown/references/PROPERTIES.md +63 -0
  145. package/dist/assets/SettingsModal-DgOXp8w3.js +0 -20
  146. package/dist/assets/channel-DI3JBS-g.js +0 -1
  147. package/dist/assets/swimlanesDiagram-K3J5GTZL-BDfw8Tlz.js +0 -8
  148. /package/dist/assets/{styles-B38kYzzJ.js → styles-CLQR3ehf.js} +0 -0
@@ -0,0 +1,173 @@
1
+ # Functions Reference
2
+
3
+ ## Global Functions
4
+
5
+ | Function | Signature | Description |
6
+ |----------|-----------|-------------|
7
+ | `date()` | `date(string): date` | Parse string to date. Format: `YYYY-MM-DD HH:mm:ss` |
8
+ | `duration()` | `duration(string): duration` | Parse duration string |
9
+ | `now()` | `now(): date` | Current date and time |
10
+ | `today()` | `today(): date` | Current date (time = 00:00:00) |
11
+ | `if()` | `if(condition, trueResult, falseResult?)` | Conditional |
12
+ | `min()` | `min(n1, n2, ...): number` | Smallest number |
13
+ | `max()` | `max(n1, n2, ...): number` | Largest number |
14
+ | `number()` | `number(any): number` | Convert to number |
15
+ | `link()` | `link(path, display?): Link` | Create a link |
16
+ | `list()` | `list(element): List` | Wrap in list if not already |
17
+ | `file()` | `file(path): file` | Get file object |
18
+ | `image()` | `image(path): image` | Create image for rendering |
19
+ | `icon()` | `icon(name): icon` | Lucide icon by name |
20
+ | `html()` | `html(string): html` | Render as HTML |
21
+ | `escapeHTML()` | `escapeHTML(string): string` | Escape HTML characters |
22
+
23
+ ## Any Type Functions
24
+
25
+ | Function | Signature | Description |
26
+ |----------|-----------|-------------|
27
+ | `isTruthy()` | `any.isTruthy(): boolean` | Coerce to boolean |
28
+ | `isType()` | `any.isType(type): boolean` | Check type |
29
+ | `toString()` | `any.toString(): string` | Convert to string |
30
+
31
+ ## Date Functions & Fields
32
+
33
+ **Fields:** `date.year`, `date.month`, `date.day`, `date.hour`, `date.minute`, `date.second`, `date.millisecond`
34
+
35
+ | Function | Signature | Description |
36
+ |----------|-----------|-------------|
37
+ | `date()` | `date.date(): date` | Remove time portion |
38
+ | `format()` | `date.format(string): string` | Format with Moment.js pattern |
39
+ | `time()` | `date.time(): string` | Get time as string |
40
+ | `relative()` | `date.relative(): string` | Human-readable relative time |
41
+ | `isEmpty()` | `date.isEmpty(): boolean` | Always false for dates |
42
+
43
+ ## Duration Type
44
+
45
+ When subtracting two dates, the result is a **Duration** type (not a number). Duration has its own properties and methods.
46
+
47
+ **Duration Fields:**
48
+ | Field | Type | Description |
49
+ |-------|------|-------------|
50
+ | `duration.days` | Number | Total days in duration |
51
+ | `duration.hours` | Number | Total hours in duration |
52
+ | `duration.minutes` | Number | Total minutes in duration |
53
+ | `duration.seconds` | Number | Total seconds in duration |
54
+ | `duration.milliseconds` | Number | Total milliseconds in duration |
55
+
56
+ **IMPORTANT:** Duration does NOT support `.round()`, `.floor()`, `.ceil()` directly. You must access a numeric field first (like `.days`), then apply number functions.
57
+
58
+ ```yaml
59
+ # CORRECT: Calculate days between dates
60
+ "(date(due_date) - today()).days" # Returns number of days
61
+ "(now() - file.ctime).days" # Days since created
62
+
63
+ # CORRECT: Round the numeric result if needed
64
+ "(date(due_date) - today()).days.round(0)" # Rounded days
65
+ "(now() - file.ctime).hours.round(0)" # Rounded hours
66
+
67
+ # WRONG - will cause error:
68
+ # "((date(due) - today()) / 86400000).round(0)" # Duration doesn't support division then round
69
+ ```
70
+
71
+ ## Date Arithmetic
72
+
73
+ ```yaml
74
+ # Duration units: y/year/years, M/month/months, d/day/days,
75
+ # w/week/weeks, h/hour/hours, m/minute/minutes, s/second/seconds
76
+
77
+ # Add/subtract durations
78
+ "date + \"1M\"" # Add 1 month
79
+ "date - \"2h\"" # Subtract 2 hours
80
+ "now() + \"1 day\"" # Tomorrow
81
+ "today() + \"7d\"" # A week from today
82
+
83
+ # Subtract dates returns Duration type
84
+ "now() - file.ctime" # Returns Duration
85
+ "(now() - file.ctime).days" # Get days as number
86
+ "(now() - file.ctime).hours" # Get hours as number
87
+
88
+ # Complex duration arithmetic
89
+ "now() + (duration('1d') * 2)"
90
+ ```
91
+
92
+ ## String Functions
93
+
94
+ **Field:** `string.length`
95
+
96
+ | Function | Signature | Description |
97
+ |----------|-----------|-------------|
98
+ | `contains()` | `string.contains(value): boolean` | Check substring |
99
+ | `containsAll()` | `string.containsAll(...values): boolean` | All substrings present |
100
+ | `containsAny()` | `string.containsAny(...values): boolean` | Any substring present |
101
+ | `startsWith()` | `string.startsWith(query): boolean` | Starts with query |
102
+ | `endsWith()` | `string.endsWith(query): boolean` | Ends with query |
103
+ | `isEmpty()` | `string.isEmpty(): boolean` | Empty or not present |
104
+ | `lower()` | `string.lower(): string` | To lowercase |
105
+ | `title()` | `string.title(): string` | To Title Case |
106
+ | `trim()` | `string.trim(): string` | Remove whitespace |
107
+ | `replace()` | `string.replace(pattern, replacement): string` | Replace pattern |
108
+ | `repeat()` | `string.repeat(count): string` | Repeat string |
109
+ | `reverse()` | `string.reverse(): string` | Reverse string |
110
+ | `slice()` | `string.slice(start, end?): string` | Substring |
111
+ | `split()` | `string.split(separator, n?): list` | Split to list |
112
+
113
+ ## Number Functions
114
+
115
+ | Function | Signature | Description |
116
+ |----------|-----------|-------------|
117
+ | `abs()` | `number.abs(): number` | Absolute value |
118
+ | `ceil()` | `number.ceil(): number` | Round up |
119
+ | `floor()` | `number.floor(): number` | Round down |
120
+ | `round()` | `number.round(digits?): number` | Round to digits |
121
+ | `toFixed()` | `number.toFixed(precision): string` | Fixed-point notation |
122
+ | `isEmpty()` | `number.isEmpty(): boolean` | Not present |
123
+
124
+ ## List Functions
125
+
126
+ **Field:** `list.length`
127
+
128
+ | Function | Signature | Description |
129
+ |----------|-----------|-------------|
130
+ | `contains()` | `list.contains(value): boolean` | Element exists |
131
+ | `containsAll()` | `list.containsAll(...values): boolean` | All elements exist |
132
+ | `containsAny()` | `list.containsAny(...values): boolean` | Any element exists |
133
+ | `filter()` | `list.filter(expression): list` | Filter by condition (uses `value`, `index`) |
134
+ | `map()` | `list.map(expression): list` | Transform elements (uses `value`, `index`) |
135
+ | `reduce()` | `list.reduce(expression, initial): any` | Reduce to single value (uses `value`, `index`, `acc`) |
136
+ | `flat()` | `list.flat(): list` | Flatten nested lists |
137
+ | `join()` | `list.join(separator): string` | Join to string |
138
+ | `reverse()` | `list.reverse(): list` | Reverse order |
139
+ | `slice()` | `list.slice(start, end?): list` | Sublist |
140
+ | `sort()` | `list.sort(): list` | Sort ascending |
141
+ | `unique()` | `list.unique(): list` | Remove duplicates |
142
+ | `isEmpty()` | `list.isEmpty(): boolean` | No elements |
143
+
144
+ ## File Functions
145
+
146
+ | Function | Signature | Description |
147
+ |----------|-----------|-------------|
148
+ | `asLink()` | `file.asLink(display?): Link` | Convert to link |
149
+ | `hasLink()` | `file.hasLink(otherFile): boolean` | Has link to file |
150
+ | `hasTag()` | `file.hasTag(...tags): boolean` | Has any of the tags |
151
+ | `hasProperty()` | `file.hasProperty(name): boolean` | Has property |
152
+ | `inFolder()` | `file.inFolder(folder): boolean` | In folder or subfolder |
153
+
154
+ ## Link Functions
155
+
156
+ | Function | Signature | Description |
157
+ |----------|-----------|-------------|
158
+ | `asFile()` | `link.asFile(): file` | Get file object |
159
+ | `linksTo()` | `link.linksTo(file): boolean` | Links to file |
160
+
161
+ ## Object Functions
162
+
163
+ | Function | Signature | Description |
164
+ |----------|-----------|-------------|
165
+ | `isEmpty()` | `object.isEmpty(): boolean` | No properties |
166
+ | `keys()` | `object.keys(): list` | List of keys |
167
+ | `values()` | `object.values(): list` | List of values |
168
+
169
+ ## Regular Expression Functions
170
+
171
+ | Function | Signature | Description |
172
+ |----------|-----------|-------------|
173
+ | `matches()` | `regexp.matches(string): boolean` | Test if matches |
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Steph Ango (@kepano)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,158 @@
1
+ ---
2
+ name: obsidian-cli
3
+ metadata:
4
+ requires:
5
+ bins: [obsidian]
6
+ description: Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
7
+ ---
8
+
9
+ > Source: https://github.com/obsidianmd/obsidian-skills/tree/9c9560a870fd490b0e1a847f2c8401a50e2d931d/plugins/obsidian/skills/obsidian-cli (MIT).
10
+
11
+ # Obsidian CLI
12
+
13
+ Use the `obsidian` CLI to interact with a running Obsidian instance. Requires Obsidian to be open.
14
+
15
+ ## Before using the CLI
16
+
17
+ Run `obsidian help` to check availability. If the command is missing, explain how to turn on the CLI using https://help.obsidian.md/cli. The `obsidian` command ships with the Obsidian installer; don't install the unrelated npm package `obsidian-cli`. If it can't find Obsidian, ask the user to open the desktop app, then retry. In a sandboxed shell the same message can mean the sandbox blocked the CLI's local socket.
18
+
19
+ On WSL, run `Obsidian.com` from the Windows install folder, not `Obsidian.exe`. `Obsidian.com` is the console wrapper that prints the output; `Obsidian.exe` exits without printing anything.
20
+
21
+ The CLI exits with status 0 even when a command fails, so read its output before reporting that a command succeeded.
22
+
23
+ Quote parameters for the current shell, and pass note text as literal argument data, never as executable shell syntax.
24
+
25
+ ## Command reference
26
+
27
+ Run `obsidian help` to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli
28
+
29
+ ## Syntax
30
+
31
+ **Parameters** take a value with `=`. Quote values with spaces:
32
+
33
+ ```bash
34
+ obsidian create name="My Note" content="Hello world"
35
+ ```
36
+
37
+ **Flags** are boolean switches with no value:
38
+
39
+ ```bash
40
+ obsidian create name="My Note" open overwrite
41
+ ```
42
+
43
+ Use `overwrite` only when replacing an existing file is intended.
44
+
45
+ Opening is opt-in: pass `open` to open the file, and add `newtab` to open it in a new tab. There is no `silent` flag.
46
+
47
+ In `content=`, `\n` becomes a newline and `\t` a tab. Every `\n` and `\t` is converted and there's no escape, so text such as the LaTeX `\theta` or the path `C:\notes` is corrupted. Write content that contains backslashes, or is longer than about 4 KB, directly to the note's file instead.
48
+
49
+ A dot in a file name is read as the start of an extension. When a name contains a dot, include the extension: `create name="Meeting 2026.11.06.md"`, `rename name="v1.2 notes.md"`, `move to="Archive 2026.10/Note.md"`.
50
+
51
+ ## File targeting
52
+
53
+ Many commands accept `file` or `path` to target a file. Without either, the active file is used.
54
+
55
+ - `file=<name>` — resolves like a wikilink (name only, no path needed). `.md` is optional; other file types need their extension, e.g. `file="Projects.base"`. Aliases don't resolve.
56
+ - `path=<path>` — exact path from vault root, e.g. `folder/note.md`
57
+
58
+ ## Vault targeting
59
+
60
+ Without `vault=`, commands target the vault that contains the current directory, then the most recently focused vault. `vault=<name>` only works as the first parameter; anywhere else it's ignored:
61
+
62
+ ```bash
63
+ obsidian vault="My Vault" search query="test"
64
+ ```
65
+
66
+ Use `vault=` when the user has selected a vault. If the target is unclear and the user has several vaults, ask which one before changing files.
67
+
68
+ ## Common patterns
69
+
70
+ ```bash
71
+ obsidian read file="My Note"
72
+ obsidian create name="New Note" template="Template" # a template replaces content=
73
+ obsidian create name="New Note" content="# Hello" open # also open in Obsidian
74
+ obsidian append file="My Note" content="New line"
75
+ obsidian rename path="folder/note.md" name="New name"
76
+ obsidian move path="folder/note.md" to="archive/"
77
+ obsidian delete path="folder/note.md"
78
+ obsidian search query="search term" limit=10
79
+ obsidian daily:read
80
+ obsidian daily:append content="- [ ] New task"
81
+ obsidian property:set name="status" value="done" file="My Note"
82
+ obsidian tasks daily todo
83
+ obsidian tags sort=count counts
84
+ obsidian backlinks file="My Note"
85
+ ```
86
+
87
+ Use `rename` and `move`, not filesystem `mv` or `obsidian eval`, so Obsidian can update links to the file. If other notes link to it and Settings → Files and links → Automatically update internal links is off, Obsidian asks in a dialog and the command waits until someone answers. `delete` moves the file to the trash; don't pass `permanent` unless the user asks for it. Prefer `create` and `append` over `eval` for writing note bodies.
88
+
89
+ Use `total` on list commands to get a count.
90
+
91
+ **Output options placement:** `--copy`, `--json`, `--md`, `--tsv`, and `--csv` only work **after** the command name. Putting them before the command (or before `vault=`) fails — often as `Command "--copy" not found` — because the first token is treated as the command. Prefer `vault=` first when used; put double-dash options last:
92
+
93
+ ```bash
94
+ obsidian tasks todo total --copy
95
+ obsidian vault="My Vault" search query="TODO" --copy
96
+ obsidian tasks todo format=json # many list commands also accept format=
97
+ # Wrong: obsidian --copy vault="My Vault" tasks todo
98
+ ```
99
+
100
+ ## Plugin development
101
+
102
+ ### Develop/test cycle
103
+
104
+ Turn on console capture once with `obsidian dev:debug on`, so messages from the reload are kept. After making code changes to a plugin or theme, follow this workflow:
105
+
106
+ 1. **Reload** the plugin to pick up changes:
107
+ ```bash
108
+ obsidian plugin:reload id=my-plugin
109
+ ```
110
+ 2. **Check for errors** — if errors appear, fix and repeat from step 1:
111
+ ```bash
112
+ obsidian dev:errors
113
+ ```
114
+ 3. **Verify visually** with a screenshot or DOM inspection:
115
+ ```bash
116
+ obsidian dev:screenshot
117
+ obsidian dev:dom selector=".workspace-leaf" text
118
+ ```
119
+ 4. **Check console output** for warnings or unexpected logs:
120
+ ```bash
121
+ obsidian dev:console level=error
122
+ ```
123
+
124
+ `dev:screenshot` saves to a temporary file and prints its path. A relative `path=` saves inside the vault.
125
+
126
+ ### Additional developer commands
127
+
128
+ Run JavaScript in the app context (prefer dedicated commands like `rename`, `move`, `create`, and `append` for vault mutations):
129
+
130
+ ```bash
131
+ obsidian eval code="app.vault.getFiles().length"
132
+ ```
133
+
134
+ Inspect CSS values:
135
+
136
+ ```bash
137
+ obsidian dev:css selector=".workspace-leaf" prop=background-color
138
+ ```
139
+
140
+ Toggle mobile emulation:
141
+
142
+ ```bash
143
+ obsidian dev:mobile on
144
+ ```
145
+
146
+ Run `obsidian help` to see additional developer commands including CDP and debugger controls.
147
+
148
+ ## Hướng dẫn tiếng Việt
149
+
150
+ Dùng lệnh `obsidian` khi cần tra cứu hay thao tác trong ứng dụng Obsidian Desktop đang mở trên cùng máy. Kiểm tra `obsidian help`. Nếu thiếu lệnh, bật CLI trong cài đặt Obsidian Desktop. Khi chạy từ WSL để điều khiển ứng dụng Windows, dùng `Obsidian.com` trong thư mục cài đặt.
151
+
152
+ Ví dụ tìm mười kết quả trong vault có tên “Công việc”.
153
+
154
+ ```sh
155
+ obsidian vault="Công việc" search query="bàn giao" limit=10
156
+ ```
157
+
158
+ Đặt `vault=` ngay sau tên lệnh. Đọc nội dung trả về vì CLI có thể báo lỗi trong văn bản dù mã thoát bằng 0. Trên máy Cloud chỉ có thư mục vault và thiếu ứng dụng desktop, có thể đọc hoặc sửa trực tiếp các tệp ghi chú.
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "obsidian-cli",
3
+ "name": "Obsidian CLI",
4
+ "version": "1.2.3",
5
+ "description": "Search and manage a vault through the running Obsidian desktop app.",
6
+ "defaultEnabled": true,
7
+ "triggerTerms": [
8
+ "obsidian cli",
9
+ "obsidian desktop",
10
+ "search my vault",
11
+ "tìm trong vault",
12
+ "tìm trong kho obsidian"
13
+ ],
14
+ "requiredCapabilities": [],
15
+ "source": {
16
+ "repo": "obsidianmd/obsidian-skills",
17
+ "commit": "9c9560a870fd490b0e1a847f2c8401a50e2d931d",
18
+ "folder": "plugins/obsidian/skills/obsidian-cli",
19
+ "license": "MIT"
20
+ }
21
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Steph Ango (@kepano)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,92 @@
1
+ ---
2
+ name: obsidian-headless
3
+ metadata:
4
+ requires:
5
+ bins: [ob]
6
+ description: Sync and publish Obsidian vaults from the command line with Obsidian Headless (`ob`), without the desktop app. Use when the user wants to set up or run Obsidian Sync or Obsidian Publish on a server, in CI, or from a terminal, or change a vault's Sync or Publish settings.
7
+ ---
8
+
9
+ > Source: https://github.com/obsidianmd/obsidian-skills/tree/9c9560a870fd490b0e1a847f2c8401a50e2d931d/plugins/obsidian/skills/obsidian-headless (MIT).
10
+
11
+ # Obsidian Headless
12
+
13
+ Use Obsidian Headless (`ob`) to run Obsidian Sync and Obsidian Publish from the command line. It doesn't need the desktop app, so it works on servers, in CI, and in sandboxes. It's in open beta. Docs: https://help.obsidian.md/headless
14
+
15
+ `ob` only syncs and publishes files. To read or change notes without the app, edit the files directly and follow the obsidian-markdown skill. To control a running desktop app, use the obsidian-cli skill.
16
+
17
+ ## Before using ob
18
+
19
+ Check availability with `ob --help`. If it is missing, explain that Obsidian Headless requires Node.js 22 or later and offer installation with `npm install -g obsidian-headless`. Run `ob <command> --help` for a command's options.
20
+
21
+ Sync and Publish each need an active subscription on the user's account.
22
+
23
+ Most commands accept `--json` for machine-readable output.
24
+
25
+ ## Log in
26
+
27
+ `ob login` prints the account when already logged in. Otherwise it prompts for email, password, and a 2FA code, so ask the user to run it in their own terminal. Don't ask for their password or pass it with `--password`. `ob logout` clears the stored credentials.
28
+
29
+ ## Vault paths
30
+
31
+ Commands act on the vault in the current directory, or the one given with `--path`. Pass `--path` so the target is explicit. Before a command that changes remote state, confirm the vault, site, and path from list or status output.
32
+
33
+ ## Sync
34
+
35
+ Don't use the desktop app's Sync and Headless Sync for the same vault on the same device, because they cause conflicts. Ask the user before the first sync of a vault, and ask them to back up the vault folder first, because sync changes files on this device and in the remote vault.
36
+
37
+ ```bash
38
+ ob sync-list-remote # remote vaults, including shared ones
39
+ ob sync-list-local # vaults set up on this machine
40
+ ob sync-setup --vault "Research" --path ~/vaults/research
41
+ ob sync --path ~/vaults/research # sync once
42
+ ob sync --path ~/vaults/research --continuous # keep syncing as files change
43
+ ob sync-status --path ~/vaults/research
44
+ ob sync-unlink --path ~/vaults/research # disconnect and remove stored credentials
45
+ ```
46
+
47
+ `--vault` takes a remote vault's name or ID. For an end-to-end encrypted vault, `sync-setup` prompts for the encryption password, so let the user enter it. Set `--device-name` to label this machine in version history.
48
+
49
+ `--continuous` runs until stopped, so start it in the background or as a service.
50
+
51
+ `ob sync-create-remote --name "Research"` creates a remote vault. Add `--encryption e2ee` for end-to-end encryption or `--encryption standard` for managed encryption.
52
+
53
+ ### Sync settings
54
+
55
+ `ob sync-config --path <vault>` prints the vault's settings. Change them with:
56
+
57
+ - `--mode bidirectional|pull-only|mirror-remote`. `pull-only` ignores local changes and `mirror-remote` reverts them, so confirm before setting either.
58
+ - `--conflict-strategy merge|conflict`
59
+ - `--excluded-folders "Archive,Templates"`
60
+ - `--file-types image,audio,video,pdf,unsupported` for the attachment types to sync.
61
+ - `--configs` for the settings categories to sync, e.g. `app,appearance,core-plugin`.
62
+ - `--config-dir` when the vault's configuration folder isn't `.obsidian`.
63
+
64
+ An empty string clears a list option, e.g. `--excluded-folders ""`.
65
+
66
+ ## Publish
67
+
68
+ ```bash
69
+ ob publish-list-sites
70
+ ob publish-setup --site my-notes --path ~/vaults/research
71
+ ob publish --path ~/vaults/research --dry-run
72
+ ob publish --path ~/vaults/research --yes
73
+ ```
74
+
75
+ `ob publish` includes only notes with `publish: true` in their properties. `--all` includes every file, so use it only when the user asks. Run `--dry-run` first and show the user the changes. Without `--yes`, `ob publish` waits for confirmation, so pass `--yes` once the user approves or for an unattended job they set up.
76
+
77
+ `ob publish-create-site --slug my-notes` creates a site at `publish.obsidian.md/my-notes`.
78
+
79
+ Run these with no options to print the current settings:
80
+
81
+ - `ob publish-config` sets folders to include or exclude with `--includes` and `--excludes`.
82
+ - `ob publish-site-options` sets the site name, home page, navigation, theme, and other display options. Run `ob publish-site-options --help` for the full list.
83
+
84
+ `ob publish-unlink` disconnects the vault from its site.
85
+
86
+ ## Hướng dẫn tiếng Việt
87
+
88
+ Dùng `ob` trên máy chủ để đồng bộ vault qua Obsidian Sync hoặc xuất bản qua Obsidian Publish. Mỗi dịch vụ cần gói đang hoạt động tương ứng. Kiểm tra `ob --help` trên máy sẽ chạy tác vụ. Gói Obsidian Headless cần Node.js 22 trở lên.
89
+
90
+ Cho người dùng nhập thông tin đăng nhập và mã xác thực trong phiên `ob login` của họ. Dùng `ob sync-list-local` và `ob sync-list-remote` để xác định đúng vault. Ví dụ, chạy `ob sync-status --path "./NghienCuu"` để xem trạng thái vault đã thiết lập. Trước lần đồng bộ đầu, người dùng xác nhận đúng vault và sao lưu thư mục. Chỉ dùng một tiến trình Sync cho mỗi bản vault trên cùng máy.
91
+
92
+ Với site đã thiết lập, xem trước bằng `ob publish --path "./NghienCuu" --dry-run`, kiểm tra danh sách thay đổi cùng người dùng rồi mới xuất bản.
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "obsidian-headless",
3
+ "name": "Obsidian Headless",
4
+ "version": "1.2.3",
5
+ "description": "Sync or publish an Obsidian vault from a server or terminal.",
6
+ "defaultEnabled": true,
7
+ "triggerTerms": [
8
+ "obsidian headless",
9
+ "obsidian sync",
10
+ "obsidian publish",
11
+ "đồng bộ vault",
12
+ "xuất bản vault",
13
+ "đồng bộ obsidian",
14
+ "xuất bản obsidian"
15
+ ],
16
+ "requiredCapabilities": [],
17
+ "source": {
18
+ "repo": "obsidianmd/obsidian-skills",
19
+ "commit": "9c9560a870fd490b0e1a847f2c8401a50e2d931d",
20
+ "folder": "plugins/obsidian/skills/obsidian-headless",
21
+ "license": "MIT"
22
+ }
23
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Steph Ango (@kepano)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.