limixbot 0.3.143 → 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-D5VsAHpV.js → ActivityPanel-CqObZQbN.js} +1 -1
  2. package/dist/assets/{App-BFnQK962.js → App-DcG1JmK6.js} +126 -126
  3. package/dist/assets/{AppEventEditor-npoRs7Gv.js → AppEventEditor-DR01sHAK.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-DyQB_KER.js → BotSettingsDialog-BHgSIU9E.js} +1 -1
  5. package/dist/assets/{BrowserPanel-B-Gb4Ryo.js → BrowserPanel-g96rlnqQ.js} +1 -1
  6. package/dist/assets/{BrowserProfilesManager-C4_r4TCi.js → BrowserProfilesManager-UJJC6OPf.js} +1 -1
  7. package/dist/assets/{CloudAddDialog-BiZwg41q.js → CloudAddDialog-BjPYPhnk.js} +1 -1
  8. package/dist/assets/{ComputerFilesPane-DfJRiNEq.js → ComputerFilesPane-DA7MBSD0.js} +1 -1
  9. package/dist/assets/{ComputerPanel-WDw0cKiS.js → ComputerPanel--rY7_KCN.js} +2 -2
  10. package/dist/assets/{DataPanel-CA6Q5vTA.js → DataPanel-CEhe1WKo.js} +1 -1
  11. package/dist/assets/{DesktopViewer-CiOyDjp2.js → DesktopViewer-RNuariIo.js} +1 -1
  12. package/dist/assets/{GrokMoveDialog-CdQMwpiq.js → GrokMoveDialog-DoUN6m5b.js} +1 -1
  13. package/dist/assets/{InspectorPanel-6owsh6AF.js → InspectorPanel-CdCXUouJ.js} +1 -1
  14. package/dist/assets/{KeyboardShortcutsModal-BmmNyVQ1.js → KeyboardShortcutsModal-CZ-BQqzV.js} +1 -1
  15. package/dist/assets/{LimixResizeHandles-B9fy1QSR.js → LimixResizeHandles-BUe_6hSJ.js} +1 -1
  16. package/dist/assets/{LiveDesktop-BjD6CYlm.js → LiveDesktop-BnaxuTzU.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-CKA42noW.js → LocalVmWorkspace-X1ev9Wov.js} +1 -1
  18. package/dist/assets/{MacLocalControl-CR4SkBMx.js → MacLocalControl-RXW-1ET9.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-DpSyTelP.js → MarkdownFilePreview-CIYTKbNj.js} +1 -1
  20. package/dist/assets/{MenuMotion-CJ3EL6xi.js → MenuMotion-C-qcisoG.js} +1 -1
  21. package/dist/assets/{NewBotDialog-CTj8zOTI.js → NewBotDialog-D_22AmDd.js} +1 -1
  22. package/dist/assets/{PhoneAppDialog-DUOfnoVL.js → PhoneAppDialog-WOhzSF82.js} +1 -1
  23. package/dist/assets/{PlacesRail-owo7-LYs.js → PlacesRail-DoUGQSpd.js} +1 -1
  24. package/dist/assets/{PluginsPanel-BaDKsIiF.js → PluginsPanel-DxM_qWtC.js} +1 -1
  25. package/dist/assets/{ProIntroduction-ygc-IDwt.js → ProIntroduction-CQFDxYxi.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-Bsk-uLU6.js → RemoteAgentSettingsPanel-CdQmz7Qu.js} +1 -1
  27. package/dist/assets/{RoomPanel-Beak5cFq.js → RoomPanel-DVsYTCX7.js} +1 -1
  28. package/dist/assets/{RoutinesPage-E0_zyR6z.js → RoutinesPage-DG30sQw7.js} +1 -1
  29. package/dist/assets/SettingsModal-BFeWJ1OS.js +20 -0
  30. package/dist/assets/{ShareTeamDialog-0eIGkV95.js → ShareTeamDialog-BLddRjax.js} +1 -1
  31. package/dist/assets/{SignedInSites-DJDN1MMs.js → SignedInSites-BREmZ6gH.js} +1 -1
  32. package/dist/assets/{TeamLibraryPanel-T_B92anY.js → TeamLibraryPanel-Sg1D_gYP.js} +1 -1
  33. package/dist/assets/{TeamMapPage-BRnNgoL4.js → TeamMapPage-CP7ug7dF.js} +1 -1
  34. package/dist/assets/{TriggersPage-B9x6InCY.js → TriggersPage-DmY-ibGg.js} +1 -1
  35. package/dist/assets/{VisibilitySection-CM3W0MSu.js → VisibilitySection-BqQTMT_O.js} +1 -1
  36. package/dist/assets/{WebhookTrigger-CBbyorl9.js → WebhookTrigger-Bk2khhKt.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-D_dPyzr3.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-C06bWOSD.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-DSkjrWGm.js → import-name-fUZKEQiu.js} +1 -1
  75. package/dist/assets/{index-x-tLeVCm.js → index-Bb6OwohQ.js} +1 -1
  76. package/dist/assets/{index-DZeZApXw.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-RHcTiQhX.js → new-bot-DCA0S24E.js} +1 -1
  86. package/dist/assets/{org-library-CWZn7Pto.js → org-library-DgVAGwBY.js} +1 -1
  87. package/dist/assets/{package-format-pwodjdBX.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-ClKGLfg-.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-B7L3QwQY.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,619 @@
1
+ ---
2
+ name: obsidian-bases
3
+ description: Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, kanban boards, filters, or formulas in Obsidian.
4
+ ---
5
+
6
+ > Source: https://github.com/obsidianmd/obsidian-skills/tree/9c9560a870fd490b0e1a847f2c8401a50e2d931d/plugins/obsidian/skills/obsidian-bases (MIT).
7
+
8
+ # Obsidian Bases Skill
9
+
10
+ ## Workflow
11
+
12
+ 1. **Create the file**: Create a `.base` file in the vault with valid YAML content
13
+ 2. **Define scope**: Add `filters` to select which notes appear (by tag, folder, property, or date)
14
+ 3. **Add formulas** (optional): Define computed properties in the `formulas` section
15
+ 4. **Configure views**: Add one or more views (`table`, `cards`, `list`, `map`, or `kanban`) with `order` specifying which properties to display
16
+ 5. **Validate**: Verify the file is valid YAML with no syntax errors. Check that all referenced properties and formulas exist. Common issues: unquoted strings containing special YAML characters, mismatched quotes in formula expressions, referencing `formula.X` without defining `X` in `formulas`
17
+ 6. **Test in Obsidian**: Open the `.base` file in Obsidian to confirm the view renders correctly. If it shows a YAML error, check quoting rules below. If it doesn't open as a base at all, check that Bases is turned on in Settings → Core plugins
18
+
19
+ ## Schema
20
+
21
+ Base files use the `.base` extension and contain valid YAML.
22
+
23
+ ```yaml
24
+ # Global filters apply to ALL views in the base
25
+ filters:
26
+ # Can be a single filter string
27
+ # OR a recursive filter object with exactly ONE key: and, or, or not
28
+ and:
29
+ - 'status == "active"'
30
+ - not:
31
+ - 'file.hasTag("archived")'
32
+
33
+ # Define formula properties that can be used across all views
34
+ formulas:
35
+ formula_name: 'expression'
36
+
37
+ # Configure display names and settings for properties.
38
+ # Note properties need the `note.` prefix here, or the setting is ignored.
39
+ properties:
40
+ note.property_name:
41
+ displayName: "Display Name"
42
+ formula.formula_name:
43
+ displayName: "Formula Display Name"
44
+ file.ext:
45
+ displayName: "Extension"
46
+
47
+ # Define custom summary formulas
48
+ summaries:
49
+ custom_summary_name: 'values.mean().round(3)'
50
+
51
+ # Define one or more views
52
+ views:
53
+ - type: table | cards | list | map | kanban
54
+ name: "View Name"
55
+ limit: 10 # Optional: limit results
56
+ groupBy: # Optional: group results
57
+ property: property_name
58
+ direction: ASC | DESC
59
+ groupOrder: # Optional: only these groups, in this order
60
+ - value_one
61
+ - null # Files with no value for the groupBy property
62
+ sort: # Optional: sort results (supports multiple properties)
63
+ - property: property_name
64
+ direction: ASC | DESC
65
+ filters: # View-specific filters follow the same rules
66
+ and:
67
+ - 'status == "active"'
68
+ order: # Properties to display in order
69
+ - file.name
70
+ - property_name
71
+ - formula.formula_name
72
+ summaries: # Map properties to summary formulas
73
+ property_name: Average
74
+ ```
75
+
76
+ ## Filter Syntax
77
+
78
+ Filters narrow down results. They can be applied globally or per-view.
79
+
80
+ ### Filter Structure
81
+
82
+ ```yaml
83
+ # Single filter
84
+ filters: 'status == "done"'
85
+
86
+ # AND - all conditions must be true
87
+ filters:
88
+ and:
89
+ - 'status == "done"'
90
+ - 'priority > 3'
91
+
92
+ # OR - any condition can be true
93
+ filters:
94
+ or:
95
+ - 'file.hasTag("book")'
96
+ - 'file.hasTag("article")'
97
+
98
+ # NOT - exclude matching items
99
+ filters:
100
+ not:
101
+ - 'file.hasTag("archived")'
102
+
103
+ # Nested filters
104
+ filters:
105
+ or:
106
+ - file.hasTag("tag")
107
+ - and:
108
+ - file.hasTag("book")
109
+ - file.hasLink("Textbook")
110
+ - not:
111
+ - file.hasTag("book")
112
+ - file.inFolder("Required Reading")
113
+ ```
114
+
115
+ ### Filter Operators
116
+
117
+ | Operator | Description |
118
+ |----------|-------------|
119
+ | `==` | equals |
120
+ | `!=` | not equal |
121
+ | `>` | greater than |
122
+ | `<` | less than |
123
+ | `>=` | greater than or equal |
124
+ | `<=` | less than or equal |
125
+ | `&&` | logical and |
126
+ | `\|\|` | logical or |
127
+ | <code>!</code> | logical not |
128
+
129
+ ## Properties
130
+
131
+ ### Three Types of Properties
132
+
133
+ 1. **Note properties** - From frontmatter: `note.author` or just `author`
134
+ 2. **File properties** - File metadata: `file.name`, `file.mtime`, etc.
135
+ 3. **Formula properties** - Computed values: `formula.my_formula`
136
+
137
+ In `order`, `filters`, `groupBy`, and `sort`, a note property can be written bare (`author`) or prefixed (`note.author`). In the top-level `properties:` section, always write `note.author`, because Obsidian ignores a bare key there and shows the raw name as the column header.
138
+
139
+ ### File Properties Reference
140
+
141
+ | Property | Type | Description |
142
+ |----------|------|-------------|
143
+ | `file.name` | String | File name |
144
+ | `file.basename` | String | File name without extension |
145
+ | `file.path` | String | Full path to file |
146
+ | `file.folder` | String | Parent folder path |
147
+ | `file.ext` | String | File extension |
148
+ | `file.size` | Number | File size in bytes |
149
+ | `file.ctime` | Date | Created time |
150
+ | `file.mtime` | Date | Modified time |
151
+ | `file.tags` | List | All tags in file |
152
+ | `file.links` | List | Internal links in file |
153
+ | `file.backlinks` | List | Files linking to this file. Slow in large vaults and doesn't refresh when the vault changes; prefer reversing the lookup with `file.links` |
154
+ | `file.embeds` | List | Embeds in the note |
155
+ | `file.properties` | Object | All frontmatter properties. Doesn't refresh when the vault changes |
156
+ | `file.file` | File | File object, only usable in specific functions |
157
+
158
+ ### The `this` Keyword
159
+
160
+ - In main content area: refers to the base file itself
161
+ - When embedded: refers to the embedding file
162
+ - In sidebar: refers to the active file in main content
163
+
164
+ ## Formula Syntax
165
+
166
+ Formulas compute values from properties. Defined in the `formulas` section.
167
+
168
+ ```yaml
169
+ formulas:
170
+ # Simple arithmetic
171
+ total: "price * quantity"
172
+
173
+ # Conditional logic
174
+ status_icon: 'if(done, "✅", "⏳")'
175
+
176
+ # String formatting
177
+ formatted_price: 'if(price, price.toFixed(2) + " dollars")'
178
+
179
+ # Date formatting
180
+ created: 'file.ctime.format("YYYY-MM-DD")'
181
+
182
+ # Calculate days since created (use .days for Duration)
183
+ days_old: '(now() - file.ctime).days'
184
+
185
+ # Calculate days until due date
186
+ days_until_due: 'if(due_date, (date(due_date) - today()).days, "")'
187
+ ```
188
+
189
+ ## Key Functions
190
+
191
+ Most commonly used functions. For the complete reference of all types (Date, String, Number, List, File, Link, Object, RegExp), see [FUNCTIONS_REFERENCE.md](references/FUNCTIONS_REFERENCE.md).
192
+
193
+ | Function | Signature | Description |
194
+ |----------|-----------|-------------|
195
+ | `date()` | `date(string): date` | Parse string to date (`YYYY-MM-DD HH:mm:ss`) |
196
+ | `now()` | `now(): date` | Current date and time |
197
+ | `today()` | `today(): date` | Current date (time = 00:00:00) |
198
+ | `if()` | `if(condition, trueResult, falseResult?)` | Conditional |
199
+ | `duration()` | `duration(string): duration` | Parse duration string |
200
+ | `file()` | `file(path): file` | Get file object |
201
+ | `link()` | `link(path, display?): Link` | Create a link |
202
+
203
+ ### Duration Type
204
+
205
+ When subtracting two dates, the result is a **Duration** type (not a number).
206
+
207
+ **Duration Fields:** `duration.days`, `duration.hours`, `duration.minutes`, `duration.seconds`, `duration.milliseconds`
208
+
209
+ **IMPORTANT:** Duration does NOT support `.round()`, `.floor()`, `.ceil()` directly. Access a numeric field first (like `.days`), then apply number functions.
210
+
211
+ ```yaml
212
+ # CORRECT: Calculate days between dates
213
+ "(date(due_date) - today()).days" # Returns number of days
214
+ "(now() - file.ctime).days" # Days since created
215
+ "(date(due_date) - today()).days.round(0)" # Rounded days
216
+
217
+ # WRONG - will cause error:
218
+ # "((date(due) - today()) / 86400000).round(0)" # Duration doesn't support division then round
219
+ ```
220
+
221
+ ### Date Arithmetic
222
+
223
+ ```yaml
224
+ # Duration units: y/year/years, M/month/months, d/day/days,
225
+ # w/week/weeks, h/hour/hours, m/minute/minutes, s/second/seconds
226
+ "now() + \"1 day\"" # Tomorrow
227
+ "today() + \"7d\"" # A week from today
228
+ "now() - file.ctime" # Returns Duration
229
+ "(now() - file.ctime).days" # Get days as number
230
+ ```
231
+
232
+ ## View Types
233
+
234
+ ### Table View
235
+
236
+ ```yaml
237
+ views:
238
+ - type: table
239
+ name: "My Table"
240
+ order:
241
+ - file.name
242
+ - status
243
+ - due_date
244
+ summaries:
245
+ price: Sum
246
+ count: Average
247
+ ```
248
+
249
+ ### Cards View
250
+
251
+ ```yaml
252
+ views:
253
+ - type: cards
254
+ name: "Gallery"
255
+ order:
256
+ - file.name
257
+ - cover_image
258
+ - description
259
+ ```
260
+
261
+ ### List View
262
+
263
+ ```yaml
264
+ views:
265
+ - type: list
266
+ name: "Simple List"
267
+ order:
268
+ - file.name
269
+ - status
270
+ ```
271
+
272
+ ### Kanban View
273
+
274
+ Requires Obsidian 1.14+. Cards are grouped into columns by the `groupBy` property, which a kanban view needs. `groupOrder` sets which columns show and in what order; use `null` to include files with no value. Without `groupOrder`, every value gets a column. Dragging a card to another column updates that property in the note. Only Markdown notes can be moved, except when grouping by `file.folder`, where moving a card moves the file to that folder. When grouping by a formula or by a file property other than `file.folder`, cards and columns can't be moved and notes can't be created from a column.
275
+
276
+ ```yaml
277
+ views:
278
+ - type: kanban
279
+ name: "Projects"
280
+ groupBy:
281
+ property: note.status
282
+ direction: ASC
283
+ groupOrder:
284
+ - Planned
285
+ - In progress
286
+ - Done
287
+ order:
288
+ - file.name
289
+ - due_date
290
+ ```
291
+
292
+ ### Map View
293
+
294
+ Requires latitude/longitude properties and the Maps community plugin.
295
+
296
+ ```yaml
297
+ views:
298
+ - type: map
299
+ name: "Locations"
300
+ # Map-specific settings for lat/lng properties
301
+ ```
302
+
303
+ ## Sorting
304
+
305
+ Sort results by one or more properties. Each sort entry specifies a `property` and `direction`, which must be uppercase `ASC` or `DESC`; an entry with any other value, or a sort written as a string, is silently ignored. Multiple sort entries are applied in order — the first entry is the primary sort key, subsequent entries break ties.
306
+
307
+ ```yaml
308
+ views:
309
+ - type: table
310
+ name: "Sorted Tasks"
311
+ sort:
312
+ - property: due
313
+ direction: ASC
314
+ - property: file.name
315
+ direction: ASC
316
+ order:
317
+ - file.name
318
+ - due
319
+ - status
320
+ ```
321
+
322
+ Sort options depend on the property type:
323
+
324
+ | Property Type | ASC | DESC |
325
+ |---------------|-----|------|
326
+ | Text | A→Z | Z→A |
327
+ | Number | 0→9 | 9→0 |
328
+ | Date | Old→New | New→Old |
329
+
330
+ You can sort by any property including formulas (`formula.my_formula`), file properties (`file.mtime`), and note properties.
331
+
332
+ ## Default Summary Formulas
333
+
334
+ | Name | Input Type | Description |
335
+ |------|------------|-------------|
336
+ | `Average` | Number | Mathematical mean |
337
+ | `Min` | Number | Smallest number |
338
+ | `Max` | Number | Largest number |
339
+ | `Sum` | Number | Sum of all numbers |
340
+ | `Range` | Number | Max - Min |
341
+ | `Median` | Number | Mathematical median |
342
+ | `Stddev` | Number | Standard deviation |
343
+ | `Earliest` | Date | Earliest date |
344
+ | `Latest` | Date | Latest date |
345
+ | `Range` | Date | Latest - Earliest |
346
+ | `Checked` | Boolean | Count of true values |
347
+ | `Unchecked` | Boolean | Count of false values |
348
+ | `Empty` | Any | Count of empty values |
349
+ | `Filled` | Any | Count of non-empty values |
350
+ | `Unique` | Any | Count of unique values |
351
+
352
+ ## Complete Examples
353
+
354
+ ### Task Tracker Base
355
+
356
+ ```yaml
357
+ filters:
358
+ and:
359
+ - file.hasTag("task")
360
+ - 'file.ext == "md"'
361
+
362
+ formulas:
363
+ days_until_due: 'if(due, (date(due) - today()).days, "")'
364
+ is_overdue: 'if(due, date(due) < today() && status != "done", false)'
365
+ priority_label: 'if(priority == 1, "🔴 High", if(priority == 2, "🟡 Medium", "🟢 Low"))'
366
+
367
+ properties:
368
+ note.status:
369
+ displayName: Status
370
+ formula.days_until_due:
371
+ displayName: "Days Until Due"
372
+ formula.priority_label:
373
+ displayName: Priority
374
+
375
+ views:
376
+ - type: table
377
+ name: "Active Tasks"
378
+ filters:
379
+ and:
380
+ - 'status != "done"'
381
+ order:
382
+ - file.name
383
+ - status
384
+ - formula.priority_label
385
+ - due
386
+ - formula.days_until_due
387
+ groupBy:
388
+ property: status
389
+ direction: ASC
390
+ sort:
391
+ - property: due
392
+ direction: ASC
393
+ - property: file.name
394
+ direction: ASC
395
+ summaries:
396
+ formula.days_until_due: Average
397
+
398
+ - type: table
399
+ name: "Completed"
400
+ filters:
401
+ and:
402
+ - 'status == "done"'
403
+ order:
404
+ - file.name
405
+ - completed_date
406
+ ```
407
+
408
+ ### Reading List Base
409
+
410
+ ```yaml
411
+ filters:
412
+ or:
413
+ - file.hasTag("book")
414
+ - file.hasTag("article")
415
+
416
+ formulas:
417
+ reading_time: 'if(pages, (pages * 2).toString() + " min", "")'
418
+ status_icon: 'if(status == "reading", "📖", if(status == "done", "✅", "📚"))'
419
+ year_read: 'if(finished_date, date(finished_date).year, "")'
420
+
421
+ properties:
422
+ note.author:
423
+ displayName: Author
424
+ formula.status_icon:
425
+ displayName: "Status"
426
+ formula.reading_time:
427
+ displayName: "Est. Time"
428
+
429
+ views:
430
+ - type: cards
431
+ name: "Library"
432
+ order:
433
+ - cover
434
+ - file.name
435
+ - author
436
+ - formula.status_icon
437
+ filters:
438
+ not:
439
+ - 'status == "dropped"'
440
+
441
+ - type: table
442
+ name: "Reading List"
443
+ filters:
444
+ and:
445
+ - 'status == "to-read"'
446
+ order:
447
+ - file.name
448
+ - author
449
+ - pages
450
+ - formula.reading_time
451
+ ```
452
+
453
+ ### Daily Notes Index
454
+
455
+ ```yaml
456
+ filters:
457
+ and:
458
+ - file.inFolder("Daily Notes")
459
+ - '/^\d{4}-\d{2}-\d{2}$/.matches(file.basename)'
460
+
461
+ formulas:
462
+ word_estimate: '(file.size / 5).round(0)'
463
+ day_of_week: 'date(file.basename).format("dddd")'
464
+
465
+ properties:
466
+ formula.day_of_week:
467
+ displayName: "Day"
468
+ formula.word_estimate:
469
+ displayName: "~Words"
470
+
471
+ views:
472
+ - type: table
473
+ name: "Recent Notes"
474
+ limit: 30
475
+ order:
476
+ - file.name
477
+ - formula.day_of_week
478
+ - formula.word_estimate
479
+ - file.mtime
480
+ ```
481
+
482
+ ## Embedding Bases
483
+
484
+ ### Embed a `.base` file
485
+
486
+ Embed an external `.base` file in any Markdown note:
487
+
488
+ ```markdown
489
+ ![[MyBase.base]]
490
+
491
+ <!-- Specific view -->
492
+ ![[MyBase.base#View Name]]
493
+ ```
494
+
495
+ ### Embed inline with a code block
496
+
497
+ Bases can also be embedded **inline** directly inside a note using a `base` fenced code block. This is useful for note-level filters (e.g. using `this.file.links`) and avoids creating a separate `.base` file:
498
+
499
+ ````markdown
500
+ ```base
501
+ filters:
502
+ and:
503
+ - file.hasTag("example")
504
+ views:
505
+ - type: table
506
+ name: Table
507
+ order:
508
+ - file.name
509
+ - status
510
+ ```
511
+ ````
512
+
513
+ When embedded inline this way, the `this` keyword refers to the containing note, so you can build per-note views such as showing all notes linked from the current file.
514
+
515
+ ## YAML Quoting Rules
516
+
517
+ - Use single quotes for formulas containing double quotes: `'if(done, "Yes", "No")'`
518
+ - Use double quotes for simple strings: `"My View Name"`
519
+ - Escape nested quotes properly in complex expressions
520
+
521
+ ## Troubleshooting
522
+
523
+ ### YAML Syntax Errors
524
+
525
+ **Unquoted special characters**: Strings containing `:`, `{`, `}`, `[`, `]`, `,`, `&`, `*`, `#`, `?`, `|`, `-`, `<`, `>`, `=`, `%`, `@`, `` ` ``, `!` must be quoted.
526
+
527
+ ```yaml
528
+ # WRONG - colon in unquoted string
529
+ displayName: Status: Active
530
+
531
+ # CORRECT
532
+ displayName: "Status: Active"
533
+ ```
534
+
535
+ **Mismatched quotes in formulas**: When a formula contains double quotes, wrap the entire formula in single quotes.
536
+
537
+ ```yaml
538
+ # WRONG - double quotes inside double quotes
539
+ formulas:
540
+ label: "if(done, "Yes", "No")"
541
+
542
+ # CORRECT - single quotes wrapping double quotes
543
+ formulas:
544
+ label: 'if(done, "Yes", "No")'
545
+ ```
546
+
547
+ ### Common Formula Errors
548
+
549
+ **Duration math without field access**: Subtracting dates returns a Duration, not a number. Always access `.days`, `.hours`, etc.
550
+
551
+ ```yaml
552
+ # WRONG - Duration is not a number
553
+ "(now() - file.ctime).round(0)"
554
+
555
+ # CORRECT - access .days first, then round
556
+ "(now() - file.ctime).days.round(0)"
557
+ ```
558
+
559
+ **Missing null checks**: Properties may not exist on all notes. Use `if()` to guard.
560
+
561
+ ```yaml
562
+ # WRONG - crashes if due_date is empty
563
+ "(date(due_date) - today()).days"
564
+
565
+ # CORRECT - guard with if()
566
+ 'if(due_date, (date(due_date) - today()).days, "")'
567
+ ```
568
+
569
+ **`displayName` ignored, column shows the raw name**: prefix note properties with `note.` in the `properties:` section.
570
+
571
+ ```yaml
572
+ # WRONG - displayName ignored, column header shows "status"
573
+ properties:
574
+ status:
575
+ displayName: Status
576
+
577
+ # CORRECT - column header shows "Status"
578
+ properties:
579
+ note.status:
580
+ displayName: Status
581
+ ```
582
+
583
+ **Empty `displayName` doesn't hide a header**: `displayName: ""` falls back to the property name, the same as leaving it out, so `formula.status_icon` shows `status_icon`. Use a non-empty name such as `displayName: "Status"`.
584
+
585
+ **Referencing undefined formulas**: Ensure every `formula.X` in `order` or `properties` has a matching entry in `formulas`.
586
+
587
+ ```yaml
588
+ # This will fail silently if 'total' is not defined in formulas
589
+ order:
590
+ - formula.total
591
+
592
+ # Fix: define it
593
+ formulas:
594
+ total: "price * quantity"
595
+ ```
596
+
597
+ ## References
598
+
599
+ - [Bases Syntax](https://help.obsidian.md/bases/syntax)
600
+ - [Functions](https://help.obsidian.md/bases/functions)
601
+ - [Views](https://help.obsidian.md/bases/views)
602
+ - [Formulas](https://help.obsidian.md/formulas)
603
+ - [Complete Functions Reference](references/FUNCTIONS_REFERENCE.md)
604
+
605
+ ## Hướng dẫn tiếng Việt
606
+
607
+ Dùng tệp `.base` để tạo một bảng tổng hợp từ thuộc tính của ghi chú. Ví dụ dưới đây liệt kê ghi chú có thuộc tính `trang_thai` bằng `dang_lam`.
608
+
609
+ ```yaml
610
+ filters: 'trang_thai == "dang_lam"'
611
+ views:
612
+ - type: table
613
+ name: Việc đang làm
614
+ order:
615
+ - file.name
616
+ - trang_thai
617
+ ```
618
+
619
+ Lưu tệp trong vault được chọn. Kiểm tra cú pháp YAML và đối chiếu tên thuộc tính với một ghi chú thực tế. Để kiểm tra bảng hiển thị, mở tệp bằng Obsidian với tiện ích lõi Bases đã bật. Nếu bảng trống, kiểm tra xem ghi chú có đúng giá trị lọc hay chưa.
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "obsidian-bases",
3
+ "name": "Obsidian Bases",
4
+ "version": "1.2.3",
5
+ "description": "Create Obsidian Bases views, filters, formulas and summaries.",
6
+ "defaultEnabled": true,
7
+ "triggerTerms": [
8
+ "obsidian bases",
9
+ "obsidian base",
10
+ "bảng obsidian",
11
+ "cơ sở dữ liệu obsidian",
12
+ ".base file",
13
+ "tệp .base"
14
+ ],
15
+ "requiredCapabilities": [],
16
+ "source": {
17
+ "repo": "obsidianmd/obsidian-skills",
18
+ "commit": "9c9560a870fd490b0e1a847f2c8401a50e2d931d",
19
+ "folder": "plugins/obsidian/skills/obsidian-bases",
20
+ "license": "MIT"
21
+ }
22
+ }