decode

decode is a skill for Claude Code from smk-labs/claude-plugins. It costs 89 tokens per session (2,547 once invoked), scanned C, original, MIT.

A codebase guide that explains software to product managers in plain Persian, using a high-level story, a browsable file tree, and short file summaries.

In plain words
What is it for?
It helps explain system structure, files, code changes, pull requests, and small engineering lessons for someone moving toward development.
Why use it?
It makes an unfamiliar codebase easier to understand without requiring the reader to study programming syntax line by line.

Skill for Claude Code

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

Part of the decode plugin — 1 skill shipped together

Good fit It helps explain system structure, files, code changes, pull requests, and small engineering lessons for someone moving toward development.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smk-labs/claude-plugins/decode
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 smk-labs/claude-plugins --skill decode
Clone the repo
git clone --depth 1 https://github.com/smk-labs/claude-plugins

Made for: Claude Code.

Or install decode, the plugin that ships this one along with the rest of its 1 skill.

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 decode

README.md
[![agentmods](https://agentmods.dev/badge/skills/smk-labs/claude-plugins/decode/github.svg)](https://agentmods.dev/skills/smk-labs/claude-plugins/decode)
Your own site
<a href="https://agentmods.dev/skills/smk-labs/claude-plugins/decode"><img src="https://agentmods.dev/badge/skills/smk-labs/claude-plugins/decode/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 decode

Your own site · 80×15
<a href="https://agentmods.dev/skills/smk-labs/claude-plugins/decode"><img src="https://agentmods.dev/badge/skills/smk-labs/claude-plugins/decode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,547 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00089 $0.02547
Opus 5.5 $0.00036 $0.01019
Sonnet 5.5 $0.00018 $0.00509
Haiku 4.5 $0.00009 $0.00255

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

Security

Grade C, and why

decode scanned grade C with 1 finding 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.

The scan reads SKILL.md. This mod also ships 1 executable file (build.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

کدبیس را برای پی‌ام قصه می‌کند: قصهٔ دودقیقه‌ای, درخت فایل وزن‌دار, خلاصهٔ هر فایل, ترجمهٔ دیف مثل ریلیز نوت. Triggers: «دیکد», «قصهٔ کدبیس», «برای پی‌ام توضیح بده», "explain this file for a PM", "codebase tour". --- # d
decode/skills/decode/SKILL.md · 124 lines

How it starts

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

decode: قصهٔ کدبیس به زبان محصول

مخاطب: مدیر محصولی که vibe code می‌کنه؛ کد نمی‌خونه، مهندسی نرم‌افزار می‌فهمه، و می‌خواد کم‌کم دولوپر بشه.

تو یه سینیوری که سر قهوه براش تعریف می‌کنی. دانشنامه ننویس؛ قصه بگو، جوری که بعد از یک بار خوندن، نقشهٔ کامل سیستم توی ذهنش بمونه.

صدای راوی

  • از بالا به پایین: اول کل سیستم توی یک نفس، بعد فقط جاهایی که مهمن. عمق بیشتر رو خواننده خودش با کلیک انتخاب می‌کنه.
  • جمله‌های کوتاه. تشبیه از دنیای خود محصول: دفتر، ویترین، صندوق، کمد، گوش، مترجم.
  • کلمات معماری آزاد (API، دیتابیس، صف، کش، وب‌هوک، سشن)؛ کلمات سینتکس ممنوع (حلقه، کلاس، پرامیس، کلوژر)؛ روایت خط‌به‌خط ممنوع. اصطلاح ناچار رو همون‌جا توی یه عبارت کوتاه معنی کن.
  • حدس ممنوع: هر جا چیزی از کد معلوم نیست، صریح بگو «از کد معلوم نیست» و بگو از کی بپرسه.
  • مقدار secret و کلید API هرگز توی خروجی نیاد؛ اگه هاردکد شده فقط بگو «اینجا یه کلید هاردکد شده» (خودش یه ریسکه).
  • فارسی روان؛ بدون em dash و en dash.

وزن‌دهی: پایهٔ همه‌چیز

قبل از نوشتن، همهٔ فایل‌ها رو وزن بده. بودجهٔ توضیح تابع وزنه، نه برعکس:

وزن یعنی بودجه
قلب core منطق اصلی محصول ازش رد می‌شه اسم نقش + پاراگراف + ارتباط‌ها + «زیر کاپوت» ۲ تا ۳ گلوله با لنگر file:line
مهم imp کاربر می‌بیندش یا یه تصمیم محصولی توشه اسم نقش + ۲ تا ۳ جمله
سیم‌کشی wire اتصال، کانفیگ، ابزارک یک جمله. «فقط پیامک می‌فرسته. همین.»
جانبی side تست، فالبک ساده، فرمت‌کننده نیم خط؛ بودنش توی درخت تقریبا کافیه

قانون طلایی: به کد نابرابر، فضای برابر نده. رفتار انتظاری رو هر جا تست هست از روی تست بگو و به فایل تست لنگر بده.

درس‌های کوچیک (مسیر PM به دولوپر)

هر اطلس ۲ تا ۴ «درس کوچیک»: یه مفهوم واقعی مهندسی (وب‌هوک، adapter، migration، صف، کش، سشن...) که همین کدبیس مثال زنده‌شه. ۲ تا ۳ جمله، با مثال همین پروژه، بدون اصطلاح اضافه. جاش: وسط قصه یا توی کانواس فایل مربوط.

تشخیص حالت از ورودی

ورودی کاربر حالت
یک فایل، یا پوشه‌ای با حداکثر ۵ فایل معنی‌دار توضیح توی چت
پوشهٔ بزرگ، ماژول، کل ریپو، یا کلمهٔ «اطلس/atlas/tour» تور HTML
کلمهٔ دیف یا تغییرات، شمارهٔ PR، اسم برنچ دیف
بدون آرگومان اگه تغییر ناکامیت یا برنچ جلوتر از main هست، حالت دیف روی همون؛ وگرنه بپرس چی رو دیکد کنه

Read the full file on GitHub · 124 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines · -117 tokens per session e95b8b6a1f8b
  2. 1mo ago First seen · 122 lines · 206 tokens per session scan C 5f3f6f88e89a

Subscribe to this mod's changes

decode is a skill published in the GitHub repository smk-labs/claude-plugins (11 stars, last pushed 28d ago), licensed MIT. It adds 89 tokens to every session and 2,547 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). 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

meta-learn

Captures a completed skill session in depth: three extraction questions (what surprised you, what was wrong, what was missing) become falsifiable pattern statements, logged to /context/skill-sessions.md for meta-synthesis. Trigger on: "capture what we learned", "log this session", "save the learnings", "what did we…

stefanoskarakasis/Product-Marketing-Skills · 88 tokens

pmm-resume

Reviews and tailors a PMM resume (IC to VP, including AI PMM roles): dissects the job description, ranks bullets by impact fit and rebuilds the complete resume in one pass. Trigger on: resume + JD paste, "tailor this", "which bullets for this role", "rebuild for [company]", "review my PMM resume", "reframe for…

stefanoskarakasis/Product-Marketing-Skills · 98 tokens

product-marketing-context

Builds and maintains the shared GTM brain (product context, ICP, positioning, voice, market context, proof points, plus optional strategy and execution sections and the deal-reality fields) that every other skill reads before producing output. Works standalone from your own answers, and gets stronger when you connect…

stefanoskarakasis/Product-Marketing-Skills · 139 tokens

competitor-deep-dive

Builds a long-form, fully sourced deep-dive on one competitor for a named decision (strategy call, RFP, pricing change, roadmap bet), with dated reviews, deal evidence, a head-to-head per offering and where they win. Triggers: "deep-dive on [competitor]", "full competitor write-up", "what do users really say about…

stefanoskarakasis/Product-Marketing-Skills · 107 tokens

workflow-orchestrator

Chains positioning, competitive, GTM strategy, campaign briefs, stakeholder maps and retros into one coherent PMM program with a master document and brain updates. Trigger on: "run full GTM workflow", "run a full launch", "launch [product] end to end", "positioning refresh", "quarterly PMM cycle", "competitive…

stefanoskarakasis/Product-Marketing-Skills · 105 tokens

positioning-messaging

Builds or audits positioning statements, messaging hierarchies, homepage copy and persona cards using April Dunford's Obviously Awesome framework, in five modes (build, audit, fletch, sales-enablement, homepage). Refuses to generate without a named primary persona and 3+ alternatives including status quo, and blocks…

stefanoskarakasis/Product-Marketing-Skills · 97 tokens