executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
lov-feedback-loop把用户对 Agent 的被动情绪与主动点赞、点踩、评分变成可统计的反馈事件, 按任务、技能、规则、全局 Prompt 的最小作用域迭代,并生成满意度复盘报告。 Use when the user rates a run, asks for satisfaction stats, or installs the feedback loop into another agent.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: lov-feedback-loop description: > 把用户对 Agent 的被动情绪与主动点赞、点踩、评分变成可统计的反馈事件, 按任务、技能、规则、全局 Prompt 的最小作用域迭代,并生成满意度复盘报告。 Use when the user rates a run, asks for satisfaction stats, or installs the feedback loop into another agent. license: MIT compatibility: "Portable Agent Skills format. Python 3.8+ standard library only; PyYAML only for validation." depends_on:
四个用户可见的入口:评价、回扫、复盘、接入。
自动链路(情绪感知 → 落账 → 规则迭代)不经过 skill 路由,由根 Prompt 的
反馈与迭代规则加上 references/protocol.md 直接驱动;本 Skill 提供主动入口,
同时为自动链路提供协议与脚本。
👍、👎、❤️、🎉、🤔、“这次我给 4 分”、“rate this run”。| 入口 | 做什么 | 脚本 |
|---|---|---|
| 评价 | 表情、短评、打分归一成事件,回一行收据 | scripts/feedback_store.py append |
| 回扫 | 从会话 JSONL 提取用户消息,供判定 | scripts/scan_session.py |
| 复盘 | 趋势、未闭环清单、修复时长 | scripts/report.py |
| 接入 | 托管块 + 技能链 + 账本,先 dry-run | scripts/install_feedback_loop.py |
判定口径、作用域阶梯与状态机见 references/protocol.md, 字段定义见 references/store-schema.md, 宿主路径见 references/host-adapters.md。
~/.feedback-loop/,可用 FEEDBACK_LOOP_HOME
或 --store 覆盖(--store 写在子命令前后都可以)。confidence 小于 1;强度 1–2 只在形成
重复模式时落账。scripts/scan_session.py --file <会话 JSONL> --last 40,
再对提取出的用户消息做判定。python3 scripts/feedback_store.py append \
--channel explicit --polarity positive --intensity 5 --kind delight \
--confidence 0.95 --evidence "👍 做得很棒" \
--host codex --session-id <会话 id> --scope task
task-specific 还是 reusable;任务特定只改当前产物。task → skill → reference → root-prompt 找最窄作用域;
最小改动清单见协议。change-applied 或 verified。verified 视为闭环;未完成写 change-proposed 并给出复查条件。python3 scripts/feedback_store.py update \
--event-id <事件 id> --status verified \
--action "<做了什么>" --verification "<怎么回读>"
python3 scripts/report.py --since 30d --out <输出目录> --json
交付 Markdown 与自包含 HTML,回读 total、unresolved、satisfaction 三个数字。
默认不自动打开浏览器。
python3 scripts/install_feedback_loop.py --host codex --dry-run
python3 scripts/install_feedback_loop.py --host codex
--copy。python3 scripts/feedback_store.py verify
python3 scripts/validate_skill.py .
| 用户输入 | polarity | intensity | kind |
|---|---|---|---|
👍、做得很棒、好耶 | positive | 4 | praise |
❤️、🎉、🔥、完美、就是这个 | positive | 5 | delight |
👌、没问题、通过 | positive | 3 | approval |
🤔、还行、一般、勉强 | mixed | 3 | lukewarm |
👎、不行、不对 | negative | 4 | dissatisfaction |
💩、😡、太差了、气死 | negative | 5 | anger |
| 又错了、还是老问题 | negative | 4 | repeat_complaint |
| 改一下这里:具体内容 | negative | 3 | correction |
| n/5 或“打 n 分” | 1–2 负、3 混合、4–5 正 | max(n,3) | 按极性给 dissatisfaction、lukewarm、praise、delight |
收据用简体中文、不用 emoji、不加感叹,一行说清记录、作用域与下一步。
本 Skill 通过 skill.yaml 读取共享 user-profile/v1:用户、品牌、工作区、偏好与
skills.lov-feedback-loop。用户直接说出的长期偏好,用
scripts/profile_store.py record --confirm 写回并报告保存路径;不写入凭据。
scripts/validate_skill.py)。