Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

enhance-skill-by-derailment通过出轨提升技能

Agent Skill

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

总安装

528

周安装

22

GitHub Stars

5

下载量

176
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill enhance-skill-by-derailment

简介

用于通过实际任务执行反推技能缺陷,精准修复指令漏洞。

  • 适合在测试、硬化或提升任意技能的教学质量时使用,非新建技能场景。
  • 由子代理执行任务并读取执行轨迹,定位指令断裂点,直接修改技能文件。
  • 严禁更换更智能的代理,必须保持原代理按技能说明操作,你负责诊断与修复。
  • enhance-skill-by-derailment 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Enhance Skill by Using

Improve a skill by making a subagent use it on a real task, reading the execution trace to find where the instructions broke, and fixing the skill directly.

Trigger boundary

Use when: testing, hardening, or improving any skill's instructional quality Do NOT use when: building a new skill from scratch (use build-skills)

Non-negotiable rules

  1. Fix the instructions, not the executor. Every remedy is a text edit to skill files. Never "use a smarter agent."
  2. Subagent does the using. You do the detective work. The executor follows the skill. You read the trace, find the source defect, and fix that text.
  3. No output files. No notes, no reports, no errata. The fixed skill files ARE the deliverable.
  4. Real task, real user energy. The subagent prompt should sound like an everyday user request — not a clinical test case.
  5. Different domain each round. Same task twice proves nothing.
  6. Do not inject fake constraints. If the skill does not require a wrapper, shell convention, or extra ritual, do not add one in the test harness.

Workflow

1. Get the skill

Local skill (user says "test run-github-scout"):

Read ~/.claude/skills/{name}/SKILL.md
Tree ~/.claude/skills/{name}/references/

Remote skill (user provides owner/repo or GitHub URL):

gh api repos/{owner}/{repo}/contents/SKILL.md --jq '.content' | base64 -d > /tmp/skill-test/SKILL.md
gh api repos/{owner}/{repo}/contents/references --jq '.[].name' | while read f; do
  gh api repos/{owner}/{repo}/contents/references/$f --jq '.content' | base64 -d > /tmp/skill-test/references/$f
done

No name given: Ask the user which skill to test.

2. Read everything and think about the use case

Read SKILL.md and every reference file. While reading, think:

What would a real user ask this skill to do? Not "test case #1" — an actual request someone would type. Examples:

Skill typeBad test (clinical)Good test (real user)
Code search skill"Search for repos matching 'react'""Find me all the self-hosted Notion alternatives with real-time collab"
Code review skill"Review file X""I just rewrote our auth middleware, can you check it before I merge?"
Deployment skill"Deploy service A""Push this to staging, but our Redis is on a separate VPC so watch for that"

How to pick the nastiest realistic task:

  • Use a domain DIFFERENT from the skill's own examples (tests generalization)
  • Include 2-3 implicit constraints a naive executor might miss
  • Touch ALL branches in the workflow (if the skill has an "if >3 repos" path AND a "<=3 repos" path, pick a count that hits the more complex one)
  • Require at least one reference file to be consulted (tests routing)

Read like an editor, not just an operator. Look for the paragraph, example, missing precondition, or routing cue that would send the executor down the wrong path.

3. Launch the subagent

Spin up one capable subagent. The prompt should read like a real user request.

Prompt template:

I need help with: {TASK_IN_PLAIN_LANGUAGE}

There's a skill for this at {SKILL_PATH}. Read the SKILL.md and the
reference files it points to, then follow the workflow to do what I asked.

As you work, only flag moments where the skill text changes your path:
- [STUCK] if the skill leaves you unable to continue; name the missing or conflicting instruction
- [GUESSED] if you had to invent a decision the skill should have made explicit; point to the section that should have answered it
- [BROKE] if following the skill led you to a command or pattern that failed; include the command and the instruction that led you there
- [NICE] if a specific sentence, example, or routing cue saved you from a mistake

Agent config: use a capable general-purpose subagent, keep permissions aligned with the real task, and run it in the background if your platform supports that.

4. Read the execution trace

When the subagent completes, its output is at the path shown in the launch response (JSONL format).

Quick extraction:

python3 -c "
import json, sys
with open('AGENT_OUTPUT_PATH') as f:
    for line in f:
        if not line.strip(): continue
        obj = json.loads(line)
        if obj.get('type') != 'assistant': continue
        for c in obj.get('message',{}).get('content',[]):
            if c.get('type') == 'text':
                print(c['text'][:500])
                print('---')
            elif c.get('type') == 'tool_use':
                print(f'TOOL: {c[\"name\"]} | {str(c.get(\"input\",{}))[:120]}')
" 2>/dev/null | head -200

What to look for:

SignalWhat it meansSeverity
[STUCK] tagSubagent hit a wallP0
[GUESSED] tagSkill didn't say, subagent improvisedP1
[BROKE] tagCommand from the skill failedP0 or P1
[NICE] tagSkill prevented a mistake — don't break thisKeep
Re-read same file multiple timesInstructions confusingP1
Tried command, error, different approachSilent failureP1
Skipped a step entirelyStep unclear or seemed optionalP1

Cluster repeated symptoms before you edit. Three tags from one workflow step often collapse into one bad paragraph, one misleading example, or one missing transition.

For each cluster, tag the root cause using references/root-cause-taxonomy.md and locate the exact text that caused it.

5. Fix the skill directly

For each root-cause cluster, highest severity first:

  1. Match to a fix pattern from references/fix-patterns.md
  2. Rewrite or delete the source text that caused the miss
  3. Update the paired example, checklist item, or routing table if the old wording taught the same wrong move
  4. Add a new note only when the root cause is genuinely missing context, not when the old sentence can simply be fixed
  5. Keep fixes in-place, self-contained, and minimal

No output files. Edit the skill. That's the deliverable.

6. Verify

for f in $(find {SKILL_PATH}/references -name '*.md' -type f); do
  grep -q "$(basename $f)" {SKILL_PATH}/SKILL.md || echo "ORPHAN: $f"
done
wc -l {SKILL_PATH}/SKILL.md  # must be under 500

7. Re-test if P0s were found

If round 1 found any P0, launch another subagent with a different task in a different domain. Max 3 rounds. If friction isn't decreasing after 3, the skill needs architectural redesign.

8. Tell the user what happened

Brief summary: friction counts, files edited, what worked well, whether re-test passed.

Reference routing

FileRead when
references/friction-classification.mdStep 4 — assigning P0/P1/P2 severity
references/root-cause-taxonomy.mdStep 4 — understanding WHY something broke
references/fix-patterns.mdStep 5 — matching root cause to proven fix

Guardrails

  • Read the full skill before generating the test case.
  • Root-cause before fixing. Fixes without root cause analysis recur.
  • No output files. Only the skill's own files get edited.
  • The trace is disposable. Never preserve it as a summary, errata, or mistake notebook.
  • Rewrite the controlling paragraph or example before you add warning bullets about it.
  • Do not let test-harness constraints become product docs.
  • Don't weaken [NICE] moments while fixing — they're load-bearing.
  • Don't re-test with the same task.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.6%
按下载量换算61

Claude

29.42%
按下载量换算52

Cursor

18.95%
按下载量换算33

Gemini CLI

9.7%
按下载量换算17

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill enhance-skill-by-derailment 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills