Deepstream Sop
NVIDIA/skills
A skill your agent uses when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether…
Microservices architecture patterns. An agent skill from cohen-liel/hivemind.
$ npx skills add cohen-liel/hivemind --skill microservices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cohen-liel/hivemind microservices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/microservices .claude/skills/microservices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .claude/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cohen-liel/hivemind --skill microservices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cohen-liel/hivemind microservices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/microservices .agents/skills/microservices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .agents/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cohen-liel/hivemind --skill microservices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cohen-liel/hivemind microservices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/microservices .cursor/skills/microservices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .cursor/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cohen-liel/hivemind.git --path .claude/skills/microservices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cohen-liel/hivemind --skill microservices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cohen-liel/hivemind microservices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/microservices .gemini/skills/microservices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .gemini/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cohen-liel/hivemind microservicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cohen-liel/hivemind --skill microservices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/microservices .github/skills/microservices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .github/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cohen-liel/hivemind --skill microservices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cohen-liel/hivemind microservices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/microservices .opencode/skills/microservices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "microservices" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/microservices into .opencode/skills/microservices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microservices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
microservicesMicroservices architecture patterns. An agent skill from cohen-liel/hivemind.
Microservices is an agent skill from cohen-liel/hivemind. Microservices architecture patterns. Use when designing service decomposition, inter-service communication, API gateways, service discovery, event-driven architecture, or distributed systems.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Microservices and Event-driven systems. It works with Docker. The repository describes itself as: One prompt. A full AI engineering team. Go lie on the couch. 🧠. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 918dd9b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
RESEND_API_KEYPOSTGRES_PASSWORDFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Microservices loads about 2k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 126 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cohen-liel/hivemind at commit 918dd9b, republished under its Apache-2.0 licence (© cohen-liel). 126 words, ~1,953 tokens.
.claude/skills/microservices/SKILL.md (or your agent's skills folder).services/
api-gateway/ # Entry point, routing, auth
user-service/ # User management, auth
product-service/ # Products, catalog, inventory
order-service/ # Orders, checkout flow
notification-service/ # Email, push, SMS (event-driven)
payment-service/ # Stripe, billing
shared/
proto/ # gRPC definitions (if used)
events/ # Event schemas (Pydantic/TypeScript)
libs/ # Shared utilities
docker-compose.yml# api-gateway/main.py
import httpx
from fastapi import FastAPI, Request, Depends, HTTPException
from fastapi.middleware.cors import CORSMiddleware
app = FastAPI()
app.add_middleware(CORSMiddleware, allow_origins=["*"], allow_methods=["*"])
SERVICE_URLS = {
"users": "http://user-service:8001",
"products": "http://product-service:8002",
"orders": "http://order-service:8003",
}
@app.api_route("/{service}/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "PATCH"])
async def proxy(service: str, path: str, request: Request, user=Depends(verify_token)):
if service not in SERVICE_URLS:
raise HTTPException(404, "Service not found")
url = f"{SERVICE_URLS[service]}/{path}"
async with httpx.AsyncClient() as client:
response = await client.request(
method=request.method,
url=url,
headers={"X-User-Id": str(user.id), "X-User-Role": user.role},
content=await request.body(),
params=dict(request.query_params),
timeout=30,
)
return Response(content=response.content, status_code=response.status_code,
media_type=response.headers.get("content-type"))# Shared HTTP client with circuit breaker
import httpx
from tenacity import retry, stop_after_attempt, wait_exponential
class ServiceClient:
def __init__(self, base_url: str):
self.client = httpx.AsyncClient(base_url=base_url, timeout=10)
@retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=1, max=10))
async def get(self, path: str, **kwargs):
response = await self.client.get(path, **kwargs)
response.raise_for_status()
return response.json()
# order-service calling user-service
user_client = ServiceClient("http://user-service:8001")
async def get_order_with_user(order_id: str):
order = await db.orders.find_one(order_id)
user = await user_client.get(f"/users/{order['user_id']}") # Retries on failure
return {**order, "user": user}# events/schemas.py
from pydantic import BaseModel
from datetime import datetime
class OrderPlacedEvent(BaseModel):
event_type: str = "order.placed"
order_id: str
user_id: str
amount: float
items: list[dict]
timestamp: datetime = Field(default_factory=datetime.utcnow)
class UserRegisteredEvent(BaseModel):
event_type: str = "user.registered"
user_id: str
email: str
name: str
timestamp: datetime = Field(default_factory=datetime.utcnow)
# Publisher
import aioredis, json
redis = aioredis.from_url(settings.REDIS_URL)
async def publish_event(event: BaseModel):
channel = event.event_type.replace(".", ":")
await redis.publish(channel, event.model_dump_json())
# In order-service after creating order:
await publish_event(OrderPlacedEvent(
order_id=order.id,
user_id=user_id,
amount=total,
items=items,
))
# Subscriber (notification-service)
async def start_consumers():
pubsub = redis.pubsub()
await pubsub.subscribe("order:placed", "user:registered")
async for message in pubsub.listen():
if message["type"] == "message":
channel = message["channel"]
data = json.loads(message["data"])
if channel == "order:placed":
event = OrderPlacedEvent(**data)
await send_order_confirmation_email(event)
elif channel == "user:registered":
event = UserRegisteredEvent(**data)
await send_welcome_email(event)# user-service/main.py
from fastapi import FastAPI, Header, HTTPException
from contextlib import asynccontextmanager
@asynccontextmanager
async def lifespan(app: FastAPI):
app.state.db = await create_db_pool()
yield
await app.state.db.close()
app = FastAPI(lifespan=lifespan)
# Services trust X-User-Id header from gateway (already authenticated)
def get_current_user_id(x_user_id: str = Header(...)):
return x_user_id
@app.get("/users/me")
async def get_me(user_id: str = Depends(get_current_user_id)):
return await db.get_user(user_id)
@app.get("/users/{user_id}")
async def get_user(user_id: str):
"""Internal endpoint — called by other services."""
user = await db.get_user(user_id)
if not user:
raise HTTPException(404, "User not found")
return user# docker-compose.yml
version: '3.9'
services:
api-gateway:
build: ./api-gateway
ports: ["8000:8000"]
environment:
- USER_SERVICE_URL=http://user-service:8001
depends_on: [user-service, product-service]
user-service:
build: ./user-service
environment:
- DATABASE_URL=postgresql://postgres:password@postgres:5432/users
- REDIS_URL=redis://redis:6379
depends_on: [postgres, redis]
product-service:
build: ./product-service
environment:
- DATABASE_URL=postgresql://postgres:password@postgres:5432/products
depends_on: [postgres]
notification-service:
build: ./notification-service
environment:
- REDIS_URL=redis://redis:6379
- RESEND_API_KEY=${RESEND_API_KEY}
depends_on: [redis]
postgres:
image: postgres:16
environment:
POSTGRES_PASSWORD: password
volumes:
- postgres_data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
redis:
image: redis:7-alpine
volumes: [redis_data:/data]
volumes:
postgres_data:
redis_data:@app.get("/health")
async def health():
"""Standard health check endpoint for load balancers."""
checks = {}
try:
await db.execute("SELECT 1")
checks["database"] = "ok"
except Exception:
checks["database"] = "error"
try:
await redis.ping()
checks["redis"] = "ok"
except Exception:
checks["redis"] = "error"
status = "ok" if all(v == "ok" for v in checks.values()) else "degraded"
return {"status": status, "service": "user-service", "checks": checks}users_*, products_*)© cohen-liel, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/microservices of cohen-liel/hivemind.
Open the folder on GitHubat commit 918dd9b
Microservices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Microservices this skillcohen-liel/hivemind | 110 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Deepstream SopNVIDIA/skills | 3.5k | — | ~4.7k | Automated safety check: Notes | Apache-2.0 | |
| AWS Serverless Edazxkane/aws-skills | 367 | 4 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Dr Jskilljdubois/dr-jskill | 342 | — | ~4.6k | Automated safety check: Notes | Apache-2.0 | |
| Vss Deploy Detection Tracking 2DNVIDIA/skills | 3.5k | 1 repos | ~4.5k | Automated safety check: Pass | Apache-2.0 | |
| NestJS Modular Monolith Architecttech-leads-club/agent-skills | 7k | — | ~3.9k | Automated safety check: Pass | CC-BY-4.0 |
NVIDIA/skills
A skill your agent uses when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether…
zxkane/aws-skills
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
jdubois/dr-jskill
Creates Java + Spring Boot projects: Web applications, full-stack apps with Vue.js or Angular or React or vanilla JS, PostgreSQL, REST APIs, and Docker.
NVIDIA/skills
A skill your agent uses when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice.
tech-leads-club/agent-skills
Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.
IBM/CodeEngine
Deploys, configures, and troubleshoots IBM Cloud Code Engine workloads using the ibmcloud ce CLI.
cohen-liel/hivemind
REST API design principles and best practices. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
GraphQL API design and implementation patterns. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Python asyncio patterns for high-performance async code. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Celery background task patterns for Python apps. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Docker, docker-compose, and deployment configuration best practices.
cohen-liel/hivemind
End-to-end testing patterns with Playwright. An agent skill from cohen-liel/hivemind.
Works with
Categories
Microservices architecture patterns. An agent skill from cohen-liel/hivemind. Microservices is an agent skill from cohen-liel/hivemind. Microservices architecture patterns.
Microservices fits situations like: designing service decomposition; inter-service communication; service discovery; event-driven architecture.
Run `npx skills add cohen-liel/hivemind --skill microservices -a claude-code`. Or copy the skill folder (.claude/skills/microservices in cohen-liel/hivemind) into .claude/skills/microservices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cohen-liel/hivemind --skill microservices -a codex`. Or copy the skill folder (.claude/skills/microservices in cohen-liel/hivemind) into .agents/skills/microservices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cohen-liel/hivemind --skill microservices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microservices, .gemini/skills/microservices, .github/skills/microservices and .opencode/skills/microservices in your project.
Going by SKILL.md and its folder, Microservices needs credentials named RESEND_API_KEY and POSTGRES_PASSWORD. Our summary lists: Python 3; Docker; A credential in RESEND_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Microservices is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Microservices: Deepstream Sop (NVIDIA/skills, 3.5k stars), AWS Serverless Eda (zxkane/aws-skills, 367 stars), Dr Jskill (jdubois/dr-jskill, 342 stars) and Vss Deploy Detection Tracking 2D (NVIDIA/skills, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cohen-liel (a GitHub user) maintains it in cohen-liel/hivemind, which has 110 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on April 18, 2026.
Source: cohen-liel/hivemind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.