mac-keychain

Solid

Work with macOS Keychain generic password items through bundled scripts. Use when Codex needs to check, read metadata, create, update, retrieve, reveal, or delete local credentials by `service + account` on macOS, especially as a thin credential-store wrapper inside another workflow.

AI & Automation 36 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Mac Keychain Use this skill to operate on macOS Keychain generic password items. ## Scope - Support `exists`, `read-meta`, `set`, `update`, `read-secret`, `reveal-secret`, and `delete`. - Operate on generic password items only. - Stop if the request involves certificates, identities, private keys, or broad keychain administration. ## Runtime - Require `macOS`, `/usr/bin/security`, and `/bin/zsh`. - Use the bundled scripts for deterministic behavior. - Stop and explain the missing runtime dependency if the scripts cannot run as shipped. ## Operating Rules - Resolve the target with `service + account` before any write, delete, or secret read. - Default to the current user's `login` keychain. - Pass `--keychain` only when the target is not the default login keychain. - Keep caller attribution, approval prompts, and workflow policy in the caller. Do not model them inside this skill. - Keep the script interface narrow. Do not pass legacy caller-attribution or purpose flags. - Keep this skill thin. It should expose local Keychain operations, not orchestrate a larger secret-management workflow. ## Safety Model - Do not guess missing `service` or `account` for `set`, `update`, `read-secret`, `reveal-secret`, or `delete`. - Do not echo the incoming secret in `set` or `update`. - Use `read-secret` for downstream machine use after the caller has already decided that retrieval is allowed. - Use `reveal-secret` only when the user explicitly wants plaintext in visible output. Re...

Details

Author
flc1125
Repository
flc1125/skills
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

apple-passwords

Open macOS Passwords or Keychain entries, locate saved logins, and read specific credentials safely.

127 Updated today
HybridAIOne
AI & Automation Listed

security

Route Keychain Services implementation tasks to the correct Knowledge Contracts -- item CRUD via SecItemAdd/SecItemCopyMatching/SecItemUpdate/SecItemDelete, accessibility levels, access groups and sharing, and storing structured/Codable data. Use when working with kSecClassGenericPassword, kSecClassInternetPassword, OSStatus, errSecSuccess, errSecItemNotFound, errSecDuplicateItem, kSecAttrAccessible, kSecAttrAccessGroup, Keychain Sharing, or kSecValueData. v1 is general (non-biometric-bound) Keychain item CRUD for generic/internet password items -- no SecAccessControl/biometric binding, no AutoFill/credential providers, no iCloud Keychain sync, no certificate/key/identity item classes. Triggers on SecItemAdd, SecItemCopyMatching, SecItemUpdate, SecItemDelete, kSecClassGenericPassword, kSecClassInternetPassword, kSecAttrAccessible, kSecAttrAccessGroup, Keychain access group, kSecValueData, Keychain, credential storage.

1 Updated 1 weeks ago
caglarbaranbora
AI & Automation Listed

ios-security

Harden iOS and macOS apps against the platform-specific failure modes. Covers Keychain accessibility tiers, App Transport Security, certificate pinning tradeoffs, file protection classes, biometric authentication, jailbreak detection as a signal rather than a defense, and third-party SDK review. Invoke when shipping a native app that holds credentials, before App Store submission, or after a mobile security advisory.

15 Updated 2 weeks ago
GoldenWing-360