beeweave: Skill for Claude Code

.skills/workbench/beeweave-article-publisher/SKILL.md

beeweave-article-publisher is a skill for Claude Code, Codex from ptonlix/beeweave. It costs 167 tokens per session (1,958 once invoked), scanned A, original, MIT.

A BeeWeave publishing workflow that moves a finished Markdown draft from a drafts folder to a published folder, updates its status, and imports it into an Obsidian wiki.

In plain words
What is it for?
Use it to publish, finalize, archive, or import a specific BeeWeave article draft.
Why use it?
It turns a completed draft into a published article while preserving the original writing instead of rewriting it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is ptonlix/beeweave's own configuration. It tells Claude Code and Codex how to work on beeweave itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything beeweave configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ptonlix/beeweave. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ptonlix/beeweave/main/.skills/workbench/beeweave-article-publisher/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ptonlix/beeweave

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 beeweave-article-publisher

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ptonlix/beeweave/beeweave-article-publisher"><img src="https://agentmods.dev/badge/skills/ptonlix/beeweave/beeweave-article-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,958 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00167 $0.01958
Opus 5 $0.00084 $0.00979
Sonnet 5 $0.00033 $0.00392
Haiku 4.5 $0.00017 $0.00196

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

Security

Grade A, and why

beeweave-article-publisher 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 10d 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.

.skills/workbench/beeweave-article-publisher/SKILL.md · 175 lines

How it starts

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

BeeWeave 文章发布

这个 skill 负责把一篇已经完成的创作草稿变成已发布作品,并把高信号版本内化到 wiki。

发布不是重写文章。除非用户明确要求修改正文,只做四件事:

  1. 定位唯一的草稿文件
  2. 移动到 articles/published/ 并更新 frontmatter 状态
  3. 更新对应写作 trace 的发布元数据
  4. 用已发布文件作为 source 触发 beeweave-ingest skill 流程

配置解析

如果用户请求里包含 @<name>,只从 ~/.beeweave/config.<name> 读取配置。否则只从 ~/.beeweave/config 读取配置。

必须读取:

  • BEEWEAVE_WORKBENCH_PATH
  • BEEWEAVE_VAULT_PATH

如果配置文件不存在,或缺少任一必需变量,先向用户说明无法找到完整 BeeWeave profile,然后停止。不要猜测路径,不要从当前目录向上查找 workbench,也不要直接写入 vault。

@<name> 是路由指令,不是文章标题或搜索词。解析配置后,从用户实际发布请求中移除它。

草稿定位

只在以下目录内找草稿:

$BEEWEAVE_WORKBENCH_PATH/articles/drafts/

用户可以用三种方式指定文章:

  • 精确路径,例如 workbench/articles/drafts/2026-07-08-article-agent-workflow.md
  • 文件名或 slug,例如 agent-workflow
  • frontmatter title 或一级标题

定位规则:

  1. 如果用户给了路径,展开并校验它必须位于 drafts 目录内。
  2. 如果用户给了文件名或 slug,只匹配 drafts 目录下的 Markdown 文件。
  3. 如果 slug 没有唯一命中,再读取候选文件的 frontmatter title 和一级标题匹配。
  4. 如果没有命中或有多个候选,列出候选并请用户明确选择。不要发布多个文件,除非用户明确要求批量发布。

发布动作

目标目录固定为:

$BEEWEAVE_WORKBENCH_PATH/articles/published/

发布时:

  1. 创建 articles/published/ 目录,如果它不存在。
  2. 保留原文件名移动到 published 目录。
  3. 如果目标文件已存在,不覆盖,在文件名末尾追加 -v2-v3
  4. 更新 Markdown frontmatter:
    status: published
    published: YYYY-MM-DDTHH:MM:SS±HH:MM
    updated: YYYY-MM-DDTHH:MM:SS±HH:MM
    
  5. 如果没有 frontmatter,添加最小 frontmatter:
    ---
    title: "<从一级标题或文件名推导>"
    type: article
    status: published
    published: YYYY-MM-DDTHH:MM:SS±HH:MM
    updated: YYYY-MM-DDTHH:MM:SS±HH:MM
    tags:
      - writing
    ---
    

publishedupdated 必须使用当前本地时区的 ISO-8601 秒级时间戳,例如 2026-07-08T17:05:42+08:00。发布已有草稿时保留原 created;如果原 created 只有日期,不要在发布流程中猜测补秒,除非用户明确要求归一化旧稿。

保留正文、质检报告、已有 createdtypeformattagssources 等字段。不要把 draft 目录中的其它文件一起移动,不要使用通配符或递归移动。

Trace 发布元数据

发布成功后,尝试更新对应写作 trace。trace 位于:

$BEEWEAVE_WORKBENCH_PATH/writing/traces/

匹配规则:

  1. 优先查找 trace.jsondraft_path 等于原草稿路径的 trace。
  2. 如果未命中,再查找 output_pathsrevision_events[].draft_path 中包含原草稿路径的 trace。
  3. 如果仍未命中,不创建新的基础 trace,不阻断发布和 wiki ingest,在最终回复中说明“未找到对应写作 trace”。
  4. 如果命中多个 trace,选择 updated_atcreated_at 最新的一个,并在最终回复中说明选择依据。

Read the full file on GitHub · 175 lines

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. 10d ago First seen · 175 lines · 167 tokens per session scan A d507c0636cce

Subscribe to this mod's changes

beeweave-article-publisher is a skill published in the GitHub repository ptonlix/beeweave (6 stars, last pushed 1mo ago), licensed MIT. It adds 167 tokens to every session and 1,958 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens