据 AlphaMoat 统计,截至 2026-09,API credentials hygiene 累计下载 3,556 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,080 位,在「运维安全」分类(264 个)中排名第 195 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 116 | 3,492 | 2 | - |
| SkillHub ↗ | 116 | 3,556 | 2 | — |
各平台的计数口径不同,统计时间不一致。
该技能涵盖凭据清单、开发与生产环境隔离、最小权限、轮换流程和审计记录,也可生成仅含占位符的环境模板。它提供技术文档而非法律合规意见;不要提交真实密钥或私钥。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,556 | — | 2 |
| 2026-08 | 3,395 | +2.7% | 2 |
| 2026-07 | 3,307 | +7.1% | 2 |
| 2026-06 | 3,088 | +4.9% | 2 |
| 2026-05 | 2,945 | — | 2 |
| 2026-03 | 2,428 | — | 2 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: api-credentials-hygiene description: Audits and hardens API credential handling (env vars, separation, rotation plan, least privilege, auditability). Use when integrating services or preparing production deployments where secrets must be managed safely. --- # API credentials hygiene: env vars, rotation, least privilege, auditability ## PURPOSE Audits and hardens API credential handling (env vars, separation, rotation plan, least privilege, auditability).
## WHEN TO USE
- TRIGGERS:
- Harden the credentials setup for this integration and move secrets into env vars.
- Design a key rotation plan for these APIs with minimal downtime.
- Audit this service for least-privilege access and document what each key can do.
- Create an environment variable map and a secure .env template for this project.
- Set up credential separation for dev versus prod with clear audit trails.
- DO NOT USE WHEN…
- You want to obtain keys without authorization or bypass security controls.
- You need legal/compliance sign-off (this outputs technical documentation, not legal advice).
## INPUTS
- REQUIRED:
- List of integrations/APIs and where credentials are currently stored/used.
- Deployment context (local dev, server, container, n8n, etc.).
- OPTIONAL:
- Current config files/redacted snippets (.env, compose, systemd, n8n creds list).
- Org rules (rotation intervals, secret manager preference).
- EXAMPLES:
- “Keys are hard-coded in a Node script and an n8n HTTP Request node.”
- “We have dev and prod n8n instances and need separation.”
## OUTPUTS
- Credential map (service → env vars → scopes/permissions → owner → rotation cadence).
- Rotation runbook (steps + rollback).
- Least-privilege checklist and audit log plan.
- Optional: `.env` template (placeholders only).
Success = no secrets committed or embedded, permissions minimized, rotation steps documented, and auditability defined.
## WORKFLOW
1. Inventory credentials:
- where stored, where used, and who owns them.
2. Define separation:
- dev vs prod; human vs service accounts; per-integration boundaries.
3. Move secrets to env vars / secret manager references:
- create an env var map and update config plan (no raw keys in code/workflows).
4. Least privilege:
- for each API, enumerate required actions and reduce scopes/roles accordingly.
5. Rotation plan:
- dual-key overlap if supported; steps to rotate with minimal downtime; rollback.
6. Auditability:
- define what events are logged (auth failures, token refresh, key use where available).
7. STOP AND ASK THE USER if:
- required operations are unknown,
- secret injection method is unclear,
- rotation cadence/owners are unspecified.
## OUTPUT FORMAT
Credential map template:
```text
CREDENTIAL MAP
- Integration: <name>
- Env vars:
- <VAR_NAME>: <purpose> (secret/non-secret)
- Permissions/scopes: <list>
- Used by: <service/workflow>
- Storage: <secret manager/env var>
- Rotation: <cadence> | <owner> | <procedure>
- Audit: <what is logged and where>
```
If providing a template, output `assets/dotenv-template.example` with placeholders only.
## SAFETY & EDGE CASES
- Never output real secrets, tokens, or private keys. Use placeholders.
- Read-only by default; propose changes as a plan unless explicitly asked to modify files.
- Avoid over-broad scopes/roles unless justified by a documented requirement.
## EXAMPLES
- Input: “n8n HTTP nodes contain API keys.”
Output: Env var map + plan to move to n8n credentials/env vars + rotation runbook.
- Input: “Need dev vs prod separation.”
Output: Two env maps + naming scheme + access boundary checklist.
在使用技能包之前做安全扫描,并按结论决定放行或拦截的技能。
为 OpenClaw 配置 OpenRouter 免费模型与回退链的工具。
备份与恢复 OpenClaw 配置、凭据与工作区的技能。
配置并使用 1Password CLI 处理密钥。
一款被描述为可检测提示注入与危险命令的 OpenClaw 安全插件。
远程控制 tmux 会话,向交互式命令行发送按键并抓取输出。
以应用安全工程师视角做代码与架构的安全审计。
管理腾讯云对象存储与数据万象的技能。
设计可直接导入的 n8n 工作流 JSON 与配套 runbook。
设计可刷新 Excel 周报看板的方案型技能。
Linux & Service Basics:通过日志、服务管理、权限、反向代理和 DNS 检查诊断 Linux 服务问题。
data-reconciliation-exceptions 使用稳定的薪资或驾驶证件标识对数据集进行核对。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。