architecture

architecture is a skill for Claude Code from CES-Ltd/TitanX. It costs 69 tokens per session (1,411 once invoked), scanned A, a copy of architecture, Apache-2.0.

Architecture rules for an Electron application, which is a desktop app built with web technologies. They explain where user-interface code, background logic, shared code, network endpoints, and AI-platform connections belong.

In plain words
What is it for?
Use them when creating modules, moving components, adding services or agents, or reviewing the project's file structure.
Why use it?
They prevent new files and modules from being placed in the wrong part of the project.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

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.

agentmods
npx agentmods add skills/ces-ltd/titanx/architecture
Any agent
npx skills add CES-Ltd/TitanX --skill architecture
Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/TitanX

Made for: Claude Code.

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 architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/ces-ltd/titanx/architecture.svg)](https://agentmods.dev/skills/ces-ltd/titanx/architecture)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/titanx/architecture"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00069 $0.01411
Opus 5 $0.00034 $0.00705
Sonnet 5 $0.00014 $0.00282
Haiku 4.5 $0.00007 $0.00141

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

Security

Grade A, and why

architecture scanned grade A 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| **Main** (`src/process/`) | Node.js, Electron main APIs, `fs`, `path`, `child_process` | DOM APIs (`document`, `window`, React) |
Origin

This is a copy

100% identical to architecture — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/architecture/SKILL.md · 142 lines

How it starts

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

Architecture Skill

Determine correct file placement and structure for an Electron multi-process project.

Detailed References


Decision Tree — Where Does New Code Go?

Is it UI (React components, hooks, pages)?
  └── YES → src/renderer/              → see references/renderer.md

Is it an IPC handler responding to renderer calls?
  └── YES → src/process/bridge/        → see references/process.md

Is it business logic running in the main process?
  └── YES → src/process/services/      → see references/process.md

Is it an AI platform connection (API client, message protocol)?
  └── YES → src/process/agent/<platform>/

Is it a background task that runs in a worker thread?
  └── YES → src/process/worker/

Is it used by BOTH main and renderer processes?
  └── YES → src/common/

Is it an HTTP/WebSocket endpoint?
  └── YES → src/process/webserver/

Is it a plugin/extension resolver or loader?
  └── YES → src/process/extensions/

Is it a messaging channel (Lark, DingTalk, Telegram)?
  └── YES → src/process/channels/

Process Boundary Rules

Hard rules — violating them causes runtime crashes.

Process Can use Cannot use
Main (src/process/) Node.js, Electron main APIs, fs, path, child_process DOM APIs (document, window, React)
Renderer (src/renderer/) DOM APIs, React, browser APIs Node.js APIs (fs, path), Electron main APIs
Worker (src/process/worker/) Node.js APIs DOM APIs, Electron APIs
Preload (src/preload.ts) contextBridge, ipcRenderer DOM manipulation, Node.js fs

Read the full file on GitHub · 142 lines

Files

What ships with it

3 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. 6d ago First seen · 142 lines · 69 tokens per session scan A eba7170139f6

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository CES-Ltd/TitanX (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 69 tokens to every session and 1,411 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to architecture, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

JStaRFilms/deprecated-Takomi_Code · 62 tokens

convex-http-actions

External API integration and webhook handling including HTTP endpoint routing, request/response handling, authentication, CORS configuration, and webhook signature validation.

JStaRFilms/deprecated-Takomi_Code · 31 tokens

convex-migrations

Schema migration strategies for evolving applications including adding new fields, backfilling data, removing deprecated fields, index migrations, and zero-downtime migration patterns.

JStaRFilms/deprecated-Takomi_Code · 35 tokens

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

JStaRFilms/deprecated-Takomi_Code · 168 tokens

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

JStaRFilms/deprecated-Takomi_Code · 45 tokens

convex-cron-jobs

Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks.

JStaRFilms/deprecated-Takomi_Code · 33 tokens