bifrost: Skill for Codex

.agents/skills/juejin-publish/SKILL.md

juejin-publish is a skill for Codex from bifrost-proxy/bifrost. It costs 100 tokens per session (1,549 once invoked), scanned A, original, MIT.

A tool for publishing Markdown articles to Juejin, a Chinese developer-content platform, and checking that published pages match the source file.

In plain words
What is it for?
It helps create, preview, publish, and verify Juejin articles, including Bifrost capability series.
Why use it?
It removes repetitive manual publishing and helps catch differences between the local article and the live page.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is bifrost-proxy/bifrost's own configuration. It tells Codex how to work on bifrost 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 bifrost configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/eden/.codex/skills/.system/skill-creator/scripts/quick_validate.py.

Reuse

Borrowing it

Nothing to install: this file belongs to bifrost-proxy/bifrost. 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/bifrost-proxy/bifrost/main/.agents/skills/juejin-publish/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bifrost-proxy/bifrost

Made for: 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 juejin-publish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bifrost-proxy/bifrost/juejin-publish"><img src="https://agentmods.dev/badge/skills/bifrost-proxy/bifrost/juejin-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,549 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.00100 $0.01549
Opus 5 $0.00050 $0.00775
Sonnet 5 $0.00020 $0.00310
Haiku 4.5 $0.00010 $0.00155

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

Security

Grade A, and why

juejin-publish 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/juejin-publish.mjs, scripts/juejin-publish.test.mjs, scripts/juejin-verify.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/juejin-publish/SKILL.md · 122 lines

How it starts

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

Juejin Publish

Use the bundled script for deterministic publishing. Never paste Cookie, CSRF tokens, raw request headers, or unredacted Bifrost traffic into chat, logs, source files, or article content.

Prepare the article

Copy article.template.md and fill the frontmatter:

  • Require title, nonzero category_id, and at least one numeric tag_ids entry.
  • Keep brief_content at 100 characters or fewer; omit it to derive a summary.
  • Use JSON arrays for tag_ids, column_ids, theme_ids, and pics.
  • Start with the introduction or an H2 section; do not repeat the frontmatter title as the first Markdown H1 because Juejin renders its own article heading.
  • Keep one source file per intended Juejin article. The script recognizes both the source path and content hash after publication to prevent duplicates if a file is moved or copied.

Read traffic-contract.md only when debugging an API or authentication change.

Preview

Always preview before a live write:

.agents/skills/juejin-publish/scripts/juejin-publish \
  --article /absolute/path/to/article.md \
  --dry-run

Check the title, category, tags, action, and word counts in the JSON output. The dry run does not access Bifrost or Juejin.

Use the read-only authentication check when diagnosing the captured session:

.agents/skills/juejin-publish/scripts/juejin-publish --check-auth

It reports only the source request ID and Cookie names, never credential values.

Save a draft or publish

Use --draft-only when the user asks for a draft. Use --publish only when the user explicitly asks to publish:

# Save or update a draft
.agents/skills/juejin-publish/scripts/juejin-publish \
  --article /absolute/path/to/article.md \
  --draft-only

# Publish
.agents/skills/juejin-publish/scripts/juejin-publish \
  --article /absolute/path/to/article.md \
  --publish

The script performs the observed sequence:

Read the full file on GitHub · 122 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. 9d ago First seen · 122 lines · 100 tokens per session scan A e7d7de63c544

Subscribe to this mod's changes

juejin-publish is a skill published in the GitHub repository bifrost-proxy/bifrost (132 stars, last pushed 4d ago), licensed MIT. It adds 100 tokens to every session and 1,549 once invoked, about $0.0005 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.