microservices

microservices is a skill for Claude Code, Codex from Plazmodium/odin-workflow. It costs 18 tokens per session (1,125 once invoked), scanned A, original, MIT.

A set of design patterns for splitting an application into small services that can be deployed independently. Each service handles a business area, owns its data, and communicates through APIs or events.

In plain words
What is it for?
Use it to design services for areas such as users, orders, payments, and shipping, using REST, gRPC, message queues, or event streams.
Why use it?
It helps teams decide where service boundaries belong and how services should handle communication, failures, scaling, and monitoring.

Skill for Claude CodeCodex

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

Good fit Use it to design services for areas such as users, orders, payments, and shipping, using REST, gRPC, message queues, or event streams.

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

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 microservices

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/plazmodium/odin-workflow/microservices"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/microservices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,125 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.00018 $0.01125
Opus 5.5 $0.00007 $0.00450
Sonnet 5.5 $0.00004 $0.00225
Haiku 4.5 $0.00002 $0.00112

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

Security

Grade A, and why

microservices 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 1mo 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.

agents/skills/architecture/microservices/SKILL.md · 144 lines

How it starts

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

Microservices Architecture

Overview

Microservices decompose an application into small, independently deployable services organized around business capabilities. Each service owns its data and communicates via APIs or events.

Service Design

Service Boundaries

✅ Good boundaries (aligned with business capabilities):
┌──────────┐  ┌───────────┐  ┌──────────┐  ┌───────────┐
│  Users   │  │  Orders   │  │ Payments │  │ Shipping  │
│          │  │           │  │          │  │           │
│ - Auth   │  │ - Cart    │  │ - Charge │  │ - Track   │
│ - Profile│  │ - Checkout│  │ - Refund │  │ - Fulfill │
│ - Prefs  │  │ - History │  │ - Ledger │  │ - Label   │
└──────────┘  └───────────┘  └──────────┘  └───────────┘

❌ Bad boundaries (tech layers):
┌──────────┐  ┌───────────┐  ┌──────────┐
│ Frontend │  │  Backend  │  │ Database │  ← Not microservices
└──────────┘  └───────────┘  └──────────┘

Communication

Synchronous (request/response):
  REST API   — Simple CRUD, public APIs
  gRPC       — Internal service-to-service, streaming

Asynchronous (event-driven):
  Message Queue (RabbitMQ, SQS) — Task processing, commands
  Event Stream (Kafka)          — Event sourcing, data sync

Core Patterns

API Gateway

# Route external requests to internal services
routes:
  /api/users/*:    upstream: http://user-service:3000
  /api/orders/*:   upstream: http://order-service:3000
  /api/payments/*: upstream: http://payment-service:3000

# Cross-cutting concerns at the gateway:
# - Authentication / JWT validation
# - Rate limiting
# - Request logging
# - Response caching

Service Communication

// Sync: REST with circuit breaker
import CircuitBreaker from 'opossum';

const paymentBreaker = new CircuitBreaker(
  async (orderId: string) => {
    return fetch(`http://payment-service/charges/${orderId}`);
  },
  { timeout: 3000, errorThresholdPercentage: 50, resetTimeout: 30000 }
);

// Fallback when circuit is open
paymentBreaker.fallback(() => ({ status: 'pending', message: 'Payment service unavailable' }));

Read the full file on GitHub · 144 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. 1mo ago First seen · 144 lines · 18 tokens per session scan A ded3de06bff0

Subscribe to this mod's changes

microservices is a skill published in the GitHub repository Plazmodium/odin-workflow (0 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 1,125 once invoked, about $0.0001 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-09-01.

Related

Other skills, from other repositories

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

nornweave-api

Give AI agents their own email inboxes using the NornWeave API. Use when building email agents, sending/receiving emails programmatically, managing inboxes, retrieving threads, searching messages, or integrating with email providers (Mailgun, SES, SendGrid, Resend). NornWeave provides LLM-ready markdown parsing and…

DataCovey/nornweave · 77 tokens

user-usecases

Database of real user use cases for APIbase platform. Contains detailed examples of how specific APIs are onboarded, wrapped, and served to AI agents. Use this skill when you need to reference real integration examples, explain the APIbase onboarding process, or design new API wrappers based on proven patterns.

whiteknightonhorse/APIbase · 63 tokens

golang-manual-di

Guides manual dependency injection wiring for Go services: three-tier naming taxonomy (Provide/MustProvide/Must), Must-pattern entrypoints, OS-signal-driven context lifecycle, common provider structs, infrastructure must-builders, interface-segregated bus registration, decorator/tracing wrappers, and…

soulcodex/agentic · 97 tokens

terraform-infrastructure

Structures, writes, and reviews Terraform infrastructure code. Covers module layout, remote state, workspace strategy, variable and secrets handling, CI plan/apply pipeline, naming conventions, and multi-region deployment patterns (provider aliases, per-region state, failover strategies), while delegating shared risk…

soulcodex/agentic · 96 tokens

microservices-architecture

Guides service boundary analysis, communication pattern selection, data consistency design, API contract strategy, and resilience checklist for microservices systems. Complements the microservices fragment. Invoked when the user asks to design a microservices system, split a monolith, or review service boundaries.

soulcodex/agentic · 61 tokens