cankun-blog-preview

cankun-blog-preview is a skill for Codex from Wang-Cankun/cankun-skills. It costs 122 tokens per session (1,383 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,383 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.01383
Opus 5.5 $0.00049 $0.00553
Sonnet 5.5 $0.00024 $0.00277
Haiku 4.5 $0.00012 $0.00138

Measured 19d ago against content hash c3568ea65b6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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 · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 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 · 130 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. 19d ago Changed · +1 lines c3568ea65b6e
  2. 2mo 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 yesterday), licensed MIT. It adds 122 tokens to every session and 1,383 once invoked, about $0.0005 per session on Opus 5.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

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

react-patterns

React 19 performance patterns and composition architecture for Vite + Cloudflare projects. 50+ rules ranked by impact — eliminating waterfalls, bundle optimisation, re-render prevention, composition over boolean props, server/client boundaries, and React 19 APIs. Use when writing, reviewing, or refactoring React…

jezweb/claude-skills · 110 tokens

design-review

Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour. Not a UX audit (that checks usability) — this checks whether it looks professional and polished. Produces a design findings report with screenshots.…

jezweb/claude-skills · 108 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens