Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

skill-builder技能构建

Agent Skill

skill-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

261

周安装

11

GitHub Stars

9

下载量

92
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/odysseyalive/claude-enforcer --skill skill-builder

简介

构建与审计 Claude 技能,支持审核、优化与代理创建功能。

  • 适用于 Codex、Claude 等宿主中的技能开发与诊断场景。
  • 通过 GitHub 安装,提供级联分析与健康检查工具链。
  • 使用前需排除自身技能以避免循环依赖。skill-builder 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议结合项目实际技能集运行审核与优化建议。

SKILL.md

Skill Builder

Quick Commands

CommandAction
/skill-builderFull audit: runs optimize + agents + hooks in display mode for all skills
/skill-builder auditSame as above
/skill-builder audit --quickLightweight audit: frontmatter + line counts + priority fixes only
/skill-builder cascade [skill]Validation cascade analysis: detect over-validation suppressing output
/skill-builder dev [command]Run any command with skill-builder itself included

Directives

"When a decision needs to be made that isn't overtly obvious, and guesses are involved, AGENTS ARE MANDATORY, in order to provide additional input in decision making."

*— Added 2026-02-22, source: user directive*

"Each agent being created by this system always has to have an appropriate persona that is not being used anywhere else."

*— Added 2026-02-22, source: user directive*

"When deploying a Team, one of the team member's persona is a research assistant who will research the issue using read-only reference tools. Other team members may also make requests from the research assistant to help augment the outcome."

*— Added 2026-02-23, source: user directive (tool specifics in references/agents-teams.md)*


Commands

All commands operate in display mode by default. Add --execute to apply changes. Before executing any command, read its procedure file from references/procedures/.

CommandProcedureSummary
auditaudit.mdFull system audit
audit --quickaudit.mdLightweight: frontmatter + line counts
cascade [skill]cascade.mdValidation cascade analysis (diagnostic only)
optimize [skill]optimize.mdRestructure for context efficiency
optimize claude.mdclaude-md.mdExtract domain content to skills
agents [skill]agents.mdAnalyze/create agents
hooks [skill]hooks.mdInventory/create hooks
new [name]new.mdCreate skill from template
inline [skill] [directive]inline.mdQuick-add directive
skillsskills.mdList local skills
list [skill]list.mdShow modes/options
verifyverify.mdHealth check (headless-compatible)
ledgerledger.mdCreate Awareness Ledger
self-healself-heal.mdInstall Self-Heal companion
update*(inline below)*Update to latest version

The update Command

Re-run the installer to update skill-builder to the latest version.

  1. Run the installer directly via Bash: bash -c "$(curl -fsSL https://raw.githubusercontent.com/odysseyalive/claude-enforcer/main/install)"
  2. Tell the user: "Restart Claude Code to load the updated skill." The current session still has the old skill loaded in memory, so start a new conversation. Once you're back, run /skill-builder audit — updates often add new recommendations that apply to your existing skills.

Self-Exclusion Rule

The skill-builder skill MUST be excluded from all actions (audit, optimize, agents, hooks, skills list) unless the command is prefixed with dev.

  • /skill-builder audit → audits all skills EXCEPT skill-builder
  • /skill-builder optimize some-skill → works normally
  • /skill-builder optimize skill-builder → REFUSED. Say: "skill-builder is excluded from its own actions. Use dev prefix: /skill-builder dev optimize skill-builder"
  • /skill-builder dev audit → includes skill-builder in the audit
  • /skill-builder dev optimize skill-builder → allowed

Detection: If the first argument after the command is dev, strip it and proceed with self-inclusion enabled. Otherwise, skip any skill whose name is skill-builder when iterating skills, and refuse if skill-builder is explicitly named as a target.

Self-heal exception: /skill-builder self-heal installs self-heal and is not subject to exclusion — this is installation, not analysis. However, self-heal integration embedded in other skills IS subject to self-exclusion — skill-builder does not embed self-heal awareness into itself.

Post-dev check: After any dev command that modifies skill-builder files, verify that the install script still covers all files. Glob skill-builder/**/*.md, compare against the files downloaded in the installer's loop, and flag any new/renamed/removed files that the installer doesn't handle. This prevents drift between the repo and what users receive on install.


Display/Execute Mode Convention

All sub-commands (optimize, agents, hooks) operate in two modes:

ModeBehaviorFlag
Display (default)Read-only plan of what would change*(none)*
ExecuteApply changes to files--execute

Rules

  1. Default is always display mode. Running /skill-builder optimize my-skill shows what *would* change without modifying anything.
  2. --execute triggers modifications. Running /skill-builder optimize my-skill --execute applies the changes.
  3. Audit always calls sub-commands in display mode, then offers the user a choice of which to execute.
  4. Execution requires a task plan. When --execute is invoked, the command MUST:

- First produce a numbered task list using TaskCreate, one task per discrete action - Execute each task sequentially, marking progress via TaskUpdate - This ensures context can be refreshed mid-execution without losing track, no tasks get forgotten during long context windows, and the user can see progress and resume if interrupted

  1. Scope discipline during execution. Execute ONLY the tasks in the task list. Do not add bonus tasks, expand scope, or create deliverables not in the original plan. If execution reveals a new opportunity, note it in the completion report — do not act on it. The task list is the contract.
  2. Post-action chaining. Any action that modifies a skill (new, inline, adding directives) automatically chains into a scoped mini-audit for the affected skill — running optimize, agents, and hooks in display mode, then offering execution choices. Use --no-chain to suppress.

Core Principles

IMPORTANT: Never break anything.

Optimization is RESTRUCTURING, not REWRITING. The skill must behave identically after optimization.

YOU MUST:

  1. MOVE content, don't rewrite it — Relocate to new location, preserving wording. Exclude secrets, credentials, API keys, tokens, and passwords — these must never appear in output or be relocated.
  2. PRESERVE all directives exactly — User's words are sacred
  3. KEEP all workflows intact — Same steps, same order, same logic
  4. TEST nothing changes — After optimization, skill works identically

What optimization IS:

  • Moving reference tables to reference.md
  • Moving lookup tables and named references to reference.md
  • Adding grounding requirements
  • Creating enforcement hooks
  • Splitting into SKILL.md + reference.md

What optimization is NOT:

  • Rewriting instructions "for clarity"
  • Condensing workflows "for brevity"
  • Changing step order "for efficiency"
  • Removing "redundant" content
  • Summarizing user directives
  • Reorganizing workflow structure that enforces directives (see enforcement.md § "Behavior Preservation")

The test: If the original author reviewed the optimized skill, they should say "this does exactly what mine did, just organized differently."


Directives are sacred.

When a user says "Never use Uncategorized accounts," those exact words stay in the skill, unchanged, forever.

YOU MUST distinguish between:

Content TypeCan Compress?Where It Lives
Directives (user's exact rules)NEVERTop of SKILL.md, unchanged
Reference (lookup tables, mappings, theory)YESSeparate reference.md
Machinery (hooks, agents, chains)YESsettings.json, hooks/, agents

The Sacred Directive Pattern

When a user gives you a rule, store it unchanged in a ## Directives section with exact wording, source, and date. Place at TOP of skill file. NEVER summarize or reword. Enforce with hooks when possible.

Grounding: Read references/templates.md § "SKILL.md Template" and references/procedures/directives.md for format and workflow.


§ Output Discipline — Cascade, Don't Scatter

Applies to ALL procedures universally. This is a behavioral constraint on how skill-builder presents its output.

Rules

  1. Own-skill actions (optimize, agents, hooks, ledger for skills managed by skill-builder): Always cascade into the current execution flow via AskUserQuestion + TaskCreate. Never present as standalone slash commands for manual invocation.
  2. Cross-skill actions (commands belonging to other skills like /awareness-ledger, /self-heal): Present in a clearly separated "Related Suggestions" footer, labeled as informational. Never mix into execution menus.
  3. Informational recommendations in conditional notes (e.g., "Run X to fix this"): Reframe as what the *current procedure* will do, or defer to the execution menu. Example: instead of "Run /skill-builder optimize to add eval protocol", say "Missing runtime eval protocol — flagged for optimization."
  4. Anti-pattern: Never end any procedure output with a list of slash commands the user must copy-paste and run manually. If an action is worth recommending, it's worth cascading.

Grounding

Before using any template, example, or pattern from reference material:

  1. Read the relevant file from references/
  2. State: "I will use [TEMPLATE/PATTERN] from references/[file] under [SECTION]"

Reference files:

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.57%
按下载量换算35

Claude

29.61%
按下载量换算27

Cursor

19.89%
按下载量换算18

Gemini CLI

9.29%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills