learning-aggregator-ci
БесплатноБез исполняемых скриптовНе проверен[Beta] CI-only learning aggregation workflow using gh-aw (GitHub Agentic Workflows). Scans .learnings/ files on a schedule, groups entries by pattern_key…
от pskoett★ 343 звезды на GitHubОб этом скилле
Learning Aggregator CI
Install
gh skill install pskoett/pskoett-skills learning-aggregator-ci
For interactive sessions, use:
gh skill install pskoett/pskoett-skills learning-aggregator
Fallback using the Agent Skills CLI:
npx skills add pskoett/pskoett-skills/skills/learning-aggregator-ci
npx skills add pskoett/pskoett-skills/skills/learning-aggregator
Purpose
Runs the outer loop's inspect step in CI. Reads accumulated .learnings/ files, groups entries by pattern_key, computes cross-session recurrence, and produces a ranked gap report — all without human interaction.
The interactive learning-aggregator skill is designed for in-session use where the user can review and act on findings immediately. This CI variant runs on a schedule (weekly, per-sprint, or on-demand) and posts its findings as a GitHub issue comment for async review.
Context Limitation (Important)
CI agents do not have session context. They cannot see what the user is currently working on or what task area is relevant. The CI variant scans all .learnings/ entries without relevance filtering. The gap report is comprehensive rather than targeted.
Prerequisites
- GitHub Actions enabled on the repository
ghCLI authenticated with repo accessgh-awextension installed (gh extension install github/gh-aw, v0.40.1+).learnings/directory with structured entries fromself-improvement
CI Contract
Hard rules for headless execution:
- Read-only — do not modify
.learnings/files, project instruction files (CLAUDE.md, AGENTS.md, .github/copilot-instructions.md), or any repo files - Headless — no interactive prompts, no approval gates
- Structured output — emit findings as YAML under
learning_aggregator_cikey - Single comment — post one consolidated comment per run, not per finding
- Deterministic — same
.learnings/state produces the same gap report
Authoring Workflow (gh-aw)
- Copy
references/workflow-example.mdinto.github/workflows/learning-aggregator-ci.md - Customize the schedule for your cadence (supports fuzzy schedules like
weekly on mondays) - Validate:
gh aw compile(optionally add--actionlint --zizmorfor full security scan) - Push to enable
Persistence and Chaining
cache-memory:stores aggregation state (pattern groups, recurrence counts) across runs. Survives up to 90 days in Actions cache. Avoids re-scanning unchanged entries on every run.call-workflow:triggerseval-creator-ciafter aggregation completes to create evals from newly promoted patterns. Compile-time fan-out with proper dependency wiring.upload-artifact:persists the gap report YAML for consumption by downstream workflows or human review.
Cache state must declare aggregation schema provenance-v1 and retain canonical occurrence
fingerprints, stable task lineage, and terminal-event boundaries. Ignore and rebuild any cache that
omits this version or uses an older aggregation schema; aggregate counts from the pre-deduplication
contract are not a valid baseline.
Workflow Rules
The CI agent follows these rules in order:
- Read all files in
.learnings/:LEARNINGS.md,ERRORS.md,FEATURE_REQUESTS.md,HEALS.md - Parse each entry's metadata:
Pattern-Key,Recurrence-Count,First-Seen,Last-Seen,Priority,Status,Area,Related Files,Tags, and optional provenance fieldsTask-ID,Session-ID,Occurrence-ID,Source-Ref,Copied-From. For HEAL entries, also parseTrigger,Active-Context, and anyHandoffblock - Before grouping, collapse copies with the same entry ID/content or occurrence ID across repo locations, mirrors, forks, forwards, and cloud/local sources. When explicit occurrence IDs are absent, use task/session/source lineage and normalized evidence. Different paths are not independent evidence
- Group canonical occurrences by
Pattern-Key(exact match only — no fuzzy grouping in CI) - For each group: count deduplicated recurrences, count distinct tasks from stable provenance, compute the time window, and collect evidence. A legacy entry without stable task/session lineage contributes its declared recurrence once but all unknown-lineage evidence counts as at most one distinct task
- Flag entries without
Pattern-Keyas ungrouped - Treat
promoted,promoted_to_skill,resolved, andwont_fixas terminal for their recorded occurrence. Keep terminal-only groups as history, not promotion candidates. Reopen only for newer active evidence after the latest terminal event; a prior Handoff alone does not re-promote the pattern - Classify each actionable group's gap type: knowledge gap, tool gap, skill gap, ambiguity, or reasoning failure
- Rank groups by: promotion-ready first, then approaching threshold, then by priority (critical > high > medium > low)
- Emit structured YAML under key
learning_aggregator_ci - Post gap report as a comment
Установить learning-aggregator-ci в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл learning-aggregator-ci?
[Beta] CI-only learning aggregation workflow using gh-aw (GitHub Agentic Workflows). Scans .learnings/ files on a schedule, groups entries by pattern_key, identifies promotion-ready patterns, and posts a gap report as a PR or issue comment. Use when: you want automated cross-session pattern detection in CI/headless pipelines without interactive prompts. For interactive use, use learning-aggregator.
Как установить скилл learning-aggregator-ci?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл learning-aggregator-ci запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic