本文へ移動
cccskills
無料GitHub で公開

skill-system-governance

Audit and optimize a skill system with evidence. Use for skill architecture, token or context waste, role and prompt boundaries, routing hits or misfires, plugin packaging, registry/docs/source drift, duplicate workflows, or deciding whether a reusable change belongs in a skill. Runs deterministic checks first and applies only authorized, minimal fixes.

インストール方法を見る

含まれるファイル(8)

  • SKILL.md5.6 KB
  • agents/openai.yaml291 B
  • references/audit-dimensions.md4.8 KB
  • references/local-observation.md9.3 KB
  • scripts/audit_skill_system.py9.1 KB
  • scripts/install_workflow_observation.py10.0 KB
  • scripts/record_workflow_evidence.py8.2 KB
  • scripts/workflow_observation.py16.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Skill System Governance

Overview

Treat the skill system as a maintained product: measure discoverability, routing, context cost, ownership, generated bundles, documentation, and validation before changing it. This skill is the standard workflow for the existing 技能维护 role; it does not create another role.

When invoked, start with the baseline audit. Do not ask the user to choose a checklist and do not assume that every review must produce a change.

Default Workflow

1. Establish The Baseline

  • Read repository instructions, git status, registry/package ownership, and the relevant role/skill contracts.
  • Keep this phase read-only.
  • Run the deterministic quick audit from the repository root:
python skills/skill-system-governance/scripts/audit_skill_system.py --repo . --mode quick
  • Read references/audit-dimensions.md only for the dimensions relevant to the task.
  • If the request depends on current OpenAI model, prompt, plugin, or Codex behavior, verify it against current official documentation. Do not browse by default for repository-local drift.

2. Add Runtime Evidence When Available

Static checks prove structure, not runtime selection quality. When the user supplies observed routing decisions or callback artifacts, run:

python skills/skill-system-governance/scripts/audit_skill_system.py \
  --repo . --mode quick \
  --observed path/to/observed-routing.jsonl \
  --callbacks path/to/callback-a.md \
  --callbacks path/to/callback-b.md

Without those artifacts, report routing accuracy and skill-hit rate as not_evaluable. Never convert self-reported callbacks into observed router accuracy or claim a percentage from chat memory.

For explicitly authorized local lifecycle observation, read references/local-observation.md and use the opt-in installer. It preserves existing hooks and requires native hook trust; metadata snapshots do not prove skill selection, task quality, or membership savings.

3. Produce A Verdict Before Editing

Choose one primary verdict:

  • no-change: evidence does not justify a change.
  • docs-only: implementation is sound but discoverability or guidance drifted.
  • routing: trigger descriptions, role ownership, eval cases, or package selection need correction.
  • contract-script: repeated ambiguity needs a deterministic field, enum, guard, or validator.
  • package: Core/domain boundaries or context budgets need adjustment.
  • consolidate-deprecate: duplicate or obsolete workflows should merge, downgrade, or retire.

Order findings by severity and leverage. For each finding, include evidence, causal mechanism, smallest useful change, and a validation path. Separate measured facts from inference.

4. Apply Only Authorized Minimal Changes

If the user asked only for an audit, stop after the verdict and recommendations. If the user authorized optimization:

  1. Edit canonical files under skills/, registry/, docs/, evals/, or scripts/.
  2. Do not edit generated plugins/*/skills/ copies directly.
  3. Prefer one causal fix over adding repeated prose to several prompts.
  4. Add or update deterministic tests before broad documentation changes.
  5. Run python scripts/sync_plugin_bundles.py --write after canonical changes.
  6. Run the full audit:
python skills/skill-system-governance/scripts/audit_skill_system.py --repo . --mode full
  1. Follow repository commit and PR rules. Keep generated bundles in the same PR as their canonical source.

Governance Boundaries

  • Do not create a new skill from one anecdote. First decide whether the issue belongs in an existing skill, a role contract, a script, project-local instructions, or nowhere.
  • Do not move domain capability into Core merely to make it easier to discover. Core contains cross-domain routing and governance only.
  • Do not load the full skill catalog when registry metadata and a scoped reference are enough.
  • Do not duplicate a workflow in role prompts. Role cards should route to the owning skill.
  • Do not place project-local state such as .codex/role-windows.md into the shared repository.
  • Do not treat longer prompts, more roles, or more checks as automatic improvements. Every added instruction needs a failure mode it prevents.
  • Do not mutate user installations, plugin caches, or external upstream sources during a repository audit unless separately requested.
  • Preserve provenance and public-safety rules. Never add machine paths, secrets, private logs, cookies, or project data.

Default Output

**Verdict**
no-change / docs-only / routing / contract-script / package / consolidate-deprecate

**Evidence**
- Deterministic checks:
- Runtime evidence:
- Not evaluable:

**Findings**
| Priority | Finding | Evidence | Smallest Change | Validation |
|---|---|---|---|---|

**Decision**
- Apply now / defer / no change
- Scope and non-goals

**Verification**
- Commands and results

**Residual Risk**
- Remaining uncertainty

Keep a clean audit concise. Expand only findings that change a decision.

Resources

  • scripts/audit_skill_system.py: deterministic read-only quick/full audit and optional runtime-evidence aggregation.
  • references/audit-dimensions.md: scoped architecture, routing, Token, packaging, lifecycle, and documentation review criteria.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Route CEO-first multi-window work into owner-led role loops. Use for 总控/CEO、架构/CTO、内容主编、角色派发与复用、模型路由、来源窗口回调、role-windows 台账、skill 命中统计或 multi-window loop engineering。

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

Read-only first workflow for diagnosing application incidents by collecting service, log, network, configuration, and functional evidence before proposing any fix.

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

Run user-authorized black-box web security tests and evidence-based reports. Use for 黑盒安全测试、渗透测试、数据泄露、未授权访问、公开 JS/API、登录爆破防护、CORS 或安全响应头检查。

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

Choose the narrowest reliable browser surface across Codex Browser, signed-in Chrome, Playwright CLI, and platform scripts. Use for browser automation, logged-in workflows, UI inspection, screenshots, form filling, publish previews, or frontend QA.

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

提议并执行 rubric 或 bucket 升级。两种模式:**完整 rubric bump**(最高风险动作,5 步强制 + 跨模型审核)和 **--bucket-only 轻量重校**(只换 bucket 边界,不动 rubric 公式)。**Phase 2 强制走 cheat-score-blind sub-agent 给校准池重打分**——不接受 self-scored fallback。触发词:"升级 rubric"/"bump rubric"/"更新公式"/"我想加一个维度"/"调整权重"/"重校桶"/"recalibrate bucket"。

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

初始化 cheat-on-content 内容校准工作区。仅在用户明确开始该工作流,或其子 skill 确认缺少 .cheat-state.json 时使用;不响应一般项目初始化、安装诊断或 Codex 首次会话。

日本語の概要は準備中です。原文の説明を表示しています。

Dirtytrii/codex-skills112026年10月9日 更新

Dirtytrii のスキルをすべて見る

このスキルの問題を報告する