Navigator Configuration Guide
Complete guide to configuring Navigator for your project and workflow.
Configuration File
Navigator settings stored in .agent/.nav-config.json:
{
"version": "1.0.0",
"project_management": "none",
"task_prefix": "TASK",
"team_chat": "none",
"auto_load_navigator": true,
"compact_strategy": "conservative"
}
Created automatically by /nav:init, customizable anytime.
Project Management Integration
Option 1: Linear (Recommended)
Setup:
Install Linear MCP:
claude mcp add linear-serverConfigure in
.nav-config.json:{ "project_management": "linear", "task_prefix": "QF" }Test connection:
list_issues({ assignee: "me" })
Features:
- Auto-pull ticket details
- Link docs to Linear issues
- Update ticket status from docs
- Create comments with SOP links
Usage:
/nav:update-doc feature QF-123
Automatically:
- Reads Linear issue QF-123
- Extracts title, description, acceptance criteria
- Creates implementation plan
- Links back to Linear
Option 2: GitHub Issues
Setup:
Install GitHub CLI:
brew install gh # macOS # or https://cli.github.comAuthenticate:
gh auth loginConfigure in
.nav-config.json:{ "project_management": "github", "task_prefix": "GH" }Test:
gh issue list
Features:
- Read issue details via gh CLI
- Link docs to GitHub issues
- Create comments with doc links
Usage:
/nav:update-doc feature GH-456
Uses gh issue view 456 to get details.
Option 3: Jira
Setup:
Configure Jira API:
{ "project_management": "jira", "task_prefix": "PROJ", "jira": { "url": "https://yourcompany.atlassian.net", "email": "your@email.com", "api_token": "env:JIRA_API_TOKEN" } }Set environment variable:
export JIRA_API_TOKEN="your-api-token"
Features:
- Read issue details via API
- Link docs to Jira issues
- Update issue status
Usage:
/nav:update-doc feature PROJ-789
Option 4: None (Manual)
Setup:
{
"project_management": "none",
"task_prefix": "TASK"
}
Features:
- Manual documentation from conversation context
- No automatic ticket integration
- Simple, no dependencies
Usage:
/nav:update-doc feature TASK-123
You provide context manually, Navigator creates docs.
Team Chat Integration
Option 1: Slack (via MCP)
Setup:
Install Slack MCP:
claude mcp add slackConfigure in
.nav-config.json:{ "team_chat": "slack", "slack": { "engineering_channel": "C09HCNM09GV", "announcements_channel": "C09HF3HP554" } }
Features:
- Auto-notify team of doc updates
- Share SOPs to engineering channel
- Announce feature completions
Triggers:
- Feature complete → Post to announcements
- SOP created → Post to engineering
- Daily doc updates → Post to engineering
Option 2: Discord
Setup:
Create Discord webhook
Configure in
.nav-config.json:{ "team_chat": "discord", "discord": { "webhook_url": "env:DISCORD_WEBHOOK", "dev_channel_id": "123456789" } }Set environment variable:
export DISCORD_WEBHOOK="your-webhook-url"
Features:
- Post updates via webhook
- Share docs with team
Option 3: None
Setup:
{
"team_chat": "none"
}
Use when:
- Solo developer
- Small team that doesn't need notifications
- Prefer manual updates
Navigator Behavior
Auto-Load Navigator
Enabled (default):
{
"auto_load_navigator": true
}
Every session automatically loads .agent/DEVELOPMENT-README.md (2k tokens).
Disabled:
{
"auto_load_navigator": false
}
You manually load navigator when needed. Saves 2k tokens if working on isolated task.
Compact Strategy
Conservative (Default)
Config:
{
"compact_strategy": "conservative",
"compact_trigger_percent": 70
}
Behavior:
- Compact after major milestones only
- Trigger at 70%+ token usage
- Between unrelated epics
Best for: Deep work on single feature, complex debugging
Aggressive
Config:
{
"compact_strategy": "aggressive",
"compact_trigger_percent": 50
}
Behavior:
- Compact after every sub-task
- Trigger at 50%+ token usage
- Frequent context clearing
Best for: Multiple short tasks, exploratory work
Manual
Config:
{
"compact_strategy": "manual"
}
Behavior:
- Never auto-suggest compact
- User runs
/nav:compactexplicitly
Best for: Experienced users who know when to compact
Custom Templates
Override Default Templates
Create .agent/.templates/ with custom versions:
.agent/
├── .templates/
│ ├── task-template.md # Custom task doc format
│ ├── sop-template.md # Custom SOP format
│ └── system-template.md # Custom system doc format
Navigator uses custom templates if they exist, otherwise uses plugin defaults.
Example: Custom Task Template
# TASK-XX: [Feature]
## Business Context
[Why this matters to business]
## Technical Implementation
[How to build it]
## Success Criteria
[How to verify]
Save to .agent/.templates/task-template.md, Navigator uses it automatically.
Documentation Structure Customization
Add Custom System Docs
Edit .agent/DEVELOPMENT-README.md to add custom docs:
### System Architecture (`system/`)
#### [Project Architecture](./system/project-architecture.md)
...
#### [Database Schema](./system/database-schema.md) # Custom
**When to read**: Working with database
**Contains**:
- Table structures
- Relationships
- Indexes
- Migration history
Then create:
/nav:update-doc system database
Add Custom SOP Categories
Create new category in .agent/sops/:
.agent/sops/
├── integrations/
├── debugging/
├── development/
├── deployment/
└── security/ # Custom category
└── auth-setup.md
Update navigator to include new category.
Advanced Configuration
Token Budget Customization
{
"token_budget": {
"navigator_max": 2500,
"task_doc_max": 3500,
"system_doc_max": 5500,
"sop_max": 2500,
"session_target": 12000
}
}
Navigator warns if docs exceed limits.
Documentation Freshness
{
"freshness": {
"system_docs_max_age_days": 7,
"warn_outdated": true,
"auto_regenerate": false
}
}
Navigator warns if system docs haven't been updated in 7 days.
Context Markers
{
"context_markers": {
"enabled": true,
"location": ".agent/.context-markers/",
"auto_save_on_compact": true
}
}
Automatically saves context markers when running /nav:compact.
Environment Variables
Recommended Setup
# .env (add to .gitignore)
LINEAR_API_KEY=your-linear-key
JIRA_API_TOKEN=your-jira-token
SLACK_WEBHOOK=your-slack-webhook
DISCORD_WEBHOOK=your-discord-webhook
Reference in config:
{
"linear": {
"api_key": "env:LINEAR_API_KEY"
}
}
Never commit secrets to git!
Team Configuration
Commit Configuration to Git
Recommended:
# .gitignore
# Don't commit secrets
.env
.env.local
# Share Navigator config with team
# .agent/.nav-config.json # Commented out = committed
Benefits:
- Team uses same settings
- Consistent documentation structure
- Shared PM/chat integration
Personal Configuration
Create .agent/.nav-config.local.json:
{
"extends": ".nav-config.json",
"overrides": {
"auto_load_navigator": false,
"compact_strategy": "aggressive"
}
}
Add to .gitignore:
.agent/.nav-config.local.json
Migration Guide
From Manual Documentation
Before: Docs scattered across README, wiki, Notion
After: Centralized in .agent/
Steps:
- Run
/nav:init - Copy existing docs to
.agent/system/ - Update navigator to index them
- Use
/nav:update-docgoing forward
From Other Documentation System
Before: Custom doc structure
After: Navigator structure
Steps:
- Map existing docs to Navigator categories:
- Implementation plans →
.agent/tasks/ - Architecture docs →
.agent/system/ - Procedures →
.agent/sops/
- Implementation plans →
- Convert to Navigator templates
- Update navigator
Troubleshooting
Configuration Not Loading
Check:
- File exists:
.agent/.nav-config.json - Valid JSON (no syntax errors)
- Required fields present
Fix: Run /nav:init to regenerate
Integration Not Working
Linear:
- Check:
linear-serverMCP installed - Test:
list_issues({ assignee: "me" })
GitHub:
- Check:
ghCLI installed - Test:
gh auth status
Jira:
- Check: API token valid
- Test: API endpoint reachable
Auto-Load Not Working
Check: .nav-config.json:
{
"auto_load_navigator": true
}
If false, navigator won't auto-load.
Best Practices
For Solo Developers
Minimal config:
{
"project_management": "none",
"team_chat": "none",
"auto_load_navigator": true,
"compact_strategy": "conservative"
}
Simple, no integrations, focus on personal knowledge base.
For Small Teams (2-5)
Collaborative config:
{
"project_management": "github",
"team_chat": "discord",
"auto_load_navigator": true,
"compact_strategy": "conservative"
}
Commit config to git, share docs via GitHub.
For Enterprises
Full integration:
{
"project_management": "linear",
"team_chat": "slack",
"auto_load_navigator": true,
"compact_strategy": "conservative",
"freshness": {
"warn_outdated": true
}
}
Full PM/chat integration, documentation freshness checks.
Support
- Issues: GitHub Issues
- Discussions: Community
- Examples: See examples/ for complete configs
Start configuring: Edit .agent/.nav-config.json after /nav:init 🚀