All of the above stave off the loneliness.
Also, get a hobby where you mind focus on one thing only. Play a instrument. Draw. Solve puzzles. Jimmy Carr had a similar issue and he started to play with legos.
- Working remotely by yourself every day sucks. Get a coworking space, shared office, work from a cafe, at least a few days a week.
- Go out. Riding a bike, hiking or even bringing your dog out three times a day keeps you stimulated and makes your body moving. Go to the mountain, go to the beach, go to rivers and parks.
- Join clubs that interest you. You like cinema? Join cinema a cinema talk, a book club, if you like a sport join a club that organise communal things. Doesn't really matter what, since nowadays there are clubs for everything.
- Take a brake from internet. After work, keep yourself busy doing things that don't involve using a screen and even try some hard blocking method to avoid using tech in public spaces.
All this things might help you finding people to connect. Your initial answer should rewritten: "How to be alone?" -> "How to meet people?". The individualistic culture created in the last few decades, exacerbated by social media create a loneliness epidemic; kids have less friend, same for adults, so many people I met told me that online dating sucks, more and more people are using brain medication for anxiety and depression. The situation is not good and individualistic thinking clearly is not working.
The real trick is not learning to be alone, but re-learning how to make friends and share parts of life with others. Humans are social animals.
The best thing is to have the OPTION to either work at home or at the office.
Sometimes, you need the focus. But sometimes, you need to see people.
1. If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself. I add to my team’s CLAUDE.md multiple times a week.
2. Use Plan mode (press shift-tab 2x). Go back and forth with Claude until you like the plan before you let Claude execute. This easily 2-3x’s results for harder tasks.
3. Give the model a way to check its work. For svelte, consider using the Puppeteer MCP server and tell Claude to check its work in the browser. This is another 2-3x.
4. Use Opus 4.5. It’s a step change from Sonnet 4.5 and earlier models.
Hope that helps!