Loading...
Loading...
Set up Goldsky CLI authentication and project configuration. Use this skill when the user needs to: install the goldsky CLI (what's the official install command?), run goldsky login (including when the browser opens but 'authentication failed'), run goldsky project list and see 'not logged in' or 'unauthorized', switch between Goldsky projects, check which project they're currently authenticated to, or fix 'unauthorized' errors when running goldsky turbo commands. Also use for 'walk me through setting up goldsky CLI from scratch for the first time'. If any other Goldsky skill hits an auth error, redirect here first.
npx skill4agent add goldsky-io/goldsky-agent auth-setupwhich goldsky && goldsky --version/usr/local/bin/goldsky13.2.0curl https://goldsky.com | shQuestion: "Please run this command in your terminal to install the Goldsky CLI:"
Code block: curl https://goldsky.com | sh
Options:
1. Label: "Done, it's installed"
Description: "I ran the command and the CLI is now installed"
2. Label: "I need help"
Description: "I encountered an error during installation"which goldsky && goldsky --versiongoldsky project list 2>&1Make sure to run 'goldsky login'You're not logged in. Please paste your API token:
(Need a token? Go to https://app.goldsky.com → Settings → API Tokens → Create Token)goldsky login --token USER_PROVIDED_TOKENgoldsky project listMake sure to run 'goldsky login'invalid tokenunauthorized## Setup Complete
**What was done:**
- ✓ Goldsky CLI installed (version X.X.X)
- ✓ Authenticated to Goldsky
- ✓ Connected to project: [project-name]
**Your available projects:**
[List projects from goldsky project list output]
**Next steps - try these skills:**
- `/secrets` - Set up credentials for pipeline sinks (PostgreSQL, ClickHouse, Kafka)
- Ask "create a pipeline" to start building data pipelines
- Ask "deploy a subgraph" to deploy a subgraph to Goldsky| Command | Purpose | Key Flags |
|---|---|---|
| Authenticate with Goldsky | |
| Remove local credentials | |
| List all projects you belong to | |
| Create a new project | |
| List users in current project | |
| Invite user to project | |
goldsky project create --name "my-new-project"goldsky project users invite --emails user@example.com --role EditorOwnerAdminEditorViewergoldsky logout
goldsky login
# MUST verify after: goldsky project list| Pattern | Meaning |
|---|---|
| Not authenticated |
| Token is incorrect or expired |
| User lacks required role |
| Need to re-authenticate |
| Issue | Action |
|---|---|
| Not logged in | Prompt user for API token, use |
| Invalid token | Ask user to generate a new token in dashboard |
| Permission denied | User needs role upgrade from project Owner/Admin |
| Session expired | Prompt for new token and re-authenticate |
/turbo-builder/datasets/secrets