Abstract Logic Writer
/install abstract-logic-writer
Abstract Logic Writer
Overview
Use symbolic discourse constraints and a lightweight ontology to draft or critique English academic abstracts. Treat abstract writing as a constrained mapping from propositions to an ordered sentence sequence, not as free-form style imitation.
Core workflow
- Build a proposition set
P = {background, status, motivation, challenge, idea, technique, evidence}from the user's notes. - Choose the shortest valid role chain whose image still contains
motivation,challenge, andidea. The default 4-5 sentence chain isM -> C -> I -> T -> E, with optionalbackgroundorstatusprepended. - For each sentence, write a micro-structure
general -> specification -> consequence/purpose. Do not place a narrow detail before its governing concept. - Load
references/computable-rules.mdas the primary specification. Loadreferences/lexeme-typing.mdandassets/lexeme_types.jsonwhen verb-noun fit is uncertain. - If the domain terminology is sparse or unstable, load
references/ontology-bootstrap.mdand optionally run:python scripts/ontology_bootstrap.py --domain "..." --terms "term a,term b" --outdir ./ontology_out - Before finalizing, run:
python scripts/abstract_lint.py draft.txtfor rule diagnostics, and runpython scripts/abstract_score.py draft.txtorpython scripts/abstract_score.py before.txt --compare after.txtwhen a formal score or pairwise comparison is needed.
Drafting discipline
- Assign each sentence exactly one primary discourse role.
- Never output a sentence that only labels a condition without causal or purposive load. Reject patterns like
X is a challenge.unless the sentence continues with cause, consequence, or operational relevance. - When introducing a new concept
x, attach motivation, purpose, or consequence within the same sentence or an adjacent sentence. - When explaining a mechanism, state what it enables, stabilizes, reduces, or preserves.
- Prefer typed predicate selection over idiomatic guesswork. Example:
traffic grows,demand increases,applications develop,systems evolve,accuracy improves,continuity is maintained. - Avoid common AI-sounding markers. Do not use the em dash or
Unlikeunless the user explicitly asks to preserve source wording. - Do not end with a generic recap sentence. The last sentence must carry evidence, operational implication, or measured outcome.
Output modes
1. Draft from notes
Return:
- an optional symbolic plan when the source notes are underspecified,
- the final abstract,
- concise lint notes only when there are nontrivial tradeoffs.
2. Critique or rewrite an existing abstract
Return:
- a violation list keyed to the symbolic predicates in
references/computable-rules.md, - a repaired abstract,
- the smallest possible set of lexical substitutions when the main issue is verb-noun mismatch.
3. Produce negative examples
Use references/negative-examples.md.
Generate intentionally flawed rewrites that violate one or more named predicates such as summary_only, selection_mismatch, scope_inversion, or forbidden_marker.
Label each negative example with the violated rules. Do not present it as recommended style.
Resource map
README.md: GitHub-facing quick start and repository guide.references/computable-rules.md: formal sentence and discourse constraints.references/lexeme-typing.md: upper ontology for noun classes and verb selection.references/ontology-bootstrap.md: domain ontology construction and download workflow.references/negative-examples.md: contrastive negative examples and rule tags.references/source-abstract-corpus.md: raw domain corpus supplied by the user.scripts/abstract_lint.py: heuristic checker for role order, banned markers, and selection mismatches.scripts/abstract_score.py: formulaic scorer and comparator for one or two abstract fragments.scripts/ontology_bootstrap.py: generate a seed ontology or download a public ontology file.assets/discourse_rules.json: machine-readable role order, forbidden patterns, and score weights.assets/lexeme_types.json: machine-readable lexeme typing rules.examples/: before-and-after fragments for quick scoring demos.evals/: sample scoring outputs for repository documentation.
Working defaults
When the user does not provide all paper details, infer the missing low-risk connective tissue from the available propositions and state the assumptions briefly. Keep the prose compact, domain-accurate, and hierarchy-aware. Prioritize logical fit over rhetorical flourish.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install abstract-logic-writer - 安装完成后,直接呼叫该 Skill 的名称或使用
/abstract-logic-writer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Abstract Logic Writer 是什么?
write, critique, score, compare, and revise english academic abstracts for ai, systems, and computer science papers using computable symbolic rules, lightwei... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。
如何安装 Abstract Logic Writer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install abstract-logic-writer」即可一键安装,无需额外配置。
Abstract Logic Writer 是免费的吗?
是的,Abstract Logic Writer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Abstract Logic Writer 支持哪些平台?
Abstract Logic Writer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Abstract Logic Writer?
由 ZhiweiWei-NAMI(@zhiweiwei-nami)开发并维护,当前版本 v0.1.1。