安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install arch-sign-off
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-arch-sign-off。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
arch-sign-off
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install arch-sign-off - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 arch-sign-off。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
Arch Sign-off 是一个专为 ai-thoughts/docs/ 中的文章设计的写作工作流程。它采用长期默认设置:除非用户明确要求不要添加,否则在每篇文章底部单独一段中放置 btw, i use arch。无论英文版还是中文版,这一行都保持英文。
此 Openclaw Skills 工作流程可帮助 AI 编码代理一致地完成文章编辑,同时避免改动 README 和 articles.yaml 等无关文件。它会在修改文章前检查是否已有署名,并支持对应的中文文章文件。
应用场景
ai-thoughts/docs/
中的新文章,并应用默认署名。
根据要求为现有文章添加署名。
更新英文文章及其
-zh-hans.md
或旧版
-chn.md
对应文件。
验证文章是否以确切的署名结尾,且没有重复行。
用户明确要求不要添加时,跳过更改。
工作原理
articles.yaml
ai-thoughts/docs/
以外的文件。
工作原理
找出 ai-thoughts/docs/ 中的目标文章;如果未提供路径,则使用当前正在撰写的文章。
检查文章末尾是否有确切的一行 btw, i use arch。
如果署名已经是最后一行,则保持文件不变;否则在一个空行之后将其作为单独一段追加。
查找以 -zh-hans.md 或旧版 -chn.md 为后缀的中文对应文件;如果存在,则添加同一条英文署名。
将署名保持为一条简短的独立行,并保留文章每段一行的格式。
使用 tail -1 验证最后一行,并检查是否引入了重复署名。
配置指南
SKILL.md 未指定软件包安装命令或其他配置。让编码代理可以使用此技能,然后提供文章路径,或请代理将其应用于当前正在撰写的文章。目标必须是 ai-thoughts/docs/ 下的一篇文章。
技能中展示了一条 Python 命令,可将署名追加到指定文件:
python3 -c "
import pathlib; p = pathlib.Path('TARGET_FILE');
c = p.read_text();
if 'btw, i use arch' not in c:
p.write_text(c.rstrip() + '\n\nbtw, i use arch\n')
"
将 TARGET_FILE 替换为文章路径。遵从明确要求跳过署名的请求。验证时运行:
tail -1 TARGET_FILE
数据架构
此技能未定义单独的数据库、元数据分类体系或生成的输出文件。它会直接修改文章文件。
项目 约定
目标 ai-thoughts/docs/ 中的一篇文章
署名 确切且逐字不变的英文文本:btw, i use arch
位置 最后一行,单独成段,与前文之间空一行
中文对应文件 -zh-hans.md 或旧版 -chn.md;保留英文署名
输出 更新后的文章文件;若已添加署名或用户选择跳过,则保持文件不变
排除项 README、articles.yaml 以及 ai-thoughts/docs/ 以外的文件
插入示例会在追加前检查署名文本是否出现在文件的任何位置。规定的工作流程则会检查它是否已经是最后一行;使用示例时,请验证署名位置并检查是否重复。
高级特性
长期默认设置:对所有符合条件的文章添加署名,除非用户明确选择不添加。
防止重复:已经添加署名的文章保持不变。
双语文章处理:为识别出的中文对应文件添加完全相同、未经翻译的英文文本。
范围保护:排除非文章文件以及
ai-thoughts/docs/
以外的路径。
轻量级验证:使用
tail -1
确认必需的最后一行。
此技能未指定钩子、多代理编排或自动化集成。
name: arch-sign-off
description: >
Append the Arch Linux sign-off line btw, i use arch to the very bottom of
an article in ai-thoughts/docs/ (EN or ZH). This is a standing default for
every article: apply it unless the user explicitly says not to. Use when
writing or finishing any new article, or when the user asks to add it.
Arch Sign-off
Append the Arch Linux sign-off line to the bottom of an article in ai-thoughts/docs/.
Default rule — read before anything else
Every article in ai-thoughts/docs/ ends with the sign-off line, unless the user explicitly says otherwise. "Unless I say no" means: if the user has not told you to skip it, append it.
The sign-off is one line at the very bottom of the file, as its own paragraph:
btw, i use arch
The sign-off stays verbatim English in both the EN and the ZH (-zh-hans.md, legacy -chn.md) versions. Do not translate it.
If the sign-off is already present, do not duplicate it.
Inputs
target — path to the article in ai-thoughts/docs/ (optional). If omitted, apply to the article currently being written.
Outputs
The article file with the sign-off line at the end (or unchanged if already present).
Procedure
Check the bottom of the target article.
If the last line is already btw, i use arch, stop — nothing to do.
Otherwise append the sign-off as the final line, separated by one blank line from the preceding paragraph.
When the article has a Chinese counterpart (-zh-hans.md or legacy -chn.md), apply the same line to it (verbatim English).
Keep one paragraph per line (no hard-wrap); the sign-off is a single short line.
Insertion
python3 -c "
import pathlib; p = pathlib.Path('TARGET_FILE');
c = p.read_text();
if 'btw, i use arch' not in c:
p.write_text(c.rstrip() + '\n\nbtw, i use arch\n')
"
Replace TARGET_FILE with the article path.
Verification
tail -1 FILE outputs exactly btw, i use arch.
No duplicate sign-off lines.
The Chinese version (if any — -zh-hans.md or legacy -chn.md) carries the identical line.
Error Handling
User says no: do not append; leave the article as-is.
Not an article: never append to READMEs, articles.yaml, or files outside ai-thoughts/docs/.
TikTok 转录文本
翻译为简体中文