/si-coder:sc-providerfrom si-coder
Manages user-scoped provider connections, auth methods, credentials, and execution for SI-Coder. Handles credential handoffs, audits, and safe updates without exposing secrets in chat or tool JSON.
Ships in si-coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Keep durable instructions in English. Reply in the user's language unless they request another language.
Use this whenever an agent needs to discover, configure, rotate, remove, or consume API/provider credentials.
SI-Coder is primarily for people who want a working web app, not an infrastructure lesson. Lead with the outcome, hide the plumbing.
A valid user request can be as simple as:
"Create a salon booking app and put it on my domain."
From that sentence, the agent should normally choose the stack, database/data service, hosting route, repository strategy, deployment method, domain records, and verification approach itself.
Rules:
Build the app → Prepare data → Publish → Connect domain → Verify, not internal provider phases.[rekomendasi] next step.--technical, JSON, or provider-specific skills. Do not force those details on everyone else.When a technical failure occurs, translate it first:
Never hide a failure, but explain its user impact before its implementation detail.
Never ask the user to paste an API key/token/password into chat or tool JSON. Never put a secret value in argv.
The agent may handle provider/connection metadata and credential status, but not plaintext values. First resolve the user + labeled connection. For a new or rotated direct secret, hand the user a connection-specific terminal command such as:
sc user credential-set personal resend RESEND_API_KEY --connection transactional-email
sc reads secret keys in hidden TTY mode. Non-interactive trusted local flows may use --stdin, --from-env NAME, or --from-file PATH; the value is never echoed by sc.
To consume credentials, run the actual tool under the resolved profile:
sc run -- <command> [args...]
This injects only resolved source=sc credential sets into the child without printing secret values. sc run deliberately refuses source=composio / source=native-mcp; resolve those connections in SI-Coder, then execute through the returned Connected Account or provider-owned MCP session.
SC is the local secret/control-plane boundary. Composio is a connected-account boundary for providers that benefit from managed tool execution. Read ../../references/provider-routing.md before choosing a backend.
Runtime policy:
When using Composio, ask for a secure connection link, never the underlying provider secret. Hosted mode must not fall back to asking for a raw key in chat.
Built-in provider definitions are code-reviewed and immutable. Custom provider definitions live at ~/.config/si-coder/providers.json (0600) and contain metadata only.
sc providers --json
sc providers create openai --title OpenAI --key OPENAI_API_KEY --prefix sk- --min-length 20
sc providers update openai --blurb "OpenAI project API"
sc providers key-add openai OPENAI_ORG_ID --public --note "optional org id"
sc providers key-rm openai OPENAI_ORG_ID --yes
sc providers delete openai --yes
Deleting a custom provider/key also purges corresponding managed values from legacy profiles, named connection stores, and the managed ~/.bashrc block. User-owned exports outside the managed block are reported and left untouched.
Every built-in credential field declares its acquisition metadata in lib/providers.js:
url — official/reference dashboard or credential endpoint when one exists,cmd — safe local command when the value is generated/discovered locally,navigation[] — the exact menu/click path to reach or create it,note — scope/permission caveats.lib/credential-guidance.js renders that same metadata in the Finder PREVIEW, hidden-input CLI flow, onboarding, and sc.user.credential.request. Agents should surface referenceUrl + navigation before asking the user to enter anything locally. Do not invent a dashboard path when the registry already provides one.
The user-first hierarchy is now:
User → Provider → Connection(alias) → Credential fields
One user may own several isolated connections for the same provider (work/personal GitHub, multiple Convex deployments, multiple Vercel teams, client accounts, etc.). Each connection has a unique label/alias within that user+provider, one source/backend, one auth method, and one scope. Only source=sc has a private 0600 env file; external sources keep provider credentials outside SI-Coder.
sc user connections <user> [provider]
sc user connection-add <user> <provider> "<label>" --source <sc|composio|native-mcp> --auth <method> [--default]
sc user connection-use <user> <provider> <connection>
sc user connection-label <user> <provider> <connection> "<new label>"
sc user connection-rm <user> <provider> <connection>
sc user connection-migrate <user> [provider]
The provider's sources metadata selects the backend first; direct auth[] then defines local auth methods. External source metadata supplies its own auth schemes. Do not put Composio back into direct auth[]. GitHub source=sc intentionally exposes only classic-pat and validates ghp_…; GitHub source=composio remains OAuth-backed.
OAuth/external connections must not copy provider access/refresh tokens into SI-Coder. Store only safe external ids/alias/scope/status and authorize Composio-backed connections through connected_accounts/link. Never persist link_token, redirect URL, or Connected Account credential state.
Direct credential values live under:
~/.config/si-coder/connections/<user>/<provider>/<connection>.env
Legacy profiles/<user>.env remains a compatibility/migration source only. A selected named connection atomically overrides the legacy provider fields so credentials from two accounts cannot be merged accidentally.
For one command, select a non-default direct (source=sc) connection without changing the user's stored default:
sc run --connection github=work,convex-cloud=client-a-production -- <command>
Never pass a Composio/native-MCP connection to sc run; resolve it, then use the external backend explicitly.
Read deliberately means status/source/metadata — plaintext retrieval is disabled.
sc secret list [provider] [--json]
sc secret get <provider> [ENV_KEY] [--json]
sc secret set <provider> [ENV_KEY]
sc secret rm <provider> [ENV_KEY] --yes
sc secret set <provider> without a key uses the interactive provider form. With one key it can use:
sc secret set <provider> <KEY> --stdin
sc secret set <provider> <KEY> --from-env EXISTING_ENV_NAME
sc secret set <provider> <KEY> --from-file /local/secret/file
Do not construct a command containing the secret itself.
A folder resolves to one SI-Coder user through sc.md. Inside that user, each provider resolves to one default named connection unless the caller explicitly selects another alias.
sc user add personal
sc user map ~/projects/personal personal
sc user which
sc user connections personal
This gives two independent isolation levels:
For backward compatibility, machines may still contain legacy profile or managed-shell values. Use sc user connection-migrate <user> to move recognized legacy values into named connections without printing them.
machine/functions.json is the machine-tool SSOT. scripts/sc-mcp.js reads it directly and exposes the same functions to Claude Code, Codex, Hermes, OpenClaw, or another MCP client.
Prefer explicit user/connection tools:
sc.user.list, sc.user.show, sc.user.whichsc.user.create, sc.user.duplicate, sc.user.rename, sc.user.deletesc.user.default, sc.user.map, sc.user.unmapsc.user.providers.list, sc.user.provider.verifysc.user.connections.listsc.user.connection.managesc.user.connection.requestsc.user.credentials.status, sc.user.credential.statussc.user.credential.requestsc.user.credential.deleteThe legacy cwd-dependent sc secret ... commands remain CLI compatibility paths, but they are intentionally not the primary MCP contract.
There is no machine tool that accepts a raw provider key/token/password. Direct credential creation/rotation uses sc.user.credential.request, then hidden local terminal input. External/OAuth auth uses sc.user.connection.request and the secure external authorization flow.
See docs/tool-calling.md and docs/research/composio-auth-matrix.md.
sc update --check
sc update
sc update remains fast-forward-only. Dirty tracked/untracked work is auto-preserved in a temporary local stash, the fast-forward is applied, then the work is restored. The temporary stash is dropped only after a clean restore; on conflict it is kept for recovery. Ahead, diverged, and detached checkouts are still refused, and SC never resets or discards local changes.
sc audit --limit 50
sc audit --json
The audit log is metadata-only (~/.config/si-coder/audit.jsonl, 0600): action, provider/key names, profile/store and input source. Credential values are not accepted by the audit module.
Whenever a credential/API key is missing, never output only the variable name. Always make the handoff explicit:
Buat di : <authoritative provider URL / secure connector auth link>
Petunjuk : <minimum scope / exact menu when useful>
Connection : <user/provider/label + scope>
Save with : <sc user credential-set user provider KEY --connection alias, or secure provider connector>
Stored in : <named SC connection 0600, or external connected account>
Lanjut : <verification/resume action>
Rules:
sc user credential-set <user> <provider> <KEY> --connection <alias>; it lands only in that connection's 0600 file. Legacy profile/shell storage is compatibility-only.--url https://... first.After every meaningful completed milestone, emit exactly one next-step block:
[rekomendasi]
Next : <one highest-value next step>
Why : <one sentence>
Needs : <prerequisites, or "nothing from you yet">
If you want : <what SI-Coder will do next / secure auth handoff>
Do not dump multiple recommendations. Do not recommend something already configured and healthy.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (rahmanef63/si-coder-agent) — no native marketplace selected
npx claudepluginhub p/rahmanef63-si-coder27 skills in this plugin
/scMain SI-Coder entry point for non-technical users. Turn a plain-language idea or existing web app into a working product, improve frontend quality across UI/UX/DX/AX, and publish it. Route automatically while keeping technical details optional./sc-allTurn a plain-language web-app goal into a working live app. Designed for non-technical users: choose architecture and hosting automatically, connect accounts safely, create/publish code, data, domain and verification end-to-end, delegate user-facing frontend quality to sc-fe, and expose technical details only when needed or requested./sc-axSI-Coder Agent Experience (AX) skill. Make projects, tools, workflows, and frontend actions easy for coding agents to discover, understand, invoke correctly, observe, recover, resume, and verify with low context/token waste./sc-buildBuild a web app from a plain-language idea for a non-technical user. Ask at most three short business/product questions one at a time, infer everything already stated, choose technical defaults automatically, create a first working version, gather product feedback, then publish through /sc-all./sc-cfCloudflare DNS automation — idempotent per-record A/AAAA/CNAME/TXT writes via the Cloudflare v4 API, DNS-only (grey cloud) by default so Let's Encrypt works. Use this provider whenever the domain's nameservers actually delegate to Cloudflare; it mirrors the lib/hostinger.js contract so /sc-all can swap providers. Workers/Pages/R2/tunnel still stubs./sc-clerk(STUB / NOT IMPLEMENTED YET) Clerk auth setup for projects that explicitly use Clerk instead of @convex-dev/auth. Configures instance, sets allowed origins, creates JWT template for Convex integration. Pairs with Clerk MCP (clerk @ mcp.clerk.com/mcp) for SDK snippet generation.Other plugins' skills for the same job