publish-ja

publish-ja is a skill for Claude Code from LienJack/learn-agent. It costs 21 tokens per session (670 once invoked), scanned A, original, MIT.

A publishing workflow for sending Japanese Markdown articles to Zenn and Qiita, two Japanese developer publishing platforms. It creates platform-specific copies and checks them before publishing.

In plain words
What is it for?
Use it to prepare or publish Japanese articles to both platforms, check image URLs, normalize Qiita tags, and review the proposed files and publication status.
Why use it?
It reduces mistakes with images, tags, generated files, and publication settings. It requires a dry run and user confirmation before making publication changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: $skill-name invocation.

Good fit Use it to prepare or publish Japanese articles to both platforms, check image URLs, normalize Qiita tags, and review the proposed files and publication status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lienjack/learn-agent/publish-ja
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LienJack/learn-agent --skill publish-ja
Clone the repo
git clone --depth 1 https://github.com/LienJack/learn-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for publish-ja

README.md
[![agentmods](https://agentmods.dev/badge/skills/lienjack/learn-agent/publish-ja/github.svg)](https://agentmods.dev/skills/lienjack/learn-agent/publish-ja)
Your own site
<a href="https://agentmods.dev/skills/lienjack/learn-agent/publish-ja"><img src="https://agentmods.dev/badge/skills/lienjack/learn-agent/publish-ja/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for publish-ja

Your own site · 80×15
<a href="https://agentmods.dev/skills/lienjack/learn-agent/publish-ja"><img src="https://agentmods.dev/badge/skills/lienjack/learn-agent/publish-ja.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00670
Opus 5.5 $0.00008 $0.00268
Sonnet 5.5 $0.00004 $0.00134
Haiku 4.5 $0.00002 $0.00067

Measured 3mo ago against content hash f5d9bf481ee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish-ja scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. 检查 `publish/artifacts/.../*.qiita.md` 中改写后的图片 URL;至少用 `curl -I` 或脚本对所有 `raw.githubusercontent.com` 图片 URL 做 HEAD 检查,必须全部返回 `200`,否则不要确认发布。
publish/skills/publish-ja/SKILL.md · 33 lines

What it actually says

日语发布 Skill

本 skill 只能通过显式引用本文件路径触发,不依赖全局安装、symlink 或 $skill-name 自动发现。

输入要求

  • 用户必须提供一个或多个日语 Markdown 文章路径。
  • 如果没有提供文章路径,先要求用户补充,不要猜测最近文件。
  • 日语平台入口同步覆盖 Zenn 和 Qiita。

执行流程

  1. 阅读 publish/README.md、publish/platforms/ja-zenn.md 和 publish/platforms/ja-qiita.md。
  2. 先运行 publish/bin/publish-ja --dry-run <article.md> [...],生成 Zenn 与 Qiita 的检查摘要和运行记录;试运行不得改写 Zenn 仓库,不得调用 Qiita 写接口。
  3. 如果文章含本地图片,并使用 QIITA_IMAGE_BASE_URL 或 PUBLISH_IMAGE_BASE_URL,必须确认 base URL 指向源文章所在目录的公网路径,而不是仓库根路径。例如 src/content/blog/ja/AI/build-harness/00-01.md 中的 assets/foo.png,base URL 应是 https://raw.githubusercontent.com/<owner>/<repo>/<branch>/src/content/blog/ja/AI/build-harness/,不能只写到 .../<branch>/。
  4. 检查 publish/artifacts/.../*.qiita.md 中改写后的图片 URL;至少用 curl -I 或脚本对所有 raw.githubusercontent.com 图片 URL 做 HEAD 检查,必须全部返回 200,否则不要确认发布。
  5. 检查 Qiita 标签是否安全;如果源 tags 或 qiita_tags 含空格,优先改成不含空格的 Qiita-safe 标签,例如 AgentRuntime。脚本会自动去掉标签中的半角/全角空格,但仍应在摘要里明确展示归一化结果。
  6. 展示 Zenn 仓库状态、生成文件、图片数量、published 状态、Qiita item/visibility、Qiita warnings、Qiita 图片 URL 检查结果和拟提交范围。
  7. 只有用户确认后,运行 publish/bin/publish-ja --yes <article.md> [...] 执行 Zenn commit/push 与 Qiita 写入。
  8. 如果用户希望生成公开文章,确认前明确说明会使用 --published:Zenn 会公开,Qiita 也会 public;不带 --published 时,Zenn draft 且 Qiita private。

安全边界

  • Zenn commit/push 和 Qiita API 写入前必须等待用户确认。
  • 不把 token、远程私密响应或平台凭据写入记录。
  • 用户取消时保留运行记录,并说明 Zenn 工作树或 Qiita artifacts 可能已有生成文件需要手动处理。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 33 lines · 21 tokens per session scan A f5d9bf481ee8

Subscribe to this mod's changes

publish-ja is a skill published in the GitHub repository LienJack/learn-agent (28 stars, last pushed 7d ago), licensed MIT. It adds 21 tokens to every session and 670 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

publish-ja compared with skills from other repositories

publish-ja next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publish-jaLienJack/learn-agentSkill287d agoMITA21Claude Code
starcat-localization-syncstarcat-app/StarcatSkill230yesterdayMITA105Codex
youtube-transcribechubbyguan/chubbyskillsSkill1.4k1mo agoMITB41Claude Code, Codex
wiki-curationCiao1019/PetrichorSkill1602mo agoApache-2.0A21Claude Code, Codex
cet-skillmingchen666/RevivaSkill3568d agononeA38Claude Code, Codex
operating-system-visualizationmingchen666/RevivaSkill3568d agononeA67Claude Code
research-noteCiao1019/PetrichorSkill1602mo agoApache-2.0A19Claude Code, Codex