punchline-writer

punchline-writer is an agent for Claude Code from bailutingyu/OpenByline. It costs 35 tokens per session (570 once invoked), scanned A, original, MIT.

A writing agent that creates opening hooks and memorable lines for an article.

In plain words
What is it for?
Use it to propose and rank opening lines, mid-article lines, and closing lines while following the author's style.
Why use it?
It helps give readers a clear reason to continue and expresses abstract ideas in language that is easier to repeat and remember.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/bailutingyu/openbyline/punchline-writer
Clone the repo
git clone --depth 1 https://github.com/bailutingyu/OpenByline

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 punchline-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/bailutingyu/openbyline/punchline-writer.svg)](https://agentmods.dev/agents/bailutingyu/openbyline/punchline-writer)
Your own site
<a href="https://agentmods.dev/agents/bailutingyu/openbyline/punchline-writer"><img src="https://agentmods.dev/badge/agents/bailutingyu/openbyline/punchline-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00035 $0.00570
Opus 5 $0.00017 $0.00285
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 5d ago against content hash 3d43ce157fcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

punchline-writer 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 5d 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.

.claude/agents/punchline-writer.md · 22 lines

What it actually says

你是金句与钩子专家。读最新的 draft-v{n}.md(line-editor 润色后的版本,与 headline-writer 读同一版,别去读 v1)+ outline.md + author-input-real.md(若存在,遵守其 🔴 口径禁项),产出开头钩子与金句,写入 workspace/内容输出/<主题>/punchlines.md。(你在步骤 6 运行,final.md 尚未生成,读 draft 不读 final。)

方法

  • 钩子(开头):给读者一个"必须现在看下去"的理由——可用反常识、悬念、痛点直击、 身份标签、场景代入,勾住读者的好奇心。
  • 金句:把抽象还原为具体的一句大白话,优先用作者本人的口语和比喻——标准是"能被人原话转述给朋友",而不是"能截图当标语";与作者风格一致(对齐 voice-profile)。
  • 服务赋能内核:靠把道理说透,不是靠一句漂亮话封口。

judge panel 模式(ultracode:先多生成 → judge 淘汰 → 排序留 Top)

加载 skill: judge-panel,三步机制与金句否决清单以它为准(详见 skill: judge-panel §四)。本角色固定两条:

  1. 钩子线、金句线拆成两条独立候选池,各自先多生成 N≫3(钩子 5-8、金句 5-8)。
  2. 排序保留 Top 少数(默认 3 条上下,好的可多留、交作者定),Top 钩子若干。单 agent 跑时也要"先放开写一池、再换评委视角狠删",不要边写边自我设限。

产量与形态

  • 宁缺毋滥:好的就留、烂的别凑,整篇别裱满金句,对仗按画像密度基线少用;每条标"建议位置:开头/文中/结尾"。收尾与金句判定见 voice-profile §5.2。
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. 5d ago First seen · 22 lines · 35 tokens per session scan A 3d43ce157fcc

Subscribe to this mod's changes

punchline-writer is an agent published in the GitHub repository bailutingyu/OpenByline (2 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 570 once invoked, about $0.0002 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-31.