bhxdianzhang commited on
Commit
8a4d0c1
·
verified ·
1 Parent(s): de57f4b

Bilingual card and note for diagnose-aha-moment

Browse files
Files changed (2) hide show
  1. README.md +160 -11
  2. agents/openai.yaml +1 -1
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  license: mit
3
  language:
4
- - zh
5
  - en
 
6
  tags:
7
  - codex-skill
8
  - ai-agent
@@ -16,41 +16,190 @@ pretty_name: DiagnoseAhaMoment
16
 
17
  # DiagnoseAhaMoment
18
 
19
- `diagnose-aha-moment` is a ParaSkill research workflow skill for the `writer` family.
 
 
20
 
21
- ## Purpose
22
 
23
  Diagnose whether a paper's abstract/introduction creates a clear reviewer "Aha Moment". Identify the central realization (原来是这样 / 原来还能这样), separate problem / motivation / insight, list the commitments the opening makes, and check whether the method and experiments actually close those commitments. Use when evaluating or revising a paper's abstract or introduction narrative before submission. Output is a DIAGNOSIS only — do not rewrite the text here; hand off to a revision skill for that.
24
 
25
- ## Metadata
 
 
 
 
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  - Family: `writer`
28
  - Owner model: `ParadoxGPT-Writer-4B`
29
  - Output type: `diagnosis`
30
  - Version: `0.1`
31
  - Default language: `zh`
32
 
33
- ## Included Files
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ```text
36
  DiagnoseAhaMoment/
37
  SKILL.md
38
- agents/openai.yaml
 
39
  README.md
40
  LICENSE
41
  ```
42
 
43
- `SKILL.md` is the executable skill instruction. `README.md` is the Hugging Face card.
44
 
45
- ## Installation
 
 
 
 
 
 
 
 
 
46
 
47
- Copy this folder into a Codex-discoverable skills directory, or reference `SKILL.md` directly from an agent workflow.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  ```bash
50
  mkdir -p ~/.codex/skills
51
  cp -r DiagnoseAhaMoment ~/.codex/skills/diagnose-aha-moment
52
  ```
53
 
54
- ## Source
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
- This skill is part of the ParaSkill library for ParadoxGPT. The full routing table is maintained in `SKILL_INDEX.json` in the source bundle.
 
 
 
 
 
1
  ---
2
  license: mit
3
  language:
 
4
  - en
5
+ - zh
6
  tags:
7
  - codex-skill
8
  - ai-agent
 
16
 
17
  # DiagnoseAhaMoment
18
 
19
+ English | [中文](#中文)
20
+
21
+ ## Overview
22
 
23
+ `diagnose-aha-moment` is a ParaSkill for **paper writing and revision**.
24
 
25
  Diagnose whether a paper's abstract/introduction creates a clear reviewer "Aha Moment". Identify the central realization (原来是这样 / 原来还能这样), separate problem / motivation / insight, list the commitments the opening makes, and check whether the method and experiments actually close those commitments. Use when evaluating or revising a paper's abstract or introduction narrative before submission. Output is a DIAGNOSIS only — do not rewrite the text here; hand off to a revision skill for that.
26
 
27
+ It is part of the ParadoxGPT / ParaSkill research workflow library. The skill is designed to be used as an agent instruction: it defines when to use the capability, what inputs are required, what output contract to follow, what failure modes to avoid, and which skill should receive the handoff next.
28
+
29
+ ## When To Use
30
+
31
+ Use this skill when the task matches the skill description and the required inputs are available. It is especially useful inside paper-writing, reviewing, idea-development, experiment-design, or checker workflows where the agent must produce a bounded and auditable research action rather than a generic answer.
32
 
33
+ ## What Is Included
34
+
35
+ ```text
36
+ DiagnoseAhaMoment/
37
+ SKILL.md
38
+ agents/
39
+ openai.yaml
40
+ README.md
41
+ LICENSE
42
+ ```
43
+
44
+ `SKILL.md` is the actual skill instruction. `README.md` is this Hugging Face card.
45
+
46
+ ## Skill Metadata
47
+
48
+ - Skill name: `diagnose-aha-moment`
49
  - Family: `writer`
50
  - Owner model: `ParadoxGPT-Writer-4B`
51
  - Output type: `diagnosis`
52
  - Version: `0.1`
53
  - Default language: `zh`
54
 
55
+ ## Required Inputs
56
+
57
+ - `title`
58
+ - `abstract`
59
+ - `introduction`
60
+ - `method_summary`
61
+
62
+ ## Optional Inputs
63
+
64
+ - `experiment_summary`
65
+ - `reviewer_concerns`
66
+
67
+ ## Handoff
68
+
69
+ This skill can hand off to:
70
+
71
+ - `rewrite-abstract-with-commitments`
72
+ - `detect-overclaim-missing-closure`
73
+ - `map-claims-to-experiments`
74
+
75
+ ## Installation
76
+
77
+ Copy the skill folder into a Codex-discoverable skills directory, or keep it inside a project repo and reference it explicitly.
78
+
79
+ Typical local install:
80
+
81
+ ```bash
82
+ mkdir -p ~/.codex/skills
83
+ cp -r DiagnoseAhaMoment ~/.codex/skills/diagnose-aha-moment
84
+ ```
85
+
86
+ Or use it from a project repo:
87
+
88
+ ```text
89
+ Use the diagnose-aha-moment skill for this research workflow task.
90
+ ```
91
+
92
+ ## Example Prompt
93
+
94
+ ```text
95
+ Use $diagnose-aha-moment.
96
+
97
+ Inputs:
98
+ - paper_context: <paper or section context>
99
+ - task_goal: <what should be diagnosed, revised, judged, designed, or created>
100
+
101
+ Follow the output contract in SKILL.md. Do not invent evidence, numbers, or claims that are not present in the provided context.
102
+ ```
103
+
104
+ ## Design Principles
105
+
106
+ - Keep the action bounded and auditable.
107
+ - Preserve scientific content unless the skill explicitly asks for revision.
108
+ - Distinguish real evidence from presentation changes.
109
+ - Surface failure modes and uncertainty instead of hiding them.
110
+ - Hand off to the next skill when the current task boundary is exceeded.
111
+
112
+ ---
113
+
114
+ # 中文
115
+
116
+ ## 概述
117
+
118
+ `diagnose-aha-moment` 是 ParaSkill 中面向 **论文写作与修改** 的科研工作流 skill。
119
+
120
+ 诊断 abstract/introduction 是否让审稿人产生清晰认知更新,指出 Aha Moment 缺失的位置。
121
+
122
+ 它属于 ParadoxGPT / ParaSkill 科研工作流库。这个 skill 不是泛泛提示词,而是一段可复用的 agent instruction:它定义什么时候使用、需要哪些输入、输出必须满足什么 contract、要避免哪些 failure mode,以及下一步应该 handoff 给哪个 skill。
123
+
124
+ ## 什么时候使用
125
+
126
+ 当任务与该 skill 的描述匹配,并且 required inputs 已经具备时使用。它适合放在论文写作、审稿模拟、idea 打磨、实验设计或 checker 工作流中,让 agent 执行边界清楚、可审计、可交接的科研动作,而不是输出一段泛泛建议。
127
+
128
+ ## 包含内容
129
 
130
  ```text
131
  DiagnoseAhaMoment/
132
  SKILL.md
133
+ agents/
134
+ openai.yaml
135
  README.md
136
  LICENSE
137
  ```
138
 
139
+ `SKILL.md` 是真正给 agent 使用的 skill instruction。`README.md` 是 Hugging Face 页面展示的 card。
140
 
141
+ ## Skill 元数据
142
+
143
+ - Skill 名称:`diagnose-aha-moment`
144
+ - Family:`writer`
145
+ - Owner model:`ParadoxGPT-Writer-4B`
146
+ - Output type:`diagnosis`
147
+ - Version:`0.1`
148
+ - 默认语言:`zh`
149
+
150
+ ## 必需输入
151
 
152
+ - `title`
153
+ - `abstract`
154
+ - `introduction`
155
+ - `method_summary`
156
+
157
+ ## 可选输入
158
+
159
+ - `experiment_summary`
160
+ - `reviewer_concerns`
161
+
162
+ ## Handoff
163
+
164
+ 这个 skill 可以交接给:
165
+
166
+ - `rewrite-abstract-with-commitments`
167
+ - `detect-overclaim-missing-closure`
168
+ - `map-claims-to-experiments`
169
+
170
+ ## 安装方式
171
+
172
+ 可以把这个 skill 文件夹复制到 Codex 能发现的 skills 目录,也可以放在项目仓库中,然后在提示词里明确引用。
173
+
174
+ 典型本地安装:
175
 
176
  ```bash
177
  mkdir -p ~/.codex/skills
178
  cp -r DiagnoseAhaMoment ~/.codex/skills/diagnose-aha-moment
179
  ```
180
 
181
+ 也可以在项目内使用:
182
+
183
+ ```text
184
+ 请使用 diagnose-aha-moment skill 处理这个科研工作流任务。
185
+ ```
186
+
187
+ ## 示例提示词
188
+
189
+ ```text
190
+ 请使用 $diagnose-aha-moment。
191
+
192
+ 输入:
193
+ - paper_context: <论文或章节上下文>
194
+ - task_goal: <需要诊断、修改、判断、设计或生成的目标>
195
+
196
+ 请严格遵守 SKILL.md 中的 output contract。不要编造上下文中不存在的证据、数字或 claim。
197
+ ```
198
+
199
+ ## 设计原则
200
 
201
+ - 让每次动作都有清楚边界,并且可审计。
202
+ - 除非 skill 明确要求修改,否则保持科学内容不被改写。
203
+ - 区分真实证据改进和 presentation 改写。
204
+ - 暴露 failure mode 和不确定性,不把问题藏起来。
205
+ - 超出当前 skill 边界时,交接给下一个合适的 skill。
agents/openai.yaml CHANGED
@@ -1,4 +1,4 @@
1
  interface:
2
  display_name: "Diagnose Aha Moment"
3
  short_description: "Diagnose whether a paper's abstract/introduction creates a clear reviewer "Aha Moment""
4
- default_prompt: "Use $diagnose-aha-moment for this research-writing task."
 
1
  interface:
2
  display_name: "Diagnose Aha Moment"
3
  short_description: "Diagnose whether a paper's abstract/introduction creates a clear reviewer "Aha Moment""
4
+ default_prompt: "Use $diagnose-aha-moment for this research workflow task."