typetype-architecture

typetype-architecture is a skill for Claude Code, Codex from whynusn/typetype. It costs 35 tokens per session (1,416 once invoked), scanned A, original, MIT.

A project guide for TypeType, a PySide6 and QML typing-practice application. It explains the app's layers, folders, dependencies, and component responsibilities.

In plain words
What is it for?
Use it when adding features, refactoring code, or deciding where user-interface, application, business-logic, and external-integration code belongs.
Why use it?
It reduces guesswork when changing the project and helps prevent code from being placed in the wrong layer or depending on the wrong component.

Skill for Claude CodeCodex

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

Good fit Use it when adding features, refactoring code, or deciding where user-interface, application, business-logic, and external-integration code belongs.

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

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 typetype-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/whynusn/typetype/typetype-architecture"><img src="https://agentmods.dev/badge/skills/whynusn/typetype/typetype-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 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.00035 $0.01416
Opus 5 $0.00017 $0.00708
Sonnet 5 $0.00007 $0.00283
Haiku 4.5 $0.00003 $0.00142

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

Security

Grade A, and why

typetype-architecture 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 10d 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/typetype-architecture/SKILL.md · 163 lines

How it starts

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

TypeType Architecture

Overview

TypeType = PySide6/QML typing practice app. Clean Architecture + Ports & Adapters.

Dependency direction (MUST follow):

QML UI → Presentation → Application → Domain/Ports → Integration/Infrastructure

Directory Structure

src/backend/
├── application/
│   ├── exception_handler.py  # Global exception → user message mapping
│   ├── gateways/
│   │   ├── score_gateway.py      # DTO conversion + clipboard
│   │   └── text_source_gateway.py # Text source routing + Port adapter
│   └── usecases/
│       └── load_text_usecase.py # Text loading orchestration
├── ports/             # Protocol definitions (top-level)
│   ├── async_executor.py
│   ├── auth_provider.py
│   ├── char_stats_repository.py
│   ├── clipboard.py
│   ├── local_text_loader.py
│   ├── ranking_repository.py
│   └── text_provider.py
├── config/
│   └── runtime_config.py  # Text sources configuration
├── domain/
│   └── services/        # Pure business logic (NO Qt dependency)
│       ├── typing_service.py
│       ├── auth_service.py
│       └── char_stats_service.py
├── models/             # Data models
│   ├── entity/          # Domain entities (char_stat, session_stat)
│   └── dto/             # Data transfer objects
├── infrastructure/      # Infrastructure
│   ├── api_client.py    # HTTP client wrapper
│   └── network_errors.py # Network error classification
├── integration/         # Port implementations
├── presentation/
│   ├── bridge.py       # QML facade (appBridge)
│   └── adapters/       # Qt adaptation layer
├── security/           # Encryption + secure storage
├── utils/              # Logger
└── workers/            # Background tasks (QRunnable)

Layering Rules (MUST Follow)

✅ ALLOWED Dependencies

Bridge → Adapters
Adapters → Application (UseCases/Gateways)
Adapters → Domain (pure business calls directly)
Application → Domain / Ports / Config
Integration / Infrastructure → Ports / Domain

❌ FORBIDDEN Dependencies

Read the full file on GitHub · 163 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. 10d ago First seen · 163 lines · 35 tokens per session scan A 402a8a07e79a

Subscribe to this mod's changes

typetype-architecture is a skill published in the GitHub repository whynusn/typetype (13 stars, last pushed 23d ago), licensed MIT. It adds 35 tokens to every session and 1,416 once invoked, about $0.0002 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

analyzing-linux-elf-malware

Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…

mukul975/Anthropic-Cybersecurity-Skills · 82 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

mukul975/Anthropic-Cybersecurity-Skills · 65 tokens

create-skill

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

warpdotdev/warp · 64 tokens

figma-create-design-system-rules

Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server…

warpdotdev/warp · 71 tokens

figma-generate-library

Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. This skill teaches WHAT to build and in WHAT ORDER — it…

warpdotdev/warp · 95 tokens

figma-implement-design

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via…

warpdotdev/warp · 81 tokens