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

skill-lifecycle-optimization

Use when improving, evolving, benchmarking, or maintaining agent skills over time. Treats skills as long-lived structured artifacts: execute tasks, diagnose trajectory evidence, accumulate textual momentum, patch at the correct abstraction layer, test per model and harness, canary changes, and roll back regressions.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.1 KB

SKILL.md(원문)

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

Skill Lifecycle Optimization

Treat each skill as a versioned, testable artifact that can improve or regress. Optimize from execution evidence, not from stylistic preference.

When to Activate

Activate when:

  • A skill exists but is unreliable, incomplete, stale, or model-sensitive
  • Maintaining a growing skill library
  • Evaluating third-party or generated skills before deployment
  • Designing a self-evolving agent harness
  • Deciding whether a skill rewrite actually improved task performance

Paper-Backed Principles

  1. Availability matters more reliably than presentation granularity. A controlled SkillsBench study found a clear benefit from access to task-relevant skills, while tested abstraction-level and example-format rewrites had smaller, uncertain, model-dependent effects.
  2. Skills can be optimized as structured parameters. SkillGrad uses trajectory loss evidence, textual diagnoses, momentum, and layer-aware patches.
  3. Skills need a lifecycle. MUSE-Autoskill emphasizes creation, memory, management, evaluation, and refinement with unit tests and runtime feedback.
  4. Skill effectiveness is model-dependent. MASA reports that a skill that helps one backbone can harm another.
  5. Updating and benefiting are separate capabilities. Harness evolution research distinguishes an evolver's ability to write a useful update from an executor's ability to load and follow it.
  6. Popularity is not quality. OpenSkillEval reports that public skills do not consistently outperform no-skill agents and should be evaluated dynamically under realistic tasks.

Lifecycle State

Maintain:

skill_id: example
version: 1.2.0
source: curated|generated|third-party
compatible_models: []
compatible_harnesses: []
evaluation_suite: path-or-id
last_evaluated_at: ISO-8601
repair_count: 0
regression_count: 0
known_failure_modes: []
rollback_target: 1.1.0

Optimization Loop

Step 1: Pin the Evaluation Surface

Define:

  • Training tasks for update evidence
  • Construction-time verification tasks
  • Held-out tasks
  • Models and harnesses under test
  • Fixed executor configuration
  • Deterministic postconditions
  • Budget for iterations, tokens, and tool calls

Do not optimize against the held-out suite.

Step 2: Run the Current Skill

Capture:

  • Task outcome
  • Tool calls and environment observations
  • Loaded skill sections
  • Skill activation success or failure
  • Whether instructions were followed faithfully
  • Postcondition results
  • Latency and token cost

Separate two executor failures:

FailureMeaning
Activation failureRelevant skill was not loaded
Adherence failureSkill loaded, but the executor did not follow it

Step 3: Produce Textual Gradients

For each task:

## Diagnosis
- Task:
- Outcome:
- Failure or success signal:
- Missing, weak, ignored, or preserved guidance:
- Reusable mechanism:
- Suggested layer:
- Evidence:

Use both:

  • Failed trajectories for repair evidence
  • Contrastive successes for behaviors worth preserving

Step 4: Update Textual Momentum

Maintain momentum_memory.md:

## Pattern: [stable-slug]
- status: new|recurring|unresolved|absorbed
- evidence:
- affected skill sections:
- reusable rule:
- remedy log:

Momentum reduces churn. Consolidate recurring semantic directions instead of reacting to the latest task in isolation.

Step 5: Patch by Abstraction Layer

Patch patterns, not individual examples.

LayerContents
SKILL.mdconcise always-loaded routing and core procedure
references/*.mdconditional edge cases, long procedures, examples, domain specifics
scripts/executable helpers where deterministic automation is appropriate

Prefer small targeted edits. Do not continuously expand the always-loaded file.

Step 6: Evaluate Net Effect

Report per model and harness:

  • Baseline pass rate
  • Candidate pass rate
  • Repairs
  • Regressions
  • Activation rate
  • Harness-following rate
  • Runtime and token cost
  • Cross-model transfer
  • Performance with no skill

Canary new versions before promotion. Roll back when regressions exceed the defined budget.

Step 7: Allocate Capability Wisely

Do not automatically spend the strongest model on skill evolution. Test whether a cheaper evolver produces equivalent reusable procedures. Allocate strong-model budget to the task-solving executor when executor activation or adherence is the bottleneck.

Output Format

## Skill Baseline
[Version, source, models, harnesses, evaluation suite]

## Trajectory Evidence
[Failures, contrastive successes, activation and adherence failures]

## Textual Momentum
[Recurring patterns and status]

## Patch Plan
[Layer-aware targeted edits]

## Net-Effect Report
[Repairs, regressions, held-out results, cost, per-model behavior]

## Promotion Decision
[Promote, canary, revise, or rollback]

Guidelines

  1. Keep evaluation configurations pinned.
  2. Compare against no-skill behavior.
  3. Evaluate each target model and harness separately.
  4. Measure activation and adherence.
  5. Preserve contrastive success patterns.
  6. Keep rollback available for every promoted change.
  7. Prefer execution-based verification over document similarity.

Gotchas

  1. Formatting theater - Rewriting abstraction level or adding examples is not automatically an improvement.
  2. Model-agnostic assumptions - A useful skill can harm another backbone.
  3. Latest-batch overfitting - Without textual momentum, patches chase local incidents.
  4. Append-only bloat - Put conditional material in references.
  5. Strong-evolver waste - Executor capability may be the real bottleneck.
  6. Popularity bias - Community usage is not a substitute for controlled evaluation.

References


Skill Metadata

Created: 2026-06-02 Version: 1.0.0

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use when long-lived agents, project memories, system prompts, or playbooks are repeatedly summarized, rewritten, or optimized and risk losing domain detail, provenance, or execution learnings.

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

mouadja02/skills102026년 10월 17일 업데이트

Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.

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

mouadja02/skills102026년 10월 17일 업데이트

Adds educational comments to a code file so it becomes a learning resource, asking for the file (with a list of close matches) if none is given. Use when preparing code for learners, onboarding, or teaching.

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

mouadja02/skills102026년 10월 17일 업데이트

Write, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices.

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

mouadja02/skills102026년 10월 17일 업데이트

Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)

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

mouadja02/skills102026년 10월 17일 업데이트

Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks. Use this skill when: - Evaluating an agent system's security posture before production deployment - Running a compliance check against OWASP ASI 2026 standards - Mapping existing security controls to the 10 agentic risks - Generating a compliance report for security review or audit - Comparing agent framework security features against the standard - Any request like "is my agent OWASP compliant?", "check ASI compliance", or "agentic security audit"

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

mouadja02/skills102026년 10월 17일 업데이트

mouadja02의 스킬 모두 보기

이 스킬의 문제 신고