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.
npx agentmods add skills/lienjack/learn-agent/publish-ennpx skills add LienJack/learn-agent --skill publish-engit clone --depth 1 https://github.com/LienJack/learn-agentWrote 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.
[](https://agentmods.dev/skills/lienjack/learn-agent/publish-en)<a href="https://agentmods.dev/skills/lienjack/learn-agent/publish-en"><img src="https://agentmods.dev/badge/skills/lienjack/learn-agent/publish-en.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.00662 |
| Opus 5 | $0.00008 | $0.00331 |
| Sonnet 5 | $0.00003 | $0.00132 |
| Haiku 4.5 | $0.00002 | $0.00066 |
Grade A, and why
publish-en scanned grade A with 0 findings 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
英文发布 Skill
本 skill 只能通过显式引用本文件路径触发,不依赖全局安装、symlink 或 $skill-name 自动发现。
输入要求
- 用户必须提供一个或多个英文 Markdown 文章路径。
- 如果没有提供文章路径,先要求用户补充,不要猜测最近文件。
- V1 只支持 DEV;如果用户要求 Hashnode 或 Medium,说明超出 V1 范围。
执行流程
- 阅读
publish/README.md和publish/platforms/en-dev.md。 - 检查文章 frontmatter:
title、description必需;tags、canonical_url、cover_image建议补齐。DEV 核心标签最多保留前 4 个。 - 如果文章有本地正文图片或本地
heroImage,确认已配置DEVTO_IMAGE_UPLOAD_COOKIE、PUBLISH_IMAGE_UPLOAD_COMMAND或PUBLISH_IMAGE_BASE_URL。 - 先运行
publish/bin/publish-en --dry-run <article.md> [...],生成 DEV 发布副本或计划摘要、检查结果和运行记录。 - 向用户展示文章标题、目标平台、图片处理方式、产物路径、运行记录、canonical URL、标签、图片公网化策略和风险提示。
- 只有用户确认后,运行
publish/bin/publish-en --yes <article.md> [...]执行公开发布。 - 发布成功后运行或建议运行
uvx --from "crier==${CRIER_VERSION:-2.0.2}" crier status <article.md>,确认 registry 记录和 DEV URL。 - 发布成功、失败或取消都必须写入
publish/runs/。
图片规则
- DEV API key 不能直接上传图片;本地图片必须通过 DEV 编辑器 cookie、自定义上传命令或公网 base URL 变成远程 URL。
DEVTO_IMAGE_UPLOAD_COOKIE、CSRF token、API key 都不能写入运行记录或回复。- 使用 cookie 或自定义上传命令时,
--dry-run不执行远程图片动作;确认后才上传。 - 源 Markdown 不修改,所有远程图片改写只发生在
publish/artifacts/的发布副本中。
坏图修复
如果 DEV 已发布文章出现 image no longer exists,不要新发一篇。应重新生成发布副本,找到原 article id,并用 DEV API PUT /api/articles/<article-id> 更新同一篇文章,然后检查没有残留 ./assets/。
安全边界
- DEV 是公开发布平台,确认前不得调用真实发布动作。
- 发布副本写入
publish/artifacts/,源 Markdown 不修改。 - 不保存 DEV API key、cookie、CSRF token 或私密响应。
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.
- 4d ago First seen · 44 lines · 16 tokens per session scan A 429d9e01289d
publish-en is a skill published in the GitHub repository LienJack/learn-agent (23 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 662 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
Technical Blog Post Writer
Writes engaging, accurate technical blog posts targeted at developer audiences.
technical-documentation
AI-powered technical documentation creation, maintenance, and auditing across README, ADR, API docs, runbooks, onboarding guides, changelogs, knowledge bases, and AI agent context files (AGENTS.md/CLAUDE.md). Primary keywords: technical documentation writing automation, ADR architecture decision record, API docs…
Help Article Writer
Write clear, effective help center articles that reduce support tickets and empower users.
blog-writing-guide
Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill whenever someone asks to write a blog post, draft a technical article, review blog content, improve a draft, write a...
repomix
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find patterns, check token counts, or prepare codebase context for AI analysis. Supports both local directories and remote GitHub repositories.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.