Translate a specific article from ai-thoughts/docs/ into Simplified Chinese, writing the output to an exactly-same-filename "-chn.md" file. Use when the user names a specific article and asks to translate it (e.g. "translate 260803-ollama-to-llamacpp", "翻译 xxx", "make a -chn.md version"). Never runs automatically; only acts on an explicitly chosen article.
编程
arch-sign-off
试用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.
它能做什么
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 (
-chn.md) versions. Do not translate it. Keep the glyph (U+F303,nf-linux-archlinux) as-is. - If the sign-off is already present, do not duplicate it.
Inputs
target— path to the article inai-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+ chr(0xF303), stop — nothing to do. Verify withxxd(see below) — the visual glyph can be absent even when the ASCII portion matches. - Otherwise append the sign-off as the final line, separated by one blank line from the preceding paragraph. Use the Python one-liner below to insert — do not type the glyph directly, as PUA characters (U+F303) are silently dropped by edit tools and terminals.
- When the article has a
-chn.mdcounterpart, 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 (use this, not the edit tool)
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 ' + chr(0xF303) + '\n')
"
Replace TARGET_FILE with the article path. The chr(0xF303) is the only reliable way to produce the glyph — visual copy/paste of the glyph does not work.
Verification
tail -1 FILE | xxdmust showef8c83(the UTF-8 encoding of U+F303) as the final bytes before the newline.- No duplicate sign-off lines.
- The
-chn.mdversion (if any) carries the identical line. - Do not rely on visual inspection. The glyph renders as a box or nothing in most terminals; only
xxdor a hex check confirms it is present.
Error Handling
- User says no: do not append; leave the article as-is.
- Not an article: never append to READMEs,
articles.yaml, or files outsideai-thoughts/docs/.
相关技能
Convert and polish a Markdown article into AstroPaper-compatible post format for the astro_journal blog (everbox.io). Use when the user wants to publish or sync an article (e.g. from ai-thoughts/docs/ or history/docs/) to the Astro blog, convert Markdown to Astro format, add AstroPaper frontmatter, or move images into src/assets/images/.
随想记录——收到用户的长文随想、感悟、观点时,先用脚本写入文件,再根据脚本输出返回确认信息。避免AI幻觉导致的"假记录"。
Add bold highlights to key concepts in each paragraph so readers can scan and capture the article's core points. Use when polishing an article in ai-thoughts/docs/ or when the user asks to make an article more scannable or add highlights.
Extract decisions, todos, knowledge, preferences, and risks from AI chat sessions into structured memory. Outputs Markdown, JSON, or Obsidian notes.
Create Bilibili upload copy from a video topic, title, outline, or finished script. This AI Bilibili publishing pack produces title options, a readable video description, chapter timestamps when supplied, relevant tags, a pinned-comment prompt, and a thumbnail brief for Bilibili creators publishing explainers, reviews, tutorials, vlogs, games, animation, and creative videos. The chosen title and thumbnail brief then become a matching landscape 16:9 Bilibili thumbnail with a headline-safe composition.