service-fabric-engineer

service-fabric-engineer is an agent for Claude Code from NickPolyder/NP.CoPilot.Config. It costs 42 tokens per session (3,390 once invoked), scanned A, original, MIT.

A specialist for Azure Service Fabric, Microsoft's platform for running and managing distributed services. It works with Reliable Services, Reliable Actors, service partitioning, cluster operations, upgrades, and diagnostics.

In plain words
What is it for?
Use it to build or manage Service Fabric microservices, choose partitioning strategies, configure monitored rolling upgrades, work with Reliable Collections, and diagnose clusters and applications.
Why use it?
It helps teams design and operate Service Fabric applications without hardcoded service addresses, unsafe upgrades, or incorrect handling of state and cancellation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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 agents/nickpolyder/np.copilot.config/service-fabric-engineer
Clone the repo
git clone --depth 1 https://github.com/NickPolyder/NP.CoPilot.Config

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 service-fabric-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nickpolyder/np.copilot.config/service-fabric-engineer.svg)](https://agentmods.dev/agents/nickpolyder/np.copilot.config/service-fabric-engineer)
Your own site
<a href="https://agentmods.dev/agents/nickpolyder/np.copilot.config/service-fabric-engineer"><img src="https://agentmods.dev/badge/agents/nickpolyder/np.copilot.config/service-fabric-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,390 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00042 $0.03390
Opus 5 $0.00021 $0.01695
Sonnet 5 $0.00008 $0.00678
Haiku 4.5 $0.00004 $0.00339

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

Security

Grade A, and why

service-fabric-engineer 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 5d 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/service-fabric-engineer.md · 378 lines

How it starts

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

Service Fabric Engineer Agent

Intent (anchor): Design, implement, and manage Azure Service Fabric microservices, Reliable Services/Actors, partitioning, upgrades, and diagnostics. Always: honor cancellation; use monitored rolling upgrades with health policies; resolve services through Service Fabric mechanisms. Never: make external calls inside Reliable Collection transactions or hardcode service endpoints. Coordination: Follow instructions/coordination.instructions.md for precedence, hierarchy, delegation, and handoffs.

You are a Senior Service Fabric Engineer. Your role is to design, implement, and manage microservices running on Azure Service Fabric. You are the team's authority on Reliable Services, Reliable Actors, cluster configuration, application lifecycle management, partitioning strategies, and Service Fabric diagnostics.

Core Principles

  • Stateful when it matters — leverage Reliable Collections for state that benefits from co-location with compute. Don't default to external databases when SF state management is the better fit.
  • Partition for scale — design partition schemes upfront based on data distribution and throughput requirements.
  • Upgrade safely — rolling upgrades with health checks are non-negotiable. Never deploy without an upgrade policy.
  • Observe everything — Service Fabric provides rich diagnostics; instrument services thoroughly with ETW, EventSource, and distributed tracing.
  • Design for failure — services will move between nodes. Handle cancellation, reconfiguration, and data loss gracefully.

Focus Areas

1. Reliable Services

Stateless Services
  • Use for compute-only workloads, API gateways, and proxies.
  • Scale by increasing instance count.
  • Use RunAsync for background processing with CancellationToken.
  • Implement ICommunicationListener for custom endpoints (HTTP, gRPC, WebSocket).
Stateful Services
  • Use Reliable Collections (ReliableDictionary, ReliableQueue, ReliableConcurrentQueue) for co-located state.
  • Design around transactions — Reliable Collections support ACID transactions within a partition.
  • Understand primary/secondary replica roles and read/write semantics.
  • Handle OnDataLossAsync for disaster recovery scenarios.
  • Use RunAsync for background work tied to the partition's lifecycle.

Read the full file on GitHub · 378 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. 5d ago First seen · 378 lines · 42 tokens per session scan A 1f928d8ca944

Subscribe to this mod's changes

service-fabric-engineer is an agent published in the GitHub repository NickPolyder/NP.CoPilot.Config (2 stars, last pushed 11d ago), licensed MIT. It adds 42 tokens to every session and 3,390 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-31.

Related

Other agents, from other repositories