gztcode/my-skills/claude-code-integration

Claude Code and agent skill by gztcode/my-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Hermes Agent integration with Claude Code for fixed-session management and real-time output synchronization

Install

npx vskill@latest install gztcode/my-skills/claude-code-integration

SKILL.md

The same SKILL.md was published earlier as gztcode/my-skills/claude-code-integration.

Claude Code Integration with Hermes Agent

Overview

Hermes Agent can integrate with Claude Code to provide fixed-session name management and real-time output synchronization for complex tasks.

Prerequisites

  • Claude Code v2.x+ installed locally
  • Valid authentication completed (claude command login)
  • tmux available for session management

Usage Patterns

1. Print Mode (Recommended for Simple Tasks)
bash
claude -p "Task description" \
--session-id "fixed-name-uuid" \
--allowedTools "Read,Edit,Bash" \
--max-turns 20 \
--output-format json
2. Interactive PTY + Real-time Sync (Complex Tasks)
python
# Create fixed-name tmux session
tmux new-session -d -s claude-session-name -x 140 -y 40
tmux send-keys -t claude-session-name 'cd /project && claude --session-id "fixed-name"' Enter
# Send task after startup
sleep 8
tmux send-keys -t claude-session-name 'Your complex task here' Enter
# Monitor real-time output
while True:
content = tmux capture-pane -t claude-session-name -p -S -50
if content and "❯" not in content:
break
# Push to conversation window
print(f"Real-time: {content}")
sleep(3)

Key Features

  • Session Persistence: Fixed session names via --session-id or tmux session names
  • Real-time Monitoring: tmux capture-pane for live output syncing
  • Error Handling: Graceful session cleanup and recovery
  • Resource Management: Automatic timeout and process cleanup

Best Practices

  1. Use UUID format for session IDs when possible
  2. Set appropriate --max-turns to control costs
  3. Configure permissions via .claude/settings.json hooks
  4. Use --dangerously-skip-permissions only for trusted environments

Technical Implementation

  • Session management via tmux subprocesses
  • Output capture using tmux capture-pane command
  • State detection via Claude's prompt symbol "❯"
  • Real-time content filtering and formatting

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gztcode/my-skills/claude-code-integration/badge)](https://verified-skill.com/skills/gztcode/my-skills/claude-code-integration)

Something wrong with this skill or its page? Tell us.