learn

GitHub

分析历史验证判决数据,挖掘重复失败模式并生成建议性确定性检查规则。作为独立旁路工具,用于从过往经验中提取可复用知识,辅助人工评估与流程优化。

skills/learn/SKILL.md boshu2/agentops

Trigger Scenarios

learn from verdicts mine validation history

Install

npx skills add boshu2/agentops --skill learn -g -y
More Options

Use without installing

npx skills use boshu2/agentops@learn

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill learn -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "learn",
    "consumes": [
        "verdict.v2"
    ],
    "metadata": {
        "tier": "execution",
        "effects": [
            "write_advisory_observations"
        ],
        "graph_root": false,
        "disposition": "keep_off_path",
        "capabilities": [
            "analyze_verdict_collections"
        ],
        "dependencies": [],
        "canonical_status": "canonical"
    },
    "produces": [
        "learning-observations"
    ],
    "practices": [
        "continuous-learning",
        "evidence-based-engineering"
    ],
    "context_rel": [
        {
            "kind": "customer-of",
            "with": "validate"
        }
    ],
    "description": "Optionally analyze collections of durable verdicts for recurring evidence after the critical path. Triggers: \"learn from verdicts\", \"mine validation history\".",
    "hexagonal_role": "supporting",
    "user-invocable": true,
    "output_contract": "advisory learning observations",
    "skill_api_version": 1,
    "disable-model-invocation": true
}

Learn

Learn is an optional, off-path consumer of durable verdict.v2 collections. It may summarize recurring evidence and propose a candidate deterministic check for later human or caller evaluation.

Prompt

Mine .agents/ao/verdicts/ for recurring patterns across the last 20
verdict.v2 records in agentops-wt/train2-c. I want candidate deterministic
checks for anything that shows up as a repeated NOT_PROVEN or FAIL cause,
with digests cited so I can trace each observation back.

It's working if

Observable in the trace, without reading the prose:

  • Every observation binds a verdict.v2 digest and a finding id from .agents/ao/verdicts/.
  • A NOT_PROVEN or FAIL verdict pair is harvested before a PASS-only pattern.
  • A citation that no longer resolves under .agents/ao/verdicts/ is pruned rather than paraphrased.
  • Output written to .agents/scratch/learn/ is labeled advisory and TTL'd, not a source of record.

Contract

Learn does not run during RPI, validate a subject, alter a verdict, mutate a plan, promote a rule, choose continuation, or mint lifecycle artifacts. Missing Learn output never changes whether a candidate is valid.

When invoked, bind every observation to verdict and finding digests, distinguish repeated objectives from repeated reviews of one objective, disclose the sample size, and stop at advisory evidence.

Inspect informative failures first, but verdict color alone establishes neither learning value nor a missing rule. Cite the live hypothesis falsified or the uncertainty resolved, distinguish pre-existing discovery from introduced regression, and retain unknown causes as unknown. Repetition may justify causal examination; it does not prove that the design was wrong or require a new gate. The mutating-check quarantine in skills/validate/SKILL.md is an example grounded in a specific subject-mutation incident and a NOT_PROVEN-then-PASS pair.

Knowledge is revisable. Preserve evidence and provenance when retracting an unsupported or stale belief; artifact accumulation is not a monotonic increase in truth or utility. Negative, null, and contradictory results remain visible.

A repeated finding class may support a check proposal only when causal evidence identifies a preventable defect and a concrete consumer needs that check. Name the exact behavior the check would refuse and why existing checks missed it; two sightings alone do not justify a gate. The proposal is advisory text for a human or caller to weigh; Learn never edits a gate, registry, or check script, and learning never changes a completed verdict or selects another experiment.

Prune for provenance decay: every cited artifact must still resolve — the file exists or the verdict digest is present under .agents/ao/verdicts/. A citation that no longer resolves gets pruned rather than paraphrased, and confidence in a lesson that has not been reproduced since its source decayed goes down, not sideways.

When the caller asks for a durable artifact, write the observations under .agents/scratch/learn/ and return the path; otherwise return them inline. The write is advisory and TTL'd — it is never a source of record, and its absence never changes whether a candidate is valid.

Version History

  • 8061085 Current 2026-09-09 05:22

    新增提示词示例、明确输出需绑定摘要ID及发现ID、强调区分重复目标与重复审查、补充证据衰减修剪逻辑及样本量披露要求。

  • d9f9c50 2026-08-27 19:48
  • 7b07a7d 2026-08-19 22:06

    清理失效引用,更新示例为有效规则,明确可选输出路径,强化溯源衰减逻辑。

  • 3f402e5 2026-07-24 22:12

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/crank/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/human-only-skills/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/one-way-door/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/route/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/skill-eval/SKILL.md
images/gemini/skills/standards/SKILL.md
images/gemini/skills/status/SKILL.md

Metadata

Files
0
Version
8061085
Hash
adc13545
Indexed
2026-07-24 22:12

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 20:14
浙ICP备14020137号-1 $お客様$