paper-narrative
できること
このスキルは、原稿とキャプションに照らして、論文の図の一式全体を確認し、その物語が明確かどうかを判断します。科学論文を準備する著者のためのものです。
使う場面
- ✓論文を書いていて、図が一つのはっきりした物語を伝えているか確認したいとき。
- ✓原稿の図の順序を、より強い流れになるよう並べ替える必要があるとき。
- ✓図を再設計する前に、論文の要旨とキャプションから概要が欲しいとき。
スキルのリンク
https://github.com/aipoch/open-science/blob/main/resources/skills/paper-narrative/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の論文の図の順序を確認して、図全体の物語が筋が通っているか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは原稿、キャプション、現在の図を読みます。物語の短い概要を書き、編集者のように図を確認して、順序付けられた一覧を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Paper Narrative — manuscript → brief → figure arc → editorial loop
paper-narrative is the outermost figure workflow. It judges the paper-level
story before figure-composer designs any one figure. The inputs are the work
itself: a manuscript (or abstract), figure captions, and the current full deck.
Open-Science Notebook call
Every notebook_execute request whose code uses a function named in this skill
includes this skill ID:
{ "kernelSkillIds": ["paper-narrative"], "code": "print(paper_brief_schema())" }
kernelSkillIds contains the skill ID; function calls belong in code. This
request is complete as written: call the named functions directly and do not add
an import or discovery step.
Required inputs and trust labels
Keep these inputs distinct throughout the workflow:
manuscriptVersionId: immutable manuscript Artifact Version (an abstract-only manuscript is allowed) and the reviewed manuscript text read from it.abstractText: reviewed abstract text when available; use it for bounded brief reasoning while retaining the full manuscript Version as source provenance.captionsVersionId: immutable captions Artifact Version and the reviewed per-figure caption or claim text read from it.deckVersionId: immutable deck Artifact Version containing every current figure in review order.rulesVersionId: immutable design-rules Artifact Version, used only as a reference so the editor judges story rather than visual craft.figureDataVersionIds: immutable data Artifact Versions grouped by figure.figureWidthMmByFigure: reviewed positive venue width for each figure; the downstream composer must not invent this physical output constraint.
Manuscript, captions, deck, and data are source inputs. Every brief, review, arc, move, omission, and proposed analysis is model-generated and requires human review. Never describe generated text as manuscript evidence or source data. Preserve the input Version identities when publishing or delegating downstream work.
1. Reason from manuscript and captions
Load the reviewed manuscript/abstract and captions content into the JavaScript
control-plane request. Obtain paper_brief_schema() in Python first. Then call
the current tool-less Host model and require JSON only:
const briefSchema = paperBriefSchemaFromNotebook
const Ajv2020 = require('ajv/dist/2020').default
const validateBrief = new Ajv2020({ allErrors: true }).compile(briefSchema)
const briefSourceText = abstractText || manuscriptText
let repair = ''
let brief
for (let attempt = 1; attempt <= 2; attempt += 1) {
const prompt =
`Return JSON only. The complete paper_brief JSON Schema is:\n${JSON.stringify(briefSchema)}\n` +
`Manuscript Artifact Version: ${manuscriptVersionId}\n` +
`Captions Artifact Version: ${captionsVersionId}\n` +
`Reviewed abstract/manuscript source:\n${briefSourceText}\n\nCaptions/claims:\n${captionsText}\n\n` +
`Pitch is the grandest supportable one-sentence claim, not the method. ` +
`Vision is the killer application: what readers can now do. ` +
`Name the audience and the single most-arresting image.` +
repair
if (Buffer.byteLength(prompt, 'utf8') > 64 * 1024) {
throw new Error(
'paper brief prompt exceeds host.llm 64 KiB UTF-8 limit; provide a reviewed abstract or shorter captions'
)
}
const briefDraft = await host.llm(prompt)
if (briefDraft.stopReason !== 'end_turn') {
throw new Error(`paper brief inference stopped with ${briefDraft.stopReason}`)
}
let candidate
let problem
try {
candidate = JSON.parse(briefDraft.text)
if (validateBrief(candidate)) {
brief = candidate
break
}
problem = JSON.stringify(validateBrief.errors)
} catch (error) {
problem = error instanceof Error ? error.message : String(error)
}
if (attempt === 2) throw new Error('invalid paper brief after corrective retry')
repair =
`\nPrevious response was invalid: ${problem}. Repair it and return JSON only. ` +
`Previous response:\n${briefDraft.text.slice(0, 8000)}`
}
host.llm does not enforce a caller-provided schema. The code therefore checks
the UTF-8 request budget, requires stopReason === "end_turn", parses JSON, and
validates with the same bundled Ajv 2020 implementation used elsewhere in the
control plane. Prefer the reviewed abstract because a full manuscript commonly
exceeds the hard 64 KiB prompt limit; never silently truncate
よくある質問
何を渡せばよいですか?
原稿または要旨、図のキャプション、順番どおりの現在の図の一式です。
私の図を変更しますか?
順序と意見を提案します。順序付けられた一覧は、図ごとに別の図のデザインのスキルに渡されるとされています。
要旨だけでも使えますか?
はい。要旨だけの原稿も入力として使えるとされています。
詳細
作者による元の説明
Judge and reshape the story told by an entire paper figure deck. Use when writing or revising a paper to derive a grounded brief from the manuscript and captions, review the full deck as a handling editor, and hand an ordered figure arc to `figure-composer`.
repo: aipoch/open-science
人気
- GitHubのスター
- 5.4k
- ランキング
- #14867
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
alphafold2
5.4kエージェントが、ColabFold のランナーを使い AlphaFold2 で、アミノ酸配列からタンパク質の立体構造を予測できるよう支援します。タンパク質の複合体にも対応します。
boltz
5.4kエージェントが、オープンソースの Boltz-2 モデルを使い、タンパク質、DNA、RNA、低分子の複合体の構造を予測できるよう支援します。任意で結合親和性の推定も行います。
borzoi
5.4kエージェントが、DNA の配列から発現やアクセシビリティなどのゲノム全体の活性トラックを予測し、予測される効果で変異を比べられるよう支援します。
chai1
5.4kエージェントが、Apache ライセンスの Chai-1 モデルを使い、一つの FASTA ファイルから、タンパク質、核酸、リガンドの複合体の構造を予測できるよう支援します。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。