omk-secret-guard

Prevent writing, printing, committing, or summarizing protected secret files during Kimi coding workflows.

130|14|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-secret-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omk-secret-guard
Source: https://github.com/dmae97/oh-my-kimi/tree/main/templates/skills/agents/omk-secret-guard
Command: npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-secret-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents accidental exposure of sensitive credentials when agents perform coding and repository-editing tasks.

Core Features & Use Cases

  • Protected File Blocking: Blocks writing, printing, committing, or summarizing common secret file patterns such as .env files, private keys, and credential JSON.
  • Safe Escalation to User Action: Forces the workflow to stop and request explicit user permission when a task would require handling secrets.
  • Use Case: When an agent is asked to debug an authentication issue, it will refuse to output or propagate key material (like private keys or service-account secrets) and instead require the user to provide the needed input safely.

Quick Start

Use the omk-secret-guard skill to keep an agent from touching or disclosing .env, key files, and credential JSON during your Kimi coding workflow.

Frequently Asked Questions about omk-secret-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent environment variables and private keys from leaking during agent coding workflows?

To prevent environment variables and private keys from leaking during agent coding workflows, you can use a Skill that enforces a protected-file denylist. It blocks writing, printing, or committing secret files like .env and credential JSON during repository edits.

Why does the agent stop and ask for permission when handling .env files or service-account credentials?

The agent stops and asks for permission when handling .env files or service-account credentials because of a safe escalation mechanism. It halts workflows that risk exposing secrets, requiring explicit user action to provide the needed input safely.

What types of secret files are blocked from being committed or summarized by repository security skills?

Repository security skills block common secret file patterns from being committed or summarized, including .env files, private keys, and service-account credential JSON. This prevents inadvertent disclosure of sensitive data during documentation or debugging tasks.

Can I use a credential leakage prevention skill to block secret access during debugging tasks?

Yes, you can use a credential leakage prevention skill to block secret access during debugging tasks. It specifically applies to workflows like authentication debugging, refusing to output or propagate key material and requiring safe user input instead.

How do I configure agent safety rules to restrict writing to environment files?

To configure agent safety rules to restrict writing to environment files, you apply a Skill that enforces a protected-file denylist. This mechanism automatically blocks the agent from writing, printing, or propagating environment files and key material.