obsidian-data-importer

Transform structured external data (CSV/JSON) into Obsidian's linked knowledge system while preserving semantic relationships, optimizing graph structure, and preventing data corruption through systematic validation and YAML-safe template generation.Enables seamless knowledge transfer from databases, spreadsheets, and APIs into personal knowledge management, maintaining referential integrity and facilitating emergence of insights through networked thought.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "obsidian-data-importer" with this command: npx skills add zpankz/mcp-skillset/zpankz-mcp-skillset-obsidian-data-importer

Obsidian Data Importer

Activation Conditions

This skill activates when:

  • User uploads or provides CSV/JSON data files
  • User requests Obsidian import assistance
  • User mentions "Handlebars", "JSON/CSV Importer", "bulk import", or "data import"
  • User wants to create multiple Obsidian notes from structured data

Quick Start (3 Steps)

For immediate use:

  1. Provide your data - Upload CSV/JSON file or paste content
  2. Confirm mapping - Review proposed field assignments
  3. Receive template - Get complete Handlebars template + instructions

Simple example: 01-task-list-csv

System Architecture

obsidian-data-importer/
├── core/              → Processing engines (5 phases + 4 modules)
├── knowledge/         → Reference documentation (syntax, types, errors)
├── templates/         → Pattern library (8 templates + partials)
└── examples/          → Complete demonstrations (12 workflows)

Component Diagram

[Data Input]
    ↓
[DataParser] ──→ [FieldAnalyzer] ──→ [TemplateGenerator] ──→ [Validator]
    ↓                ↓                      ↓                    ↓
 Parsed         Field Inventory        Template String      Validation
  Structure                                                   Report
                                           ↓
                                   [InstructionComposer]
                                           ↓
                                    Complete Package

Workflow Overview

The system executes in 5 sequential phases:

PhasePurposeDocumentationOutput
1. IngestionParse & analyze data structurePhase 1Field inventory
2. StrategyMap fields & select patternPhase 2Mapping decisions
3. ConstructionGenerate Handlebars templatePhase 3Template string
4. ValidationVerify syntax & preview outputPhase 4Validation report
5. DeliveryPackage with instructionsPhase 5Complete deliverable

Process Flow:

CSV/JSON → Parse → Analyze → Map → Generate → Validate → Deliver

Module Reference

Core Processing Modules

ModuleResponsibilityDocumentationKey Functions
DataParserInput format handlingdata-parser.mdparseCSV(), parseJSON()
FieldAnalyzerType inference & analysisfield-analyzer.mdinferType(), detectIssues()
TemplateGeneratorHandlebars constructiontemplate-generator.mdbuildTemplate(), escapeYAML()
ValidatorSyntax & correctness checkingvalidator.mdvalidateYAML(), testRender()

Knowledge Base

TopicContentDocumentation
YAML SafetyCharacter escaping, quoting strategiesyaml-safety.md
Handlebars SyntaxVariables, conditionals, iterationhandlebars-syntax.md
Type MappingDetection algorithms, strategiestype-mapping.md
Error ResolutionCommon problems & solutionserror-resolution.md
Best PracticesOptimization guidelinesbest-practices.md

Template Library

Base Templates

Domain-Specific Templates

Template Composition: All templates use modular partials from templates/partials/ for maximum reusability.

Common Tasks (Quick Recipes)

TaskComplexityExampleDuration
Import simple CSV01-task-list-csv3 min
Handle special characters⭐⭐02-contacts-csv5 min
Process nested JSON⭐⭐⭐04-nested-json-projects10 min
Fix YAML errors⭐⭐10-special-chars-fix5 min
Link entities⭐⭐⭐08-complex-relationships15 min

Examples by Complexity

Simple (Start Here)

Intermediate

Advanced

Troubleshooting

Integration & Extensions

Complementary Obsidian Plugins

  • Templater - Post-import transformations and computed fields
  • Dataview - Query and aggregate imported data
  • QuickAdd - Manual data entry workflows
  • Metadata Menu - Interactive frontmatter management
  • Tag Wrangler - Hierarchical tag organization

Extending This Skill

  1. Add custom templates - Place in templates/ with metadata
  2. Create domain patterns - Model specific industries or use cases
  3. Build preprocessors - Transform data before import
  4. Develop validators - Add custom validation rules
  5. Share examples - Contribute to examples library

Graph Structure Optimization

  • Use [[Wikilinks]] for entities that should become nodes
  • Create MOCs (Maps of Content) for large imports
  • Apply hierarchical tags (e.g., project/alpha/task-001)
  • Standardize date formats (ISO 8601)
  • Preserve source URLs for traceability

Capabilities & Boundaries

✅ What This Skill Does

  • Parse CSV and JSON data structures
  • Analyze fields with type inference
  • Generate YAML-safe Handlebars templates
  • Validate syntax and preview output
  • Provide complete usage instructions
  • Suggest graph optimization strategies

❌ What This Skill Does NOT Do

  • Perform the actual import (requires user + plugin)
  • Modify source data files
  • Install or configure the plugin
  • Post-process notes after import
  • Fix corrupted YAML in existing notes
  • Real-time data synchronization

User Responsibilities

  • Install JSON/CSV Importer plugin in Obsidian
  • Save generated template to vault
  • Execute import through plugin interface
  • Review imported notes for accuracy
  • Perform any post-import cleanup

Execution Mode

When data is provided, the system automatically:

  1. Detects format (CSV vs JSON)
  2. Parses structure and analyzes fields
  3. Generates field inventory with recommendations
  4. Proposes template pattern based on data characteristics
  5. Requests confirmation of field mappings
  6. Constructs template with YAML safety
  7. Validates syntax and generates preview
  8. Delivers package with instructions

Response Format:

## 📊 Data Analysis

[Field inventory table with types and recommendations]

## 🎯 Recommended Approach

Pattern: [Selected template]
Note Names: [Field for filenames]
Target Folder: [Suggested location]

## ⚠️ Warnings

[Special character issues, data quality concerns]

## ✨ Template

[Complete Handlebars template with documentation]

## 👁️ Preview

[Sample output from first data row]

## 📋 Instructions

[Step-by-step import procedure]

## 🔧 Troubleshooting

[Common issues and solutions]

Metadata

Version: 2.0.0 (Modular Architecture) Created: October 2025 Compatibility: Obsidian + JSON/CSV Importer plugin Complexity Level: Intermediate to Advanced Skill Type: Data transformation & template generation

Prerequisites:

  • Obsidian (any recent version)
  • JSON/CSV Importer plugin by "filing 42"
  • Basic understanding of YAML frontmatter
  • Familiarity with Markdown

External Resources:

Version History

See CHANGELOG.md for detailed version history.

Support & Contribution

For Issues:

To Contribute:

  • Add examples to demonstrate new patterns
  • Submit custom templates for specific domains
  • Report edge cases or issues
  • Improve documentation clarity

Reception & Usage

Skill Activation: Simply provide your CSV or JSON data, and the system will immediately begin analysis and template generation.

No explicit invocation required - the skill recognizes data files and structured content automatically.

For best results: Include complete data samples (not fragments) so field analysis can be accurate.

Ready to import your data into Obsidian? Provide your file or paste your data to begin.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

network-meta-analysis-appraisal

No summary provided by upstream source.

Repository SourceNeeds Review
Research

csv-analysis

No summary provided by upstream source.

Repository SourceNeeds Review
Research

research

No summary provided by upstream source.

Repository SourceNeeds Review
Research

knowledge-orchestrator

No summary provided by upstream source.

Repository SourceNeeds Review