tranfu-publish

tranfu-publish is a skill for Claude Code, Codex from tranfu-labs/tranfu-skills. It costs 139 tokens per session (3,227 once invoked), scanned B, original, MIT.

A workflow for publishing coding-agent skills and usage examples to a company repository through a pull request. A pull request is a proposed set of changes for review.

In plain words
What is it for?
Use it to publish a local or external skill, add a usage case, prepare its documentation, and open a pull request.
Why use it?
It turns a publishing request into the required files, branch, commit, and review request without leaving out the repository's expected structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it to publish a local or external skill, add a usage case, prepare its documentation, and open a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranfu-labs/tranfu-skills/tranfu-publish
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 tranfu-labs/tranfu-skills --skill tranfu-publish
Clone the repo
git clone --depth 1 https://github.com/tranfu-labs/tranfu-skills

Made for: Claude Code, Codex.

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 tranfu-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-publish/github.svg)](https://agentmods.dev/skills/tranfu-labs/tranfu-skills/tranfu-publish)
Your own site
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/tranfu-publish"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-publish/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 tranfu-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/tranfu-publish"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00139 $0.03227
Opus 5 $0.00069 $0.01614
Sonnet 5 $0.00028 $0.00645
Haiku 4.5 $0.00014 $0.00323

Measured 9d ago against content hash 0137ae1a12e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

tranfu-publish scanned grade B 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 9d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- **own**: 用户本地目录 (原话 / `find ~/.claude/skills -name <name>`)
meta-skills/tranfu-publish/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

tranfu-publish

把本地写的 / 推荐的 skill / 案例发到公司库 (tranfu-labs/tranfu-skills) 走 PR。触发即发布: 识别意图 → 起草所有内容 → 自动 push + 开 PR, 中途不打印预览、不等用户拍板。

参考 README.md 看框架图 / 路径概览。本 SKILL.md 是完整步骤 + Hard rules。

触发判断

用户说 path 产物
"发布本地 skill X 到公司库" own own-skills/<name>/{SKILL.md, README.md, ...}
"推荐这个外部 skill (https://...) 到公司库" / "把这个 skill 推到公司库" external external-skills/<name>/{SKILL.md(薄指针), README.md}, skill body 不进库
"给公司库 X 加使用案例 / 补一个用法" case <own|external>-skills/<name>/cases/<recommender>.md 追加 / 新建

files 必备清单 (缺 = 中止, 不蒙混):

variant SKILL.md README.md cases/
own 必须 可选 (源里有就一起带, 没有不强求) 可选 (源里有就一起带, 没有不强求)
external 必须 (薄指针) 必须 (AI 起草) 不需要
case 不动 不动 必须 (新建或 append)

多 skill 一次发: 上游仓库 / 本地路径含 ≥2 个 skill (≥2 个 SKILL.md, 或 .md frontmatter 含 name:) → 自动全收, 一个 PR 多目录 / 多 commit, 不让用户选

不接 (留给 tranfu-router): search / install / list / installed / update / uninstall / doctor。

模板 (templates/ — 渲染必用, 不自创结构)

文件 用途 用于
templates/pr-body.md PR body 骨架, 含 own/external/case 三段 三路径
templates/case-file.md case 文件骨架, frontmatter + 4 段 body case
templates/section-同类对比.md README.md ## 同类 Skill 对比 external
templates/section-使用技巧.md README.md ## 使用技巧 external

README 的 ## 同类 Skill 对比 / ## 使用技巧 段名照 templates/ 保持一致 (catalog + 人读的约定, 别换成 ## Summary 之类)。PR body 怎么写无所谓 —— CI / 飞书通知都只把 body 原样转发, 不解析段名。

标准流程

进 skill 第一件事, CREATE A TODO LIST FOR THE TASKS BELOW (每步一个 TODO, 起步即建, 非可选): §0 版本预检 / §1 定位 $REPO+$SRC / §2 识别 path / §3 起草内容 / §4 起草 PR title+body / §5 提交+开 PR。

0. 版本预检 (HARD — 早于一切)

进 skill 第一件事:

  1. exec tfs update --check-only --json, parse {self, skills, ...}
  2. 判定落后 (任一为真): self.status === "outdated"; 或 skills[]name === "tranfu-publish"status === "outdated"
  3. 任一落后 → exec tfs update --json (同升 CLI + skill), 给用户 1 行 (已升级: tfs X→Y / skill tranfu-publish sha A→B), 然后中止本轮:
    本 skill 文件刚被覆盖, 当前对话加载的仍是旧版。
    请重新发一遍刚才的发布意图, 让 agent 重新 trigger 加载新版。
    
    NEVER 边升级边跑后续步骤。
  4. 全 noop → 进 §1。

Read the full file on GitHub · 172 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago Changed 0137ae1a12e6
  2. 12d ago First seen · 172 lines · 139 tokens per session scan B 3832d472d88d

Subscribe to this mod's changes

tranfu-publish is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 139 tokens to every session and 3,227 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens