Login: dewitt Name: DeWitt Clinton Directory: /home/dewitt Shell: /bin/zsh On since Sat Nov 22 14:00 (PST) on ttys000, idle No unread mail. Plan:
Interactive agents and coding harnesses prefer to be launched in a project-specific git repository and local directory to have a place to scope the session and persist context and state.
This works great for project-specific tasks like coding projects, but I also often use agents to help me with whole-machine chores and system maintenance work as well.
To give my agents a home for this whole-machine work, I’ve taken to setting up a per-machine agentic workspace pattern to give AI tools persistent context and memory about the specific machine they are running on.
For example, by creating per-machine repos such as ~/git/my-mac-mini
and seeding them with essential information and context about that
particular machine, and cloning and symlinking the appropriate project
on each device, I’m able to ask my agents to take on machine-specific
tasks with a simple:
$ cd ~/this && claude -p 'What do you know about this machine?'
Or
$ cd ~/this && agy -p 'Install system updates and reboot when idle.'
Etc…, etc…
How to do this on your own machines:
I put together a simple gist containing a template and seed prompt for your agent to do this for you.
It handles creating the files, configuring symlinks for
different harnesses, setting up .gitignore for session caches, and
configuring workspace-specific boundaries for tools like Antigravity.
Feel free to send me a note if this helps you, or if you know of ways to make this work better, or let me know your own tips.
_