npx skills add ...
npx skills add pskoett/pskoett-ai-skills --skill self-improvement-ci
CI-only self-improvement workflow using gh-aw (GitHub Agentic Workflows). Captures recurring failure patterns and quality signals from pull request checks, emits structured learning candidates, and proposes durable prevention rules without interactive prompts. Use when: you want automated learning capture in CI/headless pipelines.
npx skills add pskoett/pskoett-ai-skills --skill self-improvement-ci
Fallback using the Agent Skills CLI:
Run self-improvement in CI without interactive chat loops:
simplify-and-harden-ciHandoff blocks from .learnings/HEALS.md (filed by self-healing / self-healing-ci) and surface them as promotion candidatespattern_keyThis skill is read-only with respect to the repository (see CI Contract): it does not write .learnings/ entries. Its candidates are emitted as machine-readable output, and promotions are proposed as a PR or comment for human review.
Use self-improvement for interactive/local sessions.
CI agents do not have peak task context from the original implementation session. Use this skill to aggregate recurring patterns across runs, not to infer nuanced one-off intent.
Implications:
pattern_key recurrence signals over single-run conclusionsgh auth status)gh-aw installed for authoring/validation:The CI skill must:
pattern_keyrecurrence_count >= 3>= 2 distinct tasks/runsCLAUDE.mdAGENTS.md.github/copilot-instructions.mdSOUL.md / TOOLS.md when using openclaw workspace memoryExample-only templates live in references/workflow-example.md.
Keep examples outside .github/workflows until you explicitly decide to enable CI automation.
When ready:
.github/workflows/self-improvement-ci.mdself-healing-ci appends Handoff blocks to .learnings/HEALS.md entries that meet the promotion rule. On each run:
.learnings/HEALS.md (read-only) and collect entries with a Handoff blockpattern_key from the HEAL's Pattern-Key, suggested_rule from the Distilled Rule, recurrence fields from the entry metadatapromotion_ready: true when the promotion rule holds, and include the candidate in the output schema alongside simplify-and-harden-ci candidatessimplify-and-harden-ci to ingest
simplify_and_harden.learning_loop.candidatesself-healing-ci, whose HEALS.md Handoff blocks this skill consumes (see Heal Handoff Intake)self-improvement memory workflow for durable prevention rulesself_improvement_ci:
source:
pr_number: 123
commit_sha: "abc123"
candidates:
- pattern_key: "harden.input_validation"
source: "simplify-and-harden-ci"
recurrence_count: 3
first_seen: "2026-02-01"
last_seen: "2026-02-20"
severity: "high"
suggested_rule: "Validate and bound-check external inputs before use."
promotion_ready: true
summary:
candidates_total: 4
promotion_ready_total: 1
followup_required: truegh aw compile --validate --strictgh aw run self-improvement-ci --push