hermes-cortex-setup
Install and configure Hermes Cortex core components — Ollama, mycortex knowledge brain, health server, agent registry, hooks, cron jobs, and profile…
Skill by lukemcqueen
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lukemcqueen-hermes-cortex-setup
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hermes-cortex-setup
What's inside
- Skill name
hermes-cortex-setup- Description
- Install and configure Hermes Cortex core components — Ollama, mycortex knowledge brain, health server, agent registry, hooks, cron jobs, and profile scaffolding on a target machine.
- License
- MIT
- Instructions
- 782 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Agent Skills spec issues
- body: 782 lines (spec recommends under 500)
- files: referenced but missing: references/health-vector-troubleshooting.md, references/first-time-bootstrap.md, references/cron-dependency-map.md, references/nginx-proxy-patterns.md, references/health-endpoint-formats.md
Files (2)
- SKILL.md
- llm-cron-model-fallback.md · references/
SKILL.md (first lines)
# Hermes Cortex Setup
Walkthrough for installing the core Hermes Cortex components on a Linux (or macOS) machine. Each step is verified before moving to the next.
## Prerequisites
- Linux or macOS host
- `curl`, `git`, `python3`, `unzip` available
- Hermes Agent installed (the cortex skill set layers on top)
- Target repo cloned: `git clone https://github.com/nousresearch/hermes-cortex.git ~/hermes-cortex`
## Installation Steps
### 0. Prerequisites Check
```bash
# Check what's available
echo "Python: $(python3 --version 2>/dev/null || echo 'MISSING')"
echo "Git: $(git --version 2>/dev/null || echo 'MISSING')"
echo "Docker: $(docker --version 2>/dev/null || echo 'MISSING')"
echo "Sudo: $(sudo -n echo 'yes' 2>/dev/null || echo 'no')"
echo "Python3.12: $(python3.12 --version 2>/dev/null || echo 'MISSING')"
```
**Pitfall — Hermes venv vs system Python:** pip packages are installed in `~/.hermes/hermes-agent/venv/`. The `python3` on PATH is usually this venv's python. Use `/usr/bin/python3` for system stuff and `~/.hermes/hermes-agent/venv/bin/python3` for agent-dependent services.
### 0.5. Clone the Repo (if not already cloned)
```bash
git clone --depth 1 https://github.com/fleet-operator/hermes-cortex.git ~/hermes-cortex
```
**Pitfall — Installer script path bug:** The `install.sh` script references scripts at `$(_scripts)/install-ollama.sh` but the actual file is at `$(_scripts)/install/install-ollama.sh` (inside an `install/` subdirectory). Running `install.sh` directly will fail on step 1 with a "No such file or directory" error. Fix: run the individual install scripts manually rather than the monolithic installer, or symlink the paths.
### 1. Install Ollama (Local LLM Server for Embeddings)
**No-sudo install (when sudo is unavailable):**
Ollama's official `install.sh` requires root to install to `/usr/local`. When sudo is unavailable, use the GitHub releases tarball:
```bash
# Detect the correct download URL (format changed to .tar.zst in v0.31+)
OLLAMA_VERSION="v0.31.2" # Latest stable as of Jul 2026
curl -fsSL --retry 3 --retry-delay 5 \
-o /tmp/ollama-linux-amd64.tar.zst \
"https://github.com/ollama/ollama/releases/download/${OLLAMA_VERSION}/ollama-linux-amd64.tar.zst"
# Extract
mkdir -p /tmp/ollama-extract
tar --zstd -xf /tmp/ollama-linux-amd64.tar.zst -C /tmp/ollama-extract/
# Install binary
mkdir -p ~/.local/bin
cp /tmp/ollama-extract/bin/ollama ~/.local/bin/ollama
chmod +x ~/.local/bin/ollama
# Install libraries (llama-server + .so backends)
mkdir -p ~/.local/lib/ollama
cp -r /tmp/ollama-extract/lib/ollama/* ~/.local/lib/ollama/
chmod +x ~/.local/lib/ollama/llama-server
# Verify
~/.local/bin/ollama --version
```
**Systemd user service:**
```bash
mkdir -p ~/.config/systemd/user/
cat > ~/.config/systemd/user/ollama.service << 'EOF'
[Unit]
Description=Ollama LLM Server
After=network-online.target
[Service]
ExecStart=%h/.local/bin/ollama serve
Environment=OLLAMA_HOST=127.0.0.1
Environment=OLLAMA_NUM_THREADS=2
Environment=OLLAMA_KEEP_ALIVE=0
Restart=on-failure
RestartSec=3
[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl --user enable ollama.service
systemctl --user start ollama.service
```
**Pull the embedding model:**
```bash
ollama pull nomic-embed-text:v1.5
```
**Pitfall — tarball format change (July 2026):** Ollama changed their Linux release tarball format from `.tgz` (gzip) to `.tar.zst` (zstd) around v0.31.0. The old URL `https://ollama.com/download/ollama-linux-amd64.tgz` returns a 404. Always use the GitHub releases page at `https://github.com/ollama/ollama/releases` and download the `.tar.zst` variant. The herd-installer scripts that still reference `.tgz` will fail — fix by downloading from releases.
**Pitfall — port binding on fresh install:** Ollama binds to 127.0.0.1 by default on a manual install. This is correct for single-machine setups. If deploying as a server that other agents poll, you'd set `OLLAMA_HOST=0.0.0.0` — but this also opens your LLM server to the LAN. Use nginx basic auth in front for production.
### 2. Install Bun (JavaScript runtime)
**Pitfall — security scanner blocking curl|bash:** The official Bun install (`curl -fsSL https://bun.sh/install | bash`) may be flagged by security scanners. Use the download-inspect-execute pattern:
```bash
# Download the install script for safety inspection
curl -fsSL https://bun.sh/install -o /tmp/bun-install.sh
# Inspect briefly (verify it's from oven-sh/bun, not malicious)
# Then run:
bash /tmp/bun-install.sh
# Verify
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
bun --version # Should output v1.3.x or later
```From lukemcqueen/hermes-cortex, MIT.
More from lukemcqueen/hermes-cortex
- 0.614score
ads
lukemcqueen
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms.
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
offline-knowledge
lukemcqueen
Offline knowledge cascade — query local content (web-cache, kiwix ZIM, mycortex) without internet.
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
macos-service-management
lukemcqueen
Manage and troubleshoot macOS launchd services — plist authoring, exit code diagnosis, variable expansion rules, and service lifecycle
SkillAFreshness: A★ 4Claude Code +9 - 0.598score
hermes-cortex
lukemcqueen
Install, configure, and maintain Hermes Cortex — the observability and knowledge layer for Hermes Agent (Ollama, mycortex, Langfuse, Cortex Dashboard, nginx…
SkillAFreshness: A★ 4Claude Code +9 - 0.596score
pi-coding-agent
lukemcqueen
Operate the Pi coding agent CLI — install, extensions, Jev.
SkillAFreshness: A★ 4Claude Code +9 - 0.566score
auto-remediation-fixes
lukemcqueen
Essential auto-remediation fixes for staging server guardian — timeout patterns, provider drift fixes, and operational hygiene for cron job errors and agent…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
ai-coding-agents
lukemcqueen
Delegate coding tasks to external AI coding agent CLIs — Claude Code, Codex CLI, and OpenCode.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
answer-cache
lukemcqueen
Agent protocol for mycortex answer cache — inserts a cache-check step between RAG miss and model call.
SkillBFreshness: B★ 4Claude Code +9 - 0.565score
evaluating-agent-frameworks
lukemcqueen
Evaluate an external agent framework for interop.
SkillBFreshness: B★ 4Claude Code +9 - 0.516score
web-cache
lukemcqueen
Local semantic web cache for AI agents — cache web_search and web_extract results locally with embeddings, reducing API costs and enabling offline operation.
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lukemcqueen/hermes-cortex
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lukemcqueen
- 0.614score
ads
lukemcqueen
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms.
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
offline-knowledge
lukemcqueen
Offline knowledge cascade — query local content (web-cache, kiwix ZIM, mycortex) without internet.
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
macos-service-management
lukemcqueen
Manage and troubleshoot macOS launchd services — plist authoring, exit code diagnosis, variable expansion rules, and service lifecycle
SkillAFreshness: A★ 4Claude Code +9 - 0.598score
hermes-cortex
lukemcqueen
Install, configure, and maintain Hermes Cortex — the observability and knowledge layer for Hermes Agent (Ollama, mycortex, Langfuse, Cortex Dashboard, nginx…
SkillAFreshness: A★ 4Claude Code +9 - 0.596score
pi-coding-agent
lukemcqueen
Operate the Pi coding agent CLI — install, extensions, Jev.
SkillAFreshness: A★ 4Claude Code +9 - 0.566score
auto-remediation-fixes
lukemcqueen
Essential auto-remediation fixes for staging server guardian — timeout patterns, provider drift fixes, and operational hygiene for cron job errors and agent…
SkillBFreshness: B★ 4Claude Code +9
Cite this page
hermes-cortex-setup skill. Agent Mart. https://agentmart.dev/skills/lukemcqueen-hermes-cortex-setup (last updated 2026-10-24)