Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

erk-skill-onboardingerk 技能入职

Agent Skill

erk-skill-onboarding 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

186

周安装

8

GitHub Stars

81

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:erk-skill-onboarding(erk 技能入职)
来源仓库:https://github.com/dagster-io/erk
仓库路径:skills/erk-skill-onboarding
安装命令:
npx skills add https://github.com/dagster-io/erk --skill erk-skill-onboarding
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dagster-io/erk --skill erk-skill-onboarding

简介

erk-skill-onboarding 提供完整的 erk 技能添加指南,涵盖决策树、文件修改清单与测试验证方法。

  • 适用于在 erk 生态内新增自定义技能,区分打包分发与本地使用两种模式。
  • 安装命令为 npx skills add https://github.com/dagster-io/erk --skill erk-skill-onboarding,建议确认权限与维护状态。
  • 技能涉及 Codex 通用性与 Claude 专属特性选择,需根据宿主环境适配实现方式。
  • 注意该技能可能触发联网、命令执行或文件读写,需评估安全风险后再使用。

SKILL.md

Erk Skill Onboarding

Complete guide for adding a new skill to erk. Covers the decision tree, every file you need to touch, and which tests validate each registration.

Decision Tree

Answer three questions to determine which files to update:

1. Bundled or Unbundled?

  • Bundled = distributed to external projects via erk init capability add <name>
  • Unbundled = lives in .claude/skills/ but is only used within the erk repo itself

2. Codex Portable or Claude-Only?

  • Codex Portable = works with any AI agent (no Claude-specific features like hooks, session logs, slash commands)
  • Claude-Only = references Claude Code features (hooks, session logs, $ skill references, slash commands)

3. Required or Optional? (bundled only)

  • Required = auto-installed by erk init (core workflow skills)
  • Optional = user opts in via erk init capability add

Registry Files

1. Skill Content: .claude/skills/<name>/SKILL.md

Every skill needs a SKILL.md with valid frontmatter:

---
name: my-skill # must match directory name, max 64 chars
description: > # max 1024 chars, used for trigger matching
  Description of when to use this skill.
---

The name field MUST exactly match the directory name under .claude/skills/.

2. Bundle Classification: src/erk/capabilities/skills/bundled.py

If bundled — add to the bundled_skills() dict:

def bundled_skills() -> dict[str, str]:
    return {
        ...
        "my-skill": "Brief description for CLI display",
    }

If required, also add to _REQUIRED_BUNDLED_SKILLS.

If unbundled — add to _UNBUNDLED_SKILLS frozenset:

_UNBUNDLED_SKILLS: frozenset[str] = frozenset(
    {
        ...
        "my-skill",
    }
)

3. Portability Classification: src/erk/core/capabilities/codex_portable.py

If codex portable — add to codex_portable_skills():

def codex_portable_skills() -> frozenset[str]:
    return frozenset(
        {
            ...
            "my-skill",
        }
    )

If claude-only — add to claude_only_skills():

def claude_only_skills() -> frozenset[str]:
    return frozenset(
        {
            ...
            "my-skill",
        }
    )

4. Wheel Packaging: pyproject.toml (bundled + portable only)

Only needed for bundled skills that are codex portable. Add a force-include entry:

[tool.hatch.build.targets.wheel.force-include]
".claude/skills/my-skill" = "erk/data/claude/skills/my-skill"

Unbundled skills and claude-only skills skip this step.

Note: Actually ALL bundled skills need force-include (not just portable ones). The force-include list should match the bundled_skills() dict entries.

Test Validation Matrix

These tests in the test suite catch missing registrations:

TestFileWhat It Catches
test_all_skills_have_codex_required_frontmattertests/unit/artifacts/test_codex_compatibility.pyMissing or invalid SKILL.md frontmatter (name/description)
test_codex_portable_and_claude_only_cover_all_skillstests/unit/artifacts/test_codex_compatibility.pySkill missing from BOTH portable and claude-only lists
test_bundled_and_unbundled_cover_all_skillstests/unit/artifacts/test_codex_compatibility.pySkill missing from BOTH bundled and unbundled lists
test_codex_portable_skills_match_force_includetests/unit/artifacts/test_codex_compatibility.pyPortable skill missing from pyproject.toml force-include
test_all_codex_portable_skills_have_capabilitytests/unit/core/capabilities/test_skills.pyPortable skill not registered as a capability
test_all_skill_capabilities_registeredtests/unit/core/capabilities/test_skills.pyBundled skill not in capability registry

If make fast-ci fails after adding a skill, check these tests first.

Quick-Path Checklists

New Unbundled + Claude-Only Skill (simplest: 3 file touches)

  1. Create .claude/skills/<name>/SKILL.md with frontmatter
  2. Add "<name>" to _UNBUNDLED_SKILLS in src/erk/capabilities/skills/bundled.py
  3. Add "<name>" to claude_only_skills() in src/erk/core/capabilities/codex_portable.py

New Bundled + Portable + Optional Skill (full: 4 file touches)

  1. Create .claude/skills/<name>/SKILL.md with frontmatter
  2. Add "<name>": "description" to bundled_skills() in src/erk/capabilities/skills/bundled.py
  3. Add "<name>" to codex_portable_skills() in src/erk/core/capabilities/codex_portable.py
  4. Add force-include entry in pyproject.toml: ".claude/skills/<name>" = "erk/data/claude/skills/<name>"

New Bundled + Portable + Required Skill (4 file touches + 1 extra line)

Same as above, plus add "<name>" to _REQUIRED_BUNDLED_SKILLS in bundled.py.

Common Mistakes

  • Forgetting portability classification: Every skill must be in exactly one of codex_portable_skills() or claude_only_skills(). Tests will fail if a skill is in neither or both.
  • Forgetting bundle classification: Every skill must be in exactly one of bundled_skills() or _UNBUNDLED_SKILLS. Same rule.
  • Name mismatch: The name in SKILL.md frontmatter must exactly match the directory name.
  • Missing force-include: Bundled skills need a pyproject.toml entry or wheel builds won't include the skill content.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.27%
按下载量换算24

Claude

26.41%
按下载量换算17

Cursor

17.99%
按下载量换算12

Gemini CLI

9.27%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills