warren-githut/personal-os-automation/llm-proxy-setup

Claude Code and agent skill by warren-githut/personal-os-automation

Trust tier 3
  • community
Source check pending

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

Install, configure, and wire local LLM proxy backends (Headroom, etc.) into Hermes profiles. Covers env vars, port management, profile config, and PowerShell launch patterns.

Install

npx vskill@latest install warren-githut/personal-os-automation/llm-proxy-setup

SKILL.md

The same SKILL.md was published earlier as warren-githut/personal-os-automation/llm-proxy-setup.

Local LLM Proxy Setup

Use this when wiring a local proxy (e.g. Headroom) into Hermes to compress context, save tokens, or route through a specific API backend.


General Workflow

1. Install proxy tool
bash
pip install headroom-ai[all] # or specific proxy tool

On Windows with Python 3.14+, Rust MSVC toolchain may be required for native builds (see windows-toolchain-install-verification skill).

2. Start proxy with correct backend
powershell
& "path/to/proxy.exe" proxy --port 8787 [--backend/--flags]
BackendFlagEnv var for endpoint override
OpenAI-compatible (DeepSeek, OpenRouter, etc.)--openai-api-url https://api.deepseek.comOPENAI_TARGET_API_URL
OpenRouter--backend openrouter—
AnthropicDefaultANTHROPIC_TARGET_API_URL
3. Configure Hermes profiles
bash
hermes config set model.base_url "http://127.0.0.1:8787" --profile <name>
hermes config set headroom.enabled true --profile <name>
hermes config set headroom.port 8787 --profile <name>
4. Restart Hermes Desktop

Proxy 1 instance duy nhất — tất cả profile có model.base_url: http://127.0.0.1:8787 đều dùng chung.


Windows Shell Pitfalls

IssueFix
& "C:/..." proxy --port 8787 → AmpersandNotAllowed in full command lineUse & 'C:/path/...' (single quotes and only & at start). Or cd first: cd scripts; ./headroom.exe proxy
taskkill //F //PID N syntax error in git-bashUse taskkill -F -PID N (dash flags, not slash flags)
Python scripts not on PATHUse full path: C:/Users/khoans/AppData/Local/Python/pythoncore-3.14-64/Scripts/headroom.exe
.env not auto-loaded by HeadroomMust set env vars explicitly before proxy start, or use --flag
Port already in use (Errno 10048)Kill old process first: taskkill -F -PID <pid>

Proxy Routing Verification

After starting proxy, check:

bash
curl http://127.0.0.1:8787/stats
# proxy_inbound.total should increment after each request

The startup banner shows routing table — verify /v1/chat/completions points to your intended backend, not default api.openai.com.


Documenting for Non-IT Users

When this setup is complete:

  • Update vault/USER_GUIDE.md with simplified Vietnamese copy-paste instructions
  • Format: table showing when to enable/disable + PowerShell command to copy
  • Save guide path in memory so next session knows where the source of truth lives

References

FilePurpose
references/hermes-headroom-deepseek-setup.mdSession-specific: Headroom v0.24.0 + DeepSeek direct API setup with env vars and routing fix

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
0

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/warren-githut/personal-os-automation/llm-proxy-setup/badge)](https://verified-skill.com/skills/warren-githut/personal-os-automation/llm-proxy-setup)

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