Axing Layout — AI skill for Claude Code
阿星排版器:Markdown 一键排成公众号文章,5 套风格 × 6 套配色,离线网页版、CLI 和 AI Skill,MIT 开源.
How to install Axing Layout
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open seeyouintokyo/axing-layout and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Axing Layout does
阿星排版器:Markdown 一键排成公众号文章,5 套风格 × 6 套配色,离线网页版、CLI 和 AI Skill,MIT 开源。
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
- Iwe — Markdown knowledge graph — LSP for your editor, CLI + MCP memory for your AI agents 1.8k ★
README
阿星排版器 · axing-layout
把 Markdown 排成公众号文章:导入文章和图片,选择风格与配色,预览后复制到公众号编辑器。
作者阿星,微信 **staraiwork**,欢迎加我交流。
开源免费,MIT 协议。提供离线网页版、命令行和 AI Skill,共用同一套 JavaScript 排版引擎,无第三方 npm 依赖。网页版排版本身不调用模型,不需要 API Key。

直接用网页版
- 下载源码 ZIP,解压。
- 用浏览器打开
dist/index.html,无需安装 Node.js,断网也能排版。 - 把 Markdown 文件和对应图片一起拖进去,也可以直接粘贴 Markdown。
- 选择风格和配色,点击「复制全文到公众号」,粘贴到公众号正文编辑器。
也可以点击「下载 HTML」保存排版结果。公众号文章标题需在后台单独填写。
能做什么
**栏目头和钩子**:正文第一段写 `VIEWPOINT · 观点` 这样的栏目头,后面一到三行短句当钩子,会自动排成开头块(短红线 + 红色小字栏目 + 加粗大字钩子),不用手动加颜色。
**5 套风格 × 6 套配色**:风格决定版式,配色决定颜色,可独立切换。
**实时预览**:左侧编辑 Markdown,中间查看手机宽度下的排版,右侧查看检查结果。
**列表编号**:保留被图片或段落隔开的编号;全写成 `1.` 的列表自动顺序编号。
**常用内容**:标题、加粗、高亮、下划线、引用、提示框、代码块、表格、图片和图注。
**本地图片**:嵌入导出的 HTML;网页版会压缩较大的静态图片,GIF 保留动画。
**粘贴前检查**:检查部分不兼容写法、字号、缺失图片和外链等问题。
| 风格 | ID | 配色 | ID |
|---|---|---|---|
| 大气(默认) | airy |
阿星(默认) | axing |
| 标准 | standard |
阿星黄底 | axing-yellow |
| 卡片 | card |
白底红 | frank |
| 杂志 | magazine |
青灰 | teal |
| 极简 | minimal |
藏蓝 | navy |
| 奶咖 | coffee |
命令行
需要 Node.js 18 或更高版本,无需执行 `npm install`。
git clone https://github.com/seeyouintokyo/axing-layout.git
cd axing-layout
node bin/axing-layout.mjs "文章.md" --preview
默认在文章旁生成正文 HTML 和可切换风格的预览页。图片相对路径以 Markdown 所在目录为准。
# 指定风格、配色和输出位置
node bin/axing-layout.mjs "文章.md" -s magazine -p coffee -o "正文.html" --preview
# 查看可用风格和配色
node bin/axing-layout.mjs --list
# 只检查,不生成文件
node bin/axing-layout.mjs "文章.md" --check
完整参数见 [SKILL.md](SKILL.md)。命令行图片压缩在 macOS 上使用系统自带的 `sips`;其他系统会保留原图数据。
作为 AI Skill 使用
把完整仓库放进支持 `SKILL.md` 的工具的技能目录,并将文件夹命名为 `axing-layout`。例如 Claude Code 的 `~/.claude/skills/axing-layout` 或 Codex 的 `~/.codex/skills/axing-layout`。
随后提供 Markdown 路径并说明:「用 axing-layout 把这篇排成公众号文章,生成可换风格的预览页。」
Skill 让 Agent 执行排版命令、读取简短检查结果;正文 HTML 由代码生成。
Markdown 约定
- 第一个
#作为文章标题,不放进正文;##作为章节标题,可自动编号。 **加粗**、`==高亮==
Related Skills
Agentickit
AI copilot for React apps. Reads your state, fills forms, confirms actions, calls your tools. Multi-agent, AI
Aios Klaudynka
Personal Agentic OS in Markdown: local RAG (LanceDB + BGE-M3), 14 core skills + 4 optional meta skills, Backpa
Adams
Adams: one skill for Claude Code and Copilot CLI. Text that does not read as AI-written, layout and visual che
Module AI Description Updater
Automatically generate Magento 2 product descriptions using OpenAI, Claude, Gemini or Groq (free). Bulk CLI, c
Modelrudder
Experimental local LLM router for OpenAI Codex CLI and Claude Code. Automatically selects models per task usin
Quorus
Quorus AI: multi-agent rooms for Claude Code, Codex and opencode. Agents fix in their own git worktrees, revie
Related Agents
Researcher Design
Recherchiert Design/UI für ein Projekt-Briefing. Output ist ein Markdown-Brief mit konkreten Aktionspunkten. U
OSS Maintainer
Mantiene la higiene open source de las piezas del paraguas ai-native (cli, skills, mcp). Úsalo antes de public
Devloop Smoke
Fährt den Smoke gegen einen LOKALEN Stack auf dem PR-Stand — auf dem echten Konsumentenpfad (Browser, API oder