Agent skill

Release Latex Fork

by zly2006 in zly2006/zhihu-plus-plus

Release the LaTeX fork used by Zhihu++. An agent skill from zly2006/zhihu-plus-plus.

AGPL-3.0Auto-check passedDocuments & Office

Install Release Latex Fork

skills CLI
$ npx skills add zly2006/zhihu-plus-plus --skill release-latex-fork -a claude-code

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

GitHub CLI
$ gh skill install zly2006/zhihu-plus-plus release-latex-fork --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/zly2006/zhihu-plus-plus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/release-latex-fork .claude/skills/release-latex-fork && 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
release-latex-fork
GitHub stars
4.2k
Token cost
~1.8k tokens
SKILL.md length
635 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Release the LaTeX fork used by Zhihu++. An agent skill from zly2006/zhihu-plus-plus.

  • Works in 8 steps: Inspect current versions and upstream → Prepare the release branch → Verify the fork diff → …
  • Merging the latest huarangmeng/latex release into zly2006/latex
  • SKILL.md covers Dependency chain, Inputs, Guardrails and Workflow, plus 1 more section
  • Calls git, curl and rg; reaches repo1.maven.org

What it does

Release Latex Fork is an agent skill from zly2006/zhihu-plus-plus. Release the LaTeX fork used by Zhihu++. Use when merging the latest huarangmeng/latex release into zly2006/latex, preserving approved fork deltas, publishing Maven Central artifacts, updating Zhihu's vendored thirdparty/markdown and direct LaTeX dependencies, and verifying the app.

Its SKILL.md is about 1.8k 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 Documents & Office, covering LaTeX. It works with LaTeX and GitHub. The repository describes itself as: Zhihu++ | 知乎++: Ad-free, low cost, AI powered zhihu android 3rd-party client. 去广告、占用低、AI大模型的新时代知乎安卓端体验. The licence is AGPL-3.0.

When your agent uses it

  • Merging the latest huarangmeng/latex release into zly2006/latex
  • Preserving approved fork deltas
  • Publishing Maven Central artifacts
  • Updating Zhihus vendored thirdparty/markdown and direct LaTeX dependencies

Example prompts

  • “/release-latex-fork”

Workflow steps

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

  1. Inspect current versions and upstream
  2. Prepare the release branch
  3. Verify the fork diff
  4. Test
  5. Publish to Maven Central
  6. Verify public artifacts
  7. Push the LaTeX fork
  8. Update vendored Markdown and Zhihu

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • curl
    • rg

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • repo1.maven.org

    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

Release Latex Fork loads about 1.8k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 635 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

The full file from zly2006/zhihu-plus-plus at commit 2daa669, republished under its AGPL-3.0 licence (© zly2006). 635 words, ~1,825 tokens.

Download SKILL.mdSave it as .claude/skills/release-latex-fork/SKILL.md (or your agent's skills folder).
name
release-latex-fork
description
Release the LaTeX fork used by Zhihu++. Use when merging the latest huarangmeng/latex release into zly2006/latex, preserving approved fork deltas, publishing Maven Central artifacts, updating Zhihu's vendored third_party/markdown and direct LaTeX dependencies, and verifying the app.

Release LaTeX Fork

Use this skill for the Zhihu-local LaTeX fork release workflow.

Dependency chain

huarangmeng/latex (upstream)
    -> zly2006/latex (published fork)
        -> Zhihu/third_party/markdown (vendored hard fork)
        -> Zhihu app and shared modules

The old standalone zly2006/Markdown Maven release line is retired. Do not clone, update, or publish a separate Markdown fork. The required order is:

  1. Publish the LaTeX fork.
  2. Update every io.github.zly2006:latex-* dependency in the Zhihu checkout, including third_party/markdown.
  3. Build and format Zhihu.

Inputs

Required:

  • Fork checkout: /Users/zhaoliyan/IdeaProjects/latex
  • Zhihu checkout: /Users/zhaoliyan/IdeaProjects/Zhihu
  • Target version on the fork-owned 0.0.1-alphaN release line. Always keep 0.0.1 and increment only N, for example 0.0.1-alpha1 then 0.0.1-alpha2; never adopt the upstream version as the published fork version.
  • The latest upstream version recorded in a comment immediately above VERSION in gradle.properties, for example: # Upstream huarangmeng/latex version: 1.4.7.

Optional proxy for Sonatype and repo1 access:

  • https_proxy=http://127.0.0.1:7890
  • http_proxy=http://127.0.0.1:7890

Guardrails

  • Publish under io.github.zly2006, never io.github.huarangmeng.
  • Do not delegate passive Maven Central publication waits unless the available subagent interface can explicitly select the user-approved low-cost model and reasoning level. If model selection is unavailable, state that limitation and keep polling in the primary agent; never assume the inherited/default model is cheap. This still applies when the user previously asked to delegate waiting: disclose the unavailable cost control before spawning instead of silently accepting an unknown-cost worker.
  • Original version means the upstream huarangmeng/latex tag. Fork version means the 0.0.1-alphaN version published by zly2006.
  • Never use destructive git commands on a dirty tree.
  • Published modules are latex-base, latex-parser, and latex-renderer only.
  • Preserve these approved fork deltas:
    • removal of 21 bundled renderer font files;
    • system font fallback in defaultLatexFontFamilies();
    • no bundled OTF loading in rememberDefaultOtf();
    • publishing metadata for io.github.zly2006;
    • parser compatibility fixes explicitly requested for Zhihu content, with focused parser/visitor/renderer tests and documentation.
  • Do not change vendored Markdown behavior while bumping LaTeX. Dependency lines are the only expected third_party/markdown changes in a routine release.

Workflow

1. Inspect current versions and upstream
bash
cd /Users/zhaoliyan/IdeaProjects/latex
git fetch origin --tags --prune
git fetch me --prune
git tag -l 'release-*' --sort=-v:refname | head -10

cd /Users/zhaoliyan/IdeaProjects/Zhihu
rg -n 'io.github.zly2006:latex-(base|parser|renderer)' \
  app shared third_party/markdown

curl -s https://repo1.maven.org/maven2/io/github/zly2006/latex-renderer/maven-metadata.xml

Record the latest upstream tag, current public fork version, and every consumer that needs a bump.

2. Prepare the release branch

Create the release branch from the latest upstream tag. Carry forward only the approved fork commits; skip changes already present upstream.

bash
cd /Users/zhaoliyan/IdeaProjects/latex
git switch -c release-<fork-version> <latest-upstream-tag>

After carrying changes forward, keep this shape in gradle.properties:

properties
# Upstream huarangmeng/latex version: <upstream-version>
VERSION=0.0.1-alpha<N>

Fresh worktrees must copy local.properties from the main LaTeX checkout before Gradle publication.

3. Verify the fork diff
bash
git diff --name-status <latest-upstream-tag>...HEAD
git diff --stat <latest-upstream-tag>...HEAD

Review every non-font, non-publishing change as an explicit compatibility delta. Reject unrelated feature work or changes copied from another development tree.

Show full SKILL.md (242 more words)Show less
4. Test

Run focused parser tests for compatibility changes, then the release gate:

bash
./gradlew --no-daemon :latex-parser:jvmTest --tests '*RelevantTest*'
./gradlew --no-daemon :latex-renderer:jvmTest

For visible renderer changes, also run the appropriate preview or desktop demo.

5. Publish to Maven Central

Publish in dependency order:

bash
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890

./gradlew --no-daemon --stacktrace :latex-base:publishAndReleaseToMavenCentral
./gradlew --no-daemon --stacktrace :latex-parser:publishAndReleaseToMavenCentral
./gradlew --no-daemon --stacktrace :latex-renderer:publishAndReleaseToMavenCentral

If Gradle fails while stopping maven-central-build-service after upload, query the Sonatype deployment and treat PUBLISHED or PUBLISHING as authoritative. Retry transient SSL failures with the proxy; do not re-version a deployment that already exists.

6. Verify public artifacts

Check metadata for all three root modules and require HTTP 200 for the Android renderer POM:

bash
curl -s https://repo1.maven.org/maven2/io/github/zly2006/latex-base/maven-metadata.xml
curl -s https://repo1.maven.org/maven2/io/github/zly2006/latex-parser/maven-metadata.xml
curl -s https://repo1.maven.org/maven2/io/github/zly2006/latex-renderer/maven-metadata.xml
curl -sI https://repo1.maven.org/maven2/io/github/zly2006/latex-renderer-android/<version>/latex-renderer-android-<version>.pom | head -1
7. Push the LaTeX fork

After the required code review and approval, commit the release, fast-forward the fork master, and push:

bash
git switch master
git merge --ff-only release-<fork-version>
git push me master
8. Update vendored Markdown and Zhihu

In /Users/zhaoliyan/IdeaProjects/Zhihu, update every matching dependency to the new fork version. The expected current consumers include:

  • third_party/markdown/markdown-renderer/build.gradle.kts
  • app/build.gradle.kts
  • shared/build.gradle.kts

Re-run rg after editing so no old zly LaTeX version remains. Then follow the project-required order:

bash
./gradlew assembleLiteDebug
./gradlew ktlintFormat

Review the complete Zhihu diff and wait for approval before committing. Do not publish Markdown artifacts; the vendored modules build as part of Zhihu.

Final report checklist

  • Latest upstream tag and Original version recorded
  • Fork version follows 0.0.1-alphaN and is new on Maven Central
  • Diff contains only approved fork deltas
  • Focused compatibility tests pass
  • :latex-renderer:jvmTest passes
  • All three root modules and renderer Android artifact are public
  • LaTeX fork master is pushed to me
  • All Zhihu and third_party/markdown consumers use the new version
  • assembleLiteDebug passes before ktlintFormat
  • Zhihu diff is reviewed before commit

© zly2006, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/release-latex-fork of zly2006/zhihu-plus-plus.

Open the folder on GitHubat commit 2daa669

Compare with similar skills

Release Latex Fork 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.

Release Latex Fork compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release Latex Fork this skillzly2006/zhihu-plus-plus4.2k—~1.8kAutomated safety check: PassAGPL-3.0
Paper Versionclaesbackman/AI-research-feedback495—~4kAutomated safety check: NotesMIT
Overleaf Collaboration Guidewentorai/research-plugins2981 repos~1.6kAutomated safety check: PassMIT
Lov Any2pdflovstudio/any2pdf211—~2.4kAutomated safety check: NotesMIT
Opendocsioteverythin/OpenDocs234—~746Automated safety check: NotesMIT
Using Streamlit Markdowniusztinpaul/designing-real-world-ai-agents-workshop512—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Paper Version

    claesbackman/AI-research-feedback

    Convert a LaTeX research paper into a policy brief, 1-page summary, or 5-page summary for a general audience, with factual review and a standalone HTML page for GitHub Pages.

    495 GitHub stars~4k tokensUpdated 14 days ago
    Documents & OfficeAuto-check: notes
  • Overleaf Collaboration Guide

    wentorai/research-plugins

    Guide to collaborative LaTeX editing with Overleaf. An agent skill from wentorai/research-plugins.

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Documents & OfficeAuto-check passed
  • Lov Any2pdf

    lovstudio/any2pdf

    Convert Markdown documents to professionally typeset PDF files with reportlab.

    211 GitHub stars~2.4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Opendocs

    ioteverythin/OpenDocs

    Generates multi-format documentation (Word, PDF, PPTX, Markdown blog post, JIRA ticket, FAQ, changelog, LaTeX, social snippet, architecture diagram) from a GitHub README, npm package, local Markdown…

    234 GitHub stars~746 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • Using Streamlit Markdown

    iusztinpaul/designing-real-world-ai-agents-workshop

    Covers all Markdown features in Streamlit including GitHub-flavored syntax plus Streamlit extensions like colored text, badges, Material icons, and LaTeX.

    512 GitHub stars~1.8k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Thu Thesis

    LeoYeAI/openclaw-master-skills

    清华大学毕业论文 Word → PDF 一键格式规范化工具。输入任意 Word (.docx) 格式的清华毕业论文,自动转换为符合清华 thuthesis 官方 LaTeX 模板规范的高质量 PDF。适用于所有清华学位论文(MBA/学硕/专硕),一条命令搞定。功能:自动提取章节结构、中英文摘要、参考文献(自动生成 BibTeX)、图片(含…

    2.2k GitHub stars~4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from zly2006/zhihu-plus-plus

All 11 skills in this repo
  • Zhihu Pp AI Slop Cleaner

    zly2006/zhihu-plus-plus

    A skill your agent uses for Zhihu++ maintenance work that scans Kotlin main sources for low-call functions, structurally similar function bodies, dead code, pure forwarding wrappers, pointless…

    4.2k GitHub stars~3.7k tokensUpdated 3 days ago
    Auto-check passed
  • Zhihu Instrument Test Governance

    zly2006/zhihu-plus-plus

    Audit, add, migrate, or remove Zhihu++ Android instrument tests under app/src/androidTest.

    4.2k GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • GitHub PR Assets

    zly2006/zhihu-plus-plus

    Manage screenshots and other visual assets for GitHub pull requests.

    4.2k GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Launch On Device

    zly2006/zhihu-plus-plus

    Build, install, and launch the Zhihu++ Android app on a connected device using ADB.

    4.2k GitHub stars~3.1k tokensUpdated 3 days ago
    Auto-check passed
  • Picky User

    zly2006/zhihu-plus-plus

    以 subagent 启动的 UI 挑剔用户评审。Use when the user, AGENTS, or the current task requires “挑剔的用户”.

    4.2k GitHub stars~744 tokensUpdated 3 days ago
    Auto-check passed
  • Zhihu Parallel PR Workflow

    zly2006/zhihu-plus-plus

    Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value.

    4.2k GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Release Latex Fork

What does Release Latex Fork do?

Release the LaTeX fork used by Zhihu++. An agent skill from zly2006/zhihu-plus-plus. Release Latex Fork is an agent skill from zly2006/zhihu-plus-plus. Release the LaTeX fork used by Zhihu++.

When should I use Release Latex Fork?

Release Latex Fork fits situations like: merging the latest huarangmeng/latex release into zly2006/latex; preserving approved fork deltas; publishing Maven Central artifacts; updating Zhihus vendored thirdparty/markdown and direct LaTeX dependencies.

How do I install Release Latex Fork in Claude Code?

Run `npx skills add zly2006/zhihu-plus-plus --skill release-latex-fork -a claude-code`. Or copy the skill folder (.agents/skills/release-latex-fork in zly2006/zhihu-plus-plus) into .claude/skills/release-latex-fork in your project. Claude Code loads it when a task matches its description.

How do I install Release Latex Fork in Codex?

Run `npx skills add zly2006/zhihu-plus-plus --skill release-latex-fork -a codex`. Or copy the skill folder (.agents/skills/release-latex-fork in zly2006/zhihu-plus-plus) into .agents/skills/release-latex-fork in your project. Codex loads it when a task matches its description.

Can I use Release Latex Fork 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 zly2006/zhihu-plus-plus --skill release-latex-fork -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release-latex-fork, .gemini/skills/release-latex-fork, .github/skills/release-latex-fork and .opencode/skills/release-latex-fork in your project.

What does Release Latex Fork need to run?

Going by SKILL.md and its folder, Release Latex Fork needs the command-line tools its instructions call (git, curl and rg).

Does Release Latex Fork access the network?

SKILL.md names 1 domain. In commands or code: repo1.maven.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Release Latex Fork safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Release Latex Fork use?

Release Latex Fork is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release Latex Fork use?

About 1.8k tokens (SKILL.md is roughly 7.3k 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 Release Latex Fork?

Skills that share tags, products or a category with Release Latex Fork: Paper Version (claesbackman/AI-research-feedback, 495 stars), Overleaf Collaboration Guide (wentorai/research-plugins, 298 stars), Lov Any2pdf (lovstudio/any2pdf, 211 stars) and Opendocs (ioteverythin/OpenDocs, 234 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release Latex Fork?

zly2006 (a GitHub user) maintains it in zly2006/zhihu-plus-plus, which has 4,223 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

Source: zly2006/zhihu-plus-plus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.