Ai Html Auto Import logo

Ai Html Auto Import

Community
infometa
ai-html-auto-import

将文章正文自动导入 135 编辑器,生成 AI 排版并返回排版 HTML 与编辑器链接。当用户要求自动导入文章、处理正文或生成 135 AI 排版内容时使用。

Overview

Publisherinfometa
Repositoryworkbuddyskills
Skill nameai-html-auto-import
Stars
376
Forks
124
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by infometa on GitHub. Read the source before you install it.

Installation

Install the Ai Html Auto Import AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/infometa/workbuddyskills/tree/main/connectors/135ai-editor/skills/ai-html-auto-import
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/infometa/workbuddyskills.git /tmp/workbuddyskills
mkdir -p .claude/skills
cp -r /tmp/workbuddyskills/connectors/135ai-editor/skills/ai-html-auto-import .claude/skills/ai-html-auto-import
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ai Html Auto Import in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ai Html Auto Import on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ai Html Auto Import is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

135 编辑器 AI 自动导入

前置条件

使用 135ai-editor MCP 连接器调用。本连接器使用 MCP 原生 OAuth 认证: 首次访问由 WorkBuddy 打开浏览器完成 135 编辑器账号授权,之后自动携带 Bearer 访问令牌并自动续期,不要求用户在对话中提供 API Key、Token 或验证码。 connector-meta.json 不设置 auth_mode、mcp.json 不写静态 headers 是有意设计。 仅在连接器显示「已连接」后调用工具。服务地址以连接器 mcp.json 为准。 调用工具 auto_import_ai_html(显示名「自动导入文章生成排版」),不要将 REST 路径当作 MCP 工具名称。

如果调用返回 401,说明授权已失效,提示用户在连接器设置中断开后重新连接。

用户需要提供文章正文;只有链接时,先通过可用的读取工具获取正文,无法读取则向用户索取正文。 每次成功生成扣除 1 点。执行前说明费用并确认用户同意;已明确同意本次费用时不重复询问。

参数与调用

  • content:必填,非空字符串,原始文章正文。不要发送链接代替正文,不擅自改写用户提供的文章。
  • idempotency_key:可选,非空字符串,最多 100 字节。每次新生成使用新的唯一标识,同一请求重试保持原标识;建议始终提供。
json
{"name":"auto_import_ai_html","arguments":{"content":"这里是待处理的文章正文。","idempotency_key":"article-import-550e8400-e29b-41d4-a716-446655440000"}}

不要并发提交同一正文。服务仅复用同一授权身份下已完成的幂等请求,不保证处理中请求或失败请求不会再次生成、扣费。 请求超时或返回 500 时不要自动循环重试;告知结果可能不确定,确认用户同意后再使用原标识重试。 改变正文后必须换用新标识,否则可能返回旧结果。

返回与展示

成功时 isError 为 false,structuredContent 返回:

json
{"content":"<section ...排版后的完整 HTML...</section>","url":"https://www.135editor.com/ai_editor/ai-style/editor/?id=456","remaining_num":371}
  • content:排版后的完整 HTML(135editor onekey 格式,可直接渲染或写入文件)。排版脚本执行失败时为 null,此时正文未排版但不影响其余流程。
  • url:135 AI 排版项目地址,打开可在编辑器中继续编辑该排版;排版失败时为 null。
  • remaining_num:本次扣点后剩余的 AI 排版点数。

排版结果已入库:标题/正文/封面图存文章(WxMsg),排版规则存 AiHtmlParserMsg,可通过 url 在编辑器中继续编辑。 保留返回内容原样交付,可按用户需求写入文件;向用户展示编辑器链接和剩余点数,用户需要修改排版时引导打开 url。 此工具生成内容并保存到用户文章列表,但不保证发布或发送;不要声称已完成这些操作。

失败时业务错误通过 isError: true 及 structuredContent 中的 code、data、message 返回:

  • 400 或 JSON-RPC -32602:检查正文和参数,不提交空正文或多余参数。
  • 401:授权已失效或已被撤销,提示用户在连接器设置中断开后重新连接。
  • 402:点数不足或扣点失败,提示用户检查余额,不继续生成。
  • 500:服务配置或生成失败,说明失败并停止,不编造结果或余额。

可以使用 get_ai_html_balance 查询余额,但余额检查不保证后续扣点一定成功。

Frequently asked questions

What does the Ai Html Auto Import AI skill do?

将文章正文自动导入 135 编辑器,生成 AI 排版并返回排版 HTML 与编辑器链接。当用户要求自动导入文章、处理正文或生成 135 AI 排版内容时使用。

Why use Ai Html Auto Import on TypingMind?

Because you install it once and use it with any model. Ai Html Auto Import is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ai Html Auto Import in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/infometa/workbuddyskills/tree/main/connectors/135ai-editor/skills/ai-html-auto-import. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ai Html Auto Import?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ai Html Auto Import?

As many as you like. As long as a model supports skills, you can use Ai Html Auto Import with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ai Html Auto Import AI skill free?

It is published on GitHub by infometa. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇