A template repository designed to give Claude persistent context memory and specialized agent capabilities. This system enables Claude to maintain consistent workflows, reference best practices, and manage projects effectively across sessions.
Vaulty is an Obsidian vault that serves as a comprehensive context memory system for Claude. It provides:
- Memory Files: Best practices and guidelines for different domains (git, testing, deployment, etc.)
- Language-Specific Best Practices: Detailed guides for 12 programming languages with idioms, patterns, and tooling
- Specialized Agents: Built-in subagent types Claude can delegate to via the Task tool
- Project Management: Structured system for tracking projects and tasks
- Agent Collaboration: Workflows where agents work together (Developer β Tester β Auditor β Git)
π View System Interaction Diagrams - Visual guide to how agents collaborate
Vaulty is designed as a GitHub Template Repository for personal use. Choose your path:
This is the most common use case - create your own copy to customize for your workflow:
- Click "Use this template" button on GitHub (or use this link)
- Choose a name for your repository (e.g.,
my-vaulty,claude-memory) - Select Private or Public (your choice)
- Click "Create repository from template"
- Clone your new repository and customize it
Benefits:
- β Your own independent copy (no fork relationship)
- β Customize agents, memory files, and config for your needs
- β Add your personal projects without cluttering the template
- β Pull updates from the template when you want them
- β No expectation to contribute back (unless you want to!)
Want to improve Vaulty for everyone? We welcome contributions!
- Fork this repository (not "Use this template")
- Make improvements to core framework files (agents, memory files, templates)
- Submit a Pull Request
- See CONTRIBUTING.md for detailed guidelines
What to contribute:
- New memory files for domains (security, performance, etc.)
- New programming language guides
- Improved agent workflows
- Bug fixes and documentation
- Example projects and use cases
What NOT to contribute:
- Your personal
config.mdsettings - Your specific projects
- Workflow tweaks specific to your needs
If you used the template and want to pull in new improvements:
# Add the original template as a remote (one time)
git remote add template https://github.com/rhwendt/vaulty.git
# Check what's new in the template
git fetch template
git show template/main:CHANGELOG.md
# Merge updates when ready
git merge template/main --allow-unrelated-histories
# Resolve conflicts - common areas:
# - .claude/rules/* (framework best practices)
# - .claude/agents/* (subagent definitions)
# - .claude/CLAUDE.md (main project instructions)
# Keep YOUR changes in:
# - config.md (your personal settings)
# - projects/* (your projects)What Gets Updated:
- β
.claude/rules/- Best practices and guidelines - β
.claude/agents/- Subagent definitions - β
.claude/CLAUDE.md- Main project instructions - β Templates and example projects
β οΈ You keep:config.md,projects/, custom rules you added
Track updates:
- π View CHANGELOG.md for version history and breaking changes
- β Watch releases on GitHub for notifications
- π Check GitHub Releases for new versions
git clone https://github.com/yourusername/vaulty.git
cd vaulty- Download Obsidian
- Open Obsidian
- Click "Open folder as vault"
- Select the
vaultydirectory
IMPORTANT: Create your personal config file before using Vaulty!
# Copy the template to create your config
cp config.template.md config.md
# Edit config.md with your preferences
# (use your favorite editor)Your config.md contains personal settings like:
- Where you store your code repos locally (
repos_directory) - Your preferred programming languages and frameworks
- Your git preferences (default branch, commit style)
- Your code style preferences (indentation, line length)
- Your testing preferences (frameworks, coverage requirements)
- Your deployment setup (cloud provider, CI/CD platform)
- And much more!
Why this matters: Every agent and memory file references your config to personalize their behavior. Claude will use your preferred tools, follow your code style, and work with your local directory structure.
Tip
Don't worry about filling out everything at once. Start with the basics (name, repos_directory, default_branch) and add more as needed. The template has detailed examples for every setting.
Run Claude Code in this directory. The rules in .claude/rules/ and agents in .claude/agents/ are automatically loaded and provide context for your interactions.
Vaulty agents work with any Claude model available to you. Control model selection and other Claude Code behavior via environment variables.
All subagents default to Sonnet unless you configure otherwise. To use different models:
# Set model for all subagents (overrides defaults)
export CLAUDE_CODE_SUBAGENT_MODEL="claude-opus-4-5-20251101"
# Or set main model (affects primary Claude Code thread)
export ANTHROPIC_MODEL="claude-opus-4-5-20251101"Recommended model strategy:
- High-thinking agents (developer, tester, auditor, architect, software-designer, project-designer): Opus for complex reasoning
- Operational agents (git-helper, debugger, deployer, documenter, project-manager): Sonnet for efficiency
Note: Vaulty doesn't hardcode model requirements - it works with any Claude model available to you.
| Variable | Purpose | Example |
|---|---|---|
CLAUDE_CODE_SUBAGENT_MODEL |
Override all subagent models | export CLAUDE_CODE_SUBAGENT_MODEL="claude-opus-4-5-20251101" |
ANTHROPIC_API_KEY |
API key (if using API instead of subscription) | export ANTHROPIC_API_KEY="sk-..." |
CLAUDE_ENV_FILE |
Shell script sourced before each bash command | export CLAUDE_ENV_FILE="~/.claude-env.sh" |
MCP_TIMEOUT |
MCP server startup timeout (milliseconds) | export MCP_TIMEOUT="10000" |
DEBUG |
Enable verbose debug logging | export DEBUG=1 |
ANTHROPIC_LOG |
Anthropic SDK logging level | export ANTHROPIC_LOG="debug" |
Permanent configuration (add to shell config):
For zsh (macOS/modern Linux):
# Add to ~/.zshrc
export CLAUDE_CODE_SUBAGENT_MODEL="claude-opus-4-5-20251101"
export CLAUDE_ENV_FILE="$HOME/.claude-env.sh"
# Reload: source ~/.zshrcFor bash:
# Add to ~/.bash_profile or ~/.bashrc
export CLAUDE_CODE_SUBAGENT_MODEL="claude-opus-4-5-20251101"
export CLAUDE_ENV_FILE="$HOME/.claude-env.sh"
# Reload: source ~/.bash_profileEnvironment persistence file (recommended for project-specific settings):
Create ~/.claude-env.sh:
#!/bin/bash
# Load environment for all Claude Code bash commands
export NODE_ENV=development
export DB_URL="postgresql://localhost/mydb"
source ~/.nvm/nvm.sh # Load version managersThen set: export CLAUDE_ENV_FILE="$HOME/.claude-env.sh"
For enterprise users using AWS Bedrock or Google Vertex AI:
AWS Bedrock:
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-east-1
# AWS credentials via AWS CLI config or environment variablesGoogle Vertex AI:
export CLAUDE_CODE_USE_VERTEX=1
export ANTHROPIC_VERTEX_PROJECT_ID=my-project-123
export CLOUD_ML_REGION=us-east3
# Authenticate: gcloud auth application-default loginSee official Claude Code documentation for complete environment variable reference.
vaulty/
βββ README.md # This file
βββ .obsidian/ # Obsidian configuration
β
βββ config.template.md # Template for your personal configuration
βββ config.md # YOUR personal config (git-ignored, create from template)
β
βββ .claude/ # Claude Code configuration
β βββ CLAUDE.md # Main project instructions (concise)
β βββ rules/ # Best practices (auto-loaded)
β β βββ git-workflow.md # Git operations and standards
β β βββ project-management.md # Project and task management
β β βββ documentation.md # Documentation standards
β β βββ code-review.md # Code review guidelines
β β βββ testing-qa.md # Testing and QA practices
β β βββ deployment.md # Deployment procedures
β β βββ communication.md # Communication standards
β β βββ architecture-design.md # Architecture patterns and principles
β β βββ languages/ # Language-specific best practices
β β βββ python.md # Python idioms, PEP 8, type hints
β β βββ javascript.md # JavaScript ES6+, async patterns
β β βββ typescript.md # TypeScript types, strict mode
β β βββ go.md # Go idioms, goroutines, channels
β β βββ rust.md # Rust ownership, borrowing, traits
β β βββ java.md # Java patterns, Spring Boot
β β βββ csharp.md # C# async/await, LINQ, .NET
β β βββ cpp.md # C++ modern features, RAII
β β βββ php.md # PHP 8+, Laravel patterns
β β βββ ruby.md # Ruby idioms, Rails patterns
β β βββ swift.md # Swift optionals, protocols
β β βββ kotlin.md # Kotlin null safety, coroutines
β β
β βββ agents/ # Agent instruction files (read before delegating)
β βββ git-helper.md # Git operations specialist
β βββ developer.md # Code development specialist
β βββ tester.md # Testing and QA specialist
β βββ auditor.md # Code review and security specialist
β βββ documenter.md # Documentation specialist
β βββ project-manager.md # Project management specialist
β βββ project-designer.md # New project planning and design specialist
β βββ architect.md # Architecture and design specialist
β βββ deployer.md # Deployment and DevOps specialist
β βββ debugger.md # Debugging and troubleshooting specialist
β βββ software-designer.md # Design patterns specialist
β
βββ projects/ # Your projects go here
βββ _templates/ # Templates for new projects and tasks
β βββ project-overview-template.md
β βββ task-template.md
β
βββ example-project/ # Example project structure
βββ overview.md # Project overview and status
βββ tasks/ # Individual task files
βββ task-001-implement-auth.md
βββ task-002-build-api.md
Vaulty includes specialized subagents in .claude/agents/ that Claude automatically delegates to based on task context:
- Developer - Code implementation and bug fixes
- Tester - Writing and running tests
- Auditor - Code review and security checks
- Software Designer - Design patterns and refactoring
- Git Helper - Version control operations
- Deployer - Deployment and CI/CD
- Debugger - Investigating issues
- Project Designer - New project planning
- Project Manager - Task and project tracking
- Architect - High-level design decisions
- Documenter - Documentation creation
Agents and their collaboration workflows are defined in .claude/agents/ and .claude/rules/workflows.md.
Rules files in .claude/rules/ contain best practices that agents reference:
- git-workflow.md: How to commit, branch, create PRs
- testing-qa.md: Testing standards, coverage requirements
- code-review.md: Code review checklist, security concerns
- deployment.md: Deployment procedures, rollback plans
- architecture-design.md: Design patterns, SOLID principles
- project-management.md: Task tracking, project organization
- documentation.md: Documentation standards
- communication.md: Communication templates
Each language has its own comprehensive guide in .claude/rules/languages/:
| Language | Key Topics |
|---|---|
| Python | PEP 8, type hints, pytest, dataclasses, async/await |
| JavaScript | ES6+, async/promises, Node.js, Jest, modern patterns |
| TypeScript | Type system, strict mode, generics, decorators |
| Go | Goroutines, channels, error handling, interfaces, table tests |
| Rust | Ownership, borrowing, Result/Option, traits, cargo |
| Java | Streams, Optional, Spring Boot, JUnit 5, modern features |
| C# | Async/await, LINQ, nullable types, xUnit, .NET patterns |
| C++ | Modern C++, RAII, smart pointers, move semantics |
| PHP | PHP 8+, Laravel, type safety, PSR standards, PHPUnit |
| Ruby | Ruby idioms, Rails, RSpec, metaprogramming |
| Swift | Optionals, protocols, SwiftUI, value types, XCTest |
| Kotlin | Null safety, coroutines, sealed classes, data classes |
What's included in each language guide:
- β Language philosophy and idioms
- β Naming conventions and code style
- β Error handling patterns
- β Testing best practices
- β Framework-specific patterns
- β Linting and formatting tools
- β Common anti-patterns to avoid
- β Performance tips
- β Official resources and style guides
Create a new file in .claude/rules/ for your domain:
# Your Domain Best Practices
## When to Reference This File
[Explain when agents should use this]
## Best Practices
...
## Examples
...The .claude/agents/ directory contains instruction files that Claude reads before delegating to a built-in subagent type. These provide domain-specific context and guidelines.
Important: These files do NOT create new subagent types. Claude Code has a fixed set of built-in subagent types (developer, tester, auditor, git-helper, debugger, deployer, documenter, architect, software-designer, project-manager, project-designer, Explore, Plan).
Create instruction files following this format:
---
name: agent-name
description: When to use this agent (for human reference)
tools: Read, Write, Edit, Bash, Glob, Grep
---
# Agent Title
## Role
What this agent focuses on...
## Before Starting
- Check config.md for user preferences
- Reference relevant `.claude/rules/` files
## Guidelines
1. Step one
2. Step two
...Claude should read the relevant instruction file before calling the Task tool to include context in the delegation prompt.
Use the templates in projects/_templates/:
# Create new project structure
mkdir -p projects/my-new-project/tasks
# Copy templates
cp projects/_templates/project-overview-template.md projects/my-new-project/overview.md- β Consistent git workflow across projects
- β Always-applied code review standards
- β Systematic testing approach
- β Structured project management
- β Best practices at your fingertips
- β Shared best practices and standards
- β Consistent code quality
- β Onboarding documentation
- β Collaborative decision records (ADRs)
- β Standardized workflows
This vault uses Obsidian-specific features:
Link to other files: [[memory/git-workflow]]
Link to sections: [[project-overview#goals]]Organize with tags: #task #status/in-progress #priority/high> [!NOTE]
> Important information here
> [!WARNING]
> Caution: Pay attention to thisEnhance your Vaulty experience with these Obsidian plugins and settings. All are optional but highly recommended for power users.
Query and display data from your vault dynamically.
Use cases for Vaulty:
- List all agents with their trigger patterns
- Show all projects with their current status
- Display tasks by priority or status
- Generate agent usage reports
Example query:
TABLE role, trigger-patterns
FROM "agents"
WHERE contains(file.tags, "#agent")
Install: Settings β Community Plugins β Browse β Search "Dataview"
More powerful templating than core Templates plugin.
Use cases for Vaulty:
- Auto-generate project names with dates
- Insert current task count
- Dynamic agent invocations
- Auto-fill project metadata
Install: Settings β Community Plugins β Browse β Search "Templater"
Better tag management and navigation.
Use cases for Vaulty:
- Quickly rename tags across all files (e.g.,
#status/todoβ#status/pending) - View tag hierarchy for agent categories
- Search and filter by nested tags
- Clean up unused tags
Install: Settings β Community Plugins β Browse β Search "Tag Wrangler"
Advanced task management with queries and filters.
Use cases for Vaulty:
- Track TODOs across all project files
- Filter tasks by due date, priority, status
- Generate task reports per project
- Recurring tasks for maintenance work
Install: Settings β Community Plugins β Browse β Search "Tasks"
Visual kanban board for project management.
Use cases for Vaulty:
- Visualize project task flow (Todo β In Progress β Done)
- Drag-and-drop task management
- Board per project or one global board
- Alternative to markdown task lists
Install: Settings β Community Plugins β Browse β Search "Kanban"
Quick access to recently edited files.
Use cases for Vaulty:
- Quickly return to agents you're actively working with
- Access recently referenced memory files
- Navigate between project files efficiently
Install: Settings β Community Plugins β Browse β Search "Recent Files"
Enhanced file switcher with symbols and headings.
Use cases for Vaulty:
- Jump to specific agent sections quickly
- Search within memory file headings
- Navigate to project task sections
Install: Settings β Community Plugins β Browse β Search "Quick Switcher++"
Create diagrams and sketches directly in Obsidian.
Use cases for Vaulty:
- Extend interaction diagrams with custom flows
- Sketch architecture designs before implementing
- Visual project planning
- Whiteboard with Claude for complex planning
Install: Settings β Community Plugins β Browse β Search "Excalidraw"
Enhanced graph view with better filtering.
Use cases for Vaulty:
- Visualize connections between agents and memory files
- Identify orphaned files
- Understand project dependencies
- See agent collaboration patterns
Install: Settings β Community Plugins β Browse β Search "Graph Analysis"
Enable these built-in Obsidian features (already configured in this template):
- View connections between agents and memory files
- Settings β Graph View β Enable filters by tag
- Useful for understanding agent relationships
- Templates folder:
projects/_templates/ - Use for creating new projects and tasks
- Settings β Templates β Template folder location
- View all tags in vault (#agent, #memory, #task)
- Click tags to see all matching files
- Useful for navigating agent categories
- Could be used for session logs with Claude
- Track what agents were used each day
- Document decisions and outcomes
- Create visual boards connecting agents, memory files, and projects
- Alternative to text-based project planning
- Drag and link related files visually
File Explorer Settings:
Settings β Files and Links
β
Automatically update internal links
β
Default location for new notes: Same folder as current file
β
New link format: Relative path to file
Editor Settings:
Settings β Editor
β
Show line numbers (helpful when working with Claude)
β
Readable line length (easier to read long memory files)
β
Strict line breaks (markdown compatibility)
Appearance Settings:
Settings β Appearance
- Enable/disable: Your preference
- Recommended: Use a theme that supports callouts and tags well
- Popular themes: Minimal, Things, California Coast
-
Enable Community Plugins
- Settings β Community Plugins β Turn off Restricted Mode
- Click "Browse" to search for plugins
-
Install Essential Plugins
- Start with: Dataview, Tag Wrangler, Recent Files
- Add others as needed based on your workflow
-
Configure Plugin Settings
- Dataview: Enable JavaScript queries (optional)
- Templater: Set template folder to
projects/_templates/ - Tasks: Configure global filter if needed
Keep plugins updated:
- Settings β Community Plugins β Check for updates regularly
- Updates often include bug fixes and new features
Disable unused plugins:
- Improves vault performance
- Reduces potential conflicts
This is a template repository - feel free to use it for personal projects!
Want to contribute to the Vaulty framework itself? We welcome:
- Additional memory files for other domains
- New programming language guides
- Custom agents for specialized tasks
- Improved templates and examples
- Documentation improvements
- Bug fixes
See CONTRIBUTING.md for detailed contribution guidelines.
MIT License - feel free to use this template for your own projects!
- Obsidian Documentation
- Claude Documentation
- For questions or issues with this template, open an issue on GitHub
- Start Small: Begin with one project and gradually adopt the full system
- Customize: Adapt memory files and agents to your workflow
- Be Consistent: Use the system regularly for best results
- Review Regularly: Update memory files as you learn new best practices
- Share: Use as a team template for consistent standards
Made for Claude | Template Repository | Obsidian Vault