local-ai-workstation
Use for local AI workstation and API free-tier operations.
- License 许可
- MIT
- 所属仓库
- zapabob/Skills
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- local-ai-workstation
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "local-ai", "comfyui", "api-monitoring", "cron", "windows" ], "related_skills": [ "cronjob-management", "security-and-hardening" ] } }
- description
- Use for local AI workstation and API free-tier operations.
03 SKILL.md 正文
Local AI Workstation Operations
Use this class-level skill for Windows desktop AI workflows, localhost inference services, model/LoRA wiring, secret-safe provider monitoring, and daily health-check automation.
Local inference workflow
- Inspect the actual server root, interpreter, model directories, output directory, existing cron jobs, and project instructions before editing.
- Prefer Tkinter plus Python standard library for small Windows utilities. Keep lifecycle commands fixed and explicit; never expose arbitrary command execution through a GUI.
- Bind local services to
127.0.0.1by default. Poll a health endpoint such as/system_statsin a background thread before enabling generation. - Track process ownership explicitly: terminate only a server started by the GUI; use the server interrupt endpoint for generation cancellation.
- Use API-format workflow JSON. For img2img, upload via multipart/form-data and inject the returned server-side image name into
LoadImage. - When adding
LoraLoader, rewire both model and CLIP references to its outputs while keeping the checkpoint VAE connected toVAEDecode. - Use conservative resolutions on constrained VRAM and verify a non-empty output file, not merely a successful prompt submission.
Secret-safe free-tier monitoring
- Read only required provider variables from
.env; never print, persist, hash, prefix-match, or interpolate secret values. - Send credentials only in HTTPS headers, never URL query parameters.
- Probe read-only metadata endpoints such as model catalogs or account-limit metadata; do not spend quota with generation calls just to test availability.
- Report only provider, key presence, coarse connection state, free-model count or official free-tier link, and timestamp. Discard response bodies and suppress exception text.
- Distinguish authentication failures, rate limiting, network failures, and other HTTP statuses.
- Treat user classifications as user classifications: report NVIDIA NIM as
無料扱い(ユーザー指定), not permanent official free pricing. - If a provider lacks a verified stable metadata endpoint, report key presence and
要確認; never guess an endpoint.
OpenRouter の NVIDIA 無料モデル
NVIDIA_API_KEY が設定されていなくても、OpenRouter 経由で NVIDIA モデルを無料で叩ける。
| モデル | コスト | コンテキスト | 備考 |
|---|---|---|---|
nvidia/nemotron-3-ultra-550b-a55b:free |
0(無料) | 1,000,000 tokens | Nemotron 3 Ultra, reasoning 付き |
nvidia/nemotron-3.5-lightning-free |
0(無料) | Nemotron 3.5 Lightning |
使用例:
hermes --provider openrouter -m "nvidia/nemotron-3-ultra-550b-a55b:free" chat -q "prompt" -Q
API 叩き方(直接 curl でテストする場合):
curl -s -X POST https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"nvidia/nemotron-3-ultra-550b-a55b:free","messages":[{"role":"user","content":"Say PONG"}]}'
注意:
- OpenRouter の API キーは
~/.hermes/.envのOPENROUTER_API_KEYに格納されている - 環境変数として export されていない場合があるため、スクリプト内で
grepで読み取って export する必要がある - コマンドパーサーの制限に引っかかる場合は、シェルスクリプトを書いて
bash経由で実行する
外部キー(.env に格納済み)の確認
.hermes/.env にあるキーは以下の通り。リポジトリの .env には含めないこと。
NVIDIA_API_KEY—nvapi-...形式。NVIDIA 直接 API 用(integrate.api.nvidia.com)OPENROUTER_API_KEY—sk-or-...形式。OpenRouter 経由で NVIDIA モデルを叩く際にも使用- 他:
LINEAR_API_KEY,AITUBERKIT_API_KEY,OPENMANUS_API_KEY,HEYGEN_API_KEY,LAPRAS_API_KEY,FREEBUFF_API_KEY,FISH_AUDIO_API_KEY
Daily cron
- List existing jobs and group by purpose, script, schedule, and delivery before creating a monitor.
- Prefer a deterministic
no_agentscript with a fixed path, terminal-only tools, origin delivery unless otherwise requested, and one daily schedule such as0 9 * * *. - Run it once manually, then verify status, next-run time, delivery errors, report path, and a secret-marker scan.
- Include requested traceability markers such as
#はくあ #hermesagentwhen appropriate.
Verification gate
- Run syntax validation.
- Assert txt2img, img2img, and img2img+LoRA workflow construction, including VAE wiring.
- Verify the live health endpoint and expected server version.
- Run a bounded smoke generation and confirm a non-empty output file.
- Scan reports for markers such as
nvapi-,sk-,AIza,Bearer,TOKEN=, andAPI_KEY=. - Verify the scheduled job is enabled and its manual run succeeds.
- Record skipped checks and residual risk; never invent quota or generation results.
References
references/secret-safe-api-monitoring.md— redaction boundaries, provider probing, and status classification.references/provider-matrix.md— sanitized provider observations and validated metadata endpoints.references/local-inference-gui.md— Windows lifecycle, ComfyUI wiring, and smoke-test patterns.references/openrouter-nvidia-free-models.md— OpenRouter 経由で NVIDIA モデルを無料で叩く方法(NVIDIA API Key なし)
04 同仓库更多 Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
serving-llms-vllm
vLLM: high-throughput LLM serving, OpenAI API, quantization.