Agent Skillsstacklok/toolhive-studio › skill-editor

skill-editor

GitHub

用于编辑AI代理技能文件,确保在Claude、Codex和Cursor之间保持同步。通过修改主源并复制到其他平台来更新或删除技能配置。

.cursor/skills/skill-editor/SKILL.md stacklok/toolhive-studio

触发场景

需要更新现有AI技能描述或指令 需要同步多个Agent平台的技能配置 需要修复技能文件中的错误 需要删除不再使用的技能

安装

npx skills add stacklok/toolhive-studio --skill skill-editor -g -y
更多选项

不安装直接使用

npx skills use stacklok/toolhive-studio@skill-editor

指定 Agent (Claude Code)

npx skills add stacklok/toolhive-studio --skill skill-editor -a claude-code -g -y

安装 repo 全部 skill

npx skills add stacklok/toolhive-studio --all -g -y

预览 repo 内 skill

npx skills add stacklok/toolhive-studio --list

SKILL.md

Frontmatter
{
    "name": "skill-editor",
    "description": "REQUIRED for editing any skill file. Ensures changes sync to Claude, Codex, and Cursor. Never edit .claude\/skills\/ files directly - always use this skill."
}

Skill Editor

Edit existing AI agent skills while keeping Claude, Codex, and Cursor in sync.

Workflow

  1. Always edit Claude first - .claude/skills/<name>/SKILL.md is the canonical source
  2. Replicate with CLI - Copy changes to .codex/skills/ and .cursor/skills/
  3. Never edit Codex/Cursor directly - They are copies of Claude's version

Finding Existing Skills

List all skills:

ls -la .claude/skills/

Read a skill:

cat .claude/skills/<name>/SKILL.md

Editing a Skill

  1. Read the current skill content from .claude/skills/<name>/SKILL.md
  2. Make the requested changes
  3. Replicate to other agents:
    cp .claude/skills/<name>/SKILL.md .codex/skills/<name>/
    cp .claude/skills/<name>/SKILL.md .cursor/skills/<name>/
    

Verification

Always verify sync after editing:

diff .claude/skills/<name>/SKILL.md .codex/skills/<name>/SKILL.md
diff .claude/skills/<name>/SKILL.md .cursor/skills/<name>/SKILL.md

No output means files are identical.

Common Edits

  • Update description - Improve auto-discovery keywords
  • Add instructions - Expand the skill's capabilities
  • Fix errors - Correct mistakes in the skill logic
  • Add references - Create references/ directory for supporting docs

Deleting a Skill

Remove from all three locations:

rm -rf .claude/skills/<name> .codex/skills/<name> .cursor/skills/<name>

版本历史

  • 12a6ab3 当前 2026-08-20 10:48

同 Skill 集合

.claude/skills/bug-fix-tdd/SKILL.md
.claude/skills/deep-links/SKILL.md
.claude/skills/security-vuln-remediation/SKILL.md
.claude/skills/skill-creator/SKILL.md
.claude/skills/skill-editor/SKILL.md
.claude/skills/testing-api-assertions/SKILL.md
.claude/skills/testing-api-overrides/SKILL.md
.claude/skills/testing-with-api-mocks/SKILL.md
.codex/skills/bug-fix-tdd/SKILL.md
.codex/skills/deep-links/SKILL.md
.codex/skills/security-vuln-remediation/SKILL.md
.codex/skills/skill-creator/SKILL.md
.codex/skills/skill-editor/SKILL.md
.codex/skills/testing-api-assertions/SKILL.md
.codex/skills/testing-api-overrides/SKILL.md
.codex/skills/testing-with-api-mocks/SKILL.md
.cursor/skills/bug-fix-tdd/SKILL.md
.cursor/skills/deep-links/SKILL.md
.cursor/skills/security-vuln-remediation/SKILL.md
.cursor/skills/skill-creator/SKILL.md
.cursor/skills/testing-api-assertions/SKILL.md
.cursor/skills/testing-api-overrides/SKILL.md
.cursor/skills/testing-with-api-mocks/SKILL.md

元信息

文件数
0
版本
9d42989
Hash
7b1d17e0
收录时间
2026-08-20 10:48

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 00:15
浙ICP备14020137号-1