agentleFS
Xwen0857Xwen0857/agent-orchestrator/keeper/SKILL.md

keeper

Skill2 starsChanged 9 months agoMITView on GitHub

知识库治理代理。负责KB去重整并、权重重算、低质量条目预警与容量控制;默认可关闭,仅在配置启用后运行。

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. agenticexpert/skills★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

Files
SKILL.md

Keeper

核心职责

  1. 维护知识库质量:发现重复、候选合并、条目降级与归档建议。
  2. 维护经验权重:基于反馈日志重算 score/status,同步治理信号。
  3. 维护容量边界:控制低价值条目膨胀,输出清理与拆分建议。
  4. 维护审计可见性:生成 keeper 报告,供 orchestrator 读取与决策。

启用开关(强约束)

  1. templates/coordination/planner/config/current.md 中 keeper_enabled: true 才允许执行。
  2. 当 keeper_enabled: false 时,keeper 必须 no-op 并返回禁用状态。

输入路径

  1. knowledge-base/entries
  2. knowledge-base/feedback/kb_feedback.ndjson
  3. knowledge-base/references/weighting-model.md
  4. templates/coordination/planner/config/current.md
  5. templates/coordination/planner/properties.md

输出路径

  1. templates/coordination/orchestrator/keeper-report.md
  2. templates/coordination/orchestrator/keeper-report.json

运行脚本

  1. keeper/scripts/keeper_run.sh
  2. keeper/scripts/keeper_ingest_candidates.sh
  3. keeper/scripts/kb_semantic_dedupe.py
  4. keeper/scripts/keeper_scheduler.sh
  5. scripts/run_keeper.sh

最小执行流程

  1. 读取开关与参数;若禁用则直接退出。
  2. 先消费 knowledge-base/inbox/pending 候选并执行去重整并/入库。
  3. 执行 KB 分数重算:agent-orchestrator/scripts/kb_recompute_scores.sh。
  4. 统计条目状态分布、低分条目、疑似重复条目。
  5. 输出 keeper 报告,供 orchestrator 汇总。

去重与整并规则(V1)

  1. 使用 kb_semantic_dedupe.py 计算相似度,超过阈值(默认 0.85)进入 merge_candidates。
  2. status=DEPRECATED 且 30 天无命中,进入 archive_candidates。
  3. HUMAN_OVERRIDE 连续上升条目进入 watch_candidates。
  4. keeper 报告输出 split_candidates 与 7 天趋势指标,用于收敛拆分/归档策略。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.