bhxdianzhang commited on
Commit
4de6067
·
verified ·
1 Parent(s): d91444a

Sync ParaSkill check-section-logic-consistency

Browse files
Files changed (4) hide show
  1. LICENSE +21 -0
  2. README.md +56 -0
  3. SKILL.md +124 -0
  4. agents/openai.yaml +4 -0
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 bhxdianzhang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - zh
5
+ - en
6
+ tags:
7
+ - codex-skill
8
+ - ai-agent
9
+ - scientific-writing
10
+ - research-workflow
11
+ - paraskill
12
+ - paradoxgpt
13
+ - checker
14
+ pretty_name: CheckSectionLogicConsistency
15
+ ---
16
+
17
+ # CheckSectionLogicConsistency
18
+
19
+ `check-section-logic-consistency` is a ParaSkill research workflow skill for the `checker` family.
20
+
21
+ ## Purpose
22
+
23
+ Check whether abstract, introduction, method, experiments, and conclusion use consistent terminology, claims, assumptions, and closure structure. Use when a paper feels internally inconsistent, has claim drift, or different sections appear to promise different contributions. Output is a consistency report and repair plan.
24
+
25
+ ## Metadata
26
+
27
+ - Family: `checker`
28
+ - Owner model: `ParadoxGPT-Checker-4B`
29
+ - Output type: `diagnosis`
30
+ - Version: `0.1`
31
+ - Default language: `zh`
32
+
33
+ ## Included Files
34
+
35
+ ```text
36
+ CheckSectionLogicConsistency/
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 CheckSectionLogicConsistency ~/.codex/skills/check-section-logic-consistency
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.
SKILL.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: check-section-logic-consistency
3
+ description: >-
4
+ Check whether abstract, introduction, method, experiments, and conclusion use
5
+ consistent terminology, claims, assumptions, and closure structure. Use when a
6
+ paper feels internally inconsistent, has claim drift, or different sections
7
+ appear to promise different contributions. Output is a consistency report and
8
+ repair plan.
9
+ metadata:
10
+ owner_model: ParadoxGPT-Checker-4B
11
+ skill_family: checker
12
+ version: "0.1"
13
+ output_type: diagnosis
14
+ default_language: zh
15
+ trigger_keywords: [logic consistency, section consistency, claim drift, terminology, contradiction, 前后一致, 逻辑]
16
+ required_inputs: [paper_sections]
17
+ optional_inputs: [claim_list, terminology_list, reviewer_concerns]
18
+ handoff_to: [check-claim-evidence-alignment, build-intro-argument-chain, rewrite-abstract-with-commitments]
19
+ ---
20
+
21
+ # Check Section Logic Consistency
22
+
23
+ ## Purpose
24
+
25
+ 检查论文各章节是否讲的是同一个故事:abstract 的承诺、intro 的 gap、method 的设计、experiment 的证据、conclusion 的总结是否一致。这个 skill 关注跨章节漂移,而不是单点 claim 证据。
26
+
27
+ ## When to Use
28
+
29
+ - 读起来感觉 abstract、intro、method、experiment 各讲各的。
30
+ - 术语在不同章节含义变化。
31
+ - 贡献从 intro 到 conclusion 被放大或换了目标。
32
+
33
+ ## Do Not Use
34
+
35
+ - 只检查 claim 是否有证据 → 用 `check-claim-evidence-alignment`。
36
+ - 需要重建 introduction 论证链 → 用 `build-intro-argument-chain`。
37
+ - 只改 abstract → 用 `rewrite-abstract-with-commitments`。
38
+
39
+ ## Required Inputs
40
+
41
+ - `paper_sections`: abstract、introduction、method、experiment、conclusion 的文本或摘要。
42
+ - `claim_list`: optional,已抽取 claims。
43
+ - `terminology_list`: optional,关键术语清单。
44
+
45
+ ## Output Contract
46
+
47
+ 输出必须至少包含:
48
+
49
+ 1. **terminology_inconsistencies** - 术语漂移或定义不一致。
50
+ 2. **claim_drift** - claim 在章节之间变大、变小或换目标。
51
+ 3. **missing_closure** - 某章节提出但后文没闭合的承诺。
52
+ 4. **contradictions** - 明确矛盾或隐含冲突。
53
+ 5. **repair_plan** - 按优先级修复。
54
+
55
+ ## Procedure
56
+
57
+ 1. 抽取每个章节的主 claim 和关键术语。
58
+ 2. 对齐同一术语在不同章节的定义和作用。
59
+ 3. 检查 intro 的 gap 是否真的由 method 回应。
60
+ 4. 检查 experiments 是否测试 abstract/conclusion 的核心承诺。
61
+ 5. 输出 repair_plan,优先修会误导 reviewer 的 drift。
62
+
63
+ ## Quality Bar
64
+
65
+ 一个好的输出必须:
66
+
67
+ - 指出具体章节间的不一致,而不是泛泛说逻辑不顺。
68
+ - 区分 terminology drift、claim drift 和 missing closure。
69
+ - repair_plan 能说明改哪一节最划算。
70
+ - 不把合理的逐步细化误判为矛盾。
71
+
72
+ 一个差的输出:
73
+
74
+ - 只做全文摘要。
75
+ - 把所有表达差异都当 inconsistency。
76
+ - 不指出修复位置。
77
+
78
+ ## Failure Modes
79
+
80
+ - **过度严格**:术语自然细化不等于漂移。
81
+ - **漏掉 conclusion 扩张**:结论常把 claim 写大。
82
+ - **忽视方法目标**:method 优化的目标和 intro 诉求不一致。
83
+ - **只看字面**:同义改写不一定不一致,要看 claim 范围。
84
+
85
+ ## Handoff
86
+
87
+ - 如果漂移本质是证据不支撑 claim → `check-claim-evidence-alignment`
88
+ - 如果 intro 链条需要重建 → `build-intro-argument-chain`
89
+ - 如果 abstract 承诺与正文不一致 → `rewrite-abstract-with-commitments`
90
+
91
+ ## Example
92
+
93
+ Input:
94
+
95
+ ```
96
+ paper_sections:
97
+ abstract: claims scalable interaction for long-horizon reasoning
98
+ introduction: motivates memory failures
99
+ method: introduces interaction budget scheduler
100
+ experiments: tests task success, not memory consistency
101
+ conclusion: claims general agent memory improvement
102
+ ```
103
+
104
+ Output:
105
+
106
+ ```
107
+ terminology_inconsistencies:
108
+ - “memory” in intro means persistent state, but method only changes interaction scheduling.
109
+
110
+ claim_drift:
111
+ - abstract: interaction scaling.
112
+ - conclusion: agent memory improvement. This shifts the contribution target.
113
+
114
+ missing_closure:
115
+ - intro's memory failure motivation is not tested by experiments.
116
+
117
+ contradictions:
118
+ - no direct contradiction, but contribution framing drifts.
119
+
120
+ repair_plan:
121
+ 1. Reframe intro around interaction budget, not memory.
122
+ 2. If keeping memory framing, add memory consistency diagnostic.
123
+ 3. Rewrite conclusion to match tested interaction claim.
124
+ ```
agents/openai.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ interface:
2
+ display_name: "Check Section Logic Consistency"
3
+ short_description: "Check whether abstract, introduction, method, experiments, and conclusion use consistent t"
4
+ default_prompt: "Use $check-section-logic-consistency for this research-writing task."