deployment-patterns
Skill0 starsChanged 4 months agoMITView on GitHub
Hermes-native deployment patterns — systemd services, Docker Compose, Kubernetes, serverless, and CI/CD pipelines using Hermes tooling.
- Reads credentials
- Installs packages
22 other projects use a version of this.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- productionx-in/Core-Skillstheir own version, first seen Sep 29, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- agenticluke/zero-downtime-deploys-plustheir own version, first seen Sep 8, 2026
- socialadsmentor/sam-agentic-harnesstheir own version, first seen Sep 3, 2026
- SamuelNDCE/claude-super-skill-librarytheir own version, first seen Aug 1, 2026
Used with
Projects with it also use kotlin-testing, nuxt4-patterns and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tpavanipradeepSkillkotlin-testing
Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.
Also in 6 projects that use this
mryeastcodeSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 5 projects that use this
mryeastcodeSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.
Also in 8 projects that use this
JamkrisSkillagent-sort
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
Also in 4 projects that use this
JamkrisSkilldart-flutter-patterns
Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.
Also in 4 projects that use this
tpavanipradeepSkillai-regression-testing
Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code.
Also in 9 projects that use this
- +1 more from mryeastcode
- +3 more from Jamkris
- +1 more from tpavanipradeep
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- xu-xiang/everything-claude-code-zh★ 2ksame name
- loulanyue/awesome-claude-notes★ 272same name
- tpavanipradeep/everything-claude-code★ 134same name
- templetongroup/radiant★ 113same name
- Jamkris/everything-gemini-code★ 87same name
- skateddu/claude-code-python-setup★ 28same name
- woxiangyangzhimao/skills★ 14same name
- noah-sheldon/ai-dev-kit★ 13same name
- Infopibe/everything-claude-code★ 8same name
- zero-click/zero-ratchet★ 8same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- agent-architecture-auditSkill
- agent-evalSkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- ai-first-engineeringSkill
- api-designSkill
- architecture-decision-recordsSkill
- autonomous-agent-harnessSkill
- autonomous-loopsSkill
- backend-patternsSkill
- benchmark-methodologySkill
- benchmark-optimization-loopSkill
- blueprintSkill
- codebase-onboardingSkill
- codehealth-mcpSkill
- coding-standardsSkill
- context-budgetSkill
- continuous-agent-loopSkill
- cost-aware-llm-pipelineSkill
- database-migrationsSkill
- deep-researchSkill
- docker-patternsSkill
- error-handlingSkill
- eval-harnessSkill
- git-workflowSkill
- hipaa-complianceSkill
- iterative-retrievalSkill
- product-lensSkill
- prompt-optimizerSkill
- research-opsSkill
- rules-distillSkill
- safety-guardSkill
- search-firstSkill
- security-bounty-hunterSkill
- security-reviewSkill
- security-scanSkill
- hcc-bundleSkill
- token-budget-advisorSkill
- verification-loopSkill
The file
Files
Deployment Patterns for Hermes
Production deployment patterns using Hermes Agent tooling and automation.
Prerequisites
- Hermes with
terminal,file,code_executiontoolsets - Target environment access (SSH, kubectl, docker, cloud CLIs)
Core Patterns
1. Systemd Service Deployment
# /etc/systemd/system/hermes-app.service
[Unit]
Description=Hermes Application
After=network.target
[Service]
Type=simple
User=hermes
WorkingDirectory=/opt/hermes-app
Environment=HERMES_HOME=/opt/hermes-app/.hermes
ExecStart=/usr/local/bin/hermes gateway run
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target# Deploy via Hermes
terminal(command="sudo cp hermes-app.service /etc/systemd/system/")
terminal(command="sudo systemctl daemon-reload")
terminal(command="sudo systemctl enable --now hermes-app")
terminal(command="sudo systemctl status hermes-app")2. Docker Compose Stack
# docker-compose.yml
version: '3.8'
services:
hermes-gateway:
image: nousresearch/hermes-agent:latest
ports:
- "8080:8080"
volumes:
- ./config:/root/.hermes
- ./data:/data
environment:
- HERMES_HOME=/root/.hermes
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
redis:
image: redis:7-alpine
volumes:
- redis-data:/data
volumes:
redis-data:# Deploy
terminal(command="docker compose up -d --build")
terminal(command="docker compose logs -f hermes-gateway")3. Kubernetes Deployment
# k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: hermes-gateway
spec:
replicas: 3
selector:
matchLabels:
app: hermes-gateway
template:
metadata:
labels:
app: hermes-gateway
spec:
containers:
- name: hermes
image: nousresearch/hermes-agent:latest
ports:
- containerPort: 8080
env:
- name: HERMES_HOME
value: /data/.hermes
volumeMounts:
- name: config
mountPath: /data/.hermes
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "1000m"
volumes:
- name: config
persistentVolumeClaim:
claimName: hermes-config
---
apiVersion: v1
kind: Service
metadata:
name: hermes-gateway
spec:
selector:
app: hermes-gateway
ports:
- port: 80
targetPort: 8080
type: LoadBalancer# Deploy
terminal(command="kubectl apply -f k8s/")
terminal(command="kubectl rollout status deployment/hermes-gateway")4. CI/CD Pipeline (GitHub Actions)
# .github/workflows/deploy.yml
name: Deploy Hermes App
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
pip install -r requirements.txt
pytest --tb=short
deploy:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Deploy to server
run: |
ssh user@server "cd /opt/hermes-app && git pull && docker compose up -d --build"
env:
SSH_KEY: ${{ secrets.SSH_KEY }}5. Blue-Green Deployment
#!/bin/bash
# blue-green-deploy.sh
CURRENT=$(docker compose ps --format json | jq -r '.[] | select(.Service=="app-blue") | .State')
TARGET="app-green"
if [[ "$CURRENT" == "running" ]]; then
TARGET="app-blue"
fi
docker compose up -d --build $TARGET
docker compose exec $TARGET health-check || exit 1
docker compose stop $([ "$TARGET" = "app-blue" ] && echo "app-green" || echo "app-blue")Hermes Automation
Cron Jobs for Deployment Health
# Health check every 5 minutes
hermes cron create "every 5m" "Check deployment health and alert on failure"
# Daily backup
hermes cron create "0 3 * * *" "Backup Hermes config and session data"
# Weekly security update
hermes cron create "0 4 * * 0" "Update base images and redeploy"Rollback Procedures
# Quick rollback via Hermes
hermes sessions list --all
hermes --resume <session-id> # Resume pre-deployment session
# Docker rollback
terminal(command="docker compose down && docker compose up -d --force-recreate")
# K8s rollback
terminal(command="kubectl rollout undo deployment/hermes-gateway")Environment Management
Config per Environment
config/
├── base.yaml # Shared config
├── development.yaml # Dev overrides
├── staging.yaml # Staging overrides
└── production.yaml # Prod overrides (secrets in .env)# Deploy to environment
HERMES_ENV=production hermes deployMonitoring & Observability
# docker-compose.monitoring.yml
services:
prometheus:
image: prom/prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
grafana:
image: grafana/grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafanaSkill Composition
docker-patterns— Container best practicesgit-workflow— GitOps deployment flowssecurity-review— Secure deployment practicescost-aware-llm-pipeline— Optimize LLM costs in prod
Adapted from ECC deployment-patterns for Hermes Agent. Original: affaan-m/ECC
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

