This directory contains ready-to-use templates for implementing the three-tier documentation system in your own repository.
| File | Purpose | Use For |
|---|---|---|
tier1-claude-template.md |
Vault-level context | Repository overview, git setup, all projects |
tier1-session-template.md |
Vault-level sessions | Cross-cutting work, vault organization |
tier2-claude-template.md |
Projects overview context | All projects summary |
tier2-session-template.md |
Projects sessions | Multi-project work |
tier3-claude-template.md |
Individual project context | Single project overview |
tier3-session-template.md |
Individual project sessions | Project-specific work |
| File | Purpose |
|---|---|
close-and-commit-agent-template.md |
Session management agent with tier detection |
# Navigate to your repository
cd /path/to/your/repo
# Create directory structure
mkdir -p docs projects agents
# Copy Tier 1 templates
cp TEMPLATES/tier1-claude-template.md docs/docs-claude.md
cp TEMPLATES/tier1-session-template.md docs/docs-session-summary.md
# Copy Tier 2 templates
cp TEMPLATES/tier2-claude-template.md projects/projects-claude.md
cp TEMPLATES/tier2-session-template.md projects/projects-session-summary.md
# Copy agent template
cp TEMPLATES/close-and-commit-agent-template.md agents/close_and_commit_GIT.md
# Create your first project
PROJECT_NAME="MyFirstProject"
mkdir -p "projects/$PROJECT_NAME"
cp TEMPLATES/tier3-claude-template.md "projects/$PROJECT_NAME/${PROJECT_NAME}-claude.md"
cp TEMPLATES/tier3-session-template.md "projects/$PROJECT_NAME/${PROJECT_NAME}-session-summary.md"
echo "✅ Three-tier system created!"
echo "Next: Edit the templates to fill in your project information"
mkdir -p docs projects agents
tier1-claude-template.md → docs/docs-claude.mdtier1-session-template.md → docs/docs-session-summary.mdtier2-claude-template.md → projects/projects-claude.mdtier2-session-template.md → projects/projects-session-summary.mdclose-and-commit-agent-template.md → agents/close_and_commit_GIT.mdprojects/YourProjectName/tier3-claude-template.md → projects/YourProjectName/YourProjectName-claude.mdtier3-session-template.md → projects/YourProjectName/YourProjectName-session-summary.mdSearch for and replace these placeholders:
[DATE] - Current date[Project Name] - Your project name[ProjectName] - Project name without spaces[Description] - Project descriptions/path/to/your/repo - Your actual repository pathIn Tier 1 and Tier 2 files, update the project lists with your actual projects.
In close_and_commit_GIT.md, update the Project Detection Map section with your project patterns:
projects/YourProject1/ → Your Project 1
projects/YourProject2/ → Your Project 2
Fill in:
Important: Follow the naming pattern:
<context>-claude.md # Context file
<context>-session-summary.md # Session history
Examples:
docs-claude.md, docs-session-summary.md (Tier 1)projects-claude.md, projects-session-summary.md (Tier 2)website-claude.md, website-session-summary.md (Tier 3)Why? Descriptive names make files instantly identifiable in search results and tabs.
tree -L 3
Should show:
.
├── docs/
│ ├── docs-claude.md
│ └── docs-session-summary.md
├── projects/
│ ├── projects-claude.md
│ ├── projects-session-summary.md
│ └── YourProject/
│ ├── YourProject-claude.md
│ └── YourProject-session-summary.md
└── agents/
└── close_and_commit_GIT.md
Make a small change, then tell your AI:
@agents/close_and_commit_GIT.md
The agent should:
Try loading just Tier 3 for a project instead of reading all documentation. You should see significant token reduction.
For smaller projects, skip Tier 2:
docs/)projects/ProjectName/)Modify the agent to skip Tier 2 updates.
For very large monorepos, add Tier 4 for sub-projects:
If your repo uses different folders:
After setup, you might want to create:
*-claude.md files“Agent doesn’t detect my project”
close_and_commit_GIT.md“Session files too large”
“Unclear which tier to use”
These templates are meant to be:
Don’t feel constrained by the templates - adapt them to work best for YOU.
Ready to start? Run the automated setup script above, then customize the files for your repository!