intended-vs-implemented

intended-vs-implemented is a skill for Claude Code from phuryn/pm-skills. It costs 95 tokens per session (814 once invoked), scanned A, original, MIT.

A review method for comparing what a system is documented to do with what its code actually does.

In plain words
What is it for?
Use it when reviewing permissions, trust boundaries, public data, restricted endpoints, and other documented rules against the implementation.
Why use it?
Many security and correctness bugs are mismatches that generic code scanners cannot see, such as a permission described in documentation but never enforced. It makes those mismatches concrete and evidence-based.

Skill for Claude Code

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

Part of the pm-ai-shipping plugin — 2 skills, 5 commands shipped together

Good fit Use it when reviewing permissions, trust boundaries, public data, restricted endpoints, and other documented rules against the implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuryn/pm-skills/intended-vs-implemented
About the project

phuryn/pm-skills is a marketplace of reusable skills, commands, and plugins that guide AI assistants through product-management work such as discovery, strategy, planning, metrics, launches, and growth. It is for product managers and teams using Claude Code, Cowork, or compatible assistants. The catalogue entries are the project's own workflows and extensions.

phuryn/pm-skills · 26,224 stars · on GitHub · productcompass.pm

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 phuryn/pm-skills --skill intended-vs-implemented
Clone the repo
git clone --depth 1 https://github.com/phuryn/pm-skills

Made for: Claude Code.

Or install pm-ai-shipping, the plugin that ships this one along with the rest of its 2 skills, 5 commands.

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 intended-vs-implemented

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuryn/pm-skills/intended-vs-implemented/github.svg)](https://agentmods.dev/skills/phuryn/pm-skills/intended-vs-implemented)
Your own site
<a href="https://agentmods.dev/skills/phuryn/pm-skills/intended-vs-implemented"><img src="https://agentmods.dev/badge/skills/phuryn/pm-skills/intended-vs-implemented/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 intended-vs-implemented

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuryn/pm-skills/intended-vs-implemented"><img src="https://agentmods.dev/badge/skills/phuryn/pm-skills/intended-vs-implemented.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 814 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. Third-party audits
  • Socket pass 4 Jul 2026
  • Snyk pass 4 Jul 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00095 $0.00814
Opus 5 $0.00048 $0.00407
Sonnet 5 $0.00019 $0.00163
Haiku 4.5 $0.00010 $0.00081

Measured 12d ago against content hash 6d917f0e59f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

intended-vs-implemented 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 12d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

pm-ai-shipping/skills/intended-vs-implemented/SKILL.md · 43 lines

How it starts

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

Intended vs. Implemented: Auditing the Gap

Purpose

A linter scans code in a vacuum. It can tell you the code is internally consistent; it cannot tell you the code does what you meant, because it has no model of your intent. The highest-value security and correctness bugs live in that gap — a permission documented but never enforced, a "cron-only" endpoint anyone can call, a field marked public-only that leaks private data.

This skill is the method for finding that gap. It is the differentiator: it only works when intent has been written down first (see the shipping-artifacts skill), and that's exactly why commodity tools can't replicate it.

Context

Use this when documented intent exists — permissions.md, architecture.md, variables.md, etc. If those docs are absent or stale, that absence is itself the first finding: you cannot audit intent you never recorded. Recommend documenting first, then auditing.

Method

  1. Establish intent. Read the documentation/*.md set as the source of truth for what should be true: who may access what, which boundaries are trusted, which data is public. Treat the docs as claims to verify, not as proof.

  2. Gather implementation evidence. Read the code that enforces (or fails to enforce) each claim. Evidence is a cited file and line — the actual authorization check, the actual query filter, the actual sanitizer. "It's probably handled upstream" is not evidence; the code path is.

  3. Compare claim to code, one boundary at a time. For each documented rule, ask: does an enforcement point actually implement it, on the server, on every path? Distrust comments like "internal only," "admin only," or "validated elsewhere" — verify them in code.

  4. Classify each mismatch by whether it matters. A mismatch matters when crossing it lets a real actor reach data, money, infrastructure, or another tenant they shouldn't. It does not matter when the only person affected is the actor themselves on their own data. Drop cosmetic drift; keep boundary-crossing drift.

Read the full file on GitHub · 43 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. 12d ago First seen · 43 lines · 95 tokens per session scan A 6d917f0e59f7

Subscribe to this mod's changes

intended-vs-implemented is a skill published in the GitHub repository phuryn/pm-skills (26,224 stars, last pushed 2mo ago), licensed MIT. It adds 95 tokens to every session and 814 once invoked, about $0.0005 per session on Opus 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

meta-review

Audits any SKILL.md in this repo against SKILL-SPEC.md, the skill authoring standard — checks frontmatter, the seven required sections, tier-appropriate sections, and quality-gate structure, then returns a scored checklist with prioritized fixes. Trigger on: "review this skill", "audit this SKILL.md", "does this skill…

stefanoskarakasis/Product-Marketing-Skills · 104 tokens

meta-verify

Runs a second-pass quality check on a skill's output before it goes out — re-checks it against the originating skill's own Quality Gate and Operating Rules, and returns specific fixes rather than a pass/fail verdict alone. Trigger on: "verify this", "check this before I send it", "second-pass this brief", "did that…

stefanoskarakasis/Product-Marketing-Skills · 92 tokens

pmm-resume

Resume reviewer and tailoring engine for Product Marketing Managers (IC to VP, including AI PMM roles). Takes baseline resume + job description → dissects JD → ranks bullets by impact fit → rebuilds complete resume in one pass. Trigger on: resume + JD paste, "tailor this", "which bullets for this role", "rebuild for…

stefanoskarakasis/Product-Marketing-Skills · 103 tokens

prd

Guides Product Managers and Product Marketing Managers to co-create complete Product Requirements Documents with embedded Solution Stories. Reads brain context (positioning, ICP, Revenue Levers) to anchor PRDs in strategy. Outputs: structured Solution Story for GTM communications + full PRD for execution alignment.

stefanoskarakasis/Product-Marketing-Skills · 59 tokens

pre-mortem

Identifies and pressure-tests failure modes for any strategic initiative (product launch, pricing change, GTM pivot, new market entry, feature rollout) by running a cross-functional risk exercise. Loads brain context (ICP, positioning, competitive landscape) and, when available, guardrails from prior pre-mortems…

stefanoskarakasis/Product-Marketing-Skills · 82 tokens

prioritization-frameworks

Selects and applies the right prioritization framework (9 frameworks: Opportunity Score, ICE, RICE, Eisenhower, Impact vs Effort, Risk vs Reward, Kano, Weighted Decision Matrix, MoSCoW) with PMM interpretation layer and GTM launch tier output (T1–T4). Reads brain context (ICP, positioning, revenue levers) and, when…

stefanoskarakasis/Product-Marketing-Skills · 92 tokens