Create a location note in Obsidian with automated research and accurate coordinates
Creates comprehensive Obsidian location notes with automated research and coordinates.
/plugin marketplace add oskar-dragon/claude-code/plugin install obsidian-location-notes@claude-code<location-name-or-url> [--type food|photo|accommodation|general]Create a comprehensive location note in your Obsidian vault for: $ARGUMENTS
Step 1: Load Configuration
Read the plugin configuration from .claude/obsidian-location-notes.local.md to get:
If configuration file missing or vault_path not set, inform user they need to create configuration file with vault_path field.
Step 2: Determine Location Type
If --type flag provided in arguments, use that type.
Otherwise, ask user to select location type using AskUserQuestion:
Step 3: Parse Input
Determine if input is:
Step 4: Launch Parallel Research
Use Task tool to launch TWO agents IN PARALLEL (single message with multiple Task calls):
Research Agent (based on location type selected):
general-location-researcher for Generalfood-location-researcher for Foodphoto-location-researcher for Photo Locationaccommodation-researcher for AccommodationProvide to agent:
Coordinate Finder Agent:
coordinate-finderStep 5: Wait for Agent Results
Both agents will return their results. Coordinate finder may return null if coordinates unavailable (acceptable).
Step 6: Assemble Note
Select appropriate template from:
${CLAUDE_PLUGIN_ROOT}/templates/general-location.md for General${CLAUDE_PLUGIN_ROOT}/templates/food.md for Food${CLAUDE_PLUGIN_ROOT}/templates/photo-location.md for Photo Location${CLAUDE_PLUGIN_ROOT}/templates/accommodation.md for AccommodationRead the template using Read tool.
Fill template with research results:
'[[Country Name]]''[[Region Name]]'[latitude, longitude] from coordinate finder (omit if null)Use location name as note title and filename (e.g., "Old Man of Storr.md").
Step 7: Create Note File
Write note to: <vault_path>/<save_location>/<Location Name>.md
Use Write tool to create the file.
Step 8: Validate Note
Launch the note-validator agent using Task tool to:
The validator will report issues and ask if they should be fixed.
Step 9: Report Success
Inform user:
'[[Page]]'[lat, lon]