Source profileQuality 93/100

event4u-app/agent-config/src/skills/skill-improvement-pipeline/SKILL.md

skill-improvement-pipeline

ONLY when user explicitly requests: run the skill improvement pipeline after a learning was detected. Orchestrates capture, classify, create, validate, and apply.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

ONLY when user explicitly requests: run the skill improvement pipeline after a learning was detected. Orchestrates capture, classify, create, validate, and apply.

Best for

  • Triggered by the skill-improvement-trigger rule when user picks "Capture & improve"
  • Manually when user says "run the improvement pipeline" or "capture this learning"
  • Regular skill creation (use skill-writing)

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/skill-improvement-pipeline"
Safe inspection promptEditorial

Inspect the Agent Skill "skill-improvement-pipeline" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/skill-improvement-pipeline/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure: Run the improvement pipeline

    Use the learning-to-rule-or-skill skill to extract 1–3 concrete learnings from the completed task.

    Specific — not "be more careful" but "always check X before Y"Actionable — can be turned into a rule constraint or skill stepObservable — you can tell when it's followed or violated
  2. 02

    Step 1: Capture

    Use the learning-to-rule-or-skill skill to extract 1–3 concrete learnings from the completed task.

    Specific — not "be more careful" but "always check X before Y"Actionable — can be turned into a rule constraint or skill stepObservable — you can tell when it's followed or violated
  3. 03

    Step 2: Promotion Gate

    For each learning, apply ALL of these checks. ALL must be YES to promote:

    For each learning, apply ALL of these checks. ALL must be YES to promote:If the same learning has now been observed in ≥ 2 distinct projects, it is a strong promotion candidate for a shared surface (a global rule/skill or a src/patterns/ recipe) rather than a project-local note. Surface that…This is a signal, not a store: there is no auto-write, no decay, no runtime (the writable per-project learning store stays rejected — [[council-agent-memory-sunset]]). The human decides whether the cross-project recurre…
  4. 04

    Step 3: Classify

    Tag each learning with one category for tracking:

    Tag each learning with one category for tracking:
  5. 05

    Step 4: Create or Update

    Anchor exact commands to the transcript, not the journal. A session journal is a lossy summary; a command, path, or flag reconstructed from it can be subtly wrong. Before writing a concrete step (a command, a file path, a config key) into a rule or skill, confirm it against the…

    New rule → create in .agent-src.uncondensed/rules/, follow rule conventionsNew skill → use skill-writing skill, create in .agent-src.uncondensed/skills/Update existing → use skill-management skill

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score93/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/skill-improvement-pipeline/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original SKILL.md

skill-improvement-pipeline

When to use

  • Triggered by the skill-improvement-trigger rule when user picks "Capture & improve"
  • Manually when user says "run the improvement pipeline" or "capture this learning"

Do NOT use for:

  • Regular skill creation (use skill-writing)
  • Regular skill editing (use skill-management)
  • One-off fixes that don't represent a pattern

Procedure: Run the improvement pipeline

Step 1: Capture

Use the learning-to-rule-or-skill skill to extract 1–3 concrete learnings from the completed task.

Each learning must be:

  • Specific — not "be more careful" but "always check X before Y"
  • Actionable — can be turned into a rule constraint or skill step
  • Observable — you can tell when it's followed or violated

Step 2: Promotion Gate

For each learning, apply ALL of these checks. ALL must be YES to promote:

CheckQuestion
Repeated?Has this pattern occurred 2+ times, or is it clearly generalizable?
Prevents failure?Does it prevent a real observed failure or mistake?
Not covered?Is there NO existing rule or skill that already covers this?
Actionable?Is it a concrete constraint or workflow step (not vague advice)?
ResultAction
All YESPromote — continue to Step 3
One-off, never seen beforeReject — do nothing
Seen once, but generalizableNote — use remember tool, act on second occurrence
Already coveredUpdate existing — skip to Step 4 with the existing skill/rule
VagueReject — not actionable

Show the user:

> Learning: "{summary}"
> Category: {category-tag}
> Repeated: {yes/no} | Prevents failure: {yes/no} | Not covered: {yes/no} | Actionable: {yes/no}
>
> → {Promote / Reject / Note / Update existing}

Cross-project promotion signal (surfacing only — never an auto-writer)

If the same learning has now been observed in ≥ 2 distinct projects, it is a strong promotion candidate for a shared surface (a global rule/skill or a src/patterns/ recipe) rather than a project-local note. Surface that signal to the user — do not auto-write it:

> Cross-project: this learning was also seen in {other-project}.
> ≥2 projects ⇒ candidate for a shared surface (global rule / skill / pattern).
> → surface for promotion (human decides; no auto-write)

This is a signal, not a store: there is no auto-write, no decay, no runtime (the writable per-project learning store stays rejected — [[council-agent-memory-sunset]]). The human decides whether the cross-project recurrence justifies promotion.

Step 3: Classify

Category tag

Tag each learning with one category for tracking:

CategoryWhen
skill-weaknessSkill gave wrong or incomplete guidance
rule-weaknessRule was too vague or missed a case
routing-issueWrong skill was selected for the task
assumption-issueAgent made bad assumptions instead of asking
verification-gapVerification step was missing or weak
optimization-overreachOptimize command suggested harmful change

Artifact type

Decide what to create:

Learning typeCreate
Behavioral constraint ("always do X", "never do Y")Rule (auto-type)
Workflow/procedure ("when X happens, do Y then Z")Skill
Existing rule/skill needs updateUpdate (use skill-management)

Step 4: Create or Update

Anchor exact commands to the transcript, not the journal. A session journal is a lossy summary; a command, path, or flag reconstructed from it can be subtly wrong. Before writing a concrete step (a command, a file path, a config key) into a rule or skill, confirm it against the anchored source transcript — carry a transcript: / session anchor on the mined learning so the exact wording is recoverable, and verify against it rather than trusting the summary.

  • New rule → create in .agent-src.uncondensed/rules/, follow rule conventions
  • New skill → use skill-writing skill, create in .agent-src.uncondensed/skills/
  • Update existing → use skill-management skill

After creation:

  1. Run ./scripts-run src/scripts/skill_linter {path} — must pass (0 fail)
  2. Copy to .augment/
  3. Mark hash: ./scripts-run src/scripts/condense --mark-done "{relative_path}"
  4. Regenerate tools: ./scripts-run src/scripts/condense --generate-tools
  5. If the learning came from a knowledge page (agents/knowledge/procedures/skill-candidates.md or any agents/knowledge/ page) — degrade the source to a pointer; promotion is not complete otherwise (double-maintenance risk): ./scripts-run src/scripts/degrade_to_pointer --source "<knowledge-path>[#<anchor>]" --artifact "{relative_path}" --date "<YYYY-MM-DD>"

Step 5: Decide scope

Ask the user:

> 📦 Improvement ready: {description}
>
> 1. Universal — apply locally + PR to upstream package
> 2. Project-specific — apply locally only (agents/overrides/)
> 3. Review first — show me the changes before deciding

Step 6: Apply

If project-specific (option 2):

  • Create override in agents/overrides/{type}/{name}.md
  • Done.

If universal (option 1):

  1. Read project.upstream_repo and project.improvement_pr_branch_prefix from .agent-settings.yml
  2. If project.upstream_repo is empty → ask user for the target repo
  3. Create branch: {prefix}{learning-slug} from main
  4. Commit changes to .agent-src.uncondensed/ AND .augment/
  5. Push branch
  6. Create PR with title: improve(agent): {short description}
  7. Use the agent-improvement PR template if it exists

Output format

  1. Learning summary with promotion gate results
  2. Created/updated file path
  3. Linter result
  4. Scope decision and action taken

Gotcha

  • The promotion gate is the most important step — most learnings should be REJECTED
  • "Be more careful" is NOT a valid learning — it must be specific
  • Always run the linter before declaring success
  • The user controls every step — never auto-commit or auto-push

Do NOT

  • Do NOT skip the promotion gate — it prevents skill/rule bloat
  • Do NOT create both a rule AND a skill for the same learning
  • Do NOT auto-push without user permission
  • Do NOT create project-specific content in .agent-src.uncondensed/
  • Do NOT run this pipeline for trivial learnings

References

  • Reflexionarxiv.org/abs/2303.11366 Language agents that reinforce from verbal self-reflection on past trials. This pipeline adapts Reflexion by gating promotion with a human review step — learnings only harden into rules/skills after explicit approval, never auto-commit.