Initial commit - workspace setup scripts
Add Claude Agent workspace configuration and utility scripts: - CLAUDE.md: Agent documentation and instructions - SETUP-COMPLETE.md: Setup completion notes - start-agent.sh: Script to start tmux session - new-task.sh: Script for new task workflow - finish-task.sh: Script to finish tasks - work.sh: Main work script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
17
start-agent.sh
Executable file
17
start-agent.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Start or attach to Claude agent tmux session
|
||||
|
||||
SESSION_NAME="agent"
|
||||
|
||||
# Load nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Check if session exists
|
||||
if tmux has-session -t $SESSION_NAME 2>/dev/null; then
|
||||
echo "Attaching to existing session: $SESSION_NAME"
|
||||
tmux attach-session -t $SESSION_NAME
|
||||
else
|
||||
echo "Creating new session: $SESSION_NAME"
|
||||
tmux new-session -s $SESSION_NAME -c /workspace
|
||||
fi
|
||||
Reference in New Issue
Block a user