@bohuyeshan/openagent-labforge-core 3.11.5 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +130 -343
- package/README.ko.md +128 -337
- package/README.md +229 -584
- package/README.ru.md +131 -364
- package/README.zh-cn.md +231 -547
- package/bin/openagent-labforge.js +95 -9
- package/bin/platform.test.ts +20 -21
- package/dist/agents/article-writer.d.ts +7 -0
- package/dist/agents/atlas/default.d.ts +1 -1
- package/dist/agents/atlas/gemini.d.ts +1 -1
- package/dist/agents/atlas/gpt.d.ts +1 -1
- package/dist/agents/bio-methodologist.d.ts +1 -1
- package/dist/agents/bio-orchestrator.d.ts +7 -0
- package/dist/agents/bio-skill-guidance.d.ts +1 -0
- package/dist/agents/builtin-agents/general-agents.d.ts +0 -1
- package/dist/agents/builtin-agents/sisyphus-agent.d.ts +16 -0
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +0 -2
- package/dist/agents/engineering-capability.d.ts +7 -0
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/github-scout.d.ts +7 -0
- package/dist/agents/index.d.ts +0 -1
- package/dist/agents/metis.d.ts +1 -1
- package/dist/agents/momus.d.ts +1 -1
- package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
- package/dist/agents/prometheus/gemini.d.ts +1 -1
- package/dist/agents/prometheus/gpt.d.ts +1 -1
- package/dist/agents/prometheus/interview-mode.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/prometheus/system-prompt.d.ts +1 -1
- package/dist/agents/scientific-writer.d.ts +7 -0
- package/dist/agents/sisyphus-junior/gpt-5-3-codex.d.ts +1 -1
- package/dist/agents/sisyphus-junior/gpt-5-4.d.ts +1 -1
- package/dist/agents/sisyphus-junior/gpt.d.ts +1 -1
- package/dist/agents/tech-scout.d.ts +7 -0
- package/dist/agents/types.d.ts +1 -1
- package/dist/agents/wase.d.ts +8 -0
- package/dist/agents/wet-lab-designer.d.ts +7 -0
- package/dist/agents/writing-style-rules.d.ts +1 -0
- package/dist/cli/config-manager/bun-install.d.ts +1 -6
- package/dist/cli/config-manager/cleanup-managed-mcp-from-opencode-config.d.ts +2 -0
- package/dist/cli/config-manager/cleanup-stale-managed-agents.d.ts +2 -0
- package/dist/cli/config-manager/parse-opencode-config-file.d.ts +2 -0
- package/dist/cli/config-manager/plugin-name-with-version.d.ts +1 -1
- package/dist/cli/config-manager/sync-static-agent-to-opencode-config.d.ts +2 -0
- package/dist/cli/config-manager/sync-static-mcp-to-opencode-config.d.ts +2 -0
- package/dist/cli/config-manager/write-bootstrap-skill.d.ts +15 -0
- package/dist/cli/config-manager.d.ts +5 -0
- package/dist/cli/index.js +24986 -15362
- package/dist/cli/install-validators.d.ts +0 -1
- package/dist/cli/model-fallback-types.d.ts +0 -1
- package/dist/cli/run/index.d.ts +0 -1
- package/dist/cli/run/types.d.ts +0 -1
- package/dist/cli/types.d.ts +0 -3
- package/dist/config/schema/agent-names.d.ts +36 -3
- package/dist/config/schema/agent-overrides.d.ts +504 -0
- package/dist/config/schema/background-task.d.ts +0 -2
- package/dist/config/schema/experimental.d.ts +5 -0
- package/dist/config/schema/git-master.d.ts +0 -1
- package/dist/config/schema/hooks.d.ts +0 -2
- package/dist/config/schema/mcp-policy.d.ts +1 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +526 -54
- package/dist/config/schema.d.ts +0 -1
- package/dist/create-hooks.d.ts +0 -13
- package/dist/features/background-agent/compaction-aware-message-resolver.d.ts +1 -16
- package/dist/features/background-agent/constants.d.ts +2 -1
- package/dist/features/background-agent/manager.d.ts +5 -20
- package/dist/features/background-agent/process-cleanup.d.ts +1 -1
- package/dist/features/background-agent/task-history.d.ts +0 -1
- package/dist/features/background-agent/task-poller.d.ts +0 -1
- package/dist/features/background-agent/types.d.ts +0 -4
- package/dist/features/builtin-commands/commands.d.ts +4 -1
- package/dist/features/builtin-skills/skills/bio-methods.d.ts +2 -0
- package/dist/features/builtin-skills/skills/bio-pipeline.d.ts +2 -0
- package/dist/features/builtin-skills/skills/bio-tools.d.ts +2 -0
- package/dist/features/builtin-skills/skills/bio-visualization.d.ts +2 -0
- package/dist/features/builtin-skills/skills/cell-annotation.d.ts +2 -0
- package/dist/features/builtin-skills/skills/differential-expression.d.ts +2 -0
- package/dist/features/builtin-skills/skills/geo-query.d.ts +2 -0
- package/dist/features/builtin-skills/skills/index.d.ts +14 -0
- package/dist/features/builtin-skills/skills/paper-evidence.d.ts +2 -0
- package/dist/features/builtin-skills/skills/pubmed-search.d.ts +2 -0
- package/dist/features/builtin-skills/skills/scrna-preprocessing.d.ts +2 -0
- package/dist/features/builtin-skills/skills/sequence-analysis.d.ts +2 -0
- package/dist/features/builtin-skills/skills/structural-biology.d.ts +2 -0
- package/dist/features/builtin-skills/skills/vector-design.d.ts +2 -0
- package/dist/features/builtin-skills/skills/wet-lab-design.d.ts +2 -0
- package/dist/features/claude-code-agent-loader/loader.d.ts +3 -3
- package/dist/features/claude-code-agent-loader/types.d.ts +1 -8
- package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +5 -0
- package/dist/features/claude-code-mcp-loader/index.d.ts +1 -0
- package/dist/features/claude-code-mcp-loader/types.d.ts +3 -0
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
- package/dist/features/claude-code-session-state/state.d.ts +5 -0
- package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
- package/dist/features/opencode-skill-loader/project-skill-directory-discovery.d.ts +1 -0
- package/dist/features/opencode-skill-loader/skill-metadata-validator.d.ts +8 -0
- package/dist/features/skill-mcp-manager/types.d.ts +0 -4
- package/dist/features/tmux-subagent/index.d.ts +0 -1
- package/dist/features/tmux-subagent/manager.d.ts +0 -5
- package/dist/features/tmux-subagent/types.d.ts +0 -2
- package/dist/hooks/atlas/tool-execute-after.d.ts +0 -2
- package/dist/hooks/atlas/types.d.ts +0 -2
- package/dist/hooks/atlas/verification-reminders.d.ts +0 -4
- package/dist/hooks/auto-slash-command/hook.d.ts +0 -7
- package/dist/hooks/auto-update-checker/checker.d.ts +1 -3
- package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
- package/dist/hooks/comment-checker/downloader.d.ts +1 -1
- package/dist/hooks/compaction-context-injector/hook.d.ts +1 -5
- package/dist/hooks/context-window-monitor.d.ts +5 -2
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/keyword-detector/detector.d.ts +1 -1
- package/dist/hooks/keyword-detector/hook.d.ts +2 -2
- package/dist/hooks/keyword-detector/index.d.ts +1 -0
- package/dist/hooks/keyword-detector/semantic-hint.d.ts +4 -0
- package/dist/hooks/keyword-detector/ultrawork/autonomous.d.ts +8 -0
- package/dist/hooks/preemptive-compaction.d.ts +5 -2
- package/dist/hooks/runtime-fallback/hook.d.ts +3 -2
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +2 -1
- package/dist/hooks/runtime-fallback/types.d.ts +3 -56
- package/dist/hooks/session-notification-scheduler.d.ts +3 -5
- package/dist/hooks/session-notification.d.ts +0 -2
- package/dist/hooks/session-recovery/tool-pairing.d.ts +16 -0
- package/dist/hooks/start-work/index.d.ts +1 -1
- package/dist/hooks/start-work/worktree-detector.d.ts +0 -7
- package/dist/hooks/todo-continuation-enforcer/compaction-guard.d.ts +4 -0
- package/dist/hooks/todo-continuation-enforcer/constants.d.ts +6 -5
- package/dist/hooks/todo-continuation-enforcer/handler.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/resolve-message-info.d.ts +3 -0
- package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +1 -1
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +8 -3
- package/dist/hooks/tool-output-truncator.d.ts +0 -1
- package/dist/index.js +56627 -56933
- package/dist/mcp/extended.d.ts +4 -2
- package/dist/mcp/index.d.ts +2 -1
- package/dist/mcp/types.d.ts +2 -3
- package/dist/openagent-labforge.schema.json +1362 -83
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +1 -2
- package/dist/plugin/hooks/create-core-hooks.d.ts +0 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +1 -2
- package/dist/plugin/ultrawork-model-override.d.ts +11 -1
- package/dist/plugin-dispose.d.ts +12 -10
- package/dist/plugin-handlers/agent-config-handler.d.ts +0 -1
- package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -1
- package/dist/plugin-state.d.ts +0 -5
- package/dist/shared/agent-display-names.d.ts +1 -0
- package/dist/shared/data-path.d.ts +1 -1
- package/dist/shared/dynamic-truncator.d.ts +7 -4
- package/dist/shared/external-plugin-detector.d.ts +7 -0
- package/dist/shared/index.d.ts +5 -3
- package/dist/shared/jsonc-parser.d.ts +4 -0
- package/dist/shared/mcp-local-command-normalizer.d.ts +1 -0
- package/dist/shared/migrate-legacy-config-file.d.ts +1 -0
- package/dist/shared/model-error-classifier.d.ts +1 -2
- package/dist/shared/opencode-command-dirs.d.ts +0 -1
- package/dist/shared/plugin-identity.d.ts +2 -3
- package/dist/shared/project-discovery-dirs.d.ts +4 -0
- package/dist/shared/session-model-state.d.ts +1 -2
- package/dist/shared/system-directive.d.ts +5 -6
- package/dist/tools/call-omo-agent/background-executor.d.ts +1 -2
- package/dist/tools/call-omo-agent/constants.d.ts +2 -2
- package/dist/tools/call-omo-agent/sync-executor.d.ts +3 -11
- package/dist/tools/call-omo-agent/tools.d.ts +2 -2
- package/dist/tools/call-omo-agent/types.d.ts +13 -0
- package/dist/tools/delegate-task/constants.d.ts +1 -1
- package/dist/tools/delegate-task/model-selection.d.ts +0 -1
- package/dist/tools/delegate-task/model-string-parser.d.ts +3 -1
- package/dist/tools/delegate-task/parent-context-resolver.d.ts +22 -0
- package/dist/tools/lsp/constants.d.ts +0 -1
- package/dist/tools/lsp/lsp-client-transport.d.ts +2 -4
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +1 -2
- package/generated/skills-bundles/catalog.json +1 -1
- package/generated/skills-bundles/full/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +56 -55
- package/generated/skills-bundles/full/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +105 -104
- package/generated/skills-bundles/full/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +272 -271
- package/generated/skills-bundles/full/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +40 -39
- package/generated/skills-bundles/full/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +274 -273
- package/generated/skills-bundles/full/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +131 -130
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +245 -244
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +247 -246
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +303 -302
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -84
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -87
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -48
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -80
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +31 -31
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +126 -125
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +80 -79
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +187 -186
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +11 -11
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +18 -18
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +20 -20
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +15 -15
- package/generated/skills-bundles/full/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +217 -216
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +56 -55
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +105 -104
- package/generated/skills-bundles/paper/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +272 -271
- package/generated/skills-bundles/paper/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +40 -39
- package/generated/skills-bundles/paper/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +274 -273
- package/generated/skills-bundles/paper/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +131 -130
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +245 -244
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +247 -246
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +303 -302
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -84
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -87
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -48
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -80
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +31 -31
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +126 -125
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +80 -79
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +187 -186
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +11 -11
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +18 -18
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +20 -20
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +15 -15
- package/generated/skills-bundles/paper/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +217 -216
- package/package.json +36 -32
- package/dist/cli/openai-only-model-catalog.d.ts +0 -3
- package/dist/cli/run/model-resolver.d.ts +0 -4
- package/dist/config/schema/git-env-prefix.d.ts +0 -5
- package/dist/features/background-agent/remove-task-toast-tracking.d.ts +0 -1
- package/dist/features/background-agent/subagent-spawn-limits.d.ts +0 -23
- package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +0 -4
- package/dist/features/tmux-subagent/pane-state-parser.d.ts +0 -8
- package/dist/features/tmux-subagent/tracked-session-state.d.ts +0 -8
- package/dist/hooks/atlas/boulder-session-lineage.d.ts +0 -6
- package/dist/hooks/atlas/final-wave-approval-gate.d.ts +0 -4
- package/dist/hooks/atlas/idle-event.d.ts +0 -8
- package/dist/hooks/atlas/resolve-active-boulder-session.d.ts +0 -11
- package/dist/hooks/auto-slash-command/processed-command-store.d.ts +0 -7
- package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +0 -7
- package/dist/hooks/compaction-context-injector/compaction-context-prompt.d.ts +0 -1
- package/dist/hooks/compaction-context-injector/constants.d.ts +0 -5
- package/dist/hooks/compaction-context-injector/recovery-prompt-config.d.ts +0 -6
- package/dist/hooks/compaction-context-injector/recovery.d.ts +0 -6
- package/dist/hooks/compaction-context-injector/session-id.d.ts +0 -2
- package/dist/hooks/compaction-context-injector/session-prompt-config-resolver.d.ts +0 -16
- package/dist/hooks/compaction-context-injector/tail-monitor.d.ts +0 -13
- package/dist/hooks/compaction-context-injector/types.d.ts +0 -43
- package/dist/hooks/compaction-context-injector/validated-model.d.ts +0 -13
- package/dist/hooks/delegate-task-english-directive/hook.d.ts +0 -14
- package/dist/hooks/delegate-task-english-directive/index.d.ts +0 -1
- package/dist/hooks/gpt-permission-continuation/assistant-message.d.ts +0 -23
- package/dist/hooks/gpt-permission-continuation/constants.d.ts +0 -4
- package/dist/hooks/gpt-permission-continuation/detector.d.ts +0 -1
- package/dist/hooks/gpt-permission-continuation/handler.d.ts +0 -12
- package/dist/hooks/gpt-permission-continuation/index.d.ts +0 -13
- package/dist/hooks/gpt-permission-continuation/session-state.d.ts +0 -15
- package/dist/hooks/ralph-loop/pending-verification-handler.d.ts +0 -16
- package/dist/hooks/runtime-fallback/fallback-bootstrap-model.d.ts +0 -10
- package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +0 -11
- package/dist/hooks/runtime-fallback/last-user-retry-parts.d.ts +0 -4
- package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +0 -7
- package/dist/hooks/runtime-fallback/session-messages.d.ts +0 -9
- package/dist/hooks/runtime-fallback/session-status-handler.d.ts +0 -3
- package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +0 -3
- package/dist/hooks/session-notification-content.d.ts +0 -30
- package/dist/plugin/normalize-tool-arg-schemas.d.ts +0 -2
- package/dist/plugin/ultrawork-variant-availability.d.ts +0 -6
- package/dist/shared/compaction-agent-config-checkpoint.d.ts +0 -11
- package/dist/shared/context-limit-resolver.d.ts +0 -5
- package/dist/shared/fallback-chain-from-models.d.ts +0 -3
- package/dist/shared/question-denied-session-permission.d.ts +0 -6
- package/dist/shared/retry-status-utils.d.ts +0 -2
- package/dist/shared/vision-capable-models-cache.d.ts +0 -4
- package/dist/tools/delegate-task/cancel-unstable-agent-task.d.ts +0 -2
- package/dist/tools/look-at/multimodal-fallback-chain.d.ts +0 -4
- package/dist/tools/lsp/directory-diagnostics.d.ts +0 -1
- package/dist/tools/lsp/server-path-bases.d.ts +0 -1
|
@@ -13,22 +13,22 @@ Orchestrate a complete paper writing workflow for: **$ARGUMENTS**
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
This skill chains five sub-skills into a single automated pipeline:
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
/paper-plan → /paper-figure → /paper-write → /paper-compile → /ulw-loop
|
|
20
|
-
(outline) (plots) (LaTeX) (build PDF) (final QA + Oracle verify)
|
|
21
|
-
```
|
|
16
|
+
This skill chains five sub-skills into a single automated pipeline:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
/paper-plan → /paper-figure → /paper-write → /paper-compile → /ulw-loop
|
|
20
|
+
(outline) (plots) (LaTeX) (build PDF) (final QA + Oracle verify)
|
|
21
|
+
```
|
|
22
22
|
|
|
23
23
|
Each phase builds on the previous one's output. The final deliverable is a polished, reviewed `paper/` directory with LaTeX source and compiled PDF.
|
|
24
24
|
|
|
25
25
|
## Constants
|
|
26
26
|
|
|
27
27
|
- **VENUE = `ICLR`** — Target venue. Options: `ICLR`, `NeurIPS`, `ICML`. Affects style file, page limit, citation format.
|
|
28
|
-
- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for plan review, figure review, and writing review.
|
|
29
|
-
- **AUTO_PROCEED = true** — Auto-continue between phases. Set `false` to pause and wait for user approval after each phase.
|
|
30
|
-
|
|
31
|
-
> Override inline: `/paper-writing "NARRATIVE_REPORT.md" — venue: NeurIPS`
|
|
28
|
+
- **REVIEWER_MODEL = `gpt-5.4`** — Model used via Codex MCP for plan review, figure review, and writing review.
|
|
29
|
+
- **AUTO_PROCEED = true** — Auto-continue between phases. Set `false` to pause and wait for user approval after each phase.
|
|
30
|
+
|
|
31
|
+
> Override inline: `/paper-writing "NARRATIVE_REPORT.md" — venue: NeurIPS`
|
|
32
32
|
|
|
33
33
|
## Inputs
|
|
34
34
|
|
|
@@ -164,25 +164,25 @@ Invoke `/paper-compile` to build the PDF:
|
|
|
164
164
|
- Undefined references: 0
|
|
165
165
|
- Undefined citations: 0
|
|
166
166
|
|
|
167
|
-
Shall I proceed with the ULTRAWORK final QA?
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Phase 5: ULTRAWORK Final QA
|
|
171
|
-
|
|
172
|
-
Invoke `/ulw-loop` to do a final evidence-based QA pass:
|
|
173
|
-
|
|
174
|
-
```
|
|
175
|
-
/ulw-loop "Final QA for paper/: verify claims vs figures, references, and compile output" --max-iterations=2
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
**What this does (recommend 1-2 rounds):**
|
|
179
|
-
|
|
180
|
-
- Verify claims vs figures and tables
|
|
181
|
-
- Check references, citations, and build artifacts
|
|
182
|
-
- Fix inconsistencies, missing evidence, and presentation gaps
|
|
183
|
-
- Oracle verifies completion; if not verified, iterate
|
|
184
|
-
|
|
185
|
-
**Output:** `paper/main.pdf` plus a `ULTRAWORK_LOG.md` describing evidence and fixes.
|
|
167
|
+
Shall I proceed with the ULTRAWORK final QA?
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Phase 5: ULTRAWORK Final QA
|
|
171
|
+
|
|
172
|
+
Invoke `/ulw-loop` to do a final evidence-based QA pass:
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
/ulw-loop "Final QA for paper/: verify claims vs figures, references, and compile output" --max-iterations=2
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**What this does (recommend 1-2 rounds):**
|
|
179
|
+
|
|
180
|
+
- Verify claims vs figures and tables
|
|
181
|
+
- Check references, citations, and build artifacts
|
|
182
|
+
- Fix inconsistencies, missing evidence, and presentation gaps
|
|
183
|
+
- Oracle verifies completion; if not verified, iterate
|
|
184
|
+
|
|
185
|
+
**Output:** `paper/main.pdf` plus a `ULTRAWORK_LOG.md` describing evidence and fixes.
|
|
186
186
|
|
|
187
187
|
**Format check** (included in improvement loop Step 8): After final recompilation, auto-detect and fix overfull hboxes (content exceeding margins), verify page count vs venue limit, and ensure compact formatting. Any overfull > 10pt is fixed before generating the final PDF.
|
|
188
188
|
|
|
@@ -203,11 +203,11 @@ Invoke `/ulw-loop` to do a final evidence-based QA pass:
|
|
|
203
203
|
| 2. Figures | ✅ | figures/ ([N] auto + [M] manual) |
|
|
204
204
|
| 3. LaTeX Writing | ✅ | paper/sections/*.tex ([N] sections, [M] citations) |
|
|
205
205
|
| 4. Compilation | ✅ | paper/main.pdf ([X] pages) |
|
|
206
|
-
| 5. ULTRAWORK QA | ✅ | ULTRAWORK_LOG.md |
|
|
206
|
+
| 5. ULTRAWORK QA | ✅ | ULTRAWORK_LOG.md |
|
|
207
207
|
|
|
208
208
|
## Deliverables
|
|
209
209
|
- paper/main.pdf — Final polished paper
|
|
210
|
-
- paper/ULTRAWORK_LOG.md — QA log with evidence and fixes
|
|
210
|
+
- paper/ULTRAWORK_LOG.md — QA log with evidence and fixes
|
|
211
211
|
|
|
212
212
|
## Remaining Issues (if any)
|
|
213
213
|
- [items from final review that weren't addressed]
|
|
@@ -6,128 +6,129 @@ allowed-tools: "Read, Write"
|
|
|
6
6
|
metadata:
|
|
7
7
|
category: "research/literature-and-web-search"
|
|
8
8
|
---
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- **
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
>
|
|
20
|
-
> - `/arxiv "
|
|
21
|
-
> - `/arxiv "
|
|
22
|
-
> - `/arxiv "query" -
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- `
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
- **`-
|
|
50
|
-
- **`-
|
|
51
|
-
- **`- download
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
- **
|
|
100
|
-
- **
|
|
101
|
-
- **
|
|
102
|
-
- **
|
|
103
|
-
- **
|
|
104
|
-
|
|
105
|
-
- [contribution
|
|
106
|
-
- [contribution
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
- `
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
9
|
+
|
|
10
|
+
# arXiv Paper Search & Download
|
|
11
|
+
|
|
12
|
+
Search topic or arXiv paper ID: $ARGUMENTS
|
|
13
|
+
|
|
14
|
+
## Constants
|
|
15
|
+
|
|
16
|
+
- **PAPER_DIR** - Local directory to save downloaded PDFs. Default: `papers/` in the current project directory.
|
|
17
|
+
- **MAX_RESULTS = 10** - Default number of search results.
|
|
18
|
+
|
|
19
|
+
> Overrides (append to arguments):
|
|
20
|
+
> - `/arxiv "attention mechanism" - max: 20` - return up to 20 results
|
|
21
|
+
> - `/arxiv "2301.07041" - download` - download a specific paper by ID
|
|
22
|
+
> - `/arxiv "query" - dir: literature/` - save PDFs to a custom directory
|
|
23
|
+
> - `/arxiv "query" - download: all` - download all result PDFs
|
|
24
|
+
|
|
25
|
+
## MCP Requirement (No Script Fallback)
|
|
26
|
+
|
|
27
|
+
This skill uses MCP only. Ensure at least one of these is enabled:
|
|
28
|
+
|
|
29
|
+
- `paper_search_mcp` (preferred, multi-source)
|
|
30
|
+
- `arxiv_mcp` (arXiv-only)
|
|
31
|
+
|
|
32
|
+
If MCP tools are missing, enable them in config:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"mcp_policy": {
|
|
37
|
+
"enable": ["paper_search_mcp", "arxiv_mcp"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Workflow
|
|
43
|
+
|
|
44
|
+
### Step 1: Parse Arguments
|
|
45
|
+
|
|
46
|
+
Parse `$ARGUMENTS` for directives:
|
|
47
|
+
|
|
48
|
+
- **Query or ID**: main search term or a bare arXiv ID such as `2301.07041` or `cs/0601001`
|
|
49
|
+
- **`- max: N`**: override MAX_RESULTS (e.g., `- max: 20`)
|
|
50
|
+
- **`- dir: PATH`**: override PAPER_DIR (e.g., `- dir: literature/`)
|
|
51
|
+
- **`- download`**: download the first result's PDF after listing
|
|
52
|
+
- **`- download: all`**: download PDFs for all results
|
|
53
|
+
|
|
54
|
+
If the argument matches an arXiv ID pattern (`YYMM.NNNNN` or `category/NNNNNNN`), skip the search and go directly to Step 3.
|
|
55
|
+
|
|
56
|
+
### Step 2: Search arXiv (MCP)
|
|
57
|
+
|
|
58
|
+
Use MCP tools to search:
|
|
59
|
+
|
|
60
|
+
- Prefer `paper_search_mcp` if available (multi-source).
|
|
61
|
+
- Otherwise use `arxiv_mcp` (arXiv-only).
|
|
62
|
+
|
|
63
|
+
Call the search tool exposed by the MCP server (the exact tool name appears in your MCP tool list). Pass the query and `MAX_RESULTS`.
|
|
64
|
+
|
|
65
|
+
Present results as a table:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
| # | arXiv ID | Title | Authors | Date | Category |
|
|
69
|
+
|---|------------|---------------------|----------------|------------|----------|
|
|
70
|
+
| 1 | 2301.07041 | Attention Is All... | Vaswani et al. | 2017-06-12 | cs.LG |
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Step 3: Fetch Details for a Specific ID (MCP)
|
|
74
|
+
|
|
75
|
+
Use the MCP server's fetch/details tool (if provided) to retrieve metadata for a specific arXiv ID.
|
|
76
|
+
|
|
77
|
+
Display: title, all authors, categories, full abstract, published date, PDF URL, abstract URL.
|
|
78
|
+
|
|
79
|
+
### Step 4: Download PDFs (MCP)
|
|
80
|
+
|
|
81
|
+
When download is requested:
|
|
82
|
+
|
|
83
|
+
- Use MCP download/fetch tool if available.
|
|
84
|
+
- If the MCP server only returns URLs, create the directory and save the URL list so the user can fetch later.
|
|
85
|
+
|
|
86
|
+
If a local file path is returned:
|
|
87
|
+
|
|
88
|
+
- Confirm file size > 10 KB (reject smaller files - likely an error HTML page)
|
|
89
|
+
- Add a 1-second delay between consecutive downloads to avoid rate limiting
|
|
90
|
+
- Report: `Downloaded: papers/2301.07041.pdf (842 KB)`
|
|
91
|
+
|
|
92
|
+
### Step 5: Summarize
|
|
93
|
+
|
|
94
|
+
For each paper (downloaded or fetched by API):
|
|
95
|
+
|
|
96
|
+
```markdown
|
|
97
|
+
## [Title]
|
|
98
|
+
|
|
99
|
+
- **arXiv**: [ID] - [abs_url]
|
|
100
|
+
- **Authors**: [full author list]
|
|
101
|
+
- **Date**: [published]
|
|
102
|
+
- **Categories**: [cs.LG, cs.AI, ...]
|
|
103
|
+
- **Abstract**: [full abstract]
|
|
104
|
+
- **Key contributions** (extracted from abstract):
|
|
105
|
+
- [contribution 1]
|
|
106
|
+
- [contribution 2]
|
|
107
|
+
- [contribution 3]
|
|
108
|
+
- **Local PDF**: papers/[ID].pdf (if downloaded)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 6: Final Output
|
|
112
|
+
|
|
113
|
+
Summarize what was done:
|
|
114
|
+
|
|
115
|
+
- `Found N papers for "query"`
|
|
116
|
+
- `Downloaded: papers/2301.07041.pdf (842 KB)` (for each download)
|
|
117
|
+
- Any warnings (rate limit hit, file too small, already exists)
|
|
118
|
+
|
|
119
|
+
Suggest follow-up skills:
|
|
120
|
+
|
|
121
|
+
```text
|
|
122
|
+
/research-lit "topic" - multi-source review: Zotero + Obsidian + local PDFs + web
|
|
123
|
+
/novelty-check "idea" - verify your idea is novel against these papers
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Key Rules
|
|
127
|
+
|
|
128
|
+
- Always show the arXiv ID prominently - users need it for citations and reproducibility
|
|
129
|
+
- Verify downloaded PDFs: file must be > 10 KB; warn and delete if smaller
|
|
130
|
+
- Rate limit: wait 1 second between consecutive PDF downloads; retry once after 5 seconds on HTTP 429
|
|
131
|
+
- Never overwrite an existing PDF at the same path - skip it and report "already exists"
|
|
132
|
+
- Handle both arXiv ID formats: new (`2301.07041`) and old (`cs/0601001`)
|
|
133
|
+
- PAPER_DIR is created automatically if it does not exist
|
|
134
|
+
- If the arXiv API is unreachable, report the error clearly and suggest using `/research-lit` with `- sources: web` as a fallback
|
|
@@ -6,82 +6,83 @@ allowed-tools: "WebSearch, WebFetch, Grep, Read, Glob, mcp__codex__codex"
|
|
|
6
6
|
metadata:
|
|
7
7
|
category: "research/literature-and-web-search"
|
|
8
8
|
---
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- What
|
|
26
|
-
- What
|
|
27
|
-
- What
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
9
|
+
|
|
10
|
+
# Novelty Check Skill
|
|
11
|
+
|
|
12
|
+
Check whether a proposed method/idea has already been done in the literature: **$ARGUMENTS**
|
|
13
|
+
|
|
14
|
+
## Constants
|
|
15
|
+
|
|
16
|
+
- REVIEWER_MODEL = `gpt-5.4` — Model used via Codex MCP. Must be an OpenAI model (e.g., `gpt-5.4`, `o3`, `gpt-4o`)
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
|
|
20
|
+
Given a method description, systematically verify its novelty:
|
|
21
|
+
|
|
22
|
+
### Phase A: Extract Key Claims
|
|
23
|
+
1. Read the user's method description
|
|
24
|
+
2. Identify 3-5 core technical claims that would need to be novel:
|
|
25
|
+
- What is the method?
|
|
26
|
+
- What problem does it solve?
|
|
27
|
+
- What is the mechanism?
|
|
28
|
+
- What makes it different from obvious baselines?
|
|
29
|
+
|
|
30
|
+
### Phase B: Multi-Source Literature Search
|
|
31
|
+
For EACH core claim, search using ALL available sources:
|
|
32
|
+
|
|
33
|
+
1. **Web Search** (via `WebSearch`):
|
|
34
|
+
- Search arXiv, Google Scholar, Semantic Scholar
|
|
35
|
+
- Use specific technical terms from the claim
|
|
36
|
+
- Try at least 3 different query formulations per claim
|
|
37
|
+
- Include year filters for 2024-2026
|
|
38
|
+
|
|
39
|
+
2. **Known paper databases**: Check against:
|
|
40
|
+
- ICLR 2025/2026, NeurIPS 2025, ICML 2025/2026
|
|
41
|
+
- Recent arXiv preprints (2025-2026)
|
|
42
|
+
|
|
43
|
+
3. **Read abstracts**: For each potentially overlapping paper, WebFetch its abstract and related work section
|
|
44
|
+
|
|
45
|
+
### Phase C: Cross-Model Verification
|
|
46
|
+
Call REVIEWER_MODEL via Codex MCP (`mcp__codex__codex`) with xhigh reasoning:
|
|
47
|
+
```
|
|
48
|
+
config: {"model_reasoning_effort": "xhigh"}
|
|
49
|
+
```
|
|
50
|
+
Prompt should include:
|
|
51
|
+
- The proposed method description
|
|
52
|
+
- All papers found in Phase B
|
|
53
|
+
- Ask: "Is this method novel? What is the closest prior work? What is the delta?"
|
|
54
|
+
|
|
55
|
+
### Phase D: Novelty Report
|
|
56
|
+
Output a structured report:
|
|
57
|
+
|
|
58
|
+
```markdown
|
|
59
|
+
## Novelty Check Report
|
|
60
|
+
|
|
61
|
+
### Proposed Method
|
|
62
|
+
[1-2 sentence description]
|
|
63
|
+
|
|
64
|
+
### Core Claims
|
|
65
|
+
1. [Claim 1] — Novelty: HIGH/MEDIUM/LOW — Closest: [paper]
|
|
66
|
+
2. [Claim 2] — Novelty: HIGH/MEDIUM/LOW — Closest: [paper]
|
|
67
|
+
...
|
|
68
|
+
|
|
69
|
+
### Closest Prior Work
|
|
70
|
+
| Paper | Year | Venue | Overlap | Key Difference |
|
|
71
|
+
|-------|------|-------|---------|----------------|
|
|
72
|
+
|
|
73
|
+
### Overall Novelty Assessment
|
|
74
|
+
- Score: X/10
|
|
75
|
+
- Recommendation: PROCEED / PROCEED WITH CAUTION / ABANDON
|
|
76
|
+
- Key differentiator: [what makes this unique, if anything]
|
|
77
|
+
- Risk: [what a reviewer would cite as prior work]
|
|
78
|
+
|
|
79
|
+
### Suggested Positioning
|
|
80
|
+
[How to frame the contribution to maximize novelty perception]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Important Rules
|
|
84
|
+
- Be BRUTALLY honest — false novelty claims waste months of research time
|
|
85
|
+
- "Applying X to Y" is NOT novel unless the application reveals surprising insights
|
|
86
|
+
- Check both the method AND the experimental setting for novelty
|
|
87
|
+
- If the method is not novel but the FINDING would be, say so explicitly
|
|
88
|
+
- Always check the most recent 6 months of arXiv — the field moves fast
|