[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BSQ9JY6ZGFEKXC7RT8DHQB":3,"skill-same:01M6BSQ9JY6ZGFEKXC7RT8DHQB":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":17,"updatedAt":62,"install":63,"resources":76},"01M6BSQ9JY6ZGFEKXC7RT8DHQB","obsidian-bases","Obsidian Bases 数据库视图","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.","创建和编辑 Obsidian Bases（.base 文件），包括视图、筛选器、公式和汇总。当处理 .base 文件、为笔记创建类似数据库的视图，或用户提到 Obsidian 中的 Bases、表格视图、卡片视图、筛选器或公式时使用。","Atmosphere\u002Fatmosphere","Atmosphere","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F318873?v=4","01M6BSPYD9QQA0JP3Z913W9PRV","Atmosphere Framework","01M6BSPYHYTTF1B7JPD17B8N5S",3834,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"obsidian bases","obsidian","bases","filters","when","summaries","formulas","with","card","base","files","use","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## Workflow\n\n1. **Create the file**: Create a `.base` file in the vault with valid YAML content\n2. **Define scope**: Add `filters` to select which notes appear (by tag, folder, property, or date)\n3. **Add formulas** (optional): Define computed properties in the `formulas` section\n4. **Configure views**: Add one or more views (`table`, `cards`, `list`, or `map`) with `order` specifying which properties to display\n5. **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`\n6. **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\n\n## Schema\n\nBase files use the `.base` extension and contain valid YAML.\n\n```yaml\n# Global filters apply to ALL views in the base\nfilters:\n  # Can be a single filter string\n  # OR a recursive filter object with and\u002For\u002Fnot\n  and: []\n  or: []\n  not: []\n\n# Define formula properties that can be used across all views\nformulas:\n  formula_name: 'expression'\n\n# Configure display names and settings for properties\nproperties:\n  property_name:\n    displayName: \"Display Name\"\n  formula.formula_name:\n    displayName: \"Formula Display Name\"\n  file.ext:\n    displayName: \"Extension\"\n\n# Define custom summary formulas\nsummaries:\n  custom_summary_name: 'values.mean().round(3)'\n\n# Define one or more views\nviews:\n  - type: table | cards | list | map\n    name: \"View Name\"\n    limit: 10                    # Optional: limit results\n    groupBy:                     # Optional: group results\n      property: property_name\n      direction: ASC | DESC\n    filters:                     # View-specific filters\n      and: []\n    order:                       # Properties to display in order\n      - file.name\n      - property_name\n      - formula.formula_name\n    summaries:                   # Map properties to summary formulas\n      property_name: Average\n```\n\n## Filter Syntax\n\nFilters narrow down results. They can be applied globally or per-view.\n\n### Filter Structure\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 filters\nfilters:\n  or:\n    - file.hasTag(\"tag\")\n    - and:\n        - file.hasTag(\"book\")\n        - file.hasLink(\"Textbook\")\n    - not:\n        - file.hasTag(\"book\")\n        - file.inFolder(\"Required Reading\")\n```\n\n### Filter Operators\n\n| Operator | Description |\n|----------|-------------|\n| `==` | equals |\n| `!=` | not equal |\n| `>` | greater than |\n| `\u003C` | less than |\n| `>=` | greater than or equal |\n| `\u003C=` | less than or equal |\n| `&&` | logical and |\n| `\\|\\|` | logical or |\n| \u003Ccode>!\u003C\u002Fcode> | logical not |\n\n## Properties\n\n### Three Types of Properties\n\n1. **Note properties** - From frontmatter: `note.author` or just `author`\n2. **File properties** - File metadata: `file.name`, `file.mtime`, etc.\n3. **Formula properties** - Computed values: `formula.my_formula`\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 to file |\n| `file.folder` | String | Parent folder path |\n| `file.ext` | String | File extension |\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 in file |\n| `file.links` | List | Internal links in file |\n| `file.backlinks` | List | Files linking to this file |\n| `file.embeds` | List | Embeds in the note |\n| `file.properties` | Object | All frontmatter properties |\n\n### The `this` Keyword\n\n- In main content area: refers to the base file itself\n- When embedded: refers to the embedding file\n- In sidebar: refers to the active file in main content\n\n## Formula Syntax\n\nFormulas compute values from properties. Defined in the `formulas` section.\n\n```yaml\nformulas:\n  # Simple arithmetic\n  total: \"price * quantity\"\n\n  # Conditional logic\n  status_icon: 'if(done, \"✅\", \"❌\")'\n\n  # String formatting\n  formatted_price: 'if(price, price.toFixed(2) + \" dollars\")'\n\n  # Date formatting\n  created: 'file.ctime.format(\"YYYY-MM-DD\")'\n\n  # Calculate days since created (use .days for Duration)\n  days_old: '(now() - file.ctime).days'\n\n  # Calculate days until due date\n  days_until_due: 'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n## Key Functions\n\nMost commonly used functions. For the complete reference of all types (Date, String, Number, List, File, Link, Object, RegExp), see [FUNCTIONS_REFERENCE.md](references\u002FFUNCTIONS_REFERENCE.md).\n\n| Function | Signature | Description |\n|----------|-----------|-------------|\n| `date()` | `date(string): date` | Parse string to date (`YYYY-MM-DD HH:mm:ss`) |\n| `now()` | `now(): date` | Current date and time |\n| `today()` | `today(): date` | Current date (time = 00:00:00) |\n| `if()` | `if(condition, trueResult, falseResult?)` | Conditional |\n| `duration()` | `duration(string): duration` | Parse duration string |\n| `file()` | `file(path): file` | Get file object |\n| `link()` | `link(path, display?): Link` | Create a link |\n\n### Duration Type\n\nWhen subtracting two dates, the result is a **Duration** type (not a number).\n\n**Duration Fields:** `duration.days`, `duration.hours`, `duration.minutes`, `duration.seconds`, `duration.milliseconds`\n\n**IMPORTANT:** Duration does NOT support `.round()`, `.floor()`, `.ceil()` directly. Access a numeric field first (like `.days`), then apply number functions.\n\n```yaml\n# CORRECT: Calculate days between dates\n\"(date(due_date) - today()).days\"                    # Returns number of days\n\"(now() - file.ctime).days\"                          # Days since created\n\"(date(due_date) - today()).days.round(0)\"           # Rounded days\n\n# WRONG - will cause error:\n# \"((date(due) - today()) \u002F 86400000).round(0)\"      # Duration doesn't support division then round\n```\n\n### Date Arithmetic\n\n```yaml\n# Duration units: y\u002Fyear\u002Fyears, M\u002Fmonth\u002Fmonths, d\u002Fday\u002Fdays,\n#                 w\u002Fweek\u002Fweeks, h\u002Fhour\u002Fhours, m\u002Fminute\u002Fminutes, s\u002Fsecond\u002Fseconds\n\"now() + \\\"1 day\\\"\"       # Tomorrow\n\"today() + \\\"7d\\\"\"        # A week from today\n\"now() - file.ctime\"      # Returns Duration\n\"(now() - file.ctime).days\"  # Get days as number\n```\n\n## View Types\n\n### Table View\n\n```yaml\nviews:\n  - type: table\n    name: \"My Table\"\n    order:\n      - file.name\n      - status\n      - due_date\n    summaries:\n      price: Sum\n      count: Average\n```\n\n### Cards View\n\n```yaml\nviews:\n  - type: cards\n    name: \"Gallery\"\n    order:\n      - file.name\n      - cover_image\n      - description\n```\n\n### List View\n\n```yaml\nviews:\n  - type: list\n    name: \"Simple List\"\n    order:\n      - file.name\n      - status\n```\n\n### Map View\n\nRequires latitude\u002Flongitude properties and the Maps community plugin.\n\n```yaml\nviews:\n  - type: map\n    name: \"Locations\"\n    # Map-specific settings for lat\u002Flng properties\n```\n\n## Default Summary Formulas\n\n| Name | Input Type | Description |\n|------|------------|-------------|\n| `Average` | Number | Mathematical mean |\n| `Min` | Number | Smallest number |\n| `Max` | Number | Largest number |\n| `Sum` | Number | Sum of all numbers |\n| `Range` | Number | Max - Min |\n| `Median` | Number | Mathematical median |\n| `Stddev` | Number | Standard deviation |\n| `Earliest` | Date | Earliest date |\n| `Latest` | Date | Latest date |\n| `Range` | Date | Latest - Earliest |\n| `Checked` | Boolean | Count of true values |\n| `Unchecked` | Boolean | Count of false values |\n| `Empty` | Any | Count of empty values |\n| `Filled` | Any | Count of non-empty values |\n| `Unique` | Any | Count of unique values |\n\n## Complete Examples\n\n### Task Tracker Base\n\n```yaml\nfilters:\n  and:\n    - file.hasTag(\"task\")\n    - 'file.ext == \"md\"'\n\nformulas:\n  days_until_due: 'if(due, (date(due) - today()).days, \"\")'\n  is_overdue: 'if(due, date(due) \u003C today() && status != \"done\", false)'\n  priority_label: 'if(priority == 1, \"? High\", if(priority == 2, \"? Medium\", \"? Low\"))'\n\nproperties:\n  status:\n    displayName: Status\n  formula.days_until_due:\n    displayName: \"Days Until Due\"\n  formula.priority_label:\n    displayName: Priority\n\nviews:\n  - type: table\n    name: \"Active Tasks\"\n    filters:\n      and:\n        - 'status != \"done\"'\n    order:\n      - file.name\n      - status\n      - formula.priority_label\n      - due\n      - formula.days_until_due\n    groupBy:\n      property: status\n      direction: ASC\n    summaries:\n      formula.days_until_due: Average\n\n  - type: table\n    name: \"Completed\"\n    filters:\n      and:\n        - 'status == \"done\"'\n    order:\n      - file.name\n      - completed_date\n```\n\n### Reading List Base\n\n```yaml\nfilters:\n  or:\n    - file.hasTag(\"book\")\n    - file.hasTag(\"article\")\n\nformulas:\n  reading_time: 'if(pages, (pages * 2).toString() + \" min\", \"\")'\n  status_icon: 'if(status == \"reading\", \"?\", if(status == \"done\", \"✅\", \"?\"))'\n  year_read: 'if(finished_date, date(finished_date).year, \"\")'\n\nproperties:\n  author:\n    displayName: Author\n  formula.status_icon:\n    displayName: \"\"\n  formula.reading_time:\n    displayName: \"Est. Time\"\n\nviews:\n  - type: cards\n    name: \"Library\"\n    order:\n      - cover\n      - file.name\n      - author\n      - formula.status_icon\n    filters:\n      not:\n        - 'status == \"dropped\"'\n\n  - type: table\n    name: \"Reading List\"\n    filters:\n      and:\n        - 'status == \"to-read\"'\n    order:\n      - file.name\n      - author\n      - pages\n      - formula.reading_time\n```\n\n### Daily Notes Index\n\n```yaml\nfilters:\n  and:\n    - file.inFolder(\"Daily Notes\")\n    - '\u002F^\\d{4}-\\d{2}-\\d{2}$\u002F.matches(file.basename)'\n\nformulas:\n  word_estimate: '(file.size \u002F 5).round(0)'\n  day_of_week: 'date(file.basename).format(\"dddd\")'\n\nproperties:\n  formula.day_of_week:\n    displayName: \"Day\"\n  formula.word_estimate:\n    displayName: \"~Words\"\n\nviews:\n  - type: table\n    name: \"Recent Notes\"\n    limit: 30\n    order:\n      - file.name\n      - formula.day_of_week\n      - formula.word_estimate\n      - file.mtime\n```\n\n## Embedding Bases\n\nEmbed in Markdown files:\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- Use double quotes for simple strings: `\"My View Name\"`\n- Escape nested quotes properly in complex expressions\n\n## Troubleshooting\n\n### YAML Syntax Errors\n\n**Unquoted special characters**: Strings containing `:`, `{`, `}`, `[`, `]`, `,`, `&`, `*`, `#`, `?`, `|`, `-`, `\u003C`, `>`, `=`, `!`, `%`, `@`, `` ` `` must be quoted.\n\n```yaml\n# WRONG - colon in unquoted string\ndisplayName: Status: Active\n\n# CORRECT\ndisplayName: \"Status: Active\"\n```\n\n**Mismatched quotes in formulas**: When a formula contains double quotes, wrap the entire formula in single quotes.\n\n```yaml\n# WRONG - double quotes inside double quotes\nformulas:\n  label: \"if(done, \"Yes\", \"No\")\"\n\n# CORRECT - single quotes wrapping double quotes\nformulas:\n  label: 'if(done, \"Yes\", \"No\")'\n```\n\n### Common Formula Errors\n\n**Duration math without field access**: Subtracting dates returns a Duration, not a number. Always access `.days`, `.hours`, etc.\n\n```yaml\n# WRONG - Duration is not a number\n\"(now() - file.ctime).round(0)\"\n\n# CORRECT - access .days first, then round\n\"(now() - file.ctime).days.round(0)\"\n```\n\n**Missing null checks**: Properties may not exist on all notes. Use `if()` to guard.\n\n```yaml\n# WRONG - crashes if due_date is empty\n\"(date(due_date) - today()).days\"\n\n# CORRECT - guard with if()\n'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n**Referencing undefined formulas**: Ensure every `formula.X` in `order` or `properties` has a matching entry in `formulas`.\n\n```yaml\n# This will fail silently if 'total' is not defined in formulas\norder:\n  - formula.total\n\n# Fix: define it\nformulas:\n  total: \"price * quantity\"\n```\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- [Formulas](https:\u002F\u002Fhelp.obsidian.md\u002Fformulas)\n- [Complete Functions Reference](references\u002FFUNCTIONS_REFERENCE.md)\n","# Obsidian Bases Skill\n\n## Workflow\n\n1. **Create the file**: Create a `.base` file in the vault with valid YAML content\n2. **Define scope**: Add `filters` to select which notes appear (by tag, folder, property, or date)\n3. **Add formulas** (optional): Define computed properties in the `formulas` section\n4. **Configure views**: Add one or more views (`table`, `cards`, `list`, or `map`) with `order` specifying which properties to display\n5. **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`\n6. **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\n\n## Schema\n\nBase files use the `.base` extension and contain valid YAML.\n\n```yaml\n# Global filters apply to ALL views in the base\nfilters:\n  # Can be a single filter string\n  # OR a recursive filter object with and\u002For\u002Fnot\n  and: []\n  or: []\n  not: []\n\n# Define formula properties that can be used across all views\nformulas:\n  formula_name: 'expression'\n\n# Configure display names and settings for properties\nproperties:\n  property_name:\n    displayName: \"Display Name\"\n  formula.formula_name:\n    displayName: \"Formula Display Name\"\n  file.ext:\n    displayName: \"Extension\"\n\n# Define custom summary formulas\nsummaries:\n  custom_summary_name: 'values.mean().round(3)'\n\n# Define one or more views\nviews:\n  - type: table | cards | list | map\n    name: \"View Name\"\n    limit: 10                    # Optional: limit results\n    groupBy:                     # Optional: group results\n      property: property_name\n      direction: ASC | DESC\n    filters:                     # View-specific filters\n      and: []\n    order:                       # Properties to display in order\n      - file.name\n      - property_name\n      - formula.formula_name\n    summaries:                   # Map properties to summary formulas\n      property_name: Average\n```\n\n## Filter Syntax\n\nFilters narrow down results. They can be applied globally or per-view.\n\n### Filter Structure\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 filters\nfilters:\n  or:\n    - file.hasTag(\"tag\")\n    - and:\n        - file.hasTag(\"book\")\n        - file.hasLink(\"Textbook\")\n    - not:\n        - file.hasTag(\"book\")\n        - file.inFolder(\"Required Reading\")\n```\n\n### Filter Operators\n\n| Operator | Description |\n|----------|-------------|\n| `==` | equals |\n| `!=` | not equal |\n| `>` | greater than |\n| `\u003C` | less than |\n| `>=` | greater than or equal |\n| `\u003C=` | less than or equal |\n| `&&` | logical and |\n| `\\|\\|` | logical or |\n| \u003Ccode>!\u003C\u002Fcode> | logical not |\n\n## Properties\n\n### Three Types of Properties\n\n1. **Note properties** - From frontmatter: `note.author` or just `author`\n2. **File properties** - File metadata: `file.name`, `file.mtime`, etc.\n3. **Formula properties** - Computed values: `formula.my_formula`\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 to file |\n| `file.folder` | String | Parent folder path |\n| `file.ext` | String | File extension |\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 in file |\n| `file.links` | List | Internal links in file |\n| `file.backlinks` | List | Files linking to this file |\n| `file.embeds` | List | Embeds in the note |\n| `file.properties` | Object | All frontmatter properties |\n\n### The `this` Keyword\n\n- In main content area: refers to the base file itself\n- When embedded: refers to the embedding file\n- In sidebar: refers to the active file in main content\n\n## Formula Syntax\n\nFormulas compute values from properties. Defined in the `formulas` section.\n\n```yaml\nformulas:\n  # Simple arithmetic\n  total: \"price * quantity\"\n\n  # Conditional logic\n  status_icon: 'if(done, \"✅\", \"❌\")'\n\n  # String formatting\n  formatted_price: 'if(price, price.toFixed(2) + \" dollars\")'\n\n  # Date formatting\n  created: 'file.ctime.format(\"YYYY-MM-DD\")'\n\n  # Calculate days since created (use .days for Duration)\n  days_old: '(now() - file.ctime).days'\n\n  # Calculate days until due date\n  days_until_due: 'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n## Key Functions\n\nMost commonly used functions. For the complete reference of all types (Date, String, Number, List, File, Link, Object, RegExp), see [FUNCTIONS_REFERENCE.md](references\u002FFUNCTIONS_REFERENCE.md).\n\n| Function | Signature | Description |\n|----------|-----------|-------------|\n| `date()` | `date(string): date` | Parse string to date (`YYYY-MM-DD HH:mm:ss`) |\n| `now()` | `now(): date` | Current date and time |\n| `today()` | `today(): date` | Current date (time = 00:00:00) |\n| `if()` | `if(condition, trueResult, falseResult?)` | Conditional |\n| `duration()` | `duration(string): duration` | Parse duration string |\n| `file()` | `file(path): file` | Get file object |\n| `link()` | `link(path, display?): Link` | Create a link |\n\n### Duration Type\n\nWhen subtracting two dates, the result is a **Duration** type (not a number).\n\n**Duration Fields:** `duration.days`, `duration.hours`, `duration.minutes`, `duration.seconds`, `duration.milliseconds`\n\n**IMPORTANT:** Duration does NOT support `.round()`, `.floor()`, `.ceil()` directly. Access a numeric field first (like `.days`), then apply number functions.\n\n```yaml\n# CORRECT: Calculate days between dates\n\"(date(due_date) - today()).days\"                    # Returns number of days\n\"(now() - file.ctime).days\"                          # Days since created\n\"(date(due_date) - today()).days.round(0)\"           # Rounded days\n\n# WRONG - will cause error:\n# \"((date(due) - today()) \u002F 86400000).round(0)\"      # Duration doesn't support division then round\n```\n\n### Date Arithmetic\n\n```yaml\n# Duration units: y\u002Fyear\u002Fyears, M\u002Fmonth\u002Fmonths, d\u002Fday\u002Fdays,\n#                 w\u002Fweek\u002Fweeks, h\u002Fhour\u002Fhours, m\u002Fminute\u002Fminutes, s\u002Fsecond\u002Fseconds\n\"now() + \\\"1 day\\\"\"       # Tomorrow\n\"today() + \\\"7d\\\"\"        # A week from today\n\"now() - file.ctime\"      # Returns Duration\n\"(now() - file.ctime).days\"  # Get days as number\n```\n\n## View Types\n\n### Table View\n\n```yaml\nviews:\n  - type: table\n    name: \"My Table\"\n    order:\n      - file.name\n      - status\n      - due_date\n    summaries:\n      price: Sum\n      count: Average\n```\n\n### Cards View\n\n```yaml\nviews:\n  - type: cards\n    name: \"Gallery\"\n    order:\n      - file.name\n      - cover_image\n      - description\n```\n\n### List View\n\n```yaml\nviews:\n  - type: list\n    name: \"Simple List\"\n    order:\n      - file.name\n      - status\n```\n\n### Map View\n\nRequires latitude\u002Flongitude properties and the Maps community plugin.\n\n```yaml\nviews:\n  - type: map\n    name: \"Locations\"\n    # Map-specific settings for lat\u002Flng properties\n```\n\n## Default Summary Formulas\n\n| Name | Input Type | Description |\n|------|------------|-------------|\n| `Average` | Number | Mathematical mean |\n| `Min` | Number | Smallest number |\n| `Max` | Number | Largest number |\n| `Sum` | Number | Sum of all numbers |\n| `Range` | Number | Max - Min |\n| `Median` | Number | Mathematical median |\n| `Stddev` | Number | Standard deviation |\n| `Earliest` | Date | Earliest date |\n| `Latest` | Date | Latest date |\n| `Range` | Date | Latest - Earliest |\n| `Checked` | Boolean | Count of true values |\n| `Unchecked` | Boolean | Count of false values |\n| `Empty` | Any | Count of empty values |\n| `Filled` | Any | Count of non-empty values |\n| `Unique` | Any | Count of unique values |\n\n## Complete Examples\n\n### Task Tracker Base\n\n```yaml\nfilters:\n  and:\n    - file.hasTag(\"task\")\n    - 'file.ext == \"md\"'\n\nformulas:\n  days_until_due: 'if(due, (date(due) - today()).days, \"\")'\n  is_overdue: 'if(due, date(due) \u003C today() && status != \"done\", false)'\n  priority_label: 'if(priority == 1, \"? High\", if(priority == 2, \"? Medium\", \"? Low\"))'\n\nproperties:\n  status:\n    displayName: Status\n  formula.days_until_due:\n    displayName: \"Days Until Due\"\n  formula.priority_label:\n    displayName: Priority\n\nviews:\n  - type: table\n    name: \"Active Tasks\"\n    filters:\n      and:\n        - 'status != \"done\"'\n    order:\n      - file.name\n      - status\n      - formula.priority_label\n      - due\n      - formula.days_until_due\n    groupBy:\n      property: status\n      direction: ASC\n    summaries:\n      formula.days_until_due: Average\n\n  - type: table\n    name: \"Completed\"\n    filters:\n      and:\n        - 'status == \"done\"'\n    order:\n      - file.name\n      - completed_date\n```\n\n### Reading List Base\n\n```yaml\nfilters:\n  or:\n    - file.hasTag(\"book\")\n    - file.hasTag(\"article\")\n\nformulas:\n  reading_time: 'if(pages, (pages * 2).toString() + \" min\", \"\")'\n  status_icon: 'if(status == \"reading\", \"?\", if(status == \"done\", \"✅\", \"?\"))'\n  year_read: 'if(finished_date, date(finished_date).year, \"\")'\n\nproperties:\n  author:\n    displayName: Author\n  formula.status_icon:\n    displayName: \"\"\n  formula.reading_time:\n    displayName: \"Est. Time\"\n\nviews:\n  - type: cards\n    name: \"Library\"\n    order:\n      - cover\n      - file.name\n      - author\n      - formula.status_icon\n    filters:\n      not:\n        - 'status == \"dropped\"'\n\n  - type: table\n    name: \"Reading List\"\n    filters:\n      and:\n        - 'status == \"to-read\"'\n    order:\n      - file.name\n      - author\n      - pages\n      - formula.reading_time\n```\n\n### Daily Notes Index\n\n```yaml\nfilters:\n  and:\n    - file.inFolder(\"Daily Notes\")\n    - '\u002F^\\d{4}-\\d{2}-\\d{2}$\u002F.matches(file.basename)'\n\nformulas:\n  word_estimate: '(file.size \u002F 5).round(0)'\n  day_of_week: 'date(file.basename).format(\"dddd\")'\n\nproperties:\n  formula.day_of_week:\n    displayName: \"Day\"\n  formula.word_estimate:\n    displayName: \"~Words\"\n\nviews:\n  - type: table\n    name: \"Recent Notes\"\n    limit: 30\n    order:\n      - file.name\n      - formula.day_of_week\n      - formula.word_estimate\n      - file.mtime\n```\n\n## Embedding Bases\n\nEmbed in Markdown files:\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- Use double quotes for simple strings: `\"My View Name\"`\n- Escape nested quotes properly in complex expressions\n\n## Troubleshooting\n\n### YAML Syntax Errors\n\n**Unquoted special characters**: Strings containing `:`, `{`, `}`, `[`, `]`, `,`, `&`, `*`, `#`, `?`, `|`, `-`, `\u003C`, `>`, `=`, `!`, `%`, `@`, `` ` `` must be quoted.\n\n```yaml\n# WRONG - colon in unquoted string\ndisplayName: Status: Active\n\n# CORRECT\ndisplayName: \"Status: Active\"\n```\n\n**Mismatched quotes in formulas**: When a formula contains double quotes, wrap the entire formula in single quotes.\n\n```yaml\n# WRONG - double quotes inside double quotes\nformulas:\n  label: \"if(done, \"Yes\", \"No\")\"\n\n# CORRECT - single quotes wrapping double quotes\nformulas:\n  label: 'if(done, \"Yes\", \"No\")'\n```\n\n### Common Formula Errors\n\n**Duration math without field access**: Subtracting dates returns a Duration, not a number. Always access `.days`, `.hours`, etc.\n\n```yaml\n# WRONG - Duration is not a number\n\"(now() - file.ctime).round(0)\"\n\n# CORRECT - access .days first, then round\n\"(now() - file.ctime).days.round(0)\"\n```\n\n**Missing null checks**: Properties may not exist on all notes. Use `if()` to guard.\n\n```yaml\n# WRONG - crashes if due_date is empty\n\"(date(due_date) - today()).days\"\n\n# CORRECT - guard with if()\n'if(due_date, (date(due_date) - today()).days, \"\")'\n```\n\n**Referencing undefined formulas**: Ensure every `formula.X` in `order` or `properties` has a matching entry in `formulas`.\n\n```yaml\n# This will fail silently if 'total' is not defined in formulas\norder:\n  - formula.total\n\n# Fix: define it\nformulas:\n  total: \"price * quantity\"\n```\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- [Formulas](https:\u002F\u002Fhelp.obsidian.md\u002Fformulas)\n- [Complete Functions Reference](references\u002FFUNCTIONS_REFERENCE.md)\n",{"name":5,"description":7},"main","4f29b171768db38405b89eaee6b6f7c70c6822e4",".claude\u002Fskills\u002Fobsidian-bases",765,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere","https:\u002F\u002Fasync-io.live","https:\u002F\u002Fgithub.com\u002FAtmosphere","http:\u002F\u002Fasync-io.org","2026-11-15 01:07:57",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add Atmosphere\u002Fatmosphere --skill obsidian-bases",{"tool":69,"command":70},"bunx","bunx skills add Atmosphere\u002Fatmosphere --skill obsidian-bases",{"tool":72,"command":73},"pnpm","pnpm dlx skills add Atmosphere\u002Fatmosphere --skill obsidian-bases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002FFUNCTIONS_REFERENCE.md","REFERENCE","参考文档",7538,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fobsidian-bases\u002Freferences\u002FFUNCTIONS_REFERENCE.md",[84,100,115,145,175,203],{"skillNo":85,"name":86,"nameZh":87,"description":17,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":97,"publishedAt":49},"01M6BSSQ9ZE9KG4GEBK6CXCB37","support-agent","客户支持智能体","","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-orchestration-demo\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fsupport-agent\u002FSKILL.md",[91,94],{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTV4QVF3YRSPSWSFBVTSCA","客户支持与服务",{"categoryNo":95,"categoryName":96,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTV4RTPJG7DBW13TQDFCBY","客户支持专员",[98,99],"support agent","support",{"skillNo":101,"name":102,"nameZh":103,"description":17,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":112,"publishedAt":49},"01M6BSSMTRCM898EM0E3X68ZDJ","billing-agent","计费处理智能体","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-orchestration-demo\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fbilling-agent\u002FSKILL.md",[106,109],{"categoryNo":107,"categoryName":108,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C4P4MZ5VKTJAR4REYR168W","计费与发票管理",{"categoryNo":110,"categoryName":111,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C4P4NFQF2Z4NZ58EX6892B","计费专员",[113,114],"billing agent","billing",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":129,"publishedAt":49},"01M6BSSJ5B0S8BAQG6MKJAA7YN","omnichannel-chat","全渠道 AI 对话助手","General-purpose AI assistant that answers naturally over web chat and external messaging platforms (Telegram, Slack, Discord, WhatsApp, Messenger). One agent, every channel.","通用 AI 助手，可在网页聊天和外部消息平台（Telegram、Slack、Discord、WhatsApp、Messenger）上自然应答。一个智能体，覆盖所有渠道。","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-channels-chat\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fomnichannel-chat\u002FSKILL.md",[123,126],{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理",{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],"omnichannel chat","chat","assistant","discord","slack","whatsapp","web","messaging","ai assistant","channel","telegram","general","multi","messenger","multi-channel",{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":159,"publishedAt":49},"01M6BSSFCE0HX9FVQ2PVAQP63T","writer-agent","商务简报与报告撰写","Business writer that synthesizes research, strategy, and financial findings into executive briefings and reports. Use after upstream specialist agents have produced their data.","商业撰稿人，将调研、战略和财务结论综合成高管简报与报告。在上游专业智能体产出数据后使用。","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fwriter-agent\u002FSKILL.md",[153,156],{"categoryNo":154,"categoryName":155,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TMD126QYYTZVWJTVKAT","商务写作",{"categoryNo":157,"categoryName":158,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TPX3VFVPP2WMQ6F0159","内部沟通专员",[160,161,162,163,164,165,166,167,168,42,169,170,171,172,173,174],"writer","writer agent","reports","research","business writer","briefing","upstream","Synthesis","data","business","strategy","executive-briefing","briefings","specialist","writing",{"skillNo":176,"name":177,"nameZh":178,"description":179,"descriptionZh":180,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":181,"categories":182,"keywords":187,"publishedAt":49},"01M6BSSCT499BPVKA5XM9R7NGV","tool-assistant","实时数据工具调用助手","Tool-calling assistant with backend functions for time, city time, weather, and temperature conversion, plus cost metering and approval workflows. Use when a question needs real-time data via tool calls.","具备后端函数能力的工具调用助手，支持时间查询、城市时间、天气和温度换算，并包含成本计量与审批工作流。当问题需要通过工具调用获取实时数据时使用。","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Ftool-assistant\u002FSKILL.md",[183,184],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9YENBBTPQMH1CHGQPFWJQ","工具调用与实时数据查询",[188,189,132,190,191,192,35,193,194,195,38,196,197,198,42,199,200,201,168,202],"tool assistant","tool","metering","weather","functions","for","calls","function-calling","time","calling","conversion","question","real-time","Tools","workflows",{"skillNo":204,"name":86,"nameZh":205,"description":206,"descriptionZh":207,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":208,"categories":209,"keywords":212,"publishedAt":49},"01M6BSSA9MPT2656NHQG3VJAAJ","客户支持与咨询分诊","Front-line support desk for account questions, technical troubleshooting, and general inquiries. Use as the default customer entry point; routes billing questions to the billing-agent via handoff.","处理账户问题、技术故障排查和一般咨询的一线支持服务台。作为默认的客户入口；通过转交（handoff）将计费问题路由至 billing-agent。","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fsupport-agent\u002FSKILL.md",[210,211],{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":95,"categoryName":96,"taxonomyType":23,"taxonomyTypeDesc":24},[99,98,213,214,215,193,216,217,114,218,219,220,141,42,221,222,223,224,225],"as","point","entry","front","questions","via","line","default","technical","troubleshooting","routing","customer","handoff"]