What problem does it solve?
OS keychain integration prevents secrets from being exposed through hardcoding, environment variables, or insecure files by routing credential storage to the platform’s secure vault.
Core Features & Use Cases
- Secure secret storage guidance: Enforces using macOS Keychain, Windows Credential Manager, or Linux Secret Service for sensitive tokens and passwords instead of plaintext approaches, covering common mistakes like CWE-522 and CWE-798.
- Cross-platform credential handling patterns: Provides code-generation rules and platform-specific behaviors (service identifiers, key naming validation, least-privilege, and error handling) for Rust, Python, and Node.js/TypeScript.
- Fail-secure and safe operational flows: Requires validation, avoids leaking secrets in logs/errors, and mandates fail-closed behavior when keychain access is unavailable.
Quick Start
Use the os-keychain skill when you need to securely store an API token in the user’s platform credential store rather than in code, config files, or environment variables.