diff --git a/QUICK-START.md b/QUICK-START.md index 9a553d7..050925c 100644 --- a/QUICK-START.md +++ b/QUICK-START.md @@ -77,7 +77,7 @@ init-project # Initialize a new project (repo must exist on Gitea) ## Available Agents Current agents in the repository: -- **sysadmin-session-closer** - Closes sessions and creates session summaries +- **finish-up** - Closes sessions and creates session summaries with VPS hostname - Located at: `~/.homelab-agents/agents/` or `.claude/agents/` in your project ## Project Structure diff --git a/README.md b/README.md index a52a34f..4721987 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ This sets up everything you need. See [QUICK-START.md](QUICK-START.md) for detai ## Available Agents -- **sysadmin-session-closer** - Automatically closes and documents dev sessions +- **finish-up** - Automatically closes and documents dev sessions - Use at end of sessions to commit and push work - - Generates comprehensive session summaries + - Generates comprehensive session summaries with VPS hostname - Handles git workflows automatically via SSH ## Usage @@ -55,7 +55,7 @@ Each project automatically gets: Use the summary agent from your project: ``` -.claude/agents/sysadmin-session-closer.md +.claude/agents/finish-up.md ``` The agent will: diff --git a/agents/README.md b/agents/README.md index bb6f90d..2b540e1 100644 --- a/agents/README.md +++ b/agents/README.md @@ -2,5 +2,5 @@ Agent prompt definitions for use across the homelab. -## sysadmin-session-closer -Automatically closes development sessions and creates session summaries. +## finish-up +Automatically closes development sessions and creates session summaries with VPS hostname in the filename. diff --git a/agents/sysadmin-session-closer.md b/agents/finish-up.md similarity index 95% rename from agents/sysadmin-session-closer.md rename to agents/finish-up.md index 0c1af18..1242c87 100644 --- a/agents/sysadmin-session-closer.md +++ b/agents/finish-up.md @@ -1,12 +1,12 @@ --- -name: sysadmin-session-closer +name: finish-up description: Use this agent when the user indicates they want to end a homelab or system administration work session and preserve the context for future work. Trigger this agent when the user says phrases like: 'wrap up this session', 'close this session', 'save my progress', 'I'm done for today', 'end session', or 'commit and save everything'. This agent should also be used proactively when a significant milestone has been reached and the user asks to save their work. model: sonnet -version: 1.0.0 +version: 1.1.0 color: red --- -# Sysadmin Session Closer Agent +# Finish Up Agent Automatically closes development sessions and generates comprehensive session summaries for Gitea-based workflows. @@ -75,7 +75,7 @@ Analyze the **entire conversation history** to extract: - Evolution of design/implementation approach - Dependencies or prerequisites for next steps -**Action:** Create or update `[PROJECT_NAME]-session-summary.md` with this comprehensive summary. Extract PROJECT_NAME from existing project files (README.md, package.json, docker-compose.yml, or directory name). Structure the summary with clear markdown sections. +**Action:** Create or update `[PROJECT_NAME]-[HOSTNAME]-session-summary.md` with this comprehensive summary. Extract PROJECT_NAME from existing project files (README.md, package.json, docker-compose.yml, or directory name). Extract HOSTNAME using the `hostname` command to identify which VPS this session was on. Structure the summary with clear markdown sections. ### Step 2: Create or Update Project README @@ -97,7 +97,7 @@ Keep this high-level and suitable for someone discovering the project. Ensure these files are current: -- `[PROJECT_NAME]-session-summary.md` - Comprehensive session summary from Step 1 +- `[PROJECT_NAME]-[HOSTNAME]-session-summary.md` - Comprehensive session summary from Step 1 - `architecture.md` or `DESIGN.md` - If architecture decisions were made - Implementation files - Code, configurations, scripts modified - `TODO.md` - Task tracking with completed and remaining items @@ -285,7 +285,7 @@ Provide the user with a clear summary: [The most important thing to tackle next, with brief context] ### Documentation Updated: -- ✓ Session summary: `[PROJECT_NAME]-session-summary.md` +- ✓ Session summary: `[PROJECT_NAME]-[HOSTNAME]-session-summary.md` - ✓ Project README: `README.md` - ✓ AI context: `CLAUDE.md` with new session entry - ✓ Git repository: Pushed to Gitea diff --git a/scripts/README.md b/scripts/README.md index eb62a4b..65e5fee 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -80,7 +80,7 @@ init-project my-new-app 🚀 Next steps: 1. Start working in this directory 2. Create files and make changes - 3. When done, use the summary agent: .claude/agents/sysadmin-session-closer.md + 3. When done, use the summary agent: .claude/agents/finish-up.md 4. Agent will automatically commit and push to Gitea (via SSH) ``` @@ -103,7 +103,7 @@ Projects on the same VPS are separate and independent. Agents are available at: ``` -.claude/agents/sysadmin-session-closer.md +.claude/agents/finish-up.md .claude/agents/[other-agents].md ``` @@ -142,7 +142,7 @@ cd my-app ### Closing a Session Use the summary agent at: ``` -.claude/agents/sysadmin-session-closer.md +.claude/agents/finish-up.md ``` The agent will: diff --git a/scripts/bootstrap-agents.sh b/scripts/bootstrap-agents.sh index 5411967..53f18ca 100755 --- a/scripts/bootstrap-agents.sh +++ b/scripts/bootstrap-agents.sh @@ -82,10 +82,10 @@ export PATH="$SCRIPTS_DIR:$PATH" echo "✅ Scripts directory added to current session PATH" # Verify agents are available -if [[ -f "$AGENTS_DIR/agents/sysadmin-session-closer.md" ]]; then - echo "✅ sysadmin-session-closer agent available" +if [[ -f "$AGENTS_DIR/agents/finish-up.md" ]]; then + echo "✅ finish-up agent available" else - echo "⚠️ Warning: sysadmin-session-closer.md not found" + echo "⚠️ Warning: finish-up.md not found" fi echo "" @@ -95,4 +95,4 @@ echo "📚 Available commands (ready to use now):" echo " init-project - Initialize a new project with git remote" echo " cd ~/.homelab-agents - Browse agents and scripts" echo "" -echo "📋 Agent location: $AGENTS_DIR/agents/sysadmin-session-closer.md" \ No newline at end of file +echo "📋 Agent location: $AGENTS_DIR/agents/finish-up.md" \ No newline at end of file diff --git a/scripts/init-project.sh b/scripts/init-project.sh index 27ad59c..dd4bb1f 100755 --- a/scripts/init-project.sh +++ b/scripts/init-project.sh @@ -83,5 +83,5 @@ echo "" echo "🚀 Next steps:" echo " 1. Start working in this directory" echo " 2. Create files and make changes" -echo " 3. When done, use the summary agent: .claude/agents/sysadmin-session-closer.md" +echo " 3. When done, use the summary agent: .claude/agents/finish-up.md" echo " 4. Agent will automatically commit and push to Gitea (via SSH)" \ No newline at end of file