zcf-add-sponsor
Skill6.1k starsChanged 15 months agoMITView on GitHub
Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements
Trending
Quiet since October.about the whole repository
Who's talking about UfoMiao/zcf
- code-yeongyu/oh-my-openagent“[Feature]: MCP API should have free alternatives”GitHub · Jan 10, 2026 · 2 reactions
- Lapis0x0/obsidian-yolo“[Feature Request]: Adding BMAD or Spec "kits" to the repo”GitHub · Sep 11, 2025 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.ufomiao.zcf: init at 3.7.3”GitHub · Oct 3, 2026
- zhycn/learning-by-output“[AI Coding] ZCF(Zero-Config Code Flow)安装与使用向导”GitHub · Feb 13, 2026
- nguyenphutrong/quotio“Ollama and MLX Support”GitHub · Jan 28, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub (15 times).
On GitHub · 15
- Jan 10, 2026[Feature]: MCP API should have free alternatives — code-yeongyu/oh-my-openagent2 reactions · 10 comments
- Sep 11, 2025[Feature Request]: Adding BMAD or Spec "kits" to the repo — Lapis0x0/obsidian-yolo1 reaction · 2 comments
- Oct 3, 2026agent-skills.github.ufomiao.zcf: init at 3.7.3 — sudosubin/agents.nix0 reactions
- Feb 13, 2026[AI Coding] ZCF(Zero-Config Code Flow)安装与使用向导 — zhycn/learning-by-output0 reactions
- Jan 28, 2026Ollama and MLX Support — nguyenphutrong/quotio0 reactions
10 more on GitHub
- Jan 10, 2026Q: Considerations of other MCPs — agiletec-inc/airis-mcp-gateway0 reactions · 3 comments
- Dec 24, 2025[Question] ZCF compatibility — jeremylongshore/tons-of-skills-marketplace0 reactions · 3 comments
- Dec 16, 2025Can this be turned into an MCP? — hluaguo/learn-faster-kit0 reactions · 1 comment
- Dec 16, 2025Claude Code Router Compatibility — Spacehunterz/Emergent-Learning-Framework_ELF0 reactions
- Oct 26, 2025serena - activate_project Search the superior directory — oraios/serena0 reactions · 2 comments
- Oct 18, 2025Could this be turned into a portable DB? — gannonh/memento-mcp0 reactions · 2 comments
- Oct 6, 2025Are you guys ZCF-compatible? — snahrup/bmad-agent-windsurf0 reactions
- Oct 3, 2025Can Agents use JJ for version control? — agent-era/devteam0 reactions
- Aug 25, 2025Use Qwen? — ammaarreshi/Gemini-Search0 reactions
- Aug 25, 2025CCR can't use Gemini to fetch website — musistudio/claude-code-router0 reactions · 4 comments
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- zcf-prSkill
- zcf-releaseSkill
- zcf-update-docsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Default scope: Only the Our Sponsors → Corporate Sponsors bullet list in the three READMEs (zh-CN, en, ja-JP).
- Distinctive: line 44
Trilingual descriptions: Always generate three localized descriptions (zh-CN / en / ja-JP).
- Distinctive: line 77
If any required field is missing, ask the user once in a consolidated prompt covering:
- Distinctive: line 91
Before any write, scan target files for the sponsor name or URL.
- Distinctive: line 213
ALWAYS: keep the three locale READMEs in sync (same bullet count, same URL, semantically equivalent text)
- Very specific: line 214
ALWAYS: verify logo file existence under src/assets/ before writing ad cards
- Very specific: line 216
DO NOT: create commits or push — leave that to the user / /zcf-pr
- Distinctive: line 221
When in doubt, copy the structure of the most recent existing sponsor entry (currently Crazyrouter) — it represents the canonical layout …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
/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 tosrc/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♥️ Sponsorssection, table card)docs/en/index.md,docs/zh-CN/index.md,docs/ja-JP/index.md(top♥️ Sponsorsection, 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 undersrc/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 Sponsorsbullet list in the three READMEs (zh-CN, en, ja-JP).docs/*/index.mddoes not contain a sponsor list — it only contains an ad section, handled by--with-ad. - API preset format: Match the existing
ApiProviderPresetinterface insrc/config/api-providers.ts. Ask the user aboutbaseUrl,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*.mduse relative path./src/assets/<file> - In
docs/*/index.mduse absolute GitHub raw URLhttps://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/<file>
- In
- 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
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
baseUrlandauthType(api_key|auth_token) - Codex
baseUrl(alwayswireApi: 'responses'per existing convention) - Optional
defaultModelsarray (Claude Code) ordefaultModelstring (Codex)
- Supported code tools:
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.
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/null4. 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.
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:
| File | Image path prefix |
README.md | ./src/assets/ |
README_zh-CN.md | ./src/assets/ |
README_ja-JP.md | ./src/assets/ |
docs/en/index.md | https://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/ |
docs/zh-CN/index.md | https://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/ |
docs/ja-JP/index.md | https://raw.githubusercontent.com/UfoMiao/zcf/main/src/assets/ |
Card template (reference, fill brackets per locale):
<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:
{
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
✓ 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 used8. 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 flowImportant 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 typecheckafter 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...
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

