[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F88ZBG1THZ00WE058DDH57":3,"skill-same:01M6F88ZBG1THZ00WE058DDH57":78},{"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":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6F88ZBG1THZ00WE058DDH57","obsidian-data-handling",null,"Implement vault data backup, sync, and recovery strategies.\nUse when building backup features, implementing data export,\nor handling vault synchronization in your plugin.\nTrigger with phrases like \"obsidian backup\", \"obsidian sync\",\n\"obsidian data export\", \"vault backup strategy\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fobsidian-pack\u002Fskills\u002Fobsidian-data-handling\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"data","obsidian data handling","obsidian","strategy","when","data export","features","implementing","with","trigger","io","strategies","obsidian sync","backup strategy","export","use","edit","write","read","synchronization","vault","recovery","backup","plugin","recovery strategies","sync","implement","2026-11-10 10:12:30",false,"---\nname: obsidian-data-handling\ndescription: |\n  Implement vault data backup, sync, and recovery strategies.\n  Use when building backup features, implementing data export,\n  or handling vault synchronization in your plugin.\n  Trigger with phrases like \"obsidian backup\", \"obsidian sync\",\n  \"obsidian data export\", \"vault backup strategy\".\nallowed-tools: Read, Write, Edit\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Obsidian Data Handling\n\n## Overview\nImplement robust data handling patterns for vault backup, export, sync, and recovery in Obsidian plugins.\n\n## Prerequisites\n- Understanding of Obsidian file system\n- Knowledge of data serialization formats\n- Basic understanding of sync patterns\n\n## Data Categories\n\n| Data Type | Storage Location | Backup Priority |\n|-----------|-----------------|-----------------|\n| Notes (md) | Vault root | Critical |\n| Attachments | Vault\u002Fattachments | Critical |\n| Plugin settings | .obsidian\u002Fplugins\u002F*\u002Fdata.json | High |\n| Plugin cache | .obsidian\u002Fplugins\u002F*\u002Fcache\u002F | Low |\n| Vault config | .obsidian\u002F*.json | Medium |\n\n## Instructions\n\n### Step 1: Data Export Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fexport-service.ts\nimport { App, TFile, TFolder, Notice } from 'obsidian';\n\nexport interface ExportOptions {\n  includeAttachments: boolean;\n  includeMetadata: boolean;\n  format: 'json' | 'markdown' | 'zip';\n  folder?: string;\n}\n\nexport interface ExportedNote {\n  path: string;\n  content: string;\n  metadata?: Record\u003Cstring, any>;\n  created: number;\n  modified: number;\n}\n\nexport class ExportService {\n  constructor(private app: App) {}\n\n  async exportNotes(options: ExportOptions): Promise\u003CExportedNote[]> {\n    const files = this.app.vault.getMarkdownFiles();\n    const filteredFiles = options.folder\n      ? files.filter(f => f.path.startsWith(options.folder!))\n      : files;\n\n    const exportedNotes: ExportedNote[] = [];\n\n    for (const file of filteredFiles) {\n      const content = await this.app.vault.read(file);\n      const metadata = options.includeMetadata\n        ? this.app.metadataCache.getFileCache(file)?.frontmatter\n        : undefined;\n\n      exportedNotes.push({\n        path: file.path,\n        content,\n        metadata,\n        created: file.stat.ctime,\n        modified: file.stat.mtime,\n      });\n    }\n\n    return exportedNotes;\n  }\n\n  async exportToJson(options: ExportOptions): Promise\u003Cstring> {\n    const notes = await this.exportNotes(options);\n    const exportData = {\n      exported: new Date().toISOString(),\n      vault: this.app.vault.getName(),\n      noteCount: notes.length,\n      notes,\n    };\n    return JSON.stringify(exportData, null, 2);\n  }\n\n  async downloadExport(options: ExportOptions, filename: string): Promise\u003Cvoid> {\n    const json = await this.exportToJson(options);\n    const blob = new Blob([json], { type: 'application\u002Fjson' });\n    const url = URL.createObjectURL(blob);\n\n    const a = document.createElement('a');\n    a.href = url;\n    a.download = filename;\n    a.click();\n\n    URL.revokeObjectURL(url);\n    new Notice(`Exported ${options.folder || 'all notes'}`);\n  }\n}\n```\n\n### Step 2: Data Import Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fimport-service.ts\nimport { App, TFile, Notice } from 'obsidian';\n\nexport interface ImportOptions {\n  overwrite: boolean;\n  targetFolder?: string;\n  dryRun: boolean;\n}\n\nexport interface ImportResult {\n  created: string[];\n  updated: string[];\n  skipped: string[];\n  errors: { path: string; error: string }[];\n}\n\nexport class ImportService {\n  constructor(private app: App) {}\n\n  async importFromJson(\n    jsonContent: string,\n    options: ImportOptions\n  ): Promise\u003CImportResult> {\n    const result: ImportResult = {\n      created: [],\n      updated: [],\n      skipped: [],\n      errors: [],\n    };\n\n    try {\n      const data = JSON.parse(jsonContent);\n      const notes = data.notes || [];\n\n      for (const note of notes) {\n        try {\n          const targetPath = options.targetFolder\n            ? `${options.targetFolder}\u002F${note.path}`\n            : note.path;\n\n          const existing = this.app.vault.getAbstractFileByPath(targetPath);\n\n          if (existing instanceof TFile) {\n            if (options.overwrite) {\n              if (!options.dryRun) {\n                await this.app.vault.modify(existing, note.content);\n              }\n              result.updated.push(targetPath);\n            } else {\n              result.skipped.push(targetPath);\n            }\n          } else {\n            if (!options.dryRun) {\n              await this.ensureFolder(targetPath);\n              await this.app.vault.create(targetPath, note.content);\n            }\n            result.created.push(targetPath);\n          }\n        } catch (error) {\n          result.errors.push({\n            path: note.path,\n            error: (error as Error).message,\n          });\n        }\n      }\n    } catch (error) {\n      result.errors.push({\n        path: 'root',\n        error: `Failed to parse JSON: ${(error as Error).message}`,\n      });\n    }\n\n    return result;\n  }\n\n  private async ensureFolder(filePath: string): Promise\u003Cvoid> {\n    const folderPath = filePath.substring(0, filePath.lastIndexOf('\u002F'));\n    if (!folderPath) return;\n\n    const folder = this.app.vault.getAbstractFileByPath(folderPath);\n    if (!folder) {\n      await this.app.vault.createFolder(folderPath);\n    }\n  }\n\n  async importFromFile(\n    file: File,\n    options: ImportOptions\n  ): Promise\u003CImportResult> {\n    const content = await file.text();\n    return this.importFromJson(content, options);\n  }\n}\n```\n\n### Step 3: Backup Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fbackup-service.ts\nimport { App, TFile, Notice } from 'obsidian';\n\nexport interface BackupConfig {\n  autoBackup: boolean;\n  intervalMinutes: number;\n  maxBackups: number;\n  backupFolder: string;\n  includePluginData: boolean;\n}\n\nexport interface BackupManifest {\n  id: string;\n  timestamp: string;\n  vault: string;\n  noteCount: number;\n  size: number;\n  checksum: string;\n}\n\nexport class BackupService {\n  private config: BackupConfig;\n  private intervalId: number | null = null;\n\n  constructor(private app: App, config: BackupConfig) {\n    this.config = config;\n  }\n\n  async createBackup(): Promise\u003CBackupManifest> {\n    const timestamp = new Date().toISOString().replace(\u002F[:.]\u002Fg, '-');\n    const backupId = `backup-${timestamp}`;\n    const backupFolder = `${this.config.backupFolder}\u002F${backupId}`;\n\n    \u002F\u002F Create backup folder\n    await this.app.vault.createFolder(backupFolder);\n\n    \u002F\u002F Get all markdown files\n    const files = this.app.vault.getMarkdownFiles();\n    let totalSize = 0;\n\n    \u002F\u002F Copy files\n    for (const file of files) {\n      const content = await this.app.vault.read(file);\n      const targetPath = `${backupFolder}\u002F${file.path}`;\n\n      await this.ensureFolder(targetPath);\n      await this.app.vault.create(targetPath, content);\n      totalSize += content.length;\n    }\n\n    \u002F\u002F Calculate checksum\n    const checksum = await this.calculateVaultChecksum(files);\n\n    \u002F\u002F Create manifest\n    const manifest: BackupManifest = {\n      id: backupId,\n      timestamp: new Date().toISOString(),\n      vault: this.app.vault.getName(),\n      noteCount: files.length,\n      size: totalSize,\n      checksum,\n    };\n\n    \u002F\u002F Save manifest\n    await this.app.vault.create(\n      `${backupFolder}\u002Fmanifest.json`,\n      JSON.stringify(manifest, null, 2)\n    );\n\n    \u002F\u002F Clean old backups\n    await this.cleanOldBackups();\n\n    new Notice(`Backup created: ${backupId}`);\n    return manifest;\n  }\n\n  private async calculateVaultChecksum(files: TFile[]): Promise\u003Cstring> {\n    const encoder = new TextEncoder();\n    let combinedContent = '';\n\n    for (const file of files.sort((a, b) => a.path.localeCompare(b.path))) {\n      const content = await this.app.vault.read(file);\n      combinedContent += `${file.path}:${content.length}:`;\n    }\n\n    const data = encoder.encode(combinedContent);\n    const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n    const hashArray = Array.from(new Uint8Array(hashBuffer));\n    return hashArray.map(b => b.toString(16).padStart(2, '0')).join('').substring(0, 16);\n  }\n\n  async listBackups(): Promise\u003CBackupManifest[]> {\n    const backups: BackupManifest[] = [];\n    const backupFolder = this.app.vault.getAbstractFileByPath(this.config.backupFolder);\n\n    if (!backupFolder) return backups;\n\n    const children = (backupFolder as any).children || [];\n    for (const child of children) {\n      const manifestPath = `${child.path}\u002Fmanifest.json`;\n      const manifestFile = this.app.vault.getAbstractFileByPath(manifestPath);\n\n      if (manifestFile instanceof TFile) {\n        const content = await this.app.vault.read(manifestFile);\n        backups.push(JSON.parse(content));\n      }\n    }\n\n    return backups.sort((a, b) =>\n      new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime()\n    );\n  }\n\n  async restoreBackup(backupId: string, options: { dryRun: boolean }): Promise\u003Cvoid> {\n    const backupFolder = `${this.config.backupFolder}\u002F${backupId}`;\n    const folder = this.app.vault.getAbstractFileByPath(backupFolder);\n\n    if (!folder) {\n      throw new Error(`Backup not found: ${backupId}`);\n    }\n\n    \u002F\u002F Read manifest\n    const manifestFile = this.app.vault.getAbstractFileByPath(\n      `${backupFolder}\u002Fmanifest.json`\n    );\n    if (!(manifestFile instanceof TFile)) {\n      throw new Error('Invalid backup: manifest.json not found');\n    }\n\n    const manifest: BackupManifest = JSON.parse(\n      await this.app.vault.read(manifestFile)\n    );\n\n    if (options.dryRun) {\n      new Notice(`Would restore ${manifest.noteCount} notes from ${manifest.timestamp}`);\n      return;\n    }\n\n    \u002F\u002F Restore files\n    const importService = new ImportService(this.app);\n    const files = this.app.vault.getMarkdownFiles()\n      .filter(f => f.path.startsWith(backupFolder + '\u002F'))\n      .filter(f => f.name !== 'manifest.json');\n\n    for (const file of files) {\n      const content = await this.app.vault.read(file);\n      const targetPath = file.path.replace(backupFolder + '\u002F', '');\n\n      await this.ensureFolder(targetPath);\n      const existing = this.app.vault.getAbstractFileByPath(targetPath);\n\n      if (existing instanceof TFile) {\n        await this.app.vault.modify(existing, content);\n      } else {\n        await this.app.vault.create(targetPath, content);\n      }\n    }\n\n    new Notice(`Restored backup: ${manifest.noteCount} notes`);\n  }\n\n  private async cleanOldBackups(): Promise\u003Cvoid> {\n    const backups = await this.listBackups();\n\n    if (backups.length > this.config.maxBackups) {\n      const toDelete = backups.slice(this.config.maxBackups);\n\n      for (const backup of toDelete) {\n        const folder = this.app.vault.getAbstractFileByPath(\n          `${this.config.backupFolder}\u002F${backup.id}`\n        );\n        if (folder) {\n          await this.app.vault.delete(folder, true);\n        }\n      }\n    }\n  }\n\n  private async ensureFolder(filePath: string): Promise\u003Cvoid> {\n    const folderPath = filePath.substring(0, filePath.lastIndexOf('\u002F'));\n    if (!folderPath) return;\n\n    const folder = this.app.vault.getAbstractFileByPath(folderPath);\n    if (!folder) {\n      await this.app.vault.createFolder(folderPath);\n    }\n  }\n\n  startAutoBackup(): void {\n    if (!this.config.autoBackup) return;\n\n    this.intervalId = window.setInterval(\n      () => this.createBackup(),\n      this.config.intervalMinutes * 60 * 1000\n    );\n  }\n\n  stopAutoBackup(): void {\n    if (this.intervalId) {\n      window.clearInterval(this.intervalId);\n      this.intervalId = null;\n    }\n  }\n}\n```\n\n### Step 4: Data Validation\n```typescript\n\u002F\u002F src\u002Fservices\u002Fvalidation-service.ts\nimport { App, TFile } from 'obsidian';\n\nexport interface ValidationResult {\n  valid: boolean;\n  errors: ValidationError[];\n  warnings: ValidationWarning[];\n}\n\ninterface ValidationError {\n  file: string;\n  type: 'frontmatter' | 'link' | 'syntax' | 'encoding';\n  message: string;\n}\n\ninterface ValidationWarning {\n  file: string;\n  type: string;\n  message: string;\n}\n\nexport class ValidationService {\n  constructor(private app: App) {}\n\n  async validateVault(): Promise\u003CValidationResult> {\n    const result: ValidationResult = {\n      valid: true,\n      errors: [],\n      warnings: [],\n    };\n\n    const files = this.app.vault.getMarkdownFiles();\n\n    for (const file of files) {\n      await this.validateFile(file, result);\n    }\n\n    result.valid = result.errors.length === 0;\n    return result;\n  }\n\n  private async validateFile(file: TFile, result: ValidationResult): Promise\u003Cvoid> {\n    try {\n      const content = await this.app.vault.read(file);\n\n      \u002F\u002F Validate frontmatter\n      this.validateFrontmatter(file, content, result);\n\n      \u002F\u002F Validate links\n      this.validateLinks(file, result);\n\n      \u002F\u002F Check for binary content\n      if (this.containsBinaryContent(content)) {\n        result.warnings.push({\n          file: file.path,\n          type: 'encoding',\n          message: 'File may contain binary content',\n        });\n      }\n    } catch (error) {\n      result.errors.push({\n        file: file.path,\n        type: 'syntax',\n        message: `Failed to read file: ${(error as Error).message}`,\n      });\n    }\n  }\n\n  private validateFrontmatter(\n    file: TFile,\n    content: string,\n    result: ValidationResult\n  ): void {\n    const frontmatterMatch = content.match(\u002F^---\\n([\\s\\S]*?)\\n---\u002F);\n\n    if (frontmatterMatch) {\n      try {\n        \u002F\u002F Check for common YAML issues\n        const yaml = frontmatterMatch[1];\n\n        \u002F\u002F Check for tabs (YAML prefers spaces)\n        if (yaml.includes('\\t')) {\n          result.warnings.push({\n            file: file.path,\n            type: 'frontmatter',\n            message: 'Frontmatter contains tabs (use spaces)',\n          });\n        }\n\n        \u002F\u002F Check for unquoted special characters\n        if (\u002F:\\s*[@#!]\u002F.test(yaml)) {\n          result.warnings.push({\n            file: file.path,\n            type: 'frontmatter',\n            message: 'Frontmatter values may need quoting',\n          });\n        }\n      } catch (error) {\n        result.errors.push({\n          file: file.path,\n          type: 'frontmatter',\n          message: `Invalid frontmatter: ${(error as Error).message}`,\n        });\n      }\n    }\n  }\n\n  private validateLinks(file: TFile, result: ValidationResult): void {\n    const cache = this.app.metadataCache.getFileCache(file);\n    if (!cache?.links) return;\n\n    for (const link of cache.links) {\n      const linkedFile = this.app.metadataCache.getFirstLinkpathDest(\n        link.link,\n        file.path\n      );\n\n      if (!linkedFile) {\n        result.warnings.push({\n          file: file.path,\n          type: 'link',\n          message: `Broken link: [[${link.link}]]`,\n        });\n      }\n    }\n  }\n\n  private containsBinaryContent(content: string): boolean {\n    \u002F\u002F Check for null bytes or high concentration of non-printable chars\n    const nullByteCount = (content.match(\u002F\\0\u002Fg) || []).length;\n    return nullByteCount > 0;\n  }\n}\n```\n\n### Step 5: Data Sync Patterns\n```typescript\n\u002F\u002F src\u002Fservices\u002Fsync-service.ts\nimport { App, TFile } from 'obsidian';\n\nexport interface SyncStatus {\n  lastSync: string | null;\n  pendingChanges: number;\n  conflicts: SyncConflict[];\n}\n\nexport interface SyncConflict {\n  path: string;\n  localModified: number;\n  remoteModified: number;\n  resolution: 'local' | 'remote' | 'manual' | null;\n}\n\nexport class SyncService {\n  private syncHashes = new Map\u003Cstring, string>();\n  private pendingChanges = new Set\u003Cstring>();\n\n  constructor(private app: App) {}\n\n  async trackChange(file: TFile): Promise\u003Cvoid> {\n    const hash = await this.hashFile(file);\n    const previousHash = this.syncHashes.get(file.path);\n\n    if (previousHash && previousHash !== hash) {\n      this.pendingChanges.add(file.path);\n    }\n\n    this.syncHashes.set(file.path, hash);\n  }\n\n  async getChangedFiles(): Promise\u003CTFile[]> {\n    const changedFiles: TFile[] = [];\n\n    for (const path of this.pendingChanges) {\n      const file = this.app.vault.getAbstractFileByPath(path);\n      if (file instanceof TFile) {\n        changedFiles.push(file);\n      }\n    }\n\n    return changedFiles;\n  }\n\n  markSynced(path: string): void {\n    this.pendingChanges.delete(path);\n  }\n\n  getStatus(): SyncStatus {\n    return {\n      lastSync: null, \u002F\u002F Implement timestamp tracking\n      pendingChanges: this.pendingChanges.size,\n      conflicts: [],\n    };\n  }\n\n  private async hashFile(file: TFile): Promise\u003Cstring> {\n    const content = await this.app.vault.read(file);\n    const encoder = new TextEncoder();\n    const data = encoder.encode(content);\n    const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n    const hashArray = Array.from(new Uint8Array(hashBuffer));\n    return hashArray.map(b => b.toString(16).padStart(2, '0')).join('').substring(0, 16);\n  }\n}\n```\n\n## Output\n- Data export with multiple formats\n- Import with conflict handling\n- Automated backup with retention\n- Vault validation\n- Change tracking for sync\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Export fails | Large vault | Use streaming export |\n| Import conflicts | Existing files | Provide overwrite option |\n| Backup corruption | Interrupted write | Verify with checksum |\n| Sync conflicts | Concurrent edits | Implement conflict resolution |\n\n## Examples\n\n### Quick Backup Command\n```typescript\nthis.addCommand({\n  id: 'quick-backup',\n  name: 'Create Quick Backup',\n  callback: async () => {\n    const backupService = new BackupService(this.app, {\n      autoBackup: false,\n      intervalMinutes: 60,\n      maxBackups: 5,\n      backupFolder: '_backups',\n      includePluginData: true,\n    });\n    await backupService.createBackup();\n  },\n});\n```\n\n## Resources\n- [Obsidian Sync](https:\u002F\u002Fhelp.obsidian.md\u002FObsidian+Sync)\n- [Git for Obsidian](https:\u002F\u002Fgithub.com\u002Fdenolehov\u002Fobsidian-git)\n\n## Next Steps\nFor team access patterns, see `obsidian-enterprise-rbac`.\n","# Obsidian Data Handling\n\n## Overview\nImplement robust data handling patterns for vault backup, export, sync, and recovery in Obsidian plugins.\n\n## Prerequisites\n- Understanding of Obsidian file system\n- Knowledge of data serialization formats\n- Basic understanding of sync patterns\n\n## Data Categories\n\n| Data Type | Storage Location | Backup Priority |\n|-----------|-----------------|-----------------|\n| Notes (md) | Vault root | Critical |\n| Attachments | Vault\u002Fattachments | Critical |\n| Plugin settings | .obsidian\u002Fplugins\u002F*\u002Fdata.json | High |\n| Plugin cache | .obsidian\u002Fplugins\u002F*\u002Fcache\u002F | Low |\n| Vault config | .obsidian\u002F*.json | Medium |\n\n## Instructions\n\n### Step 1: Data Export Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fexport-service.ts\nimport { App, TFile, TFolder, Notice } from 'obsidian';\n\nexport interface ExportOptions {\n  includeAttachments: boolean;\n  includeMetadata: boolean;\n  format: 'json' | 'markdown' | 'zip';\n  folder?: string;\n}\n\nexport interface ExportedNote {\n  path: string;\n  content: string;\n  metadata?: Record\u003Cstring, any>;\n  created: number;\n  modified: number;\n}\n\nexport class ExportService {\n  constructor(private app: App) {}\n\n  async exportNotes(options: ExportOptions): Promise\u003CExportedNote[]> {\n    const files = this.app.vault.getMarkdownFiles();\n    const filteredFiles = options.folder\n      ? files.filter(f => f.path.startsWith(options.folder!))\n      : files;\n\n    const exportedNotes: ExportedNote[] = [];\n\n    for (const file of filteredFiles) {\n      const content = await this.app.vault.read(file);\n      const metadata = options.includeMetadata\n        ? this.app.metadataCache.getFileCache(file)?.frontmatter\n        : undefined;\n\n      exportedNotes.push({\n        path: file.path,\n        content,\n        metadata,\n        created: file.stat.ctime,\n        modified: file.stat.mtime,\n      });\n    }\n\n    return exportedNotes;\n  }\n\n  async exportToJson(options: ExportOptions): Promise\u003Cstring> {\n    const notes = await this.exportNotes(options);\n    const exportData = {\n      exported: new Date().toISOString(),\n      vault: this.app.vault.getName(),\n      noteCount: notes.length,\n      notes,\n    };\n    return JSON.stringify(exportData, null, 2);\n  }\n\n  async downloadExport(options: ExportOptions, filename: string): Promise\u003Cvoid> {\n    const json = await this.exportToJson(options);\n    const blob = new Blob([json], { type: 'application\u002Fjson' });\n    const url = URL.createObjectURL(blob);\n\n    const a = document.createElement('a');\n    a.href = url;\n    a.download = filename;\n    a.click();\n\n    URL.revokeObjectURL(url);\n    new Notice(`Exported ${options.folder || 'all notes'}`);\n  }\n}\n```\n\n### Step 2: Data Import Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fimport-service.ts\nimport { App, TFile, Notice } from 'obsidian';\n\nexport interface ImportOptions {\n  overwrite: boolean;\n  targetFolder?: string;\n  dryRun: boolean;\n}\n\nexport interface ImportResult {\n  created: string[];\n  updated: string[];\n  skipped: string[];\n  errors: { path: string; error: string }[];\n}\n\nexport class ImportService {\n  constructor(private app: App) {}\n\n  async importFromJson(\n    jsonContent: string,\n    options: ImportOptions\n  ): Promise\u003CImportResult> {\n    const result: ImportResult = {\n      created: [],\n      updated: [],\n      skipped: [],\n      errors: [],\n    };\n\n    try {\n      const data = JSON.parse(jsonContent);\n      const notes = data.notes || [];\n\n      for (const note of notes) {\n        try {\n          const targetPath = options.targetFolder\n            ? `${options.targetFolder}\u002F${note.path}`\n            : note.path;\n\n          const existing = this.app.vault.getAbstractFileByPath(targetPath);\n\n          if (existing instanceof TFile) {\n            if (options.overwrite) {\n              if (!options.dryRun) {\n                await this.app.vault.modify(existing, note.content);\n              }\n              result.updated.push(targetPath);\n            } else {\n              result.skipped.push(targetPath);\n            }\n          } else {\n            if (!options.dryRun) {\n              await this.ensureFolder(targetPath);\n              await this.app.vault.create(targetPath, note.content);\n            }\n            result.created.push(targetPath);\n          }\n        } catch (error) {\n          result.errors.push({\n            path: note.path,\n            error: (error as Error).message,\n          });\n        }\n      }\n    } catch (error) {\n      result.errors.push({\n        path: 'root',\n        error: `Failed to parse JSON: ${(error as Error).message}`,\n      });\n    }\n\n    return result;\n  }\n\n  private async ensureFolder(filePath: string): Promise\u003Cvoid> {\n    const folderPath = filePath.substring(0, filePath.lastIndexOf('\u002F'));\n    if (!folderPath) return;\n\n    const folder = this.app.vault.getAbstractFileByPath(folderPath);\n    if (!folder) {\n      await this.app.vault.createFolder(folderPath);\n    }\n  }\n\n  async importFromFile(\n    file: File,\n    options: ImportOptions\n  ): Promise\u003CImportResult> {\n    const content = await file.text();\n    return this.importFromJson(content, options);\n  }\n}\n```\n\n### Step 3: Backup Service\n```typescript\n\u002F\u002F src\u002Fservices\u002Fbackup-service.ts\nimport { App, TFile, Notice } from 'obsidian';\n\nexport interface BackupConfig {\n  autoBackup: boolean;\n  intervalMinutes: number;\n  maxBackups: number;\n  backupFolder: string;\n  includePluginData: boolean;\n}\n\nexport interface BackupManifest {\n  id: string;\n  timestamp: string;\n  vault: string;\n  noteCount: number;\n  size: number;\n  checksum: string;\n}\n\nexport class BackupService {\n  private config: BackupConfig;\n  private intervalId: number | null = null;\n\n  constructor(private app: App, config: BackupConfig) {\n    this.config = config;\n  }\n\n  async createBackup(): Promise\u003CBackupManifest> {\n    const timestamp = new Date().toISOString().replace(\u002F[:.]\u002Fg, '-');\n    const backupId = `backup-${timestamp}`;\n    const backupFolder = `${this.config.backupFolder}\u002F${backupId}`;\n\n    \u002F\u002F Create backup folder\n    await this.app.vault.createFolder(backupFolder);\n\n    \u002F\u002F Get all markdown files\n    const files = this.app.vault.getMarkdownFiles();\n    let totalSize = 0;\n\n    \u002F\u002F Copy files\n    for (const file of files) {\n      const content = await this.app.vault.read(file);\n      const targetPath = `${backupFolder}\u002F${file.path}`;\n\n      await this.ensureFolder(targetPath);\n      await this.app.vault.create(targetPath, content);\n      totalSize += content.length;\n    }\n\n    \u002F\u002F Calculate checksum\n    const checksum = await this.calculateVaultChecksum(files);\n\n    \u002F\u002F Create manifest\n    const manifest: BackupManifest = {\n      id: backupId,\n      timestamp: new Date().toISOString(),\n      vault: this.app.vault.getName(),\n      noteCount: files.length,\n      size: totalSize,\n      checksum,\n    };\n\n    \u002F\u002F Save manifest\n    await this.app.vault.create(\n      `${backupFolder}\u002Fmanifest.json`,\n      JSON.stringify(manifest, null, 2)\n    );\n\n    \u002F\u002F Clean old backups\n    await this.cleanOldBackups();\n\n    new Notice(`Backup created: ${backupId}`);\n    return manifest;\n  }\n\n  private async calculateVaultChecksum(files: TFile[]): Promise\u003Cstring> {\n    const encoder = new TextEncoder();\n    let combinedContent = '';\n\n    for (const file of files.sort((a, b) => a.path.localeCompare(b.path))) {\n      const content = await this.app.vault.read(file);\n      combinedContent += `${file.path}:${content.length}:`;\n    }\n\n    const data = encoder.encode(combinedContent);\n    const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n    const hashArray = Array.from(new Uint8Array(hashBuffer));\n    return hashArray.map(b => b.toString(16).padStart(2, '0')).join('').substring(0, 16);\n  }\n\n  async listBackups(): Promise\u003CBackupManifest[]> {\n    const backups: BackupManifest[] = [];\n    const backupFolder = this.app.vault.getAbstractFileByPath(this.config.backupFolder);\n\n    if (!backupFolder) return backups;\n\n    const children = (backupFolder as any).children || [];\n    for (const child of children) {\n      const manifestPath = `${child.path}\u002Fmanifest.json`;\n      const manifestFile = this.app.vault.getAbstractFileByPath(manifestPath);\n\n      if (manifestFile instanceof TFile) {\n        const content = await this.app.vault.read(manifestFile);\n        backups.push(JSON.parse(content));\n      }\n    }\n\n    return backups.sort((a, b) =>\n      new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime()\n    );\n  }\n\n  async restoreBackup(backupId: string, options: { dryRun: boolean }): Promise\u003Cvoid> {\n    const backupFolder = `${this.config.backupFolder}\u002F${backupId}`;\n    const folder = this.app.vault.getAbstractFileByPath(backupFolder);\n\n    if (!folder) {\n      throw new Error(`Backup not found: ${backupId}`);\n    }\n\n    \u002F\u002F Read manifest\n    const manifestFile = this.app.vault.getAbstractFileByPath(\n      `${backupFolder}\u002Fmanifest.json`\n    );\n    if (!(manifestFile instanceof TFile)) {\n      throw new Error('Invalid backup: manifest.json not found');\n    }\n\n    const manifest: BackupManifest = JSON.parse(\n      await this.app.vault.read(manifestFile)\n    );\n\n    if (options.dryRun) {\n      new Notice(`Would restore ${manifest.noteCount} notes from ${manifest.timestamp}`);\n      return;\n    }\n\n    \u002F\u002F Restore files\n    const importService = new ImportService(this.app);\n    const files = this.app.vault.getMarkdownFiles()\n      .filter(f => f.path.startsWith(backupFolder + '\u002F'))\n      .filter(f => f.name !== 'manifest.json');\n\n    for (const file of files) {\n      const content = await this.app.vault.read(file);\n      const targetPath = file.path.replace(backupFolder + '\u002F', '');\n\n      await this.ensureFolder(targetPath);\n      const existing = this.app.vault.getAbstractFileByPath(targetPath);\n\n      if (existing instanceof TFile) {\n        await this.app.vault.modify(existing, content);\n      } else {\n        await this.app.vault.create(targetPath, content);\n      }\n    }\n\n    new Notice(`Restored backup: ${manifest.noteCount} notes`);\n  }\n\n  private async cleanOldBackups(): Promise\u003Cvoid> {\n    const backups = await this.listBackups();\n\n    if (backups.length > this.config.maxBackups) {\n      const toDelete = backups.slice(this.config.maxBackups);\n\n      for (const backup of toDelete) {\n        const folder = this.app.vault.getAbstractFileByPath(\n          `${this.config.backupFolder}\u002F${backup.id}`\n        );\n        if (folder) {\n          await this.app.vault.delete(folder, true);\n        }\n      }\n    }\n  }\n\n  private async ensureFolder(filePath: string): Promise\u003Cvoid> {\n    const folderPath = filePath.substring(0, filePath.lastIndexOf('\u002F'));\n    if (!folderPath) return;\n\n    const folder = this.app.vault.getAbstractFileByPath(folderPath);\n    if (!folder) {\n      await this.app.vault.createFolder(folderPath);\n    }\n  }\n\n  startAutoBackup(): void {\n    if (!this.config.autoBackup) return;\n\n    this.intervalId = window.setInterval(\n      () => this.createBackup(),\n      this.config.intervalMinutes * 60 * 1000\n    );\n  }\n\n  stopAutoBackup(): void {\n    if (this.intervalId) {\n      window.clearInterval(this.intervalId);\n      this.intervalId = null;\n    }\n  }\n}\n```\n\n### Step 4: Data Validation\n```typescript\n\u002F\u002F src\u002Fservices\u002Fvalidation-service.ts\nimport { App, TFile } from 'obsidian';\n\nexport interface ValidationResult {\n  valid: boolean;\n  errors: ValidationError[];\n  warnings: ValidationWarning[];\n}\n\ninterface ValidationError {\n  file: string;\n  type: 'frontmatter' | 'link' | 'syntax' | 'encoding';\n  message: string;\n}\n\ninterface ValidationWarning {\n  file: string;\n  type: string;\n  message: string;\n}\n\nexport class ValidationService {\n  constructor(private app: App) {}\n\n  async validateVault(): Promise\u003CValidationResult> {\n    const result: ValidationResult = {\n      valid: true,\n      errors: [],\n      warnings: [],\n    };\n\n    const files = this.app.vault.getMarkdownFiles();\n\n    for (const file of files) {\n      await this.validateFile(file, result);\n    }\n\n    result.valid = result.errors.length === 0;\n    return result;\n  }\n\n  private async validateFile(file: TFile, result: ValidationResult): Promise\u003Cvoid> {\n    try {\n      const content = await this.app.vault.read(file);\n\n      \u002F\u002F Validate frontmatter\n      this.validateFrontmatter(file, content, result);\n\n      \u002F\u002F Validate links\n      this.validateLinks(file, result);\n\n      \u002F\u002F Check for binary content\n      if (this.containsBinaryContent(content)) {\n        result.warnings.push({\n          file: file.path,\n          type: 'encoding',\n          message: 'File may contain binary content',\n        });\n      }\n    } catch (error) {\n      result.errors.push({\n        file: file.path,\n        type: 'syntax',\n        message: `Failed to read file: ${(error as Error).message}`,\n      });\n    }\n  }\n\n  private validateFrontmatter(\n    file: TFile,\n    content: string,\n    result: ValidationResult\n  ): void {\n    const frontmatterMatch = content.match(\u002F^---\\n([\\s\\S]*?)\\n---\u002F);\n\n    if (frontmatterMatch) {\n      try {\n        \u002F\u002F Check for common YAML issues\n        const yaml = frontmatterMatch[1];\n\n        \u002F\u002F Check for tabs (YAML prefers spaces)\n        if (yaml.includes('\\t')) {\n          result.warnings.push({\n            file: file.path,\n            type: 'frontmatter',\n            message: 'Frontmatter contains tabs (use spaces)',\n          });\n        }\n\n        \u002F\u002F Check for unquoted special characters\n        if (\u002F:\\s*[@#!]\u002F.test(yaml)) {\n          result.warnings.push({\n            file: file.path,\n            type: 'frontmatter',\n            message: 'Frontmatter values may need quoting',\n          });\n        }\n      } catch (error) {\n        result.errors.push({\n          file: file.path,\n          type: 'frontmatter',\n          message: `Invalid frontmatter: ${(error as Error).message}`,\n        });\n      }\n    }\n  }\n\n  private validateLinks(file: TFile, result: ValidationResult): void {\n    const cache = this.app.metadataCache.getFileCache(file);\n    if (!cache?.links) return;\n\n    for (const link of cache.links) {\n      const linkedFile = this.app.metadataCache.getFirstLinkpathDest(\n        link.link,\n        file.path\n      );\n\n      if (!linkedFile) {\n        result.warnings.push({\n          file: file.path,\n          type: 'link',\n          message: `Broken link: [[${link.link}]]`,\n        });\n      }\n    }\n  }\n\n  private containsBinaryContent(content: string): boolean {\n    \u002F\u002F Check for null bytes or high concentration of non-printable chars\n    const nullByteCount = (content.match(\u002F\\0\u002Fg) || []).length;\n    return nullByteCount > 0;\n  }\n}\n```\n\n### Step 5: Data Sync Patterns\n```typescript\n\u002F\u002F src\u002Fservices\u002Fsync-service.ts\nimport { App, TFile } from 'obsidian';\n\nexport interface SyncStatus {\n  lastSync: string | null;\n  pendingChanges: number;\n  conflicts: SyncConflict[];\n}\n\nexport interface SyncConflict {\n  path: string;\n  localModified: number;\n  remoteModified: number;\n  resolution: 'local' | 'remote' | 'manual' | null;\n}\n\nexport class SyncService {\n  private syncHashes = new Map\u003Cstring, string>();\n  private pendingChanges = new Set\u003Cstring>();\n\n  constructor(private app: App) {}\n\n  async trackChange(file: TFile): Promise\u003Cvoid> {\n    const hash = await this.hashFile(file);\n    const previousHash = this.syncHashes.get(file.path);\n\n    if (previousHash && previousHash !== hash) {\n      this.pendingChanges.add(file.path);\n    }\n\n    this.syncHashes.set(file.path, hash);\n  }\n\n  async getChangedFiles(): Promise\u003CTFile[]> {\n    const changedFiles: TFile[] = [];\n\n    for (const path of this.pendingChanges) {\n      const file = this.app.vault.getAbstractFileByPath(path);\n      if (file instanceof TFile) {\n        changedFiles.push(file);\n      }\n    }\n\n    return changedFiles;\n  }\n\n  markSynced(path: string): void {\n    this.pendingChanges.delete(path);\n  }\n\n  getStatus(): SyncStatus {\n    return {\n      lastSync: null, \u002F\u002F Implement timestamp tracking\n      pendingChanges: this.pendingChanges.size,\n      conflicts: [],\n    };\n  }\n\n  private async hashFile(file: TFile): Promise\u003Cstring> {\n    const content = await this.app.vault.read(file);\n    const encoder = new TextEncoder();\n    const data = encoder.encode(content);\n    const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n    const hashArray = Array.from(new Uint8Array(hashBuffer));\n    return hashArray.map(b => b.toString(16).padStart(2, '0')).join('').substring(0, 16);\n  }\n}\n```\n\n## Output\n- Data export with multiple formats\n- Import with conflict handling\n- Automated backup with retention\n- Vault validation\n- Change tracking for sync\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Export fails | Large vault | Use streaming export |\n| Import conflicts | Existing files | Provide overwrite option |\n| Backup corruption | Interrupted write | Verify with checksum |\n| Sync conflicts | Concurrent edits | Implement conflict resolution |\n\n## Examples\n\n### Quick Backup Command\n```typescript\nthis.addCommand({\n  id: 'quick-backup',\n  name: 'Create Quick Backup',\n  callback: async () => {\n    const backupService = new BackupService(this.app, {\n      autoBackup: false,\n      intervalMinutes: 60,\n      maxBackups: 5,\n      backupFolder: '_backups',\n      includePluginData: true,\n    });\n    await backupService.createBackup();\n  },\n});\n```\n\n## Resources\n- [Obsidian Sync](https:\u002F\u002Fhelp.obsidian.md\u002FObsidian+Sync)\n- [Git for Obsidian](https:\u002F\u002Fgithub.com\u002Fdenolehov\u002Fobsidian-git)\n\n## Next Steps\nFor team access patterns, see `obsidian-enterprise-rbac`.\n",{"name":5,"author":51,"license":15,"version":52,"description":53,"allowed-tools":54},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement vault data backup, sync, and recovery strategies.\nUse when building backup features, implementing data export,\nor handling vault synchronization in your plugin.\nTrigger with phrases like \"obsidian backup\", \"obsidian sync\",\n\"obsidian data export\", \"vault backup strategy\".\n","Read, Write, Edit","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fobsidian-pack\u002Fskills\u002Fobsidian-data-handling",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill obsidian-data-handling",{"tool":70,"command":71},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill obsidian-data-handling",{"tool":73,"command":74},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill obsidian-data-handling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fobsidian-pack\u002Fskills\u002Fobsidian-data-handling\u002FSKILL.md",true,[],[79,107,139,158,183,207],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":106},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[],[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,27,104,105],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":46},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[],[115,116,94,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,34,99,132,133,134,135,136,137,138],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":143,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":46},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[],[147,148,149,119,150,151,116,152,92,153,129,154,155,156,157,27,136],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":162,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":46},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[166,167,168,169,19,170,171,172,34,173,174,175,176,177,178,179,27,180,181,182,136,23],"analysis","neuropixels analysis","spike","metrics","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":187,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":46},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[],[191,192,193,194,195,196,197,198,199,200,201,202,203,204,27,136,205,23,206],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":208,"name":209,"nameZh":6,"description":210,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":211,"sourceHtmlUrl":212,"categories":213,"keywords":214,"publishedAt":46},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[],[209,215,216,217,218,219,220,153,221,222,34,223,224,225,226,136,227],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]