ops-credentials

按需运维(凭据):在用户询问“设置了哪些密钥”或“缺少…… ”等问题时使用此技能,检查并报告运维相关的凭据状态。

仓库最近推送
GitHub Stars
564
Forks
64
Issues / PRs
6

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-credentials":https://skillpi.com/zh/skills/deepskill-d26f55049e1afca0cd502d7470f3fb4a91c4a9cf92b2d54ff74814e79772c10e。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

按需运维(凭据):在用户询问“设置了哪些密钥”或“缺少…… ”等问题时使用此技能,检查并报告运维相关的凭据状态。

0 下载

介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ops-credentials
description: "OPS on-demand: This skill should be used when the user asks to \"which keys are set\", \"missing…"
argument-hint: '[--service <name>] [--json]'
allowed-tools:
  - Bash
  - Read
  - AskUserQuestion
effort: low
maxTurns: 5

OPS ► CREDENTIALS

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

CLI/API Reference

Command Output
bin/ops-credentials Human table — configured + missing per service
bin/ops-credentials --json JSON array, one entry per credential
bin/ops-credentials --service stripe Filter to one integration

The bin script is the source of truth. It scans these sources in order and reports the FIRST hit per credential:

  1. Shell env ($STRIPE_SECRET_KEY, etc.)
  2. $OPS_DATA_DIR/preferences.json (.revenue.stripe.secret_key, etc., including doppler:KEY references that get resolved live)
  3. macOS Keychain (security find-generic-password -s <name> -w)
  4. Dashlane (dcli password <keyword> --output json)

Values shorter than 12 chars print as •••; longer values print as first6•••last4.

Your task

When the user runs /ops:credentials:

  1. Run bin/ops-credentials and present the output verbatim — it's already formatted for the user's terminal (compact mode for SSH/mobile, table layout otherwise).

  2. Offer follow-ups via AskUserQuestion (max 4 options per Rule 1):

What would you like to do next?
  [Configure a missing service — pick one to set up now]
  [Re-audit a specific service]
  [Export to JSON]
  [Done]
  1. On "Configure missing": list missing services 4-at-a-time via AskUserQuestion. For each pick, call the /ops:setup <service> skill.

  2. On "Re-audit specific": ask for the service name and run bin/ops-credentials --service <name>.

  3. On "Export to JSON": run bin/ops-credentials --json and write the result to /tmp/ops-credentials-audit-$(date +%s).json. Print the path.

Why this skill exists

Claude Code's plugin settings UI cannot introspect external credential stores. If a user has STRIPE_SECRET_KEY in macOS Keychain or klaviyo_api_key in Doppler, the settings panel shows those fields as empty (because the value isn't stored in Claude Code's user-config). The user can't tell at a glance which integrations they've already wired up.

/ops:credentials solves that — one command, one table, complete picture of which integrations are ready to use vs which still need /ops:setup.

Homey Pro (Home Automation)

Field Value
Service name Homey Pro
Category Home Automation
Keys HOMEY_LOCAL_URL, HOMEY_LOCAL_TOKEN, HOMEY_CLOUD_TOKEN, HOMEY_ID
Storage $PREFS_PATH → .home_automation.homey_local_url, .homey_local_token, .homey_cloud_token, .homey_id
Required HOMEY_LOCAL_URL, HOMEY_LOCAL_TOKEN
Optional HOMEY_CLOUD_TOKEN (off-LAN fallback), HOMEY_ID (cloud API only)

Rotation: Revoke the current token at https://my.homey.app/manager/tokens, generate a new one, then rerun /ops:setup --section home to save the replacement.


Privacy guarantees

  • Never prints raw values. All output is masked.
  • Never copies values to disk. Reads happen in-process; the JSON export contains only {service, label, configured, masked, source}, never the raw secret.
  • Read-only. Does not write to keychain, Doppler, or preferences.

Mobile / SSH (Rule 7)

When $SSH_CONNECTION / $SSH_CLIENT / $SSH_TTY is set or $OPS_MOBILE=1, the bin script auto-switches to compact one-line-per-cred format. Skill output should pass it through unchanged.

版本历史

  1. v3.12.1 GitHub ↗
    原版更新说明

    ### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.

  2. v3.12.0 GitHub ↗
    原版更新说明

    ### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.

  3. v3.11.0 GitHub ↗
    原版更新说明

    ### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.

  4. v3.10.29 GitHub ↗
    原版更新说明

    ### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).

  5. v3.10.28 GitHub ↗
    原版更新说明

    ### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值82/100

亮点

  • 解决运维凭证分散存储导致的可视化痛点,提供统一审计视图
  • 支持多凭证源(环境变量、preferences.json、macOS Keychain、Dashlane)
  • 具备隐私保护机制,不打印原始值且不落盘
触发精准88/100

亮点

  • 触发描述精准覆盖凭证查询和缺失检测场景
  • argument-hint 提供清晰的参数提示
结构规范95/100

亮点

  • 执行流程分阶段清晰,包含完整出口条件
  • 提供详细的 CLI/API 参考表格和端到端示例
  • frontmatter 完整,文档结构规范
执行可靠92/100

亮点

  • 工具来源明确,参数使用正确
  • 覆盖主要异常场景并提供 fallback 机制
  • 纯读操作,无不可逆风险,安全性高
证据可验 (前四项均值)89/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • my.homey.app

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。