Rename Sysadmin Session Closer Agent to Finish Up Agent

Renamed the agent from 'sysadmin-session-closer' to 'finish-up' and added VPS hostname functionality to session summary filenames.

Changes:
- Renamed agent file: agents/sysadmin-session-closer.md → agents/finish-up.md
- Updated agent version to 1.1.0
- Modified agent to include VPS hostname in session summary filenames
  - Session summaries now use format: [PROJECT_NAME]-[HOSTNAME]-session-summary.md
  - Hostname is auto-detected using `hostname` command
- Updated all documentation references:
  - README.md, QUICK-START.md, agents/README.md
  - scripts/README.md, scripts/bootstrap-agents.sh, scripts/init-project.sh
- Improved agent description to mention VPS hostname functionality

Repository: http://100.120.125.113:3000/pdm/homelab-agents
Next Session Focus: Test the renamed agent on a VPS project to verify hostname detection works correctly

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Homelab Automation
2025-11-27 09:28:35 +00:00
parent dcd2c1f0f7
commit 1602733fad
7 changed files with 20 additions and 20 deletions

View File

@@ -77,7 +77,7 @@ init-project <name> # Initialize a new project (repo must exist on Gitea)
## Available Agents ## Available Agents
Current agents in the repository: 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 - Located at: `~/.homelab-agents/agents/` or `.claude/agents/` in your project
## Project Structure ## Project Structure

View File

@@ -19,9 +19,9 @@ This sets up everything you need. See [QUICK-START.md](QUICK-START.md) for detai
## Available Agents ## 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 - 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 - Handles git workflows automatically via SSH
## Usage ## Usage
@@ -55,7 +55,7 @@ Each project automatically gets:
Use the summary agent from your project: Use the summary agent from your project:
``` ```
.claude/agents/sysadmin-session-closer.md .claude/agents/finish-up.md
``` ```
The agent will: The agent will:

View File

@@ -2,5 +2,5 @@
Agent prompt definitions for use across the homelab. Agent prompt definitions for use across the homelab.
## sysadmin-session-closer ## finish-up
Automatically closes development sessions and creates session summaries. Automatically closes development sessions and creates session summaries with VPS hostname in the filename.

View File

@@ -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. 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 model: sonnet
version: 1.0.0 version: 1.1.0
color: red color: red
--- ---
# Sysadmin Session Closer Agent # Finish Up Agent
Automatically closes development sessions and generates comprehensive session summaries for Gitea-based workflows. 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 - Evolution of design/implementation approach
- Dependencies or prerequisites for next steps - 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 ### 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: 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 - `architecture.md` or `DESIGN.md` - If architecture decisions were made
- Implementation files - Code, configurations, scripts modified - Implementation files - Code, configurations, scripts modified
- `TODO.md` - Task tracking with completed and remaining items - `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] [The most important thing to tackle next, with brief context]
### Documentation Updated: ### Documentation Updated:
- ✓ Session summary: `[PROJECT_NAME]-session-summary.md` - ✓ Session summary: `[PROJECT_NAME]-[HOSTNAME]-session-summary.md`
- ✓ Project README: `README.md` - ✓ Project README: `README.md`
- ✓ AI context: `CLAUDE.md` with new session entry - ✓ AI context: `CLAUDE.md` with new session entry
- ✓ Git repository: Pushed to Gitea - ✓ Git repository: Pushed to Gitea

View File

@@ -80,7 +80,7 @@ init-project my-new-app
🚀 Next steps: 🚀 Next steps:
1. Start working in this directory 1. Start working in this directory
2. Create files and make changes 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) 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: Agents are available at:
``` ```
.claude/agents/sysadmin-session-closer.md .claude/agents/finish-up.md
.claude/agents/[other-agents].md .claude/agents/[other-agents].md
``` ```
@@ -142,7 +142,7 @@ cd my-app
### Closing a Session ### Closing a Session
Use the summary agent at: Use the summary agent at:
``` ```
.claude/agents/sysadmin-session-closer.md .claude/agents/finish-up.md
``` ```
The agent will: The agent will:

View File

@@ -82,10 +82,10 @@ export PATH="$SCRIPTS_DIR:$PATH"
echo "✅ Scripts directory added to current session PATH" echo "✅ Scripts directory added to current session PATH"
# Verify agents are available # Verify agents are available
if [[ -f "$AGENTS_DIR/agents/sysadmin-session-closer.md" ]]; then if [[ -f "$AGENTS_DIR/agents/finish-up.md" ]]; then
echo "✅ sysadmin-session-closer agent available" echo "✅ finish-up agent available"
else else
echo "⚠️ Warning: sysadmin-session-closer.md not found" echo "⚠️ Warning: finish-up.md not found"
fi fi
echo "" echo ""
@@ -95,4 +95,4 @@ echo "📚 Available commands (ready to use now):"
echo " init-project <name> - Initialize a new project with git remote" echo " init-project <name> - Initialize a new project with git remote"
echo " cd ~/.homelab-agents - Browse agents and scripts" echo " cd ~/.homelab-agents - Browse agents and scripts"
echo "" echo ""
echo "📋 Agent location: $AGENTS_DIR/agents/sysadmin-session-closer.md" echo "📋 Agent location: $AGENTS_DIR/agents/finish-up.md"

View File

@@ -83,5 +83,5 @@ echo ""
echo "🚀 Next steps:" echo "🚀 Next steps:"
echo " 1. Start working in this directory" echo " 1. Start working in this directory"
echo " 2. Create files and make changes" 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)" echo " 4. Agent will automatically commit and push to Gitea (via SSH)"