M4 结构规划——生成 IMRAD 大纲、章节边界、篇幅分配、写作顺序。只管 骨架,不管论证逻辑(论证主线归 m5-argument)。消费 M3 实验结果概要 和 M1 选题定位,产出 outline 写入 passport,供 M5/M6 按章节展开。

No licenceAuto-check: notesResearch & Science

Install M4 Structure

skills CLI
$ npx skills add larbare12/paperfactory-from-idea-to-manuscript --skill m4-structure -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install larbare12/paperfactory-from-idea-to-manuscript m4-structure --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/larbare12/paperfactory-from-idea-to-manuscript.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/m4-structure .claude/skills/m4-structure && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
m4-structure
GitHub stars
116
Token cost
~952 tokens
SKILL.md length
189 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

M4 结构规划——生成 IMRAD 大纲、章节边界、篇幅分配、写作顺序。只管 骨架,不管论证逻辑(论证主线归 m5-argument)。消费 M3 实验结果概要 和 M1 选题定位,产出 outline 写入 passport,供 M5/M6 按章节展开。

  • Works in 4 steps: 论文类型定位 → 选定骨架 → 篇幅分配 → …
  • Research & Science work in your project
  • SKILL.md covers 输入, 输出, 使用场景 and 规划步骤(4 步), plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

M4 Structure is an agent skill from larbare12/paperfactory-from-idea-to-manuscript. M4 结构规划——生成 IMRAD 大纲、章节边界、篇幅分配、写作顺序。只管 骨架,不管论证逻辑(论证主线归 m5-argument)。消费 M3 实验结果概要 和 M1 选题定位,产出 outline 写入 passport,供 M5/M6 按章节展开。 任何"实验完成后规划论文框架""转投不同期刊调整篇幅""IMRAD 结构 设计"场景调用本 skill。

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science. The repository describes itself as: 能够实现:人提供idea,agent自动帮你生成论文.

When your agent uses it

  • Research & Science work in your project

Example prompts

  • “实验完成后规划论文框架”
  • “转投不同期刊调整篇幅”
  • “IMRAD 结构 设计”
  • “/m4-structure”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Grep, Glob

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 论文类型定位
  2. 选定骨架
  3. 篇幅分配
  4. 章节边界声明

What it can do on your machine

Read from SKILL.md and the folder at commit 869103c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

M4 Structure loads about 952 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~952

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Grep, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 189 words (~952 tokens).

“理论型 / 方法型 / 实证型 / 综述型 → 决定篇幅模板(见下表)。”

— opening of SKILL.md by larbare12
name
m4-structure
allowed-tools
Bash, Read, Write, Edit, Grep, Glob

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/m4-structure of larbare12/paperfactory-from-idea-to-manuscript.

Open the folder on GitHubat commit 869103c

Compare with similar skills

M4 Structure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

M4 Structure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
M4 Structure this skilllarbare12/paperfactory-from-idea-to-manuscript116—~952Automated safety check: NotesNone
Hypothesis Generationspacering-net/codeg3.8k15 repos~3.6kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow83k5 repos~1.3kAutomated safety check: PassMIT
Nature Paper CardYuan1z0825/nature-skills46k2 repos~2.1kAutomated safety check: PassApache-2.0
Read arXiv Paperkarpathy/nanochat58k2 repos~494Automated safety check: PassMIT
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    83k GitHub starsUsed in 5 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    46k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Read arXiv Paper

    karpathy/nanochat

    Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project.

    58k GitHub starsUsed in 2 repos~494 tokens
    Research & ScienceAuto-check passed
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Peer Review

    spacering-net/codeg

    Structured manuscript/grant review with checklist-based evaluation.

    3.8k GitHub starsUsed in 18 repos~5.9k tokens
    Research & ScienceAuto-check: notes

More from larbare12/paperfactory-from-idea-to-manuscript

All 9 skills in this repo
  • Citation Search

    larbare12/paperfactory-from-idea-to-manuscript

    学术文献检索与质量验证。覆盖 Semantic Scholar / CrossRef / arXiv / OpenAlex 四源,内置 Tier 0 反幻觉校验(DOI 反查 + Levenshtein ≥ 0.70) 和 venue quality 过滤(CCF + JCR 影响因子,arXiv 引用阈值)。任何需要 查文献、验证引用真实性、评估期刊/会议质量、生成…

    116 GitHub stars~1.9k tokensUpdated 4 mo ago
    Auto-check: notes
  • M0 Dashboard

    larbare12/paperfactory-from-idea-to-manuscript

    M0 项目仪表盘——流程外的常驻横切模块,不属于线性步骤。任何时点 扫描 relate-work/ + draft/ 输出三态报表:已完成 / 待回填(NEEDS-EVIDENCE / TODO / 未读论文)/ 阻塞。M1-M7 任何阶段都可以调用 M0 看状态。/paper- assistant:init 命令首次扫描就是它。M0 只读不写,不动 manifest 也不动 draft。

    116 GitHub stars~809 tokensUpdated 4 mo ago
    Auto-check: notes
  • M1 Topic

    larbare12/paperfactory-from-idea-to-manuscript

    M1 选题诊断——数据驱动的研究 idea 可行性 / 创新性 / 领域契合度评估. An agent skill from larbare12/paperfactory-from-idea-to-manuscript.

    116 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • M2 Literature

    larbare12/paperfactory-from-idea-to-manuscript

    M2 文献管理(IMRAD 中的 Related Work + References)。消费 M1 沉淀的 search-.jsonl,做精读、引用网络分析、bibkey 整理、四类标签(基础/方法/ baseline/相关)、引用密度审计、BibTeX 格式规范化,产出 manifest.jsonl + ref-.md 笔记卡 + 引用校验报告,供 M3 baseline / M5 论证链…

    116 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check: notes
  • M3 Experiment

    larbare12/paperfactory-from-idea-to-manuscript

    M3 实验设计——方案检查、指标选择、对比方法、消融、显著性、误差分析. An agent skill from larbare12/paperfactory-from-idea-to-manuscript.

    116 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • M6 Writing

    larbare12/paperfactory-from-idea-to-manuscript

    M6 写作辅助——按 M5 论证骨架展开正文,按 M4 章节边界控制内容. An agent skill from larbare12/paperfactory-from-idea-to-manuscript.

    116 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check: notes

Questions about M4 Structure

What does M4 Structure do?

M4 结构规划——生成 IMRAD 大纲、章节边界、篇幅分配、写作顺序。只管 骨架,不管论证逻辑(论证主线归 m5-argument)。消费 M3 实验结果概要 和 M1 选题定位,产出 outline 写入 passport,供 M5/M6 按章节展开。. M4 Structure is an agent skill from larbare12/paperfactory-from-idea-to-manuscript.

When should I use M4 Structure?

M4 Structure fits situations like: research & Science work in your project.

How do I install M4 Structure in Claude Code?

Run `npx skills add larbare12/paperfactory-from-idea-to-manuscript --skill m4-structure -a claude-code`. Or copy the skill folder (skills/m4-structure in larbare12/paperfactory-from-idea-to-manuscript) into .claude/skills/m4-structure in your project. Claude Code loads it when a task matches its description.

How do I install M4 Structure in Codex?

Run `npx skills add larbare12/paperfactory-from-idea-to-manuscript --skill m4-structure -a codex`. Or copy the skill folder (skills/m4-structure in larbare12/paperfactory-from-idea-to-manuscript) into .agents/skills/m4-structure in your project. Codex loads it when a task matches its description.

Can I use M4 Structure in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add larbare12/paperfactory-from-idea-to-manuscript --skill m4-structure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/m4-structure, .gemini/skills/m4-structure, .github/skills/m4-structure and .opencode/skills/m4-structure in your project.

What does M4 Structure need to run?

SKILL.md names no scripts, command-line tools or credentials: M4 Structure is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep, Glob.

Does M4 Structure access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is M4 Structure safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does M4 Structure use?

No licence was found for M4 Structure or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does M4 Structure use?

About 952 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to M4 Structure?

Skills that share tags, products or a category with M4 Structure: Hypothesis Generation (spacering-net/codeg, 3.8k stars), GitHub Deep Research (bytedance/deer-flow, 83k stars), Nature Paper Card (Yuan1z0825/nature-skills, 46k stars) and Read arXiv Paper (karpathy/nanochat, 58k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains M4 Structure?

larbare12 (a GitHub user) maintains it in larbare12/paperfactory-from-idea-to-manuscript, which has 116 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on May 19, 2026.

Source: larbare12/paperfactory-from-idea-to-manuscript on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.