JC

jmagar/claude-homelab

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

87 stars 质量 61 趋势 22MIT

家庭实验室服务管理的综合代理、命令、钩子和技能——媒体自动化、基础设施监控、文档管理等

概览

Homelab 插件中心,支持 Claude Code、Codex 和 Gemini。该仓库是 homelab-core 插件、捆绑的技能集成、代理、命令以及共享凭证引导的真实来源。 Claude-Homelab 同时承担三个角色: - 通过 Claude 市场发布的 homelab-core 插件 - 16 个仅技能服务集成的标准单仓库 - Codex 和 Gemini 扩展列表的源代码,镜像相同工作流程表面 仓库根节点就是插件的根节点。不要直接编辑 ~/.claude/ 或 ~/.claude/plugins/cache/ 中生成的副本。 安装完成后,Claude Code 会将插件下载到 ~/.claude/plugins/cache/ 中。此路径上不会创建符号链接。 或者,如果你已经克隆了仓库: 1. 检查前置条件(git、jq、curl) 2.将仓库克隆到 ~/claude-homelab(或如果存在则拉取) 3.运行 setup-creds.sh — 用 chmod 600 从 .env.example 创建 ~/.claude-homelab/.env 4.运行 setup-symlinks。

概述(AI 翻译)

当前版本:1.4.0。

Claude Code、Codex 和 Gemini 的 Homelab 插件中心。这个仓库是 homelab-core 插件、捆绑的技能专用集成、代理、命令以及共享凭证引导的真实来源。

概述

claude-homelab 同时承担三个角色:

  • 通过 Claude 市场发布的 homelab-core 插件
  • 16个仅技能服务集成的标准单仓库
  • Codex 和 Gemini 扩展的源代码显现表,镜像相同的工作流程表面

仓库根节点是插件的根节点。不要直接编辑 ~/.claude/ 或 ~/.claude/plugins/cache/ 生成的副本。

安装

克劳德市场

安装完成后,Claude Code 会将插件下载到 ~/.claude/plugins/cache/。该路径上不会创建符号链接。

Bash / 符号链接安装

或者,如果你已经克隆了仓库:

安装人员:

  1. 检查先决条件(git、jq、curl)
  2. 将仓库克隆到 ~/claude-homelab(或如果存在则拉取)
  3. 运行setup-creds.sh — 由.env.example与chmod 600生成~/.claude-homelab/.env]
  4. 运行setup-symlinks.sh] — 将技能、特工和命令符号链接到~/.claude/

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Claude Homelab

Current release: 1.4.0.

Homelab plugin hub for Claude Code, Codex, and Gemini. This repository is the source of truth for the homelab-core plugin, bundled skill-only integrations, agents, commands, and shared credential bootstrapping.

Overview

claude-homelab serves three roles at once:

  • The homelab-core plugin published through the Claude marketplace
  • The canonical mono-repo for 16 bundled skill-only service integrations
  • The source for Codex and Gemini extension manifests that mirror the same workflow surface

The repo root is the plugin root. Do not edit generated copies in ~/.claude/ or ~/.claude/plugins/cache/ directly.

Installation

Claude marketplace

/plugin marketplace add jmagar/claude-homelab
/plugin install homelab-core @jmagar-claude-homelab

After install, Claude Code downloads the plugin into ~/.claude/plugins/cache/. No symlinks are created on this path.

curl -sSL https://raw.githubusercontent.com/jmagar/claude-homelab/main/scripts/install.sh | bash

Or, if you already have the repo cloned:

./scripts/install.sh

The installer:

  1. Checks prerequisites (git, jq, curl)
  2. Clones the repo to ~/claude-homelab (or pulls if it exists)
  3. Runs setup-creds.sh — creates ~/.claude-homelab/.env from .env.example with chmod 600
  4. Runs setup-symlinks.sh — symlinks skills, agents, and commands into ~/.claude/
  5. Runs verify.sh — confirms every symlink and required file is in place
  6. Prints next steps

Credential Model

All credentials for every service live in a single file:

~/.claude-homelab/.env

This file is created from .env.example at install time and is never committed. Set it up interactively after install:

# Interactive wizard (preferred)
# Open Claude Code and run:
/homelab-core:setup

# Or configure manually
$EDITOR ~/.claude-homelab/.env

Security requirements:

  • ~/.claude-homelab/.env must have chmod 600 (owner read/write only)
  • Never commit .env — it is gitignored
  • Never log credentials, even in debug mode
  • Use .env.example as the template (tracked in git, placeholder values only)

All service scripts load credentials via scripts/load-env.sh:

source "${CLAUDE_PLUGIN_ROOT:-$HOME/claude-homelab}/scripts/load-env.sh"
load_env_file || exit 1
validate_env_vars "SERVICE_URL" "SERVICE_API_KEY"

Environment Variable Reference

Variables are grouped by service. Copy .env.example to ~/.claude-homelab/.env and replace placeholder values.

Media

Variable Required Description
PLEX_URL yes Plex server base URL
PLEX_TOKEN yes Plex authentication token
OVERSEERR_URL yes Overseerr base URL (skill)
OVERSEERR_API_KEY yes Overseerr API key (skill)
RADARR_URL yes Radarr base URL
RADARR_API_KEY yes Radarr API key
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add jmagar/claude-homelab
新手?先看 mcpskill.org 教程 →