viper-architecture-rambler

viper-architecture-rambler is a skill for Claude Code, Codex from dagba/ios-mcp. It costs 60 tokens per session (2,222 once invoked), scanned A, original, MIT.

A guide to VIPER, an iOS app structure that separates screens, business rules, data objects, and navigation into five cooperating parts.

In plain words
What is it for?
Use it when an iOS app has many features, a long expected lifespan, or multiple developers. It can guide architecture decisions and refactoring of Massive View Controllers.
Why use it?
It keeps complex features from becoming one oversized view controller and makes code easier for a team to test and maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when an iOS app has many features, a long expected lifespan, or multiple developers. It can guide architecture decisions and refactoring of Massive View Controllers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dagba/ios-mcp/viper-architecture-rambler
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 dagba/ios-mcp --skill viper-architecture-rambler
Clone the repo
git clone --depth 1 https://github.com/dagba/ios-mcp

Made for: Claude Code, Codex.

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 viper-architecture-rambler

README.md
[![agentmods](https://agentmods.dev/badge/skills/dagba/ios-mcp/viper-architecture-rambler/github.svg)](https://agentmods.dev/skills/dagba/ios-mcp/viper-architecture-rambler)
Your own site
<a href="https://agentmods.dev/skills/dagba/ios-mcp/viper-architecture-rambler"><img src="https://agentmods.dev/badge/skills/dagba/ios-mcp/viper-architecture-rambler/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 viper-architecture-rambler

Your own site · 80×15
<a href="https://agentmods.dev/skills/dagba/ios-mcp/viper-architecture-rambler"><img src="https://agentmods.dev/badge/skills/dagba/ios-mcp/viper-architecture-rambler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,222 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.00060 $0.02222
Opus 5.5 $0.00024 $0.00889
Sonnet 5.5 $0.00012 $0.00444
Haiku 4.5 $0.00006 $0.00222

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

Security

Grade A, and why

viper-architecture-rambler 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 3mo 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.

skills/viper-architecture-rambler/SKILL.md · 290 lines

How it starts

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

VIPER Architecture (Rambler Team)

Overview

VIPER enforces Single Responsibility Principle through five protocol-based components: View, Interactor, Presenter, Entity, Router. Created and documented by Rambler&Co iOS Team.

Core Principle: Entities never reach the Presentation layer. Simple data structures transfer between Interactor and Presenter, preventing business logic pollution in UI.

When to Use VIPER

digraph viper_decision {
    "Complex app?" [shape=diamond];
    "Multiple features?" [shape=diamond];
    "Long-term project?" [shape=diamond];
    "Team size > 2?" [shape=diamond];
    "High testability need?" [shape=diamond];
    "Use VIPER" [shape=box, style=filled, fillcolor=lightgreen];
    "Use MVC/MVVM" [shape=box, style=filled, fillcolor=lightcoral];

    "Complex app?" -> "Multiple features?" [label="yes"];
    "Complex app?" -> "Use MVC/MVVM" [label="no"];
    "Multiple features?" -> "Long-term project?" [label="yes"];
    "Multiple features?" -> "Use MVC/MVVM" [label="no"];
    "Long-term project?" -> "Team size > 2?" [label="yes"];
    "Long-term project?" -> "High testability need?" [label="no"];
    "Team size > 2?" -> "Use VIPER" [label="yes"];
    "Team size > 2?" -> "High testability need?" [label="no"];
    "High testability need?" -> "Use VIPER" [label="yes"];
    "High testability need?" -> "Use MVC/MVVM" [label="no"];
}

Use VIPER for:

  • Multi-feature apps (authentication, payments, user profiles, etc.)
  • Long-term projects (6+ months)
  • Teams with 3+ developers
  • Apps requiring extensive unit test coverage
  • Multi-platform code sharing (iOS/iPadOS/macOS)

Avoid VIPER for:

  • Single-screen utilities
  • Rapid prototypes with unclear requirements
  • Weekend projects or proof-of-concepts
  • Small teams with tight deadlines

Component Responsibilities

Component Responsibility What It Must NOT Do
View Display content, relay user input (passive) Request data, format data, navigation, business logic
Interactor Business logic, use cases (platform-independent) UI updates, formatting, routing, direct Core Data access
Presenter View logic, data formatting (bridges logic & display) Business logic, network calls, data persistence
Entity Plain model objects (PONSOs - no behavior) Logic, formatting, self-persistence
Router Navigation, module assembly Business logic, data management, UI updates

Read the full file on GitHub · 290 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. 3mo ago First seen · 290 lines · 60 tokens per session scan A f4019852c81a

Subscribe to this mod's changes

viper-architecture-rambler is a skill published in the GitHub repository dagba/ios-mcp (4 stars, last pushed 10mo ago), licensed MIT. It adds 60 tokens to every session and 2,222 once invoked, about $0.0002 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-31.

Related

viper-architecture-rambler compared with skills from other repositories

viper-architecture-rambler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
viper-architecture-ramblerdagba/ios-mcpSkill410mo agoMITA60Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill159ktodayMITA102Claude Code, Codex
nitro-ui-native-codepingdotgg/t3codeSkill90ktodayMITA32Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11kyesterdayApache-2.0A56Claude Code
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
android-tombstone-symbolicationdotnet/skillsSkill6.5ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code