Sc cf
(STUB / NOT IMPLEMENTED YET) Cloudflare automation — DNS A/AAAA/CNAME records as a Hostinger alternative, Workers/Pages deploy, R2 bucket provisioning, Zero Trust tunnel setup. Mirrors the lib/hostinger.js surface so /sc-all can swap providers via a flag.From its SKILL.md
npx -y skills add rahmanef63/si-coder-agent --skill sc-cfAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- reads credentialsReads from 2 credential sources: `CLOUDFLARE_API_TOKEN` and 1 more.
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, 522 tokens by cl100k_base, as published. Nobody here has run it
/sc-cf — Cloudflare (STUB)
Status: boilerplate only. No working scripts yet. Open a PR or implement the TODOs below to fill in.
Scope when implemented
- DNS — create A/CNAME records for
<root>,api-<root>,site-<root>,dash-<root>. Drop-in replacement forlib/hostinger.js. - Workers — deploy a worker from
wrangler.toml. - Pages — connect a GitHub repo as a Pages project (alternative to Dokploy for static sites).
- R2 — provision a bucket + access key, write to project env.
- Zero Trust tunnel — optional
cloudflaredtunnel to expose a local service.
Env vars (already registered in scan-env.js)
| Var | Purpose |
|---|---|
CLOUDFLARE_API_TOKEN | Token with Zone:Read, Zone:DNS:Edit, Account:Workers:Edit, Account:R2:Edit |
CLOUDFLARE_ACCOUNT_ID | Account ID, copy from the dashboard right sidebar |
Suggested file layout
sc-cf/
├── SKILL.md (this file)
└── scripts/
├── dns.js # CRUD A/AAAA/CNAME via /zones/<id>/dns_records
├── deploy-pages.js # POST /accounts/:id/pages/projects + bind to GitHub
├── deploy-worker.js
├── r2-bucket.js # POST /accounts/:id/r2/buckets
└── tunnel.js # cloudflared tunnel create/route
Implementation notes
- API base:
https://api.cloudflare.com/client/v4 - Auth header:
Authorization: Bearer <CLOUDFLARE_API_TOKEN> - Errors return
{ success: false, errors: [{code, message}] }— wrap inlib/cloudflare.js(TODO). - Zone ID resolution:
GET /zones?name=<root-domain>returns the zone — cache it. - When
/sc-allcalls a DNS provider, prefersc-cfifCLOUDFLARE_API_TOKENis set, else fall back tolib/hostinger.js.
See lib/hostinger.js for the contract /sc-all expects a DNS module to expose: configureDns({ fullDomain, dokployApiUrl, hostingerToken }).
What ships with it: 1 file
900 B alongside SKILL.md, 1 of them executable
scripts/
- dns.jsruns900 B