1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Local-Only Setup Example
#
# This example shows AGPM configuration where NOTHING is committed to
# version control. All AGPM resources are kept local to each developer.
#
# Use this when:
# - AGPM configuration is personal (not shared with team)
# - You want complete control over .gitignore management
# - Each developer maintains their own AI resource setup
# - No AGPM files should be tracked in Git
#
# Key behavior:
# - gitignore = false: AGPM won't modify .gitignore
# - Resources NOT COMMITTED: You manually exclude everything
# - Personal workflow: Each developer has their own AGPM setup
#
# IMPORTANT: You MUST manually add these entries to your .gitignore
# to prevent accidental commits:
#
# # AGPM - keep everything local
# agpm.toml
# agpm.lock
# agpm.private.toml
# agpm.private.lock
# .claude/
# .opencode/
# .agpm/
# .mcp.json
#
# Setup options:
# 1. Per-project: Add entries above to your project's .gitignore
# 2. Global: Configure once for all projects:
# git config --global core.excludesfile ~/.gitignore
# # Then add entries above to ~/.gitignore
# Don't let AGPM manage .gitignore - we'll manually exclude everything
= false
# Use local private repositories
[]
# Local path to company's internal resource repository
= "../company-agpm-resources"
# Local path to personal resource collection
= "~/agpm/my-resources"
# Public community resources (optional)
= "https://github.com/example/agpm-community.git"
# Install resources from private sources
[]
# Company-specific agents from internal repository
= { = "internal", = "agents/code-reviewer.md", = "v2.1.0" }
= { = "internal", = "agents/security-scanner.md", = "v1.5.0" }
# Personal agents from local collection
= { = "personal", = "agents/helper.md", = "v1.0.0" }
# Optional: Community agents
= { = "community", = "agents/frontend.md", = "v1.0.0" }
[]
# Company code snippets from internal repository
= { = "internal", = "snippets/rust-patterns.md", = "v3.0.0" }
= { = "internal", = "snippets/test-templates.md", = "v1.2.0" }
# Personal snippets
= { = "personal", = "snippets/personal.md", = "v1.0.0" }
# Custom tool configuration
[]
# Install all agents to Claude Code
= "claude-code"
# Override default installation paths
[]
= "tools/ai-agents"
= "code/snippets"
= "tools/commands"
# Project-specific variables for templates
[]
= "Acme Corp"
= "Platform Engineering"
= "rust"
= "cargo test"
# Personal patches (not committed)
[]
= "claude-3-opus"
= 0.3
= 8192
# Note: For sensitive data like API keys, use environment variables:
# [patch.agents.my-helper]
# api_key = "${MY_ANTHROPIC_KEY}"
# custom_prompt = "You are a helpful assistant for my specific workflow."