본문으로 건너뛰기
Skillpedia
테스트48k · #6298

skill-optimizer

하는 일

이 도구는 과거 대화를 바탕으로 사용자의 ‘스킬’(AI를 위한 지침)이 어떻게 작동하는지 분석합니다. 스킬이 올바르게 실행되는지, 그리고 사용자가 의도한 작업을 AI가 하도록 돕는지 확인합니다.

사용하는 경우

  • ✓스킬이 기대대로 작동하지 않는 것 같을 때.
  • ✓스킬의 품질을 높이고 싶을 때.
  • ✓거의 쓰이지 않거나 불필요하게 AI 자원을 낭비하는 스킬이 있는지 알고 싶은 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/skill-optimizer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/skill-optimizer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 스킬을 분석해서 어떤 것을 개선해야 하는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 스킬 파일과 과거 대화의 데이터를 읽습니다. 기대한 결과와 실제로 일어난 결과를 비교해 문제를 찾고 개선안을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

When to Use This Skill

  • Use when skills are not triggering as expected or seem broken
  • Use when you want to audit and improve your skill library's quality
  • Use when you want to understand which skills are underperforming or wasting context tokens

Rules

  • Read-only: never modify skill files. Only output report.
  • All 8 dimensions: do not skip any. If data is insufficient, report "N/A — insufficient session data" rather than omitting.
  • Quantify: "you had 12 research tasks last week but the skill never triggered" beats "you often do research".
  • Suggest, don't prescribe: give specific wording suggestions for description improvements, but frame as suggestions.
  • Show evidence: for undertrigger claims, quote the actual user message that should have triggered the skill.
  • Evidence-based suggestions: when suggesting description rewrites, cite the specific research finding that motivates the change (e.g., "front-load trigger keywords — MCP study shows 3.6x selection rate improvement").

Overview

Analyze skills using historical session data + static quality checks, output a diagnostic report with P0/P1/P2 prioritized fixes. Scores each skill on a 5-point composite scale across 8 dimensions.

CSO (Claude/Agent Search Optimization) = writing skill descriptions so agents select the right skill at the right time. This skill checks for CSO violations.

Usage

  • /optimize-skill → scan all skills
  • /optimize-skill my-skill → single skill
  • /optimize-skill skill-a skill-b → multiple specified skills

Data Sources

Auto-detect the current agent platform and scan the corresponding paths:

Source Claude Code Codex Shared
Session transcripts ~/.claude/projects/**/*.jsonl ~/.codex/sessions/**/*.jsonl —
Skill files ~/.claude/skills/*/SKILL.md ~/.codex/skills/*/SKILL.md ~/.agents/skills/*/SKILL.md

Platform detection: Check which directories exist. Scan all available sources — a user may have both Claude Code and Codex installed.

Workflow

Identify target skills
        ↓
Collect session data (python3 scripts scan JSONL transcripts)
        ↓
Run 8 analysis dimensions
        ↓
Compute composite scores
        ↓
Output report with P0/P1/P2

Step 1: Identify Target Skills

Scan skill directories in order: ~/.claude/skills/, ~/.codex/skills/, ~/.agents/skills/. Deduplicate by skill name (same name in multiple locations = same skill). For each, read SKILL.md and extract:

  • name, description (from YAML frontmatter)
  • trigger keywords (from description field)
  • defined workflow steps (Step 1/2/3... or ### sections under Workflow)
  • word count

If user specified skill names, filter to only those.

Step 2: Collect Session Data

Use python3 scripts via Bash to scan session JSONL files. Extract:

Claude Code sessions (~/.claude/projects/**/*.jsonl):

  • Skill tool_use calls (which skills were invoked)
  • User messages (full text)
  • Assistant messages after skill invocation (for workflow tracking)
  • User messages after skill invocation (for reaction analysis)

Codex sessions (~/.codex/sessions/**/*.jsonl):

  • session_meta events → extract base_instructions for skill loading evidence
  • response_item events → assistant outputs (workflow tracking)
  • event_msg events → tool execution and skill-related events
  • User messages from turn_context events (for reaction analysis)

Note: Codex injects skills via context rather than explicit Skill tool calls. Skill loading (present in base_instructions) does NOT equal active invocation. To detect actual use, search for skill-specific workflow markers (step headers, output formats) in response_item content within that session. A skill is "invoked" only if the agent produced output following the skill's defined workflow.

Aggregated:

  • Per-skill: invocation count, trigger keyword match count
  • Per-skill: user reaction sentiment after invocation
  • Per-skill: workflow step completion markers

Step 3: Run 8 Analysis Dimensions

You MUST run ALL 8 dimensions. The baseline behavior without this skill is to skip dimensions 4.2, 4.3, 4.5b, and 4.8. These are the most valuable dimensions — do not skip them.

4.1 Trigger Rate

Count how many times each skill was actually invoked vs how many times its trigger keywords appeared in user messages.

Claude Code: count Skill tool_use calls in transcripts.

…

자주 묻는 질문

도구가 제 스킬을 바꾸나요?

아니요, 분석하고 개선안을 제안할 뿐입니다. 스킬 파일은 수정하지 않습니다.

‘차원’이란 무엇인가요?

스킬의 품질을 평가하기 위해 도구가 분석하는 여러 측면입니다. 예를 들어 얼마나 자주 쓰이는지, 사용자가 결과에 만족하는지 등이 있습니다.

‘CSO’는 무엇을 뜻하나요?

Claude/Agent Search Optimization의 약자입니다. AI가 적절한 순간에 올바른 스킬을 고를 수 있도록 스킬 설명을 작성하는 것을 뜻합니다.

상세 정보

작성자의 원본 설명

Diagnose and optimize Agent Skills (SKILL.md) with real session data and research-backed static analysis. Works with Claude Code, Codex, and any Agent Skills-compatible agent.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6298
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬