mirror of
https://github.com/kepano/obsidian-skills.git
synced 2026-12-05 10:05:18 -08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 85add51f43 | |||
| 96cf4d19ff | |||
| 9cab7195e3 | |||
| 192500ad0d | |||
| 5153119854 | |||
| b178fdfbb7 | |||
| 3436b16881 |
@@ -9,8 +9,8 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian",
|
"name": "obsidian",
|
||||||
"source": "./plugins/obsidian",
|
"source": "./plugins/obsidian",
|
||||||
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, web extraction, and templates.",
|
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
||||||
"version": "1.1.0"
|
"version": "1.2.0"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian",
|
"name": "obsidian",
|
||||||
"source": "./plugins/obsidian",
|
"source": "./plugins/obsidian",
|
||||||
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, web extraction, and templates."
|
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian",
|
"name": "obsidian",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Obsidian",
|
"name": "Obsidian",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian",
|
"name": "obsidian",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Obsidian"
|
"name": "Obsidian"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
||||||
"name": "obsidian",
|
"name": "obsidian",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, Sync and Publish, web extraction, and templates.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Obsidian",
|
"name": "Obsidian",
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
"interface": {
|
"interface": {
|
||||||
"displayName": "Obsidian",
|
"displayName": "Obsidian",
|
||||||
"shortDescription": "Work with your local vault",
|
"shortDescription": "Work with your local vault",
|
||||||
"longDescription": "Search, read, create, and organize notes in a local Obsidian vault. Create and edit Obsidian Markdown with links, properties, and callouts. This plugin also lets you build Bases views, Canvas diagrams, extract web pages to Markdown, and render templates.\n\nThis plugin is currently desktop-only and requires Obsidian to be open and running with the CLI enabled. In the future we will add MCP so you can interact with your vault remotely and in the ChatGPT mobile app.",
|
"longDescription": "Search, read, create, and organize notes in a local Obsidian vault. Create and edit Obsidian Markdown with links, properties, and callouts. This plugin also lets you build Bases views, Canvas diagrams, extract web pages to Markdown, render templates, and sync and publish vaults with Obsidian Headless.\n\nThis plugin is currently desktop-only and requires Obsidian to be open and running with the CLI enabled. In the future we will add MCP so you can interact with your vault remotely and in the ChatGPT mobile app.",
|
||||||
"category": "Productivity",
|
"category": "Productivity",
|
||||||
"developerName": "Obsidian",
|
"developerName": "Obsidian",
|
||||||
"defaultPrompt": [
|
"defaultPrompt": [
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
},
|
},
|
||||||
"publication": {
|
"publication": {
|
||||||
"countries": [],
|
"countries": [],
|
||||||
"release_notes": "Six Obsidian skills for Markdown, Bases, Canvas, the Obsidian CLI, Defuddle, and Knap, with desktop execution metadata and setup guidance for the CLI and helper tools."
|
"release_notes": "Adds an Obsidian Headless skill to sync and publish vaults without the desktop app, kanban views in Bases, and fixes for Bases display names and the CLI on WSL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: obsidian-bases
|
name: obsidian-bases
|
||||||
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, filters, or formulas in Obsidian.
|
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.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Obsidian Bases Skill
|
# Obsidian Bases Skill
|
||||||
@@ -10,7 +10,7 @@ description: Create and edit Obsidian Bases (.base files) with views, filters, f
|
|||||||
1. **Create the file**: Create a `.base` file in the vault with valid YAML content
|
1. **Create the file**: Create a `.base` file in the vault with valid YAML content
|
||||||
2. **Define scope**: Add `filters` to select which notes appear (by tag, folder, property, or date)
|
2. **Define scope**: Add `filters` to select which notes appear (by tag, folder, property, or date)
|
||||||
3. **Add formulas** (optional): Define computed properties in the `formulas` section
|
3. **Add formulas** (optional): Define computed properties in the `formulas` section
|
||||||
4. **Configure views**: Add one or more views (`table`, `cards`, `list`, or `map`) with `order` specifying which properties to display
|
4. **Configure views**: Add one or more views (`table`, `cards`, `list`, `map`, or `kanban`) with `order` specifying which properties to display
|
||||||
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`
|
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`
|
||||||
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
|
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
|
||||||
|
|
||||||
@@ -48,12 +48,15 @@ summaries:
|
|||||||
|
|
||||||
# Define one or more views
|
# Define one or more views
|
||||||
views:
|
views:
|
||||||
- type: table | cards | list | map
|
- type: table | cards | list | map | kanban
|
||||||
name: "View Name"
|
name: "View Name"
|
||||||
limit: 10 # Optional: limit results
|
limit: 10 # Optional: limit results
|
||||||
groupBy: # Optional: group results
|
groupBy: # Optional: group results
|
||||||
property: property_name
|
property: property_name
|
||||||
direction: ASC | DESC
|
direction: ASC | DESC
|
||||||
|
groupOrder: # Optional: only these groups, in this order
|
||||||
|
- value_one
|
||||||
|
- null # Files with no value for the groupBy property
|
||||||
sort: # Optional: sort results (supports multiple properties)
|
sort: # Optional: sort results (supports multiple properties)
|
||||||
- property: property_name
|
- property: property_name
|
||||||
direction: ASC | DESC
|
direction: ASC | DESC
|
||||||
@@ -145,9 +148,10 @@ In `order`, `filters`, `groupBy`, and `sort`, a note property can be written bar
|
|||||||
| `file.mtime` | Date | Modified time |
|
| `file.mtime` | Date | Modified time |
|
||||||
| `file.tags` | List | All tags in file |
|
| `file.tags` | List | All tags in file |
|
||||||
| `file.links` | List | Internal links in file |
|
| `file.links` | List | Internal links in file |
|
||||||
| `file.backlinks` | List | Files linking to this file |
|
| `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` |
|
||||||
| `file.embeds` | List | Embeds in the note |
|
| `file.embeds` | List | Embeds in the note |
|
||||||
| `file.properties` | Object | All frontmatter properties |
|
| `file.properties` | Object | All frontmatter properties. Doesn't refresh when the vault changes |
|
||||||
|
| `file.file` | File | File object, only usable in specific functions |
|
||||||
|
|
||||||
### The `this` Keyword
|
### The `this` Keyword
|
||||||
|
|
||||||
@@ -263,6 +267,26 @@ views:
|
|||||||
- status
|
- status
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Kanban View
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
views:
|
||||||
|
- type: kanban
|
||||||
|
name: "Projects"
|
||||||
|
groupBy:
|
||||||
|
property: note.status
|
||||||
|
direction: ASC
|
||||||
|
groupOrder:
|
||||||
|
- Planned
|
||||||
|
- In progress
|
||||||
|
- Done
|
||||||
|
order:
|
||||||
|
- file.name
|
||||||
|
- due_date
|
||||||
|
```
|
||||||
|
|
||||||
### Map View
|
### Map View
|
||||||
|
|
||||||
Requires latitude/longitude properties and the Maps community plugin.
|
Requires latitude/longitude properties and the Maps community plugin.
|
||||||
|
|||||||
Reference in New Issue
Block a user