From 58a2136a357d12691e9b2d4679b0e428621b6b7a Mon Sep 17 00:00:00 2001 From: JunkaiWang-TheoPhy <1181100960@qq.com> Date: Thu, 2 Apr 2026 19:09:11 +0800 Subject: [PATCH] clarify Scientify user flows and skill entry points --- README.en.md | 5 ++++- README.md | 13 +++++++++++++ index.ts | 2 +- openclaw.plugin.json | 2 +- src/templates/bootstrap.ts | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 3 deletions(-) diff --git a/README.en.md b/README.en.md index cf163fd..00b2bd3 100644 --- a/README.en.md +++ b/README.en.md @@ -267,6 +267,10 @@ Check status anytime: | **research-review** | `/research-review` | Review implementation. Iterates fix → rerun → review up to 3 times. | | **research-experiment** | `/research-experiment` | Full training + ablation experiments. Requires review PASS. | | **idea-generation** | `/idea-generation` | Generate 5 innovative research ideas from a topic, select and enhance the best one. | +| **write-paper** | `/write-paper` | Draft a result-driven paper or technical report from experiment artifacts. | +| **artifact-review** | `/artifact-review` | Review a draft, README, or figure set before external sharing. | +| **figure-standardize** | `/figure-standardize` | Normalize figure filenames, captions, labels, and reuse metadata. | +| **release-layout** | `/release-layout` | Repackage existing artifacts into a clearer README or release entry surface. | @@ -306,7 +310,6 @@ Check status anytime: | `/papers` | List downloaded papers with metadata | | `/ideas` | List generated ideas | | `/projects` | List all projects | -| `/project-switch ` | Switch active project | | `/project-delete ` | Delete a project | | `/research-subscribe ...` | Create/update scheduled Scientify jobs | | `/research-subscriptions` | Show your scheduled Scientify jobs | diff --git a/README.md b/README.md index 0c848fe..369d261 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,19 @@ openclaw gateway /ideas # 列出已生成想法 ``` +## 中后段项目的快捷技能 + +如果项目已经有一部分产物,不必总是从 `/metabolism` 或 `/research-survey` 重新开始。可以直接进入这些 skill: + +- `/write-paper` + - 适合:已经有 `experiment_res.md`、结果图或结果表,准备整理成 paper draft +- `/artifact-review` + - 适合:已有 draft、README 更新或准备对外分享的 figures,想先做发布前审查 +- `/figure-standardize` + - 适合:图已经有了,但文件名、caption、单位、标签风格不统一 +- `/release-layout` + - 适合:项目已有成果,想把 README 或 release 入口改得更清楚、更适合外部阅读 + --- ## 已知限制 diff --git a/index.ts b/index.ts index 5ace4bf..5d5559f 100644 --- a/index.ts +++ b/index.ts @@ -18,7 +18,7 @@ import { handleMetabolismStatus } from "./src/commands/metabolism-status.js"; export default definePluginEntry({ id: "scientify", name: "Scientify", - description: "AI-powered research workflow automation with continuous knowledge metabolism", + description: "Continuous AI research workflow for survey, planning, implementation, review, experimentation, and writing", register(api) { // Register tools api.registerTool(createArxivSearchTool()); diff --git a/openclaw.plugin.json b/openclaw.plugin.json index b6555ce..412abf9 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -1,7 +1,7 @@ { "id": "scientify", "name": "Scientify", - "description": "AI-powered research workflow automation for OpenClaw", + "description": "Continuous AI research workflow for survey, planning, implementation, review, experimentation, and writing", "configSchema": { "type": "object", "additionalProperties": false, diff --git a/src/templates/bootstrap.ts b/src/templates/bootstrap.ts index b8c9497..2a2fb4c 100644 --- a/src/templates/bootstrap.ts +++ b/src/templates/bootstrap.ts @@ -10,6 +10,7 @@ export function renderBootstrapMd(projectName: string): string { ## 引导流程 +<<<<<<< Updated upstream 1. 向用户问好,说明你是课题「${projectName}」的研究 agent,请用户描述研究方向 2. 根据用户回答,提取: - 核心域关键词(3-5 个) @@ -22,6 +23,26 @@ export function renderBootstrapMd(projectName: string): string { 5. 询问用户是否立即执行 Day 0(构建初始知识状态) - 如果是,执行 /metabolism 完成首轮文献检索和知识库构建(Day 0 模式) 6. 删除本文件(BOOTSTRAP.md) +======= +1. Greet the user, explain that you are the research agent for project "${projectName}", and ask them to describe the research direction. +2. Based on the user's answer, extract: + - core-domain keywords (3-5) + - suggested arXiv categories (for example \`cs.LG\`, \`cs.AI\`); leave empty if the topic is outside arXiv coverage + - preferred literature sources (\`arxiv\`, \`openalex\`, or both) +3. Discuss scope and priorities with the user, confirm the configuration, and accept adjustments. +4. Once confirmed, write the following files: + - update \`SOUL.md\` with the project direction and domain fields + - generate \`config.json\` using the template below + - create \`progress_status.json\` for the current goal, including overall goal, current focus, next step, total tasks, completed tasks, and 3-7 subtasks +5. Ask whether the user wants to run Day 0 immediately to build the initial knowledge state. + - If yes, run \`/metabolism\` to perform the first literature retrieval and knowledge-base construction pass. +6. If the project already has partial outputs, use the shortest matching path instead of restarting the full pipeline: + - existing \`experiment_res.md\` plus figures -> \`/write-paper\` + - existing \`paper/draft.md\` -> \`/artifact-review\` + - existing figures with inconsistent captions or style -> \`/figure-standardize\` + - preparing \`README.md\` or release-facing docs -> \`/release-layout\` after a fresh release gate exists +7. Delete this file (\`BOOTSTRAP.md\`) after the setup is complete. +>>>>>>> Stashed changes ## config.json 模板 @@ -66,9 +87,16 @@ export function renderAgentsMd(): string { \`\`\` $W/ +<<<<<<< Updated upstream ├── SOUL.md # 身份 + 研究方向 ├── AGENTS.md # 本文档 ├── config.json # 项目配置(关键词、分类、当前天数) +======= +├── SOUL.md # identity and project direction +├── AGENTS.md # this document +├── config.json # project config (keywords, categories, current day) +├── progress_status.json # agent-defined task progress for the current goal +>>>>>>> Stashed changes │ ├── papers/ # 文献区:下载的论文 │ ├── {arxiv_id}/ # arXiv 论文源文件 @@ -110,6 +138,12 @@ $W/ ### Immutability 产出文件一旦写入不修改,除非用户明确要求。例外:\`project/\` 在 implement-review 迭代中可变。 +### Progress Tracking +- Do not assume every project follows the same fixed stages. +- Define progress in \`progress_status.json\` based on the user's current goal. +- Update \`progress_status.json\` whenever the total task, current focus, subtask states, or next step changes. +- Recommended fields: \`overall_goal\`, \`current_focus\`, \`next_step\`, \`completed_tasks\`, \`total_tasks\`, \`subtasks\`. + ### Knowledge File Rules - knowledge/ 下的文件是持久知识状态,修改需谨慎 - 每次修改必须先读取当前内容再更新