Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

E8 Skill Linker

ASecurity

安全管理 Agent skills 的命名中央库、Git 仓库来源和项目级入口。当用户要安装 GitHub skill 或 skill pack、初始化或切换中央库、为项目启用/停用 skill、同步 Codex/Claude/.agents 入口、检查或更新仓库、迁移现有 skills、修复链接或管理 fork 时使用。区分中央原件库与 Agent 全局发现目录;业务 skills 默认只按项目启用。

4 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentsgit

Works with

cli

Security Analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned 9/22/2026

$npx -y skills add xhanzo-coder/e8-skill-linker --skill e8-skill-linker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E8 Skill Linker?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for E8 Skill Linker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xhanzo-coder-e8-skill-linker/badge)](https://www.skillsdirectory.com/skills/xhanzo-coder-e8-skill-linker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: e8-skill-linker
description: 安全管理 Agent skills 的命名中央库、Git 仓库来源和项目级入口。当用户要安装 GitHub skill 或 skill pack、初始化或切换中央库、为项目启用/停用 skill、同步 Codex/Claude/.agents 入口、检查或更新仓库、迁移现有 skills、修复链接或管理 fork 时使用。区分中央原件库与 Agent 全局发现目录;业务 skills 默认只按项目启用。
---

# E8 Skill Linker

## 所有权边界

将三层路径始终分开:

- 中央库保存 skill 原件与可发现入口。第三方 Git 仓库完整保存在 `<central>/.repos/`,中央库根层只暴露包含 `SKILL.md` 的 skill 入口。
- 项目级 `.agents/skills/<name>` 指向中央库根层 `<name>`,再由中央入口指向仓库内 skill;Windows junction 同样保留这一层。`.codex/skills` 和 `.claude/skills` 可指向项目 hub。
- 用户级 `~/.agents/skills`、`~/.codex/skills`、`~/.claude/skills` 是 Agent 全局发现目录,不是默认中央库。`e8-skill-linker` 作为管理型 skill 可例外安装到用户级。

## 默认交互

1. 识别请求是检查、配置、仓库安装、项目启用、停用、迁移、更新、checkout 还是 fork。
2. 状态未知时先只读检查:读取项目级与用户级 `.skill-linker.json`,确定当前生效的命名中央库。
3. 只读查询立即执行。一个写入目标形成一份完整计划,列出配置、仓库、中央入口、项目入口、更新、备份与删除影响。
4. 获得一次作用域明确的确认后,再使用 `--execute` 执行该计划。遇到计划外冲突就停止,不静默改用其他路径或策略。
5. 执行后自动检查配置、仓库清单、`SKILL.md` 和链接目标,然后汇报结果。

## 中央库配置

schema v2 允许在一份配置中登记多个命名中央库,但每个项目只有一个 `active_library`。项目级配置整体优先于用户级配置,不合并两者。v1 配置必须经过 `migrate-config` 显式升级;不做静默兼容。

安装、链接、检查和更新可用 `--library <name>` 单次选库,不改变默认库。`updates` 和 `check` 支持 `--all-libraries`,范围为当前生效配置。切换默认库不迁移项目链接,报告已有链接的实际库归属。

没有配置时,推荐非全局中央库:macOS/Linux 使用 `~/.e8-skill-linker/AgentSkills`,Windows 使用 `%USERPROFILE%\.e8-skill-linker\AgentSkills`。自定义父目录必须派生为 `<parent>/.e8-skill-linker/AgentSkills`。

## 不可违反的安全规则

- 不用链接覆盖真实目录或指向其他目标的链接。
- 仓库安装前验证用户指定的 `name=relative/path`、`SKILL.md` frontmatter 和名称冲突;安装失败时回滚本次新建的仓库与入口。
- 用户说“删除 skill”时默认只从当前项目停用;除非明确要求,不删除中央原件或 Git 仓库。
- 更新检查以 `.skill-linker-lock.json` 为仓库清单;只有本次 fetch 成功才报告远端状态,缓存或失败不能称为“最新”。
- Git 更新先 fetch,验证候选提交中的已登记 skill,再用 `merge --ff-only <已验证提交>` 更新并校验入口、记录 revision。有本地改动、detached HEAD、没有 upstream、无法 fast-forward 或候选 skill 失效时停止。
- 通过链接编辑会修改中央原件并影响所有引用项目,操作前要提醒用户。
- Windows 上可用 junction;不静默提权、绕过 UAC 或输入管理员密码。

## 按需路由

- 自举、schema v2、命名库和首次配置:[references/bootstrap-and-central-library.md](references/bootstrap-and-central-library.md)
- 第三方仓库安装、`.repos`、来源清单、更新、checkout 和 fork:[references/repository-store-and-git.md](references/repository-store-and-git.md)
- 项目入口、批量链接、迁移和停用:[references/link-sync-and-removal.md](references/link-sync-and-removal.md)
- 检查结果、计划表和确认口令:[references/output-and-confirmation.md](references/output-and-confirmation.md)
- Windows 链接权限与跨盘:[references/windows-links.md](references/windows-links.md)
- CLI 参数与 dry-run/execute 示例:[references/script-commands.md](references/script-commands.md)

## 管理器自身

每次触发后检查 `e8-skill-linker` 是否已安装在用户级 Agent skills 目录。未安装时,说明它是管理型 skill 的全局例外,给出计划并等待 `确认全局安装 e8-skill-linker`;不自动迁移。

确定性操作使用 `scripts/skill_manager.py`。除非传入 `--execute`,所有写入命令均为 dry-run。

Attribution

xhanzo-coderxhanzo-coder
View sourceSee grades on GitHubMore from xhanzo-coder →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →