cankun-blog-preview

cankun-blog-preview is a skill for Codex from Wang-Cankun/cankun-skills. It costs 122 tokens per session (1,378 once invoked), scanned A, original, MIT.

A narrowly scoped workflow for creating one preview image for a Cankun blog article from its Markdown content, including the matching English and Chinese versions when available.

In plain words
What is it for?
Use it to infer a visual metaphor, update the prompt manifest, create the 2000×800 PNG, and run the repository’s preview-image optimization.
Why use it?
It keeps one article’s image, metadata, source PNG, and optimized WebP output consistent without regenerating the whole archive.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to infer a visual metaphor, update the prompt manifest, create the 2000×800 PNG, and run the repository’s preview-image optimization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wang-cankun/cankun-skills/cankun-blog-preview
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 Wang-Cankun/cankun-skills --skill cankun-blog-preview
Clone the repo
git clone --depth 1 https://github.com/Wang-Cankun/cankun-skills

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 cankun-blog-preview

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wang-cankun/cankun-skills/cankun-blog-preview"><img src="https://agentmods.dev/badge/skills/wang-cankun/cankun-skills/cankun-blog-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,378 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.00122 $0.01378
Opus 5 $0.00061 $0.00689
Sonnet 5 $0.00024 $0.00276
Haiku 4.5 $0.00012 $0.00138

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

Security

Grade A, and why

cankun-blog-preview 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 12d 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/cankun-blog-preview/SKILL.md · 129 lines

How it starts

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

Generate one Cankun blog preview

Treat one article slug, including its English and Chinese MDX pair, as the complete transaction. Never turn a single-article request into an archive-wide regeneration.

Preflight

  1. Confirm the workspace is cankun-blog and contains:
    • content/files/
    • content/preview-image-prompts.md
    • public/images/
    • scripts/optimize-previews.ts
  2. Resolve exactly one target slug. If the user did not name it, select it only when exactly one English MDX article lacks preview metadata; otherwise ask which article.
  3. Inspect git status and preserve unrelated changes.
  4. Check whether the target already has a preview PNG or WebP. Overwrite it only when the user explicitly asked to refresh, replace, remake, or restyle it; otherwise report the existing asset and stop.
  5. Remember that bun run previews scans every public/images/**/*-preview.png. Check for unrelated stale sources before running it; stop and report a scope conflict if the command would regenerate another article's WebP.

Read the sources of truth

Read the target English article fully. Read its Chinese pair when present so the alternative text can be localized accurately.

Read these repository-owned sources rather than copying their contents into this skill:

  • content/preview-image-prompts.md — current series contract and per-article prompts.
  • public/images/shape-of-not-knowing/known-unknowns-preview.png — visual style anchor.
  • scripts/optimize-previews.ts — the only publication resize and WebP compression implementation.

Define one visual metaphor

Infer the image from the article's argument, not its title alone. Reduce it to one subject, one action or tension, and one spacious setting. Avoid collages and stacks of symbols.

When no metaphor is clearly strongest, present at most three concrete candidates and ask the user to choose before generating.

Add or update only the target article's block in content/preview-image-prompts.md. Preserve the existing prompt structure. Require all of the following:

Read the full file on GitHub · 129 lines

Files

What ships with it

1 file 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. 12d ago First seen · 129 lines · 122 tokens per session scan A 5004c6dec1e5

Subscribe to this mod's changes

cankun-blog-preview is a skill published in the GitHub repository Wang-Cankun/cankun-skills (2 stars, last pushed 14d ago), licensed MIT. It adds 122 tokens to every session and 1,378 once invoked, about $0.0006 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

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

baoyu-danger-gemini-web

Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation"…

JimLiu/baoyu-skills · 74 tokens

create-video-seedance-2-fal

Generate a single 4-15s vertical video clip with ByteDance Seedance 2.0 reference-to-video via fal.ai. Multi-image reference (avatar + product + setting), native lip-synced VO + ambient audio (generate-audio on by default), internal multi-cut handling within one render. Routes through the GooseWorks FAL proxy (bills…

gooseworks-ai/goose-skills · 117 tokens

create-workflow-diagram

Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.

gooseworks-ai/goose-skills · 45 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens

render-cosmic-mythology-voiceover

Assemble a cosmic-mythology-voiceover reel from a config — a warm spoken voiceover carries the whole narrative while N curated cosmic stills are weighted beat-synced across the delivered VO duration (cutdur = VOdur times weight over the weight sum, so emotional beats hold longer), Ken-Burns-zoomed per still (scale 2x…

gooseworks-ai/goose-skills · 223 tokens