project-architecture

project-architecture is a skill for Claude Code, Codex from pjosols/pyfastmail-mcp. It costs 0 tokens per session (429 once invoked), scanned A, original, MIT.

A guide to the structure and design patterns of a Python server that provides mail, contact, calendar, and file tools through web APIs.

In plain words
What is it for?
Use it when navigating the package, adding a tool, registering tool groups, or working with JMAP for mail and DAV services for contacts, calendars, and files.
Why use it?
It helps an agent understand where the project’s code belongs and how new tools should connect to the server and its mail or file-service clients.

Skill for Claude CodeCodex

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

Good fit Use it when navigating the package, adding a tool, registering tool groups, or working with JMAP for mail and DAV services for contacts, calendars, and files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pjosols/pyfastmail-mcp/project-architecture"><img src="https://agentmods.dev/badge/skills/pjosols/pyfastmail-mcp/project-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 429 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.00000 $0.00429
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

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

Security

Grade A, and why

project-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 9d 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.

.kiro_bak/skills/project-architecture/SKILL.md · 39 lines

What it actually says

Project Architecture

Package Layout

src/pyfastmail_mcp/
├── __init__.py
├── server.py            # FastMCP setup, registers all tool subpackages
├── client.py            # JMAPClient — JMAP API communication
├── dav_client.py        # DAVClient — CardDAV/CalDAV/WebDAV communication
├── exceptions.py        # Custom exception hierarchy
└── tools/
    ├── __init__.py      # register_all() wires up all subpackages
    ├── health.py        # Standalone health check
    ├── mail/            # JMAP mail tools
    │   ├── __init__.py  # register_all(server, client)
    │   └── *.py         # mailbox, email, send, reply, forward, etc.
    ├── contacts/        # CardDAV contact tools
    │   ├── __init__.py
    │   └── *.py
    ├── calendar/        # CalDAV calendar tools
    │   ├── __init__.py
    │   └── *.py
    └── files/           # WebDAV file tools
        ├── __init__.py
        └── *.py

Key Patterns

  • Two clients: JMAPClient (mail) and DAVClient (contacts/calendar/files)
  • server.py creates both clients and passes them to register_all()
  • Each subpackage has register_all(server, client) that registers its tools
  • Tool names are prefixed by domain: mail_*, contacts_*, calendar_*, files_*
  • Tools are thin: validate input → call client → format output

Adding a New Tool

  1. Add the function in the right subpackage (e.g. tools/mail/)
  2. Register in that subpackage's __init__.py
  3. Tests go in tests/mail/, tests/contacts/, etc.
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. 9d ago First seen · 39 lines · 0 tokens per session scan A a39d71777af3

Subscribe to this mod's changes

project-architecture is a skill published in the GitHub repository pjosols/pyfastmail-mcp (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 429 tokens. 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

Other skills, from other repositories

nylas-api

Build email, calendar, and contacts integrations with the Nylas v3 API. Use when code imports nylas, @nylas/nylas, nylas-python, or user asks about Nylas API, email API integration, calendar API, contacts API, OAuth grants, agent accounts, webhooks, scheduler, notetaker, smart compose, or transactional send. DO NOT…

nylas/skills · 90 tokens

apple-pim

Native macOS personal information management for calendars, reminders, contacts, and local Mail.app. Use when the user wants to schedule meetings, create events, check their calendar, create or complete reminders, look up contacts, find someone's phone number or email, manage tasks and to-do lists, triage local…

omarshahine/apple-pim · 83 tokens

olk

Microsoft Outlook and OneDrive CLI and MCP for email, calendar, contacts, tasks, and files, for personal and enterprise accounts.

rlrghb/olkcli · 28 tokens

vamoose

Book time off without the busywork. Prompts for your dates and subject, creates a calendar hold shown as free, invites your manager to approve it, then fans the event out to your team as optional attendees once approved. Backs onto Microsoft 365, Outlook, and Teams via Microsoft Graph, or Google Calendar. Trigger when…

dcadolph/vamoose · 92 tokens

nylas-cli

Use the Nylas CLI to manage email, calendar, contacts, and Notetaker from the terminal. Use when user asks about Nylas CLI commands, nylas init, nylas email, nylas calendar, nylas contacts, nylas auth, nylas agent, agent accounts, nylas mcp, nylas notetaker, nylas otp, nylas tui, nylas air, nylas audit, nylas doctor…

nylas/skills · 113 tokens

Pear - iCloud Calendar, Reminders, Contacts & Mail

Pear provides read/write access to iCloud Calendar, Reminders, Contacts, and Mail through 34 MCP tools. All tools are prefixed with pear and communicate with iCloud via CalDAV/CardDAV for Calendar, Reminders, and Contacts, plus IMAP/SMTP for Mail.

AshtonAU/pear-plugin · 61 tokens