/outputai:output-credentials-initfrom outputai
Initializes encrypted credentials for Output.ai projects. Generates key and encrypted YAML files for global, environment-specific, or per-workflow secrets.
Ships in outputai. 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.
The npx output credentials init command generates two files:
.key) — the decryption secret. Never commit this..yml.enc) — the credentials store. Safe to commit.# Global credentials (most common)
npx output credentials init
# Environment-specific (only production and development are read by the worker, based on NODE_ENV)
npx output credentials init -e production
npx output credentials init -e development
# Per-workflow credentials (overrides globals for that workflow)
npx output credentials init -w my_workflow
# Force overwrite existing files
npx output credentials init --force
config/
├── credentials.key ← Add to .gitignore
└── credentials.yml.enc ← Safe to commit
config/credentials/
├── production.key ← Add to .gitignore
└── production.yml.enc ← Safe to commit
src/workflows/{name}/
├── credentials.key ← Add to .gitignore
└── credentials.yml.enc ← Safe to commit
After init, the encrypted YAML contains this template:
anthropic:
api_key: ""
openai:
api_key: ""
npx output credentials edit # Opens $EDITOR with decrypted YAML
Fill in the empty values, save, and close. The file is re-encrypted automatically.
echo "*.key" >> .gitignore
echo "config/credentials.key" >> .gitignore
Or add to your .gitignore:
# Credentials decryption keys — never commit
*.key
config/credentials.key
config/credentials/*.key
src/workflows/*/credentials.key
In CI/CD pipelines, pass the key as an environment variable instead of committing the file:
# Set in your CI/CD environment
OUTPUT_CREDENTIALS_KEY=<key-value>
# Environment-specific
OUTPUT_CREDENTIALS_KEY_PRODUCTION=<key-value>
# Per-workflow
OUTPUT_CREDENTIALS_KEY_MY_WORKFLOW=<key-value>
The key value is the contents of the .key file.
config/credentials.key created (or env-specific variant)config/credentials.yml.enc created.key files added to .gitignorenpx output credentials edit run to fill in secret valuesnpx output credentials show verifies decryption worksoutput-credentials-edit — Fill in and manage credential valuesoutput-credentials-env-vars — Wire credentials to environment variablesoutput-dev-credentials — Full credentials system referenceWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
51 skills in this plugin
/output-build-workflowImplement an Output SDK workflow from a plan document. Use when the user asks to build, implement, or code a workflow from an existing plan, or after output-plan-workflow has produced a plan and the user is ready to build./output-credentials-editView, edit, and set encrypted credentials in an Output.ai project. Use when adding secrets, updating API keys, verifying credential values, or retrieving a specific credential./output-credentials-env-varsWire encrypted credentials to environment variables using the credential: convention. Use when setting up LLM provider keys (ANTHROPIC_API_KEY, OPENAI_API_KEY) or any env var that should come from encrypted credentials./output-debug-workflowDebug Output SDK workflow issues. Use when user reports a workflow failing, erroring, hanging, producing wrong results, or asks to debug, troubleshoot, or investigate a workflow execution./output-dev-agent-classUse the Agent class for multi-step tool loops, conversation history, streaming progress, and reusable LLM agents. Use when building agents with skills, structured output, stateful conversations, or streaming callbacks./output-dev-code-styleCode style conventions for Output SDK workflow projects. Use when writing or reviewing any TypeScript/JavaScript code. Discovers the project's own linting rules first; falls back to Output SDK conventions when no linter is configured.Other plugins' skills for the same job
npx claudepluginhub growthxai/output --plugin outputai