Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
bd161c8
feat(agent-coding): add factory page Codex-Astra编排控成本-umbrella
joesmart Sep 17, 2026
93b8a09
feat(agent-coding): add factory page Codex-技能插件中文化整理-RealYDT
joesmart Sep 17, 2026
cbe483b
feat(agent-coding): add factory page Codex-长对话上下文清理摘要-goan
joesmart Sep 17, 2026
915607c
feat(image-gen): add factory page GPTImage25-像素变身SpriteSheet5x6
joesmart Sep 17, 2026
0e4f5bd
feat(image-gen): add factory page GPTImage25-列车乘务员3x3抓拍拼贴
joesmart Sep 17, 2026
dd22e1a
feat(image-gen): add factory page GPTImage25-粘土小火龙定格36帧
joesmart Sep 17, 2026
832d6c1
feat(image-gen): add factory page GPTImage25-行星级汉服巨人模板
joesmart Sep 17, 2026
bfcca06
feat(image-gen): add image GPTImage25-像素变身SpriteSheet5x6-B.png
joesmart Sep 17, 2026
b85069f
feat(image-gen): add image GPTImage25-像素变身SpriteSheet5x6-MAIN.png
joesmart Sep 17, 2026
025257a
feat(image-gen): add image GPTImage25-列车乘务员3x3抓拍拼贴-B.png
joesmart Sep 17, 2026
8599403
feat(image-gen): add image GPTImage25-粘土小火龙定格36帧-B.gif
joesmart Sep 17, 2026
d900503
feat(image-gen): add image GPTImage25-粘土小火龙定格36帧-B.png
joesmart Sep 17, 2026
f8b10d0
feat(image-gen): add image GPTImage25-行星级汉服巨人模板-B.png
joesmart Sep 17, 2026
7a74aa3
docs(image-gen): append text3+image4 batch (21 total)
joesmart Sep 17, 2026
897a791
docs: add 已出厂(2026-09-17 批) agent-coding×3 + image-gen×4
joesmart Sep 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,30 @@
索引:[`prompts/image-gen/README.md`](prompts/image-gen/README.md)


## 已出厂(2026-09-17 批)

agent-coding ×3 + image-gen ×4。文本按 v3 读者路径出厂;图片线每页 = 清理后的评测报告,**内嵌评测成图**(像素变身 synthetic 含 MAIN + B)。**没跑过 = 不出厂。**

### prompts / agent-coding

| 文件 | 一句话 |
| --- | --- |
| [`Codex-技能插件中文化整理-RealYDT`](prompts/agent-coding/Codex-技能插件中文化整理-RealYDT.md) | 扫本地技能/插件英文显示改中文,缺 openai.yaml 也补 |
| [`Codex-Astra编排控成本-umbrella`](prompts/agent-coding/Codex-Astra编排控成本-umbrella.md) | 事件等待 + Luna 委派,停掉分钟级心跳 |
| [`Codex-长对话上下文清理摘要-goan`](prompts/agent-coding/Codex-长对话上下文清理摘要-goan.md) | 长会话清成六段可续跑摘要 |

### prompts / image-gen

| 文件 | fixture_source |
| --- | --- |
| [`GPTImage25-列车乘务员3x3抓拍拼贴`](prompts/image-gen/GPTImage25-列车乘务员3x3抓拍拼贴.md) | official |
| [`GPTImage25-像素变身SpriteSheet5x6`](prompts/image-gen/GPTImage25-像素变身SpriteSheet5x6.md) | synthetic_codex |
| [`GPTImage25-行星级汉服巨人模板`](prompts/image-gen/GPTImage25-行星级汉服巨人模板.md) | official |
| [`GPTImage25-粘土小火龙定格36帧`](prompts/image-gen/GPTImage25-粘土小火龙定格36帧.md) | official |

索引:[`prompts/image-gen/README.md`](prompts/image-gen/README.md)


## 一句话

全渠道就这一句,别自己编:
Expand Down
83 changes: 83 additions & 0 deletions prompts/agent-coding/Codex-Astra编排控成本-umbrella.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
title: Astra 编排控成本:事件等待 + Luna 委派,停掉分钟级心跳
category: agent-coding
source: https://x.com/umbrella_uni/status/2098758114400997663
ran_on: prompt-lab / agy+Codex
ran_at: 2026-09-16
model: gemini-3.8-flash-high (agy); gpt-6-astra medium (codex)
input_status: note_verbatim_main
excerpt_a: runs/ab/batch-search0915pm/umbrella-A.md
excerpt_b: runs/ab/batch-search0915pm/umbrella-B.md
gate_complete: true
gate_traceable: true
gate_safe: true
gate_one_pass: true
---

# Astra 编排控成本:事件等待 + Luna 委派,停掉分钟级心跳

同 fixture 下,裸跑会出基线审计;目标 Prompt 把「给现有 Luna 完整工作流、事件驱动等待、禁短心跳、简洁报告、前后 token 对比」写成可落地方案。

## 原始问题

Astra 父协调器每分钟唤醒查进度、倾倒全量日志,30 分钟 +180k tokens。要在不破 scope/锁/审批边界下控成本。

## 给模型的输入

```text
工作目录:scratch-umbrella/{a|b|c}(REPORT-ONLY;禁止启动真实 subagent/worker)
fixture:orchestration/scenario.md · workers.json · logs/parent-token-before.txt
边界:不改真实 Astra/Luna 运行时;不声称已实测节省除非有 after 日志
报告:runs/ab/batch-search0915pm/umbrella-{A|B|B-codex}.md
```

## 复制这条 Prompt

把上面的输入和下面这段 Prompt(源帖原文)放进同一条消息,再发送。

```text
Additional orchestration cost control:

Apply this now and preserve it through handoffs and compaction. Give existing Luna Max workers complete operational workflows, including execution, testing, polling, verification, and routine recovery. Use one existing Luna coordinator for worker/reviewer handoffs and already-authorized next steps. Preserve scope, locks, serialization, and approval boundaries.

Astra must not wake every minute to check progress. Use event-driven waiting that returns on meaningful worker results or user input. Where only timed event waits exist, use the longest permitted wait that remains interruptible by those events—not short heartbeat intervals. A timeout alone is not a reason to request status, reread logs, or say “still waiting.”

Do not end a turn merely to announce waiting if a persistent goal immediately restarts it. Workers should progress independently within their authorization and report completed milestones, actionable blockers, or exceptions requiring intervention.

Keep reports concise: outcome, evidence paths, blocker, and decision needed. Avoid full logs, duplicate verification, and unchanged-status messages. Cached context still consumes usage; short responses do not necessarily mean cheap calls.

Verify actual behavior: instruction received, execution delegated, long/event waits active, and repeated status-only model calls stopped. Compare parent token consumption over time before and after. A queued instruction is not an applied fix, and an unchanged rounded usage percentage does not mean zero consumption.

If runtime constraints prevent suspension, identify the exact limitation and required control change. Do not claim success or guaranteed savings. Do not create another frequent model-driven monitoring loop to check this one.
```

## 跑完会差在哪

### A:裸跑

> 基线审计:28 次状态轮询 / +180234 tokens / 60s 心跳 / 0 事件等待;根因与委派缺口写清。偏诊断,弱「apply now + verify after」。

### B:加上 Prompt

> 按 MAIN 落「Luna 完整工作流 + luna-coord-1 交接 + 事件等待 + 简洁报告」;明确 REPORT-ONLY;给验证规划与 before/after 指标表。

差别:A=诊断;B=可执行控成本方案 + 验证清单。Codex-B 更硬:当前仅方案与基线,未下发指令、未采 after 日志、不保证已节省。

## 什么时候别用

没有 Luna/协调器 fixture、或需要真改运行时并测节省时,先换带 after 日志的评测夹具。

## 人要检查什么

1. 是否 REPORT-ONLY(未启动真实 worker)。
2. 是否把「排队指令≠已应用」「rounded %≠零消耗」写清。
3. 是否保留 scope/锁/审批边界。

## 四维评测

| 维度 | A:裸跑 | B:加上 Prompt |
| --- | --- | --- |
| 结构 | 基线审计 | 方案+验证规划 |
| 约束 | REPORT-ONLY | 同左 + MAIN 控成本契约 |
| 胡编 | 未谎称已节省 | Codex 明确 after 未采 |
| 可执行性 | 可参考诊断 | 可当编排控成本 MAIN |
106 changes: 106 additions & 0 deletions prompts/agent-coding/Codex-技能插件中文化整理-RealYDT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
title: 本机 Codex 技能/插件英文显示改中文:缺 openai.yaml 也补齐
category: agent-coding
source: https://x.com/RealYDT/status/2065658116616933832
ran_on: prompt-lab / agy+Codex
ran_at: 2026-09-16
model: gemini-3.8-flash-high (agy); gpt-6-astra medium (codex)
input_status: note_verbatim_main
excerpt_a: runs/ab/batch-search0915pm/realydt-A.md
excerpt_b: runs/ab/batch-search0915pm/realydt-B.md
gate_complete: true
gate_traceable: true
gate_safe: true
gate_one_pass: true
---

# 本机 Codex 技能/插件英文显示改中文:缺 openai.yaml 也补齐

同 fixture 下,中性「请完成任务」也会扫到英文显示并改中文;目标 Prompt 把扫描目录、字段清单、缺 `agents/openai.yaml` 补齐、只改显示不改触发词写死。

## 原始问题

本机 Codex 技能/插件列表仍显示英文名称和说明,要改成中文;缺显示元数据的要补齐。裸跑可能只改已有 yaml,漏缺文件或改到触发词。

## 给模型的输入

```text
工作目录:scratch-realydt/{a|b|c}(仅此 scratch 树;路径映射到 fixture 内 .codex/.agents)
扫描:.codex/skills · .agents/skills · .codex/plugins/cache · .codex/cache/remote_plugin_catalog
字段:display_name / short_description(及 yaml/plugin.json 等价显示字段)
边界:只改显示元数据;不碰真实 ~/.codex / ~/.agents / 生产 Skills
报告:runs/ab/batch-search0915pm/realydt-{A|B|B-codex}.md
```

## 复制这条 Prompt

把上面的输入和下面这段 Prompt(源帖原文)放进同一条消息,再发送。

```text
请帮我检查本机 Codex 技能/插件列表里仍然显示英文的名称和说明,并把它们改成中文显示。

要求:
1. 先扫描以下目录里的技能和插件元数据:
- ~/.codex/skills
- ~/.agents/skills
- ~/.codex/plugins/cache
- ~/.codex/cache/remote_plugin_catalog

2. 重点检查:
- display_name
- short_description
- 缺少 agents/openai.yaml 的技能目录
- 远程插件目录缓存里的 interface.display_name 和 interface.short_description

3. 对仍然是英文的技能名和说明,补充或改成自然中文。
例如:
- Figma Code Connect → Figma 代码连接
- CI Debug → CI 调试
- Branded Presentation → 品牌演示文稿
- Channel Summarization → 频道总结
- BigQuery Data Transfer Service → BigQuery 数据传输服务

4. 不要改 SKILL.md 里的核心触发描述,除非确实需要;优先只改 agents/openai.yaml 和远程目录缓存里的显示字段,避免影响技能调用。

5. 修改前先备份相关目录,方便回滚。

6. 修改后重新检查:
- 缺少 agents/openai.yaml 的技能数量是否为 0
- 纯英文 display_name 数量是否为 0
- 纯英文 short_description 数量是否为 0

7. 最后告诉我改了哪些类型的内容、备份在哪里、是否需要重启 Codex App 刷新缓存。
```

## 跑完会差在哪

### A:裸跑

中性「请完成任务」+ 同 fixture。

> 扫到 4 技能 + 插件缓存;补齐 2 个缺失 `agents/openai.yaml`;改 4 已有文件显示为中文;声明未碰真实 ~/.codex。

### B:加上 Prompt

> 结构更完整(扫描→备份→补齐→翻译表);同样覆盖缺 yaml + 插件 JSON 显示字段;边界声明更贴 MAIN。

差别:通挂内容高度重叠;B 把「缺 yaml 必补 + 只改显示」写成交付清单,更可复跑。Codex-B 同过,表格列动作并标明未验证真实 Codex App 显示。

## 什么时候别用

只要翻译一段文案、或不允许改任何元数据文件时别用。本条适合「本地 Codex UI 仍英文」专项。

## 人要检查什么

1. 是否只改 fixture 显示字段(真实 ~/.codex / ~/.agents 未增删)。
2. 缺 `agents/openai.yaml` 是否补齐且中文。
3. 触发词 / 权限是否被误改。

## 四维评测

| 维度 | A:裸跑 | B:加上 Prompt |
| --- | --- | --- |
| 结构 | 扫描+修改表 | 扫描→备份→补齐→翻译表 |
| 约束 | 限 scratch;补缺 yaml | 同左;目录/字段契约更硬 |
| 胡编 | 未声称改真实 App | 同左 |
| 可执行性 | 可参考 | 可当复跑 MAIN |
71 changes: 71 additions & 0 deletions prompts/agent-coding/Codex-长对话上下文清理摘要-goan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
title: 长对话上下文清理:只留目标/约束/决策/进度/未决/下一步
category: agent-coding
source: https://x.com/goan999999/status/2089284950411317362
ran_on: prompt-lab / agy+Codex
ran_at: 2026-09-16
model: gemini-3.8-flash-high (agy); gpt-6-astra medium (codex)
input_status: note_verbatim_main
excerpt_a: runs/ab/batch-search0915pm/goan-A.md
excerpt_b: runs/ab/batch-search0915pm/goan-B.md
gate_complete: true
gate_traceable: true
gate_safe: true
gate_one_pass: true
---

# 长对话上下文清理:只留目标/约束/决策/进度/未决/下一步

同 noisy SESSION_DUMP fixture 下,裸跑也会出精简摘要;目标 Prompt 把「删废弃/已完成噪音/无关历史/低价值重复 → 六段摘要 → 后续只依摘要」写死。

## 原始问题

长会话塞满废弃方案与重复输出,要清成可继续执行的精简任务摘要。

## 给模型的输入

```text
工作目录:scratch-goan/{a|b|c}
fixture:SESSION_DUMP.md(嘈杂长会话;含废弃方案/完成噪音/无关历史)
边界:REPORT-ONLY;勿改 SESSION_DUMP.md 本体(除非必要)
报告:runs/ab/batch-search0915pm/goan-{A|B|B-codex}.md
```

## 复制这条 Prompt

把上面的输入和下面这段 Prompt(源帖原文)放进同一条消息,再发送。

```text
请整理当前任务的上下文,清理无效信息,删除或标记已废弃方案、已完成无需参考的内容、与当前目标无关的历史记录以及低价值重复输出,并重新生成一份精简任务摘要,仅保留当前目标、核心约束、已确认决策、当前进度、未解决问题和下一步计划;后续执行任务时,以最新摘要作为主要依据,不再依赖已失效信息。
```

## 跑完会差在哪

### A:裸跑

> 六段摘要齐全(目标/约束/决策/进度/未决/下一步);声明后续以摘要为准;未改 SESSION_DUMP。

### B:加上 Prompt

> 同六段;显式「彻底摒弃失效方案」措辞更贴 MAIN;结构更像交付模板。

差别:内容高度重叠;B 契约措辞更硬。Codex-B 更短,并诚实标明进度来自合成记录、未核实代码/测试。

## 什么时候别用

需要保留完整审计轨迹、或要改写原会话文件时别用。近族 DEV_STATE / 上下文精简——人判去重。

## 人要检查什么

1. SESSION_DUMP 是否未改(或仅必要标记)。
2. 六段是否齐;废弃方案是否剔除。
3. 是否声明后续只依摘要。

## 四维评测

| 维度 | A:裸跑 | B:加上 Prompt |
| --- | --- | --- |
| 结构 | 六段摘要 | 同左 + MAIN 契约措辞 |
| 约束 | REPORT-ONLY | 同左 |
| 胡编 | 未声称已改代码 | Codex 标明合成进度 |
| 可执行性 | 可继续跑任务 | 同左,模板更稳 |
Loading