| 1 | # Ignore common unwanted files globally |
| 2 | **/.DS_Store |
| 3 | **/.env |
| 4 | **/__pycache__/ |
| 5 | *.py[cod] |
| 6 | **/.conda/ |
| 7 | **/node_modules/ |
| 8 | |
| 9 | #Ignore IDE files |
| 10 | .cursor/ |
| 11 | .windsurf/ |
| 12 | |
| 13 | # ignore test files in root dir |
| 14 | /*.test.py |
| 15 | |
| 16 | # Ignore all contents of the virtual environment directory |
| 17 | .venv/ |
| 18 | |
| 19 | # obsolete folders |
| 20 | /memory/ |
| 21 | /knowledge/custom/ |
| 22 | /instruments/ |
| 23 | /logs/ |
| 24 | |
| 25 | # Handle tmp and usr directory |
| 26 | tmp/** |
| 27 | !tmp/**/ |
| 28 | |
| 29 | # hack to keep .gitkeep but ignore nested repos |
| 30 | # Ignore everything under usr |
| 31 | usr/** |
| 32 | # Ignore nested repos |
| 33 | /usr/**/.git |
| 34 | # Allow git to traverse directories |
| 35 | !usr/**/ |
| 36 | # Re-ignore everything again |
| 37 | usr/**/* |
| 38 | # But allow .gitkeep files |
| 39 | !usr/**/.gitkeep |
| 40 | |
| 41 | |
| 42 | # Global rule to include .gitkeep files anywhere |
| 43 | !**/.gitkeep |
| 44 | |
| 45 | # for browser-use |
| 46 | agent_history.gif |
| 47 | |
| 48 | .agent/** |
| 49 | .claude/** |
| 50 | .playwright-cli/ |