Agent skill

ZCF Sponsor Onboarding

by UfoMiao in UfoMiao/zcf

Onboards a corporate sponsor to ZCF by listing it in the three READMEs, and optionally registers its API preset and places ad cards in docs.

MITAuto-check passedDevelopment

Install ZCF Sponsor Onboarding

skills CLI
$ npx skills add UfoMiao/zcf --skill zcf-add-sponsor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install UfoMiao/zcf zcf-add-sponsor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/UfoMiao/zcf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/zcf-add-sponsor .claude/skills/zcf-add-sponsor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
zcf-add-sponsor
GitHub stars
6.1k
Token cost
~2.5k tokens
SKILL.md length
831 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Onboards a corporate sponsor to ZCF by listing it in the three READMEs, and optionally registers its API preset and places ad cards in docs.

  • Works in 8 steps: Argument parsing & validation → Collect missing sponsor information… → Idempotency check → …
  • A new corporate sponsor needs to appear in the ZCF README sponsor lists
  • SKILL.md covers Usage, Parameters, Context and Your Role, plus 2 more sections
  • Calls pnpm and rg

What it does

Run as /zcf-add-sponsor, the skill by default adds one bullet to the Our Sponsors, Corporate Sponsors list in the three README files (Chinese, English and Japanese). Sponsor details such as display name and affiliate URL are prompted for when missing, and a trailing badge emoji has a default that can be changed.

The with-api flag also appends an entry to the API provider presets in src/config/api-providers.ts, asking about base URL, auth type, wire API, default models and which code tools it supports. The with-ad flag inserts ad cards that mirror the existing sponsor cards into the READMEs and the docs index pages, using relative image paths in READMEs and absolute raw GitHub URLs in docs, placed after the last existing card.

When your agent uses it

  • A new corporate sponsor needs to appear in the ZCF README sponsor lists
  • Registering a sponsor's API service as a provider preset
  • Adding a sponsor ad card to the READMEs and documentation home pages

Example prompts

  • “Add FooAI as a ZCF sponsor with the URL https://fooai.example.”
  • “Add a sponsor named FooAI with both an API preset and ad cards, using the logo in src/assets/fooai.png.”
  • “Only add the sponsor to the READMEs, no ads.”

Requirements

  • A checkout of the ZCF repository
  • Pre-approved tools (allowed-tools): Read(**), Write(**), Edit(**), Exec(ls, cat, grep, rg, sed, awk, file, mv, pnpm, node, git)

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Argument parsing & validation
  2. Collect missing sponsor information (interactive)
  3. Idempotency check
  4. Update sponsor lists (default — always runs)
  5. Insert ad cards — only if --with-ad
  6. Add API provider preset — only if --with-api
  7. Validation
  8. Summary report

What it can do on your machine

Read from SKILL.md and the folder at commit 63cb2d0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read(**)
    • Write(**)
    • Edit(**)
    • Exec(ls
    • cat
    • grep
    • rg
    • sed
    • awk
    • file

    …and 4 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

ZCF Sponsor Onboarding loads about 2.5k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 831 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from UfoMiao/zcf at commit 63cb2d0, republished under its MIT licence (© UfoMiao). 831 words, ~2,539 tokens.

Download SKILL.mdSave it as .claude/skills/zcf-add-sponsor/SKILL.md (or your agent's skills folder).
name
zcf-add-sponsor
description
Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements
allowed-tools
Read(**), Write(**), Edit(**), Exec(ls, cat, grep, rg, sed, awk, file, mv, pnpm, node, git)
disable-model-invocation
true

ZCF Add Sponsor — Quick Sponsor Onboarding

Quickly onboard a new corporate sponsor across the ZCF project: README sponsor lists by default, with optional API provider preset and documentation ad placements.

Usage

bash
/zcf-add-sponsor [--with-api] [--with-ad] [--name <name>] [--url <url>] [--id <provider-id>] [--logo <path>] [--badge <emoji>]

Parameters

Mode flags
  • --with-api — Also append a new entry to src/config/api-providers.ts (API_PROVIDER_PRESETS)
  • --with-ad — Also insert ad cards into:
    • README.md, README_zh-CN.md, README_ja-JP.md (top ♥️ Sponsors section, table card)
    • docs/en/index.md, docs/zh-CN/index.md, docs/ja-JP/index.md (top ♥️ Sponsor section, table card)
  • (no flag) — Default: only add a single bullet entry to the Our Sponsors → Corporate Sponsors lists in the three READMEs
Sponsor info (prompt interactively if missing)
  • --name <name> — Display name (e.g. FooAI)
  • --url <url> — Affiliate/registration URL (used in every link)
  • --id <provider-id> — API provider id, kebab-case (only required with --with-api, e.g. fooai)
  • --logo <path> — Local logo path under src/assets/ (only required with --with-ad, e.g. ./src/assets/fooai.png)
  • --badge <emoji> — Trailing emoji badge for the list bullet (default: 🎁)

Context

  • Default scope: Only the Our Sponsors → Corporate Sponsors bullet list in the three READMEs (zh-CN, en, ja-JP). docs/*/index.md does not contain a sponsor list — it only contains an ad section, handled by --with-ad.
  • API preset format: Match the existing ApiProviderPreset interface in src/config/api-providers.ts. Ask the user about baseUrl, authType, wireApi, defaultModels, and which code tools are supported (claude-code, codex, or both).
  • Ad cards: Mirror the existing AICodeMirror / Crazyrouter card layout exactly — <table><tr><td width="180"><a><img></a></td><td>...description...</td></tr></table>, appended after the last existing sponsor card and before the next ## heading.
  • Image paths:
    • In README*.md use relative path ./src/assets/<file>
    • In docs/*/index.md use absolute GitHub raw URL https://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/<file>
  • Trilingual descriptions: Always generate three localized descriptions (zh-CN / en / ja-JP). Translate from the user-provided source description while preserving brand names, URLs, and discount numbers verbatim.

Your Role

You are a project documentation maintainer. Be precise and idempotent: never duplicate an entry that already exists, always preserve surrounding markdown/HTML formatting, and always keep the three locales in lockstep.

Execution Flow

Parse arguments: $ARGUMENTS

1. Argument parsing & validation
text
Parse from $ARGUMENTS:
  WITH_API=false        # toggled by --with-api
  WITH_AD=false         # toggled by --with-ad
  NAME=""               # --name <name>
  URL=""                # --url <url>
  PROVIDER_ID=""        # --id <id>
  LOGO_PATH=""          # --logo <path>
  BADGE="🎁"            # --badge <emoji>, default 🎁

Validation:
  - NAME and URL are always required → if missing, prompt user
  - If WITH_API: PROVIDER_ID required → if missing, prompt user.
    Provider id MUST be kebab-case, lowercase, unique across existing ids in src/config/api-providers.ts
  - If WITH_AD: LOGO_PATH required → if missing, prompt user.
    Verify the logo file exists at the given path (relative to repo root).
    If not, instruct the user to place the logo under src/assets/ first and abort.
2. Collect missing sponsor information (interactive)

If any required field is missing, ask the user once in a consolidated prompt covering:

  • Source description (1–3 sentences, in the user's preferred language)
  • Special offer / discount line (optional, e.g. "Use code zcf for 10% off")
  • For --with-api:
    • Supported code tools: claude-code / codex / both
    • Claude Code baseUrl and authType (api_key | auth_token)
    • Codex baseUrl (always wireApi: 'responses' per existing convention)
    • Optional defaultModels array (Claude Code) or defaultModel string (Codex)

Then auto-translate the description into the other two languages, preserving brand names, URLs, and numbers.

3. Idempotency check

Before any write, scan target files for the sponsor name or URL. If already present, report which file(s) already contain it and skip that file (do not duplicate). Continue with remaining files.

bash
rg -l --fixed-strings "<NAME>" README.md README_zh-CN.md README_ja-JP.md docs/en/index.md docs/zh-CN/index.md docs/ja-JP/index.md src/config/api-providers.ts 2>/dev/null
4. Update sponsor lists (default — always runs)

Locate the Corporate Sponsors bullet list in each README and append a new bullet at the end of that list (before the 【Individual Sponsors】 / 【个人赞助商】 / 【個人スポンサー】 heading):

  • README.md — under 【Corporate Sponsors】:
    - [<NAME>](<URL>) (<EN_TAGLINE> <BADGE>)
  • README_zh-CN.md — under 【企业赞助商】:
    - [<NAME>](<URL>) (<ZH_TAGLINE> <BADGE>)
  • README_ja-JP.md — under 【企業スポンサー】:
    - [<NAME>](<URL>)(<JP_TAGLINE> <BADGE>)

<*_TAGLINE> is a short 4–10 char positioning phrase derived from the source description (e.g. "API aggregation gateway sponsor" / "AI API 聚合网关赞助商" / "AI API 集約ゲートウェイスポンサー"). Use existing entries (Crazyrouter, AICodeMirror) as the style reference.

Show full SKILL.md (322 more words)Show less
5. Insert ad cards — only if --with-ad

For each of the six files below, locate the existing sponsor card table and append a new <tr>...</tr> row to the same <table> (or, if the existing structure uses sibling <table> blocks, append a new sibling table immediately after the last one). Match the exact layout of the most recent existing card.

Target files & image base path:

FileImage path prefix
README.md./src/assets/
README_zh-CN.md./src/assets/
README_ja-JP.md./src/assets/
docs/en/index.mdhttps://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/
docs/zh-CN/index.mdhttps://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/
docs/ja-JP/index.mdhttps://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/

Card template (reference, fill brackets per locale):

html
<table>
<tr>
<td width="180"><a href="<URL>"><img src="<IMG_PREFIX><LOGO_FILENAME>" alt="<NAME>" width="150"></a></td>
<td><LOCALIZED_DESCRIPTION_INCLUDING_OFFER_AND_LINK></td>
</tr>
</table>

Important: Insert after the last existing sponsor card and before the next ## heading (typically ## 📺 ... or ## ✨ ...). Preserve surrounding blank lines.

6. Add API provider preset — only if --with-api

Edit src/config/api-providers.ts. Append a new object to the API_PROVIDER_PRESETS array, before the closing ], mirroring the style of existing entries:

ts
  {
    id: '<PROVIDER_ID>',
    name: '<NAME>',
    supportedCodeTools: [<'claude-code' and/or 'codex'>],
    claudeCode: {
      baseUrl: '<CC_BASE_URL>',
      authType: '<api_key|auth_token>',
      // defaultModels: [...],     // include only if user provided
    },
    codex: {                       // include only if codex is supported
      baseUrl: '<CODEX_BASE_URL>',
      wireApi: 'responses',
      // defaultModel: '...',      // include only if user provided
    },
    description: '<EN_DESCRIPTION>',
  },

Then run pnpm typecheck to confirm no type errors. If the project has corresponding tests for getValidProviderIds() or fixtures, surface them in the summary so the user can update tests if needed.

7. Validation
text
✓ List bullets present in all 3 READMEs (or skipped due to existing entry)
✓ If --with-ad: card rows present in all 6 target files (or skipped)
✓ If --with-api: new preset object syntactically valid; pnpm typecheck passes
✓ No duplicate ids in API_PROVIDER_PRESETS
✓ All URLs identical across files
✓ Logo file exists at src/assets/<filename> when --with-ad is used
8. Summary report

Print a concise summary:

🎉 Sponsor "<NAME>" added

Sponsor list bullets:
  ✓ README.md
  ✓ README_zh-CN.md
  ✓ README_ja-JP.md

Ad cards (--with-ad): [yes/no]
  ✓/⊘ README.md / README_zh-CN.md / README_ja-JP.md
  ✓/⊘ docs/en/index.md / docs/zh-CN/index.md / docs/ja-JP/index.md

API preset (--with-api): [yes/no]
  ✓/⊘ src/config/api-providers.ts (id: <PROVIDER_ID>)

Skipped (already present): [list]

Next steps:
  - Review changes with: git diff
  - If --with-api: consider adding tests in tests/ for the new provider
  - Commit with: /zcf-pr or your preferred flow

Important Notes

⚠️ Critical Requirements

  • NEVER modify any sponsor entries other than the ones being added
  • NEVER reorder existing sponsors
  • ALWAYS keep the three locale READMEs in sync (same bullet count, same URL, semantically equivalent text)
  • ALWAYS verify logo file existence under src/assets/ before writing ad cards
  • ALWAYS validate the API preset by running pnpm typecheck after editing
  • DO NOT create commits or push — leave that to the user / /zcf-pr
  • DO NOT invent new section headings; reuse the exact existing ones (【Corporate Sponsors】 / 【企业赞助商】 / 【企業スポンサー】)

📌 Style Reference

When in doubt, copy the structure of the most recent existing sponsor entry (currently Crazyrouter) — it represents the canonical layout for both bullet entries and ad cards across all six target documents.

🔍 Idempotency

Re-running with the same --name and --url MUST be a no-op. Detection is by exact match on either NAME or URL within the relevant section.


Now starting sponsor onboarding...

© UfoMiao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/zcf-add-sponsor of UfoMiao/zcf.

Open the folder on GitHubat commit 63cb2d0

Compare with similar skills

ZCF Sponsor Onboarding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

ZCF Sponsor Onboarding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ZCF Sponsor Onboarding this skillUfoMiao/zcf6.1k—~2.5kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design49k1 repos~7.6kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.5kAutomated safety check: PassGPL-3.0
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    49k GitHub starsUsed in 1 repo~7.6k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check: notes
  • Dark Architecture Diagram Builder

    Cocoon-AI/architecture-diagram-generator

    Creates dark-themed system, cloud, security and network architecture diagrams as self-contained HTML files with inline SVG and CSS.

    7.4k GitHub starsUsed in 1 repo~2.1k tokens
    DevelopmentAuto-check passed

More from UfoMiao/zcf

  • Analyzes the current branch's changes since it diverged from base and opens a pull request through the GitHub CLI with an auto-generated, standardized description.

    6.1k GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.

    6.1k GitHub stars~3.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Compares code changes since the last Git tag with the multilingual docs and CLAUDE.md, then updates them or only reports mismatches with --check-only.

    6.1k GitHub stars~4k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about ZCF Sponsor Onboarding

What does ZCF Sponsor Onboarding do?

Onboards a corporate sponsor to ZCF by listing it in the three READMEs, and optionally registers its API preset and places ad cards in docs. Run as /zcf-add-sponsor, the skill by default adds one bullet to the Our Sponsors, Corporate Sponsors list in the three README files (Chinese, English and Japanese). Sponsor details such as display name and affiliate URL are prompted for when missing, and a trailing badge emoji has a default that can be changed.

When should I use ZCF Sponsor Onboarding?

ZCF Sponsor Onboarding fits situations like: A new corporate sponsor needs to appear in the ZCF README sponsor lists; registering a sponsor's API service as a provider preset; adding a sponsor ad card to the READMEs and documentation home pages.

How do I install ZCF Sponsor Onboarding in Claude Code?

Run `npx skills add UfoMiao/zcf --skill zcf-add-sponsor -a claude-code`. Or copy the skill folder (.claude/skills/zcf-add-sponsor in UfoMiao/zcf) into .claude/skills/zcf-add-sponsor in your project. Claude Code loads it when a task matches its description.

How do I install ZCF Sponsor Onboarding in Codex?

Run `npx skills add UfoMiao/zcf --skill zcf-add-sponsor -a codex`. Or copy the skill folder (.claude/skills/zcf-add-sponsor in UfoMiao/zcf) into .agents/skills/zcf-add-sponsor in your project. Codex loads it when a task matches its description.

Can I use ZCF Sponsor Onboarding in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add UfoMiao/zcf --skill zcf-add-sponsor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zcf-add-sponsor, .gemini/skills/zcf-add-sponsor, .github/skills/zcf-add-sponsor and .opencode/skills/zcf-add-sponsor in your project.

What does ZCF Sponsor Onboarding need to run?

Going by SKILL.md and its folder, ZCF Sponsor Onboarding needs the command-line tools its instructions call (pnpm and rg). Our summary lists: A checkout of the ZCF repository. Its frontmatter pre-approves these tools: Read(**), Write(**), Edit(**), Exec(ls, cat, grep, rg, sed, awk, file, mv, pnpm, node, git).

Does ZCF Sponsor Onboarding access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is ZCF Sponsor Onboarding safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does ZCF Sponsor Onboarding use?

ZCF Sponsor Onboarding is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does ZCF Sponsor Onboarding use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to ZCF Sponsor Onboarding?

Skills that share tags, products or a category with ZCF Sponsor Onboarding: Diagram Design (cathrynlavery/diagram-design, 49k stars), Simple English (moeru-ai/airi, 50k stars), Doc Sync (JetBrains/ideavim, 10k stars) and Mailspring App Screenshots (Foundry376/Mailspring, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ZCF Sponsor Onboarding?

UfoMiao (a GitHub organization) maintains it in UfoMiao/zcf, which has 6,079 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on August 31, 2026.

Source: UfoMiao/zcf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.