six-rung-ladder

six-rung-ladder is a skill for Claude Code from s0912758806p/agentic-sop-to-work. It costs 141 tokens per session (1,476 once invoked), scanned A, original, MIT.

A decision checklist for deciding whether new code, a dependency, an abstraction, or a module is actually needed. It moves from the simplest option to a minimal working solution.

In plain words
What is it for?
Use it before writing code, adding a package, or introducing a new layer of architecture.
Why use it?
It helps avoid unnecessary maintenance work, supply-chain risk, and complexity. It encourages checking existing platform and project capabilities before adding more.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-sop-kit plugin — 9 skills, 1 command, 2 hooks shipped together

Good fit Use it before writing code, adding a package, or introducing a new layer of architecture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s0912758806p/agentic-sop-to-work/six-rung-ladder
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 s0912758806p/agentic-sop-to-work --skill six-rung-ladder
Clone the repo
git clone --depth 1 https://github.com/s0912758806p/agentic-sop-to-work

Made for: Claude Code.

Or install agentic-sop-kit, the plugin that ships this one along with the rest of its 9 skills, 1 command, 2 hooks.

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 six-rung-ladder

README.md
[![agentmods](https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder/github.svg)](https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder)
Your own site
<a href="https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder"><img src="https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder/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 six-rung-ladder

Your own site · 80×15
<a href="https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder"><img src="https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/six-rung-ladder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 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.00141 $0.01476
Opus 5.5 $0.00056 $0.00590
Sonnet 5.5 $0.00028 $0.00295
Haiku 4.5 $0.00014 $0.00148

Measured 1mo ago against content hash 184e5e4cbb75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

six-rung-ladder 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 1mo 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/agentic-sop-kit/skills/six-rung-ladder/SKILL.md · 59 lines

What it actually says

極簡架構過濾網:Six-Rung Ladder

角色與目標

面對任何「要不要寫這段代碼/要不要引入這個東西」的決策時,當一道逐級過濾網。核心信念:Lazy, not negligent(慵懶,但絕不疏漏)。每一行代碼、每一個依賴、每一個抽象,都是未來的維護成本與攻擊面;最便宜、最安全的代碼,是那行你沒有寫的。

這把梯子是 decide → build → audit 方法論的最前段:先用它擋掉不該做的,剩下該做的才交給 agentic-sop 去建、agentic-workflow-audit 去查。

怎麼用

請求從第 1 級開始往下走,能在哪一級攔下,就在哪一級解決,絕不下沉。一旦某級給出可行解就停,不要繼續往下找更重的方案。

1. YAGNI — 業務真的需要嗎?

不需要 → 直接拒絕。先質疑需求本身,而不是急著找實現方案。

2. Stdlib — 標準庫能解決嗎?

優先用語言/執行環境的原生標準庫:大規模驗證、零供應鏈風險、零安裝、隨語言一起維護。

這一級在本專案是機械化的,不是口號:engine 純標準庫由 kit/tests/test_no_third_party.py 守(回歸時 fail-loud),整個 marketplace 的 stdlib-only 不變量由 plugin-forge lint --all --strict 守。

3. Native Platform — 平台原生特性夠用嗎?

引入任何函式庫之前,先確認平台是否已提供(瀏覽器 fetch / URL / Intl、CSS 原生特性……往往足以取代一整包依賴)。

4. Installed Dependency — 現有依賴能複用嗎?

前三級都不行,先翻一遍已經裝好的依賴。堅決不為了一個小功能引入新的供應鏈風險——每個新依賴都是新的版本維護、安全漏洞與授權問題來源。

同第 2 級:新依賴會被 test_no_third_party / plugin-forge lint 擋下——這一級有 gate,不靠自律。

5. One Line — 一行乾淨代碼行不行?

與其引入抽象、新模組或新依賴,不如就地寫一行清晰直白的代碼。前提:乾淨、可讀、意圖明確,而非炫技式壓縮。

6. The Minimum That Works — 最小可用閉環

全走不通 → 只寫最小可用、能跑能驗的閉環。不過度設計、不預留花俏擴展點;先讓最小版本真正運作起來。

死守紅線:Lazy, not negligent

「慵懶」是對複雜度/抽象/依賴保持吝嗇;「絕不疏漏」是有些東西一行都不准省。下列防禦性代碼永遠不適用上面的偷懶哲學:

  • 跨信任邊界的防注入:任何外部資料(用戶輸入、第三方回應、檔案內容、URL 參數……)一律當作不可信,做好校驗與轉義。
  • 容災與錯誤處理:失敗路徑、超時、重試、降級,該寫的都要寫,不能假設一切正常。
  • 安全性:權限校驗、機密處理、最小權限原則,不能因「先跑起來再說」而跳過。

這條紅線與本專案既有鐵則「防禦代碼不准省」是同一條;對應的確定性 gate(如 trace_gate 防臆造)亦屬此列。在該懶的地方懶到極致,在該嚴的地方一步不讓。

速查口訣

級別 名稱 一句話
1 YAGNI 業務真需要嗎?不需要就拒絕。
2 Stdlib 標準庫能不能搞定?(有 gate)
3 Native Platform 平台原生特性夠不夠用?
4 Installed Dependency 現有依賴能不能複用?(有 gate)
5 One Line 一行乾淨代碼行不行?
6 Minimum That Works 都不行就寫最小可用閉環。

紅線:防注入、容災、安全性 — 防禦代碼不准省略。

輸出格式

被觸發時,對該決策逐級回報:在第幾級攔下、為什麼、具體方案(或:為何必須下沉到下一級)。若涉及外部輸入/失敗路徑/安全,明確點出哪條紅線項不得偷懶。最後一句結論:做 / 不做 / 做最小版。

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. 1mo ago First seen · 59 lines · 141 tokens per session scan A 184e5e4cbb75

Subscribe to this mod's changes

six-rung-ladder is a skill published in the GitHub repository s0912758806p/agentic-sop-to-work (211 stars, last pushed 1mo ago), licensed MIT. It adds 141 tokens to every session and 1,476 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

state-management

Cache management, configuration best practices, and progressive disclosure patterns for efficient context window usage. Use when working with large responses, optimizing token costs, or managing plugin state across operations.

conorluddy/xclaude-plugin · 38 tokens

session-recap

Document Claude Code sessions by extracting knowledge into cross-referenced documentation. Triggers on "recap the session", "summarize the work", or after significant code changes.

sxhmilyoyo/sundayhao-plugins · 39 tokens

kb-ingest

Ingest external sources into the knowledge bank through interactive study or quick filing. Two modes — Quick (summarize → file) and Study (theme-by-theme deep dive with online research and personal notes → multi-layer KB output → optional blog/slack synthesis). Triggers on "ingest this", "study this article", "add to…

sxhmilyoyo/sundayhao-plugins · 152 tokens

kb-lint

Health-check the knowledge bank for orphan documents, stale content, broken WikiLinks, index drift, and missing frontmatter. Generates a severity-graded report. Use this skill whenever the user mentions lint, health check, KB maintenance, stale docs, broken links, orphan pages, missing references, knowledge bank…

sxhmilyoyo/sundayhao-plugins · 103 tokens

x-bug2rag

A knowledge-capture tool that turns reusable bug explanations into a local RAG collection, meaning a searchable store of text that an agent can retrieve later. It records the trigger, incorrect implementation, correct implementation, and observable difference.

KtKID/x-dev-pipeline · 255 tokens

x-tech-design

A technical-design document workflow that turns an approved feature specification into a separate architecture and implementation plan. It records modules, protocols, data flow, constraints, and test references for later task breakdown.

KtKID/x-dev-pipeline · 127 tokens