# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Repository Overview
This is Hans Heum's personal Obsidian vault containing research notes, academic work, and personal knowledge management. The vault contains thousands of markdown files organized in a flat structure with date-based filenames (using Holocene calendar dates like 12024-XX-XX).
## Key Features
- **Task Management System**: Custom JavaScript-based task aggregation using Obsidian's DataView plugin
- **Template System**: Multiple templates for different note types (daily notes, published/unpublished notes, project notes, etc.)
- **Date Format**: Uses Holocene calendar (12024 instead of 2024) for future-proofing
- **Tagging System**: Extensive use of tags for organization (#prosjekt, #brenner, #venter, #en-dag, #fullført, etc.)
## Important Scripts
### Task Management (`scripts/masterliste/masterliste.js`)
- Core task aggregation system that processes markdown files with `#prosjekt` tags
- Implements Getting Things Done (GTD) methodology with contexts and statuses
- Status levels: Priority (🔥), Active (🦾), Waiting (⏳), Someday (✨)
- Contexts: Focus (🎓), Computer (💻), Phone (📱), Office (🏢), Input (📖), Errands (🏃), Home (🏠), Braindead (🫠), Instrument (🎸), Studio (🎧), Hobby (🖌️)
- Generates master task lists and context-specific views
### Helper Scripts
- `scripts/masterliste/task-logic.js`: Additional task processing logic
- `scripts/masterliste/focus.js`: Focus-specific task handling
- `scripts/untagged.js`: Lists files with `#untagged` tag (for triaging notes missing proper tags)
## Templates
Located in `templates/` directory:
- `template1_published-dated.md`: For published academic work
- `template2_unpublished-dated.md`: For unpublished notes
- `template3_daily-note.md`: Daily note template
- `template6_morgenskriving.md`: Morning writing template
- `template7_pliktskriving.md`: Obligation writing template
- `template8_prosjekt.md`: Project template
## File Organization
- **Flat Structure**: All markdown files in root directory
- **Naming Convention**: Uses descriptive names and Holocene dates
- **Content Types**: Research notes, daily entries, project documentation, academic papers, music-related content
- **Excluded Content**: Images, scripts, and CSS snippets are gitignored
## Development Context
- **Platform**: Obsidian knowledge management system
- **Primary Language**: JavaScript (for automation scripts)
- **Markup**: Markdown with Obsidian-specific features
- **Dependencies**: Obsidian DataView plugin, moment.js for date handling
## Working with This Repository
- Files are primarily markdown with extensive cross-linking
- Task management relies on specific emoji and tag conventions
- Scripts expect Obsidian's DataView plugin to be available
- Templates use Obsidian's template system
- No traditional build/test commands - this is a knowledge management system