dark-pattern-audit
Audits codebases and product copy for deceptive dark patterns inferable from local source code and text — no runtime inspection or screenshots needed. Produces a structured narrative report with confidence grading, source locations, concise reasoning, and official pattern reference links for each detected pattern. Covers pricing, subscriptions, consent, modals, preselected controls, misleading CTAs, and more.
How do I install this agent skill?
npx skills add https://github.com/podo/design-agent-skills --skill dark-pattern-auditIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill installs its core functionality by downloading and executing code from an external GitHub repository using the npx package runner and shell commands.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
dark-pattern-audit
<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->Catalogue stub — full skill: SidKH/skills
Decision tree
-
Is the full skill already installed?
- Global:
f=~/.agents/skills/dark-pattern-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - Project:
f=.agents/skills/dark-pattern-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ the skill is installed asdark-pattern-audit, invoke it and proceedpointer→ go to step 2
- Global:
-
Detect scope, then install:
[ -e ~/.agents/skills/dark-pattern-audit ] && echo "global" || echo "project"Global:
npx skills add SidKH/skills --skill dark-pattern-audit -g -yProject:
npx skills add SidKH/skills --skill dark-pattern-audit -yClaude Code: send a command as a chat message starting with
!to run it without leaving the conversation.
Heads-up
- License: no LICENSE file in the repo
Invoke after install
- Skill name:
dark-pattern-audit - The upstream skill sets
disable-model-invocation: true: an agent will not start it on its own. Ask the user to run/dark-pattern-audit(in Claude Code), or to name the skill explicitly in the prompt. - Trigger phrases: "dark pattern audit", "dark pattern detection", "deceptive design audit"
What it does
Static analysis of a codebase for dark patterns — purely from source code and copy, without runtime access:
Surfaces covered:
- Pricing, checkout, billing, fees, cart, upsells
- Subscriptions, trials, renewals, cancellation flows
- Consent dialogs, privacy prompts, notification permissions
- Modals, interstitials, countdown timers, fake stock counters
- Preselected controls, bundled choices, forced steps
- Misleading CTA text, low-contrast disclosures, hidden disclaimers
Output per finding:
- Pattern name + official reference link
- Confidence grade (conservative — only high-confidence findings reported)
- Exact source location (file, line, component)
- Concise reasoning grounded in local evidence
Workflow: Confirm scope → load pattern catalog → search evidence in code/copy → report
When NOT to use
- General design quality audit (typography, dark mode, RTL) → use
design-auditor - WCAG accessibility compliance → use
wcag-ai-skill - AI writing pattern detection → use
humanize-text - Ethical design strategy → use
plan-design-review
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/podo/design-agent-skills/dark-pattern-audit">View dark-pattern-audit on skillZs</a>