sops

sops is a skill for Claude Code from ncaq/konoka. It costs 93 tokens per session (2,322 once invoked), scanned A, original, Apache-2.0.

A set of rules for using sops, a tool that encrypts and decrypts secret files. It keeps decrypted secret values out of chat logs, command output, files, and source code.

In plain words
What is it for?
It is for working with sops-encrypted configuration and secret files, passing secrets directly to processes, and deciding when a human must handle plaintext.
Why use it?
It reduces the risk of exposing passwords, keys, and other sensitive values while still allowing commands to use them without showing them to the assistant.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Part of the programming-tasuke plugin — 10 skills shipped together

Good fit It is for working with sops-encrypted configuration and secret files, passing secrets directly to processes, and deciding when a human must handle plaintext.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/sops
View source ↗ ncaq/konoka
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ncaq/konoka --skill sops
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install programming-tasuke, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sops

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/sops/github.svg)](https://agentmods.dev/skills/ncaq/konoka/sops)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/sops"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/sops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sops

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/sops"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/sops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.02322
Opus 5.5 $0.00037 $0.00929
Sonnet 5.5 $0.00019 $0.00464
Haiku 4.5 $0.00009 $0.00232

Measured 5d ago against content hash e65e0f4e0b6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/programming-tasuke/skills/sops/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sopsで暗号化されたシークレットの取り扱い

復号した平文を会話に出さないでください。 会話のログはローカルの履歴ファイルやサービス側のサーバに残るので、 一度出力した平文は、後から暗号化し直しても漏れたままになります。

問題になるのは復号という操作そのものではなく、 平文がツールの結果やファイルの読み取りを通じて会話に入ることです。 sopsに復号させて、その結果を自分では見ずに別のプロセスへ直接渡すのは問題ありません。

自動モードのガードがsops -dなどをブロックするのは正しい動作です。 ブロックされたら、同じ出力を別の手段で得ようとせず、平文を見ずに済む形へ組み替えてください。 組み替えても平文を見ないと目的を達成できないときにだけ、その作業をユーザに任せます。

禁止する操作

復号した結果が、標準出力やファイルやツールの結果として会話に入る操作は全て禁止です。 以下は代表例で、形を変えても同じです。

  • sops -d、sops --decrypt、sops decryptの出力をそのまま受け取る。
  • sops -d --extract '["key"]'で一部だけを取り出す。
  • sops -d ... | grepやsops -d ... | jqのように、パイプで一部だけを出す。
  • sops exec-env file 'env'、sops exec-env file 'printenv'、sops exec-file file 'cat {}'のように、 渡した先のコマンドで平文を出力する。
  • 復号した結果を一時ファイルに書き出してReadする。
  • PythonやNodeなど、別の言語やライブラリで復号する。
  • direnvなどで既に環境変数に読み込まれている値を、 env、printenv、export -p、set、echo "$SECRET"、direnv export json、cat /proc/self/environで出力する。 env | grepのような絞り込みも同じです。
  • 平文の値を.envファイルやソースコードやテストコードに書き込む。
  • 平文のファイルをコミットする。

環境変数が設定されているかだけを知りたいときは、 [ -n "${SECRET:-}" ] && echo set || echo unsetのように存在だけを確認します。

シークレットが正しいかを確かめたいときも、平文は出力しません。 長さやハッシュだけを出す工夫も不要です。 後述のexec-envでそのシークレットを実際に使うコマンドを実行し、 終了ステータスやエラーメッセージで判断してください。

平文を見ずにシークレットを使う

シークレットを必要とするコマンドは、sops公式ドキュメントの Passing Secrets to Other Processes にあるexec-envかexec-fileを通して実行します。 復号はsopsが行い、平文は子プロセスにだけ渡されます。

  • sops exec-env file 'command': 復号した値を環境変数として子プロセスに渡します。
  • sops exec-file file 'command {}': 復号した内容をFIFO経由の一時ファイルとして渡します。 {}がそのパスに置き換わります。
sops exec-env secrets/env.yaml 'terraform plan'
sops exec-file secrets/kubeconfig.yaml 'kubectl --kubeconfig {} get pods'

渡した先のコマンドが、環境変数やファイルの中身を出力しないことを確認してください。 出力しないコマンドなら、ユーザに依頼せずに自分で実行して構いません。

exec-envに渡すファイルは、ネストのないフラットなキーと値だけで構成されている必要があります。 ネストしたマップやリストがあると、 cannot use complex value in environmentのようなエラーで失敗します。

sops -d file | commandのように復号結果をパイプで別のプロセスに渡す形も、 受け取る側が平文を出力しないなら原理的には同じです。 しかしガードはsops -dという文字列でブロックするので、exec-fileで書くほうが確実です。

Read the full file on GitHub · 146 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · -35 lines e65e0f4e0b6e
  2. 1mo ago First seen · 181 lines · 93 tokens per session scan A 7b9ede119852

Subscribe to this mod's changes

sops is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 93 tokens to every session and 2,322 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-30.

Related

sops compared with skills from other repositories

sops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sopsncaq/konokaSkill3yesterdayApache-2.0A93Claude Code
github-project-automationsecondsky/claude-skillsSkill2573d agoMITA45Claude Code
hono-routingsecondsky/claude-skillsSkill2573d agoMITA41Claude Code
api-testingsecondsky/claude-skillsSkill2573d agoMITA39Claude Code
bun-http-serversecondsky/claude-skillsSkill2573d agoMITA31Claude Code
bun-jest-migrationsecondsky/claude-skillsSkill2573d agoMITA25Claude Code
cloudflare-workers-migrationsecondsky/claude-skillsSkill2573d agoMITA49Claude Code