[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K58SG7T0V68W471FV8H2YA":3,"skill-same:01M6K58SG7T0V68W471FV8H2YA":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6K58SG7T0V68W471FV8H2YA","obsidian-bases",null,"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.","macrosoft3\u002Fsecond-brain_","macrosoft3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F107292560?v=4","01M6K57MP3ZGKWJPP9YWKJ1A54","macrosoft","01M6K57MSZBRTT5SYD80EADJWN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"obsidian bases","obsidian","bases","use","summaries","formulas","with","card","base","files","filters","user","edit","table","database","create","notes","2026-11-10 10:12:30",false,"---\nname: obsidian-bases\ndescription: 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.\n---\n\n# Obsidian Bases Skill\n\n> Third-party attribution: This content includes material derived from\n> kepano\u002Fobsidian-skills. See THIRD_PARTY_NOTICES.md.\n\n## Workflow\n\n1. Create a `.base` file in the vault with valid YAML content\n2. Add `filters` to select which notes appear (by tag, folder, property, or date)\n3. Add `formulas` (optional): define computed properties\n4. Configure `views`: add one or more views (`table`, `cards`, `list`, or `map`)\n5. Validate: verify valid YAML and all referenced properties\u002Fformulas exist\n6. Open in Obsidian to confirm the view renders correctly\n\n## Schema\n\n```yaml\n# Global filters apply to ALL views\nfilters:\n  and: []\n  or: []\n  not: []\n\n# Computed properties usable across all views\nformulas:\n  formula_name: 'expression'\n\n# Display name overrides for properties\nproperties:\n  property_name:\n    displayName: \"Display Name\"\n  formula.formula_name:\n    displayName: \"Formula Display Name\"\n\n# Custom summary formulas\nsummaries:\n  custom_summary_name: 'values.mean().round(3)'\n\n# One or more views\nviews:\n  - type: table | cards | list | map\n    name: \"View Name\"\n    limit: 10\n    groupBy:\n      property: property_name\n      direction: ASC | DESC\n    filters:\n      and: []\n    order:\n      - file.name\n      - property_name\n      - formula.formula_name\n    summaries:\n      property_name: Average\n```\n\n## Filter Syntax\n\n```yaml\n# Single filter\nfilters: 'status == \"done\"'\n\n# AND — all conditions must be true\nfilters:\n  and:\n    - 'status == \"done\"'\n    - 'priority > 3'\n\n# OR — any condition can be true\nfilters:\n  or:\n    - file.hasTag(\"book\")\n    - file.hasTag(\"article\")\n\n# NOT — exclude matching items\nfilters:\n  not:\n    - file.hasTag(\"archived\")\n\n# Nested\nfilters:\n  or:\n    - file.hasTag(\"tag\")\n    - and:\n        - file.hasTag(\"book\")\n        - file.hasLink(\"Textbook\")\n```\n\n### Filter Operators\n\n`==`, `!=`, `>`, `\u003C`, `>=`, `\u003C=`, `&&`, `||`, `!`\n\n## File Properties Reference\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `file.name` | String | File name |\n| `file.basename` | String | File name without extension |\n| `file.path` | String | Full path |\n| `file.folder` | String | Parent folder path |\n| `file.size` | Number | File size in bytes |\n| `file.ctime` | Date | Created time |\n| `file.mtime` | Date | Modified time |\n| `file.tags` | List | All tags |\n| `file.links` | List | Internal links |\n| `file.backlinks` | List | Backlinks |\n\n## Formula Syntax\n\n```yaml\nformulas:\n  # Arithmetic\n  total: \"price * quantity\"\n\n  # Conditional\n  status_icon: 'if(done, \"done\", \"pending\")'\n\n  # Date formatting\n  created: 'file.ctime.format(\"YYYY-MM-DD\")'\n\n  # Days since created (Duration → number via .days)\n  days_old: '(now() - file.ctime).days'\n\n  # Days until due (guard null with if())\n  days_until_due: 'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n**Duration pitfall**: Subtracting two dates returns a Duration type. Always access `.days`, `.hours`, etc. before calling number functions.\n\n```yaml\n# CORRECT\n\"(now() - file.ctime).days.round(0)\"\n\n# WRONG — Duration does not support .round() directly\n\"(now() - file.ctime).round(0)\"\n```\n\n## Key Functions\n\n| Function | Description |\n|----------|-------------|\n| `date(string)` | Parse string to date |\n| `now()` | Current date and time |\n| `today()` | Current date |\n| `if(cond, t, f?)` | Conditional |\n| `duration(string)` | Parse duration string |\n| `file(path)` | Get file object |\n| `link(path, display?)` | Create a link |\n\n## Default Summary Formulas\n\n`Average`, `Min`, `Max`, `Sum`, `Range`, `Median`, `Stddev`,\n`Earliest`, `Latest`, `Checked`, `Unchecked`, `Empty`, `Filled`, `Unique`\n\n## Complete Examples\n\n### Projects Tracker\n\n```yaml\nfilters:\n  and:\n    - 'type == \"project\"'\n    - file.inFolder(\"Projects\")\n\nformulas:\n  days_until_review: 'if(review, (date(review) - today()).days, \"\")'\n  overdue: 'if(review, date(review) \u003C today() && status != \"completed\", false)'\n\nproperties:\n  formula.days_until_review:\n    displayName: \"Days to Review\"\n\nviews:\n  - type: table\n    name: Active\n    filters:\n      and:\n        - 'status == \"active\"'\n    order:\n      - file.name\n      - status\n      - review\n      - formula.days_until_review\n    groupBy:\n      property: status\n      direction: ASC\n\n  - type: table\n    name: All\n    order:\n      - file.name\n      - status\n      - review\n```\n\n### Daily Journal Index\n\n```yaml\nfilters:\n  and:\n    - file.inFolder(\"Daily\")\n    - 'type == \"daily\"'\n\nformulas:\n  day_of_week: 'date(file.basename).format(\"dddd\")'\n\nviews:\n  - type: table\n    name: Recent\n    limit: 30\n    order:\n      - file.name\n      - formula.day_of_week\n      - file.mtime\n```\n\n### Books Reading List\n\n```yaml\nfilters:\n  or:\n    - file.hasTag(\"book\")\n\nformulas:\n  status_icon: 'if(status == \"reading\", \"reading\", if(status == \"done\", \"done\", \"to-read\"))'\n\nviews:\n  - type: cards\n    name: Library\n    order:\n      - file.name\n      - author\n      - formula.status_icon\n```\n\n## Embedding Bases\n\n```markdown\n![[MyBase.base]]\n\n\u003C!-- Specific view -->\n![[MyBase.base#View Name]]\n```\n\n## YAML Quoting Rules\n\n- Use single quotes for formulas containing double quotes: `'if(done, \"Yes\", \"No\")'`\n- Strings containing `:`, `{`, `}`, `[`, `]` must be quoted\n\n## Troubleshooting\n\n**Duration math error**: Subtracting dates returns Duration, not number. Use `.days`, `.hours`, etc.\n\n**Missing null check**: Use `if()` to guard properties that may not exist on all notes.\n\n**Referencing undefined formula**: Every `formula.X` in `order` must have a matching entry in `formulas`.\n\n## References\n\n- [Bases Syntax](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Fsyntax)\n- [Functions](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Ffunctions)\n- [Views](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Fviews)\n","# Obsidian Bases Skill\n\n> Third-party attribution: This content includes material derived from\n> kepano\u002Fobsidian-skills. See THIRD_PARTY_NOTICES.md.\n\n## Workflow\n\n1. Create a `.base` file in the vault with valid YAML content\n2. Add `filters` to select which notes appear (by tag, folder, property, or date)\n3. Add `formulas` (optional): define computed properties\n4. Configure `views`: add one or more views (`table`, `cards`, `list`, or `map`)\n5. Validate: verify valid YAML and all referenced properties\u002Fformulas exist\n6. Open in Obsidian to confirm the view renders correctly\n\n## Schema\n\n```yaml\n# Global filters apply to ALL views\nfilters:\n  and: []\n  or: []\n  not: []\n\n# Computed properties usable across all views\nformulas:\n  formula_name: 'expression'\n\n# Display name overrides for properties\nproperties:\n  property_name:\n    displayName: \"Display Name\"\n  formula.formula_name:\n    displayName: \"Formula Display Name\"\n\n# Custom summary formulas\nsummaries:\n  custom_summary_name: 'values.mean().round(3)'\n\n# One or more views\nviews:\n  - type: table | cards | list | map\n    name: \"View Name\"\n    limit: 10\n    groupBy:\n      property: property_name\n      direction: ASC | DESC\n    filters:\n      and: []\n    order:\n      - file.name\n      - property_name\n      - formula.formula_name\n    summaries:\n      property_name: Average\n```\n\n## Filter Syntax\n\n```yaml\n# Single filter\nfilters: 'status == \"done\"'\n\n# AND — all conditions must be true\nfilters:\n  and:\n    - 'status == \"done\"'\n    - 'priority > 3'\n\n# OR — any condition can be true\nfilters:\n  or:\n    - file.hasTag(\"book\")\n    - file.hasTag(\"article\")\n\n# NOT — exclude matching items\nfilters:\n  not:\n    - file.hasTag(\"archived\")\n\n# Nested\nfilters:\n  or:\n    - file.hasTag(\"tag\")\n    - and:\n        - file.hasTag(\"book\")\n        - file.hasLink(\"Textbook\")\n```\n\n### Filter Operators\n\n`==`, `!=`, `>`, `\u003C`, `>=`, `\u003C=`, `&&`, `||`, `!`\n\n## File Properties Reference\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `file.name` | String | File name |\n| `file.basename` | String | File name without extension |\n| `file.path` | String | Full path |\n| `file.folder` | String | Parent folder path |\n| `file.size` | Number | File size in bytes |\n| `file.ctime` | Date | Created time |\n| `file.mtime` | Date | Modified time |\n| `file.tags` | List | All tags |\n| `file.links` | List | Internal links |\n| `file.backlinks` | List | Backlinks |\n\n## Formula Syntax\n\n```yaml\nformulas:\n  # Arithmetic\n  total: \"price * quantity\"\n\n  # Conditional\n  status_icon: 'if(done, \"done\", \"pending\")'\n\n  # Date formatting\n  created: 'file.ctime.format(\"YYYY-MM-DD\")'\n\n  # Days since created (Duration → number via .days)\n  days_old: '(now() - file.ctime).days'\n\n  # Days until due (guard null with if())\n  days_until_due: 'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n**Duration pitfall**: Subtracting two dates returns a Duration type. Always access `.days`, `.hours`, etc. before calling number functions.\n\n```yaml\n# CORRECT\n\"(now() - file.ctime).days.round(0)\"\n\n# WRONG — Duration does not support .round() directly\n\"(now() - file.ctime).round(0)\"\n```\n\n## Key Functions\n\n| Function | Description |\n|----------|-------------|\n| `date(string)` | Parse string to date |\n| `now()` | Current date and time |\n| `today()` | Current date |\n| `if(cond, t, f?)` | Conditional |\n| `duration(string)` | Parse duration string |\n| `file(path)` | Get file object |\n| `link(path, display?)` | Create a link |\n\n## Default Summary Formulas\n\n`Average`, `Min`, `Max`, `Sum`, `Range`, `Median`, `Stddev`,\n`Earliest`, `Latest`, `Checked`, `Unchecked`, `Empty`, `Filled`, `Unique`\n\n## Complete Examples\n\n### Projects Tracker\n\n```yaml\nfilters:\n  and:\n    - 'type == \"project\"'\n    - file.inFolder(\"Projects\")\n\nformulas:\n  days_until_review: 'if(review, (date(review) - today()).days, \"\")'\n  overdue: 'if(review, date(review) \u003C today() && status != \"completed\", false)'\n\nproperties:\n  formula.days_until_review:\n    displayName: \"Days to Review\"\n\nviews:\n  - type: table\n    name: Active\n    filters:\n      and:\n        - 'status == \"active\"'\n    order:\n      - file.name\n      - status\n      - review\n      - formula.days_until_review\n    groupBy:\n      property: status\n      direction: ASC\n\n  - type: table\n    name: All\n    order:\n      - file.name\n      - status\n      - review\n```\n\n### Daily Journal Index\n\n```yaml\nfilters:\n  and:\n    - file.inFolder(\"Daily\")\n    - 'type == \"daily\"'\n\nformulas:\n  day_of_week: 'date(file.basename).format(\"dddd\")'\n\nviews:\n  - type: table\n    name: Recent\n    limit: 30\n    order:\n      - file.name\n      - formula.day_of_week\n      - file.mtime\n```\n\n### Books Reading List\n\n```yaml\nfilters:\n  or:\n    - file.hasTag(\"book\")\n\nformulas:\n  status_icon: 'if(status == \"reading\", \"reading\", if(status == \"done\", \"done\", \"to-read\"))'\n\nviews:\n  - type: cards\n    name: Library\n    order:\n      - file.name\n      - author\n      - formula.status_icon\n```\n\n## Embedding Bases\n\n```markdown\n![[MyBase.base]]\n\n\u003C!-- Specific view -->\n![[MyBase.base#View Name]]\n```\n\n## YAML Quoting Rules\n\n- Use single quotes for formulas containing double quotes: `'if(done, \"Yes\", \"No\")'`\n- Strings containing `:`, `{`, `}`, `[`, `]` must be quoted\n\n## Troubleshooting\n\n**Duration math error**: Subtracting dates returns Duration, not number. Use `.days`, `.hours`, etc.\n\n**Missing null check**: Use `if()` to guard properties that may not exist on all notes.\n\n**Referencing undefined formula**: Every `formula.X` in `order` must have a matching entry in `formulas`.\n\n## References\n\n- [Bases Syntax](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Fsyntax)\n- [Functions](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Ffunctions)\n- [Views](https:\u002F\u002Fhelp.obsidian.md\u002Fbases\u002Fviews)\n",{"name":5,"description":7},"main","dd185e10b02348a52bd2285c443802e6ef81e6ac","skills\u002Fobsidian-bases","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_","https:\u002F\u002Fgithub.com\u002Fmacrosoft3","2026-07-12 20:07:16",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add macrosoft3\u002Fsecond-brain_ --skill obsidian-bases",{"tool":53,"command":54},"bunx","bunx skills add macrosoft3\u002Fsecond-brain_ --skill obsidian-bases",{"tool":56,"command":57},"pnpm","pnpm dlx skills add macrosoft3\u002Fsecond-brain_ --skill obsidian-bases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",true,[],[62,75,97,111,117,126],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":36},"01M6K591M6BEBFCRY9D6TNTQ4G","obsidian-markdown","Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fobsidian-markdown\u002FSKILL.md",[],[20,69,70,71,25,31,72,35,34,28,73,22,74,30],"obsidian markdown","markdown","frontmatter","tags","properties","syntax",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":36},"01M6K58XMC9DEZ9S1B82E5GMC4","obsidian-cli","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.","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fobsidian-cli\u002FSKILL.md",[],[82,20,83,84,85,86,22,87,88,89,25,90,91,34,92,93,35,94,95,96],"obsidian cli","cli","more","search","obsidian vault","manage","themes","theme","errors","inspect","javascript","debug","plugin","tasks","development",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":36},"01M6K58NNCS5Z13KB8YBMJQ6JM","json-canvas","Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fjson-canvas\u002FSKILL.md",[],[104,105,106,22,20,34,31,30,107,28,108,109,110,25],"json","json canvas","canvas","Nodes","maps","connections","visual",{"skillNo":112,"name":113,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":36},"01M6K58M207K38HB3WP694ZM9T","init","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Finit\u002FSKILL.md",[],[113],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":36},"01M6K58FRQ644ZW3A3SZRS4KA7","hello","Greet the user with a personalized message","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fhello\u002FSKILL.md",[],[119,30,124,125,25],"greet","message",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":36},"01M6K58DW3MQ2JM8WP91MS7YHE","distill","Distill today's session notes into a concise Daily summary","https:\u002F\u002Fgithub.com\u002Fmacrosoft3\u002Fsecond-brain_\u002Fblob\u002Fmain\u002Fskills\u002Fdistill\u002FSKILL.md",[],[128,35,133,134,135,136],"session","daily","summary","concise"]