Maintain AI_Skills_Collection itself, including production plugin refinement contracts, source-first changes, generated parity, replay/regression gates, versions, changelogs, registry, catalog, marketplace, and profiles. Use only when the user is working on this repository or explicitly asks to maintain the central skill collection.
Resources
1Install
npx skillscat add yuukias/ai-skills-collection/ai-skills-repository-maintainer Install via the SkillsCat registry.
AI Skills Repository Maintainer
Use this skill only for maintaining AI_Skills_Collection. Do not use it for ordinary coding tasks in unrelated repositories.
Boundary
- Maintain source skills, profiles, README, registry, catalog, provenance, icon metadata, version/changelog metadata, and Codex App marketplace publication.
- Own AI_Skills formal release closure and the AI_Skills
releaseref producer path when a release task explicitly authorizes it. - Do not duplicate OpenAI system skills such as
skill-creator,skill-installer, orplugin-creator. - Do not use this as a domain skill. Frontend taste, PPT planning, bioinformatics retrieval, writing, and statistics live in their own plugins or official capabilities.
- Treat
.agents/plugins/marketplace.jsonandplugins/codex/plugins/as generated output. - Keep external source intake temporary, reviewed, and provenance-recorded.
Current-Machine Update Companion
When the user asks AI Skills Maintainer for a short machine update such as update presentations, update AI Skills, update Bridge Kit, or sync this machine, route the normal entry through machine-update-orchestrator.
This repository maintainer remains the owner for AI_Skills source/release production:
- source-first plugin/repository maintenance;
- generated parity;
- version/changelog/release closure;
- formal AI_Skills
releaseref advancement during formal release closure.
It does not replace the orchestrator's current-machine discovery, Marketplace bootstrap, route composition or fresh-session boundary. It also does not own Bridge distribution/version closure; that belongs to bridge-kit-maintainer inside the same ai-skills-core plugin.
Formal release scope expansion must come from the formal release ref and matching root CHANGELOG.md release entry, using an optional ### Update impact subsection. Absence of ### Update impact means isolated by default; component changelogs cannot independently broaden mutation scope.
Plugin Refinement Companion Mode
Use this mode whenever the current task maintains AI_Skills_Collection and will change a formal central plugin's production behavior, including changes to:
skills/;- plugin routing;
- runtime references or shared runtime;
- QA or regression behavior;
- generator or production scripts;
- Marketplace payload;
- profile exposure.
This mode is mandatory for production plugin refinement. It is a maintenance companion, not a second workflow engine and not a domain expert.
The installed plugin should be presented to users as AI Skills Maintainer; keep the internal plugin slug ai-skills-core unless a task provides strong compatibility evidence for a slug migration. Normal maintenance combinations are:
AI Skills Maintainer+Presentations;AI Skills Maintainer+Clear Writing;AI Skills Maintainer+Statistical Modeling.
The target plugin decides what is professionally correct. This maintainer decides whether the change is source-authoritative, generated, replayed, regression-tested, versioned, changeloged, and closed.
Task identity is a maintenance boundary. Use the workflow owner's canonical task-key contract; new Bridge / Reviewed Handoff tasks use semantic <scope-token>--<goal-token> keys, and legacy numbered keys are read/validate-only compatibility. Scope comes from the real repo/plugin/workflow boundary. Keep the human short label separate from the machine key, and do not add a display-title service or let a client/thread/sidebar title control branch names, results paths, or scheduled-review bindings.
Fixed flow:
- Identify the target plugin.
- Identify the domain owner plugin or official capability.
- Read the target plugin TODO, target plugin changelog, active source skill/reference/runtime/QA, Marketplace config, and version policy.
- Check whether the failure is an existing active-rule production regression, duplicate TODO,
PROJECT_LOCAL,CANDIDATE_GENERIC, or already solved. - Freeze the maintenance boundary: what repository contract changes, what stays out of scope, and which existing layer owns the change.
- Keep professional judgment with the domain owner.
- Modify source authority first.
- Regenerate the generated layer.
- Install or reload the real production plugin when production behavior changed.
- Replay the original real failure or a public-safe equivalent frozen by the task.
- Run the cheap deterministic regression bank first, then an unrelated regression for the target plugin or affected shared path, escalating to broad/full gates when shared runtime/schema/generator, routing, Marketplace/profile, artifact review, credential/paid path, or cross-plugin user-visible behavior changed.
- Close or update the target plugin TODO.
- Bump the affected plugin version exactly once when the completed release changes production behavior.
- Update the affected plugin changelog with before -> after behavior.
- Apply the repository release/version contract.
- Validate source/generated/version/release parity before reporting completion.
ai-skills-core does not judge:
- PPT scientific quality or slide visual hierarchy;
- statistical correctness;
- medical imaging semantics;
- bioinformatics scientific workflow;
- prose scientific meaning.
Those decisions must be handled by the target domain plugin or official capability. For example, a presentations refinement uses workflow-core for process, ai-skills-core for maintenance closure, and presentations for slide/deck judgment.
Before editing plugin source in this mode, verify whether the current Codex identity has the production plugin installed and enabled. When a task requires production evidence, use ai-bridge plugin-replay --plugin ai-skills-core@yuukias-ai-skills or the exact plugin id reported by codex plugin list; reading this repository's source SKILL.md is useful context but is not proof of production invocation.
When the refinement is responding to a real artifact failure, keep the maintenance owner separate from artifact judgment:
- record whether the failure is a
PROCESS PASS/ process-control failure,PRODUCT / ARTIFACT PASSfailure, or both; - ensure the Reviewed Handoff Plan/Reviewer has a real repo-safe artifact path, render, or Bridge Kit Text Review evidence locator when acceptance depends on artifact quality;
- do not accept CI, schema, protected-span, or Executor summary success as product/artifact PASS;
- if the final artifact cannot be read or viewed, the review condition is
WAITING_FOR_EVIDENCE / NEEDS_REVIEW, not PASS.
Private/text artifact review is owned by GPT_Codex_AI_Bridge_Kit Text Review. Do not implement another artifact transport or reviewer in AI_Skills_Collection; once Bridge Kit Text Review lands, consume its evidence and artifact identity in the maintainer/review contract.
Real regression case 044: a private rewritten_report.md was reported by the user to still contain reader-facing provenance, estimand, scientific gap, resource contract, and state of the art language that violated the frozen writing requirement, while review passed without reading the full artifact. Future maintenance of the same class must be blocked at the Reviewed Handoff artifact-aware review layer; this maintainer should route it there and should not rewrite the 044 scientific text.
Production Consumption Diagnosis
When an active rule, TODO promotion, source skill, or generated payload appears
to cover a failure but a real task still fails, diagnose the production
consumption path before adding another synonymous rule.
Check, in order:
- installed plugin identity and version;
- source/generated/Marketplace parity for the affected plugin;
- whether the normal user invocation loaded that installed payload;
- trigger and routing path into the expected skill or aggregate;
- task entrypoint, branch/ref, and current session context;
- whether the test or replay was faithful to the real failure surface;
- whether the executor ignored an active rule, the consumer was not routed, the
install was stale, or the capability itself is missing.
Classify the finding as missing_rule, not_loaded, stale_install,consumer_not_routed, unfaithful_test, execution_noncompliance, orcapability_gap. Reading a source-tree SKILL.md is not production invocation
evidence. A static string check or generated parity check can support diagnosis,
but it cannot by itself prove that the normal entry consumed the intended
behavior.
Workflow
- Read root
AGENTS.md,README.md,TODO.md,scripts/codex_marketplace_config.json,profiles/, relevant workflow docs, and relevant tests. - For Notion or GitHub intake, record the evidence boundary first: source page or repo, readable text/images/attachments, public-source verification, processing decision, target skill/reference, integration commit, and whether the external tracker has already been reconciled.
- Decide whether each external item is
merged,partially-merged,reference-only,reviewed-not-adopted,unresolved-asset, orrejected. Do not collapse several weak-evidence items into a singlemerge-selectedclaim. - Route domain judgment to the right domain plugin or official capability. This skill controls repository maintenance; it does not decide frontend taste, PPT content, bioinformatics workflows, statistics, or medical-imaging methods by itself.
- Edit source files first:
skills/,profiles/,docs/provenance/,docs/plugin-todos/,docs/plugin-changelogs/, tests, and public docs. - Regenerate derived registry/catalog/marketplace files only after source-layer changes are complete.
- Run repository validation gates with the local runtime Python when
pythonis not onPATH. - Commit after validation, then reconcile external trackers only if the user requested it.
- Report generated-layer changes separately from source-layer changes.
Continuous real-world refinement
When maintenance comes from a real project using an AI_Skills plugin, first read:
TODO.md
docs/workflows/CONTINUOUS_REAL_WORLD_SKILL_REFINEMENT.md
docs/PLUGIN_MATURITY.md
docs/plugin-todos/README.md
docs/plugin-todos/<target-plugin>.mdApply these rules:
- Project-owned research/product/code work stays in the project repo.
- A problem caused by an AI_Skills plugin should be recorded directly in the corresponding central plugin TODO, not duplicated into the project repo as a plugin TODO.
- A real project thread may add a minimal
status: NEWitem directly todocs/plugin-todos/<plugin>.mdwithsource,evidence,problem, andproject-specific context. - The project thread records the real failure; it does not decide the final generic rule or promotion status.
- Before triaging
NEW, compare against the current plugin TODO and active skill/reference/QA/runtime. Merge duplicate evidence instead of creating near-duplicate rules. - If an active rule already exists but real output still fails, treat it as a production regression and inspect the consumer/runtime rather than adding another synonymous rule.
- Map each production regression to existing gates unless it proves a distinct capability, evidence type, failure semantics, normal entry, or owner boundary. Gate split/new gate decisions must explain old/new coverage and where historical regression samples move.
- Gate merge or retirement requires preserving historical regression coverage, should-not-change examples, and release/maturity implications in the Plan, RESULT, TODO, changelog, or tests. Do not let a capability disappear because its old gate was not convenient in the current batch.
- Narrow release checks require a written isolation argument and should-not-change evidence. If the change touches shared runtime/schema/generator, routing/default prompts, marketplace/profile exposure, artifact review, credential/paid transport, or cross-plugin user-visible behavior, use broad/full fallback gates.
- Regression and review evidence for a release must come from the same final candidate; grader/eval/rubric repairs must be reported separately from product repairs.
- If the issue is only project-specific, mark
PROJECT_LOCALand do not promote it into active plugin behavior. - Only the AI_Skills Planner/maintainer may turn a
NEWitem intoCANDIDATE_GENERIC,PROMOTE_NOW,SUPERSEDED, orREJECTEDafter triage. - Do not promote every TODO into
SKILL.md. Freeze a promotion decision, target layer, boundary, real evidence, user-facing effect, and regression first. - Prefer modifying an existing routing/reasoning/rendering/QA/writing/distribution layer over creating another skill/schema/state.
- After promotion, replay the original real failure and run an unrelated regression. Synthetic checks alone do not prove maturity.
- Reviewed Handoff refinement should be bounded and batch-based. Do not keep a watcher alive to invent new work after the real blocker is closed.
- Repository release version, two-part plugin release version, and capability maturity are separate; do not change package or plugin versions merely to express alpha/beta/stable maturity.
- Maintenance-only TODO/provenance files must not be copied into generated user-facing plugin payload unless they are intentionally promoted runtime references.
Version and changelog discipline
Before changing any repository or plugin version, read:
AGENTS.md
docs/workflows/PLUGIN_VERSIONING_AND_CHANGELOGS.md
VERSION # when present after the 5.0 epoch
scripts/codex_marketplace_config.json
CHANGELOG.md
docs/plugin-changelogs/<target-plugin>.md
docs/plugin-todos/<target-plugin>.mdDo not infer a version bump from diff size, commit count, TODO count, test count, CI PASS, or maturity labels.
Mandatory rules:
- Repository / CLI uses three-part releases. Patch is the default compatible release; minor requires a new repository-level user capability; major requires a breaking repository contract.
- Individual plugins use independent two-part releases such as
0.1 -> 0.2 -> 0.3 -> 1.0. - Plugin version changes only when that plugin has a completed user-facing improvement batch with replay/regression/review evidence.
- If a bounded production plugin refinement changes user-facing behavior or workflow, passes its original-failure replay and unrelated regression, and is ready for delivery, bump that plugin exactly once in the same task. Do not leave the completed behavior change as
Unreleasedwith a deferred plugin version bump. - A single plugin release normally causes a repository patch release, not a repository minor release.
- A plugin reaching
1.0does not by itself cause a repository minor release. - Baseline replay, TODO/provenance/maintenance-only docs, tests-only changes, or no-runtime-behavior changes do not bump plugin versions.
- If the bump cannot be justified exactly under the canonical policy, choose
NO_BUMPand return to Planner/user.
Every release plan/result must state:
Repository bump decision: NONE | PATCH | MINOR | MAJOR
Reason: ...
Affected plugins:
- <plugin>: NO_BUMP | <old> -> <new>
Reason: ...Validation
Run the narrowest useful checks first, then the full gate before delivery:
python scripts/skills.py registry --write
python scripts/skills.py validate
python scripts/skills.py audit --all
python scripts/skills.py catalog --write
python scripts/build_codex_marketplace.py --write --validate --check --path-report
python -m unittest discover -s testsFor a formal release, also require relevant install/upgrade smoke, version/changelog/README consistency, generated-layer parity, and required GitHub CI.