본문으로 건너뛰기
cccskills
무료GitHub에 공개

skill-cleaner

Audits installed Agent Skills for duplicates, unused candidates, loaded roots, oversized descriptions, and prompt cost. Use when cleaning or debugging skill collections.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts스타 4(GitHub 4 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.1 KB
  • scripts/skill-cleaner.mjs35.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Skill Cleaner

Use this when trimming skill prompt budget, finding duplicate skills, auditing enabled/disabled skill roots, or deciding which skills/plugins to remove.

Workflow

  1. Resolve this skill's directory from the loaded SKILL.md, then run its bundled analyzer:
node ./scripts/skill-cleaner.mjs --no-logs

Useful variants:

node ./scripts/skill-cleaner.mjs --months 3
node ./scripts/skill-cleaner.mjs --months 6 --max-log-mb 800 --deep-logs
node ./scripts/skill-cleaner.mjs --context-tokens 200000 --budget-percent 2 --no-logs
node ./scripts/skill-cleaner.mjs --root /path/to/another/skills-directory --no-logs
node ./scripts/skill-cleaner.mjs --json --no-logs
  1. Read the report in this order:
  • Skill Budget: GPT-5.5 context size, 2% skills budget, Codex-budgeted usage, and pre-budget full-list pressure.
  • Description candidates: long descriptions where relaxed grammar saves prompt budget.
  • Duplicates: same skill name or near-identical description/body across Codex, plugin cache, repo siblings, and personal skill roots.
  • Unused candidates: no recent $skill mention, SKILL.md read, or explicit skill-use trace in recent Codex/OpenClaw logs.
  • Root summary: where skills came from and whether config marks them disabled.
  1. Before deleting or editing:
  • Verify the kept copy exists and is loaded.
  • Treat cross-runtime duplicates as informational: separate runtimes may legitimately need separate copies.
  • Never delete managed plugin-cache files directly; use the runtime's plugin manager.
  • Delete a suggested duplicate only after verifying the kept path exists and the same runtime loads it.
  • Keep repo-local OpenClaw maintainer skills when they encode repo policy or live operations.
  • Preserve trigger nouns in descriptions: product, tool, action, object.

Analyzer Notes

  • The script mirrors Codex's model-visible line shape: - name: description (file: path).
  • It applies Codex-like frontmatter rules: YAML frontmatter only, default name from parent dir, single-line sanitized name and description.
  • It follows Codex core-skills/src/render.rs: 2% of raw context_window, token cost ceil(utf8_bytes / 4), then full descriptions -> equal description truncation -> omitted minimum lines.
  • It reads ~/.codex/models_cache.json for the selected model's context_window; fallback is 200,000 tokens and 2%. Pass --context-tokens for an exact budget.
  • It scans common global roots for .agents, Pi, Codex, Claude Code, OpenCode, and OpenClaw, plus skill roots in the current project and its ancestors.
  • Extra folders are included only with repeatable --root <path> flags.
  • It realpath-dedupes roots, so agent-specific symlinks to a shared skill directory do not create false duplicates.
  • For duplicate names, it reports description/body similarity and suggests deletion candidates only when bodies are near copies. Keep priority defaults to direct Codex system skills, then direct Codex skills, then plugin skills, then personal/repo copies.
  • It scans ~/.codex/history.jsonl and recent ~/.codex/sessions/**/*.jsonl by default. Add --deep-logs for archived sessions and common OpenClaw/Clawd log folders.
  • Usage evidence is heuristic: $skill, Use $skill, and paths like skills/<name>/SKILL.md.

Privacy and Output Policy

  • Scanning stays local. The report emits paths and usage counts, not session contents.
  • Use --no-logs unless the user wants usage-history analysis.
  • Reports can contain usernames and local paths; review them before sharing.
  • Suggest first; edit only when the user asks.
  • If asked to apply cleanup, make small grouped commits: descriptions, deletes, config disables.
  • Do not delete ignored/untracked skill dirs without naming the destination or confirming they are disposable.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps. Use for interviews, meetings, lectures, podcasts, voice notes, and similar recordings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

better-ui

무료

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, theme switch transitions, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

Explores and validates a feature, component, workflow, or behavior change before implementation. Use when work needs clarified intent, compared approaches, and an approved direction.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

bro

무료

Restates the previous response in plain, concise language. Use only when the user invokes bro or explicitly asks for a simpler explanation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

Generates or edits raster images through OpenAI's Image API. Use for text-to-image work, reference-based edits, masks, transparent assets, and product or editorial visuals.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

Applies language-neutral engineering standards when writing or reviewing code, especially around boundaries, failures, domain models, dependencies, tests, and type safety.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iurysza/herdr-pane-layouts42026년 10월 21일 업데이트

iurysza의 스킬 모두 보기

이 스킬의 문제 신고