Skip to content
Skills Library
Programming · Tool integration

output-credentials-init

/output-credentials-init

Initialize encrypted credentials for an Output.ai project. Use when setting up credentials for the first time, adding environment-specific credentials, or adding per-workflow credentials.

Repository
output ↗
Licence
Apache-2.0
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Initialize encrypted credentials for an Output.ai project. Use when setting up credentials for the first time, adding environment-specific credentials, or adding per-workflow credentials.

Original author description

Initialize encrypted credentials for an Output.ai project. Use when setting up credentials for the first time, adding environment-specific credentials, or adding per-workflow credentials.

How it works

  1. When to Use This Skill
  2. Overview
  3. Commands
  4. What Gets Created
  5. Default Template
  6. After Init: Add Your Secrets
  7. Gitignore Setup
  8. CI/CD: Key Distribution
  9. Verification Checklist
  10. Related Skills
Original SKILL.md headings · 126 lines, 393 words
SKILL.md preview
---
name: output-credentials-init
description: Initialize encrypted credentials for an Output.ai project. Use when setting up credentials for the first time, adding environment-specific credentials, or adding per-workflow credentials.
allowed-tools: [Read, Bash, Glob]
---

# Initializing Credentials

## When to Use This Skill

- First time setting up credentials for a project
- Adding production/development environment-specific credentials
- Adding per-workflow credentials that override global ones
- Re-initializing credentials after losing a key file

## Overview

The `npx output credentials init` command generates two files:
- A **key file** (`.key`) — the decryption secret. **Never commit this.**
- An **encrypted YAML file** (`.yml.enc`) — the credentials store. Safe to commit.

## Commands

```bash
# 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
```

## What Gets Created

### Global (default)

```
config/
├── credentials.key        ← Add to .gitignore
└── credentials.yml.enc    ← Safe to commit
```

### Environment-specific

```
config/credentials/
├── production.key         ← Add to .gitignore
└── production.yml.enc     ← Safe to commit
```

### Per-workflow

```
src/workflows/{name}/
├── credentials.key        ← Add to .gitignore
└── credentials.yml.enc    ← Safe to commit
```

## Default Template

After init, the encrypted YAML contains this template:

```yaml
anthropic:
  api_key: ""
openai:
  api_key: ""
```

## After Init: Add Your Secrets

```bash
npx output credentials edit          # Opens $EDITOR with decrypted YAML
```

Fill in the empty values, save, and close. The file is re-encrypted automatically.

## Gitignore Setup

```bash
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
```

## CI/CD: Key Distribution

In CI/CD pipelines, pass the key as an environment variable instead of committing the file:

```bash
# 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.

## Verification Checklist

- [ ] `config/credentials.key` created (or env-specific variant)
- [ ] `config/credentials.yml.enc` created
- [ ] `.key` files added to `.gitignore`
- [ ] `npx output credentials edit` run to fill in secret values
- [ ] `npx output credentials show` verifies decryption works

## Related Skills

- `output-credentials-edit` — Fill in and manage credential values
- `output-credentials-env-vars` — Wire credentials to environment variables
- `output-dev-credentials` — Full credentials system reference

Versions

The database has no other skills named output-credentials-init.

Database snapshot: 13.11.2026 · package version 32f09fe3410a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100output-credentials-edit
    View, 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.
  • 100output-credentials-env-vars
    Wire 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.
  • 100flutter-config
    Use when configuring build flavors, passing environment variables via dart-define-from-file, or setting up stage-specific credentials.
  • 96dm-init
    Initialize Janus in the current project — one-time scaffold. Use when the user says "set up Janus here", "/dm-init", or /dm finds no .delivery/config.json.
  • 98setup-credentials
    Set up or update the Tulip MCP plugin's credentials. Use when the server reports missing/invalid credentials, when the user says the plugin isn't authenticated, or right after installing the plugin. Copies the user's existing .env into the plugin's persistent data directory so it survives updates.
  • 100nacl-init
    Initialize or refresh a NaCl project for Codex by creating project configuration, graph infrastructure files, project registry entries, and optional Codex-readable guidance. Use when setting up a new or existing NaCl project, checking install discovery, or when the user says `/nacl-init`.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.