experience-ops

experience-ops is a skill for Claude Code, Codex from jianchen08/Agent-os-open. It costs 74 tokens per session (1,388 once invoked), scanned A, original, Apache-2.0.

An experience-data operations tool that turns past task traces and review reports into structured episodes, checks their quality, and summarizes campaign learning results.

In plain words
What is it for?
Use it to build and validate experience datasets, align review step credits with trace steps, and produce campaign reports with averages, final results, changes, trends, and cost.
Why use it?
It reduces manual work when preparing reliable training or evaluation data from historical agent runs. It also helps catch missing reviews, duplicates, data leakage, schema errors, and mismatched credit assignments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build and validate experience datasets, align review step credits with trace steps, and produce campaign reports with averages, final results, changes, trends, and cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jianchen08/agent-os-open/experience-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jianchen08/Agent-os-open --skill experience-ops
Clone the repo
git clone --depth 1 https://github.com/jianchen08/Agent-os-open

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for experience-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/jianchen08/agent-os-open/experience-ops/github.svg)](https://agentmods.dev/skills/jianchen08/agent-os-open/experience-ops)
Your own site
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/experience-ops"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/experience-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for experience-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/experience-ops"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/experience-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01388
Opus 5.5 $0.00030 $0.00555
Sonnet 5.5 $0.00015 $0.00278
Haiku 4.5 $0.00007 $0.00139

Measured 9d ago against content hash a417a8e1081d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

experience-ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/experience_build.py, scripts/experience_lib.py, scripts/learning_curve.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/experience-ops/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

经验数据运维

用途

把「任务执行 traces + 复盘报告」转成 agentos.experience.v1 episode,做质量校验,并聚合学习曲线评测报告。

何时使用

  • 需要从历史任务生成经验轨迹集;
  • 需要校验经验集的 schema / 复盘覆盖 / 去重 / 泄漏 / 校准;
  • 需要把复盘报告的 step_credits 对齐到 trace 步骤;
  • 需要把 campaign 的逐 trial 结果聚合成 Avg / Final / Δ / slope / cost。

不适用

  • 在线任务执行中的实时记忆检索 → 用 memory 工具;
  • 触发复盘 → 用主 agent 的 review_ops;
  • 派发评测任务 → 用主 agent 的 task_submit;
  • 经验入库 → P1 才接 hindsight(当前 ingest 显式失败)。

前置

  • Python 3.11+,仅标准库;
  • 读库经 scripts/kernel_db_query.py(临时快照),禁止直连活库;
  • 默认固定执行空间 reports/eval/experience_ops/,可用 --root 或 AGENTOS_EXPERIENCE_OPS_DIR 覆盖;
  • 复盘报告本体在被复盘任务的工作空间 docs/working/reviews/{review_id}.json,只读引用。

输入 / 输出

输入:

  • task_id 清单(DB 模式可省略,按 --since 全量筛);
  • 复盘报告(step_credits);
  • 可选 --from-json bundle 文件(测试/离线导入)。

输出(--root 下):

  • datasets/<suite>/<run_id>/raw.jsonl:原始 bundle
  • datasets/<suite>/<run_id>/normalized.jsonl:credit 暂空
  • datasets/<suite>/<run_id>/episodes.jsonl:最终经验集
  • datasets/<suite>/<run_id>/manifest.json:质量闸与计数
  • datasets/<suite>/latest:最新 run 指针
  • campaigns/<run_id>/report.{json,md}:学习曲线报告
  • datasets/<suite>/<run_id>/offline_auc.json:留一验证结果

流程

  1. 确认执行空间:OPS="${AGENTOS_EXPERIENCE_OPS_DIR:-reports/eval/experience_ops}"。
  2. 构建:python skills/experience-ops/scripts/experience_build.py build --root "$OPS" --suite <suite> [--since YYYY-MM-DD] [--from-json <file>]。
  3. 看 manifest.json 的 quality_gates;未全绿按失败分支处理。
  4. 离线验证:python skills/experience-ops/scripts/learning_curve.py offline --root "$OPS" --suite <suite> [--min-auc 0.6]。
  5. 聚合 campaign:python skills/experience-ops/scripts/learning_curve.py report --root "$OPS" --run <run_id>。
  6. 完成判据:manifest.json 中 quality_gates.all_passed=true,且 offline 的 AUC ≥ 0.6(弱信号即可)。

脚本

  • scripts/experience_build.py:harvest / normalize / credit / validate / build / ingest;--help 看参数。
  • scripts/learning_curve.py:report 聚合、offline 留一 AUC;不派发任务。
  • scripts/experience_lib.py:纯函数库(归一/回报/质量闸/AUC),不直接运行。

失败分支

  • 复盘缺失或未完成:该 episode 的 credit.review_score=null,不阻塞其他 episode;覆盖率闸会失败。
  • schema 非法:validate 退出码 2,输出 schema_errors;按字段路径修。
  • 库读取失败:kernel_db_query.py 非零退出;改用只读 db 端点或 --from-json。
  • 输出过大:脚本只写摘要计数到 stdout,明细在文件。
  • ingest:退出码 4,提示 P1 未实现;不要把它当成功。

Read the full file on GitHub · 92 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 92 lines · 74 tokens per session scan A a417a8e1081d

Subscribe to this mod's changes

experience-ops is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed 9d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,388 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.

Related

experience-ops compared with skills from other repositories

experience-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
experience-opsjianchen08/Agent-os-openSkill89d agoApache-2.0A74Claude Code, Codex
background-taskvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA62Claude Code
agent-toolvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA66Claude Code
frontend-featurevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA64Claude Code
pytest-suitevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA59Claude Code
rag-knowledgevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA76Claude Code
alembic-migrationvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA56Claude Code