Borrowing it
Nothing to install: this file belongs to PaulJPhilp/EffectPatterns. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/PaulJPhilp/EffectPatterns/main/.cursor/skills/effect-patterns-services-agents/SKILL.mdgit clone --depth 1 https://github.com/PaulJPhilp/EffectPatternsWrote 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.
[](https://agentmods.dev/skills/pauljphilp/effectpatterns/effect-patterns-services-agents)<a href="https://agentmods.dev/skills/pauljphilp/effectpatterns/effect-patterns-services-agents"><img src="https://agentmods.dev/badge/skills/pauljphilp/effectpatterns/effect-patterns-services-agents/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.
<a href="https://agentmods.dev/skills/pauljphilp/effectpatterns/effect-patterns-services-agents"><img src="https://agentmods.dev/badge/skills/pauljphilp/effectpatterns/effect-patterns-services-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00531 |
| Opus 5.5 | $0.00018 | $0.00212 |
| Sonnet 5.5 | $0.00009 | $0.00106 |
| Haiku 4.5 | $0.00005 | $0.00053 |
Grade A, and why
effect-patterns-services-agents 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.
What it actually says
Effect Patterns – Services & Agents
Effect.Service pattern
Use Effect's Service pattern for composable, type-safe dependency injection:
import { Effect, Context } from "effect"
export class MyService extends Context.Tag("MyService")<MyService, {
method: () => Effect.Effect<string>
}>() {}
const effect = Effect.gen(function* () {
const service = yield* MyService
const result = yield* service.method()
return result
})
Modern form with Effect.Service:
export class MyAgent extends Effect.Service<MyAgent>()("MyAgent", {
effect: Effect.gen(function* () {
return {
analyze: (input: string) => Effect.succeed("result")
}
})
})
Service / agent structure
Use this layout for agents and service modules:
agents/
├── analyzer/
│ ├── api.ts # Public interface
│ ├── schema.ts # Type definitions
│ ├── service.ts # Core logic
│ ├── types.ts # Domain types
│ └── __tests__/ # Test suite
Error handling as values
Use tagged error types; recover with catchTag:
import { Data } from "effect"
export class APIError extends Data.TaggedError("APIError")<{
readonly status: number
readonly message: string
}> {}
Effect.catchTag("APIError", (err) => /* handle */)
Layered service composition
Compose services via Effect.Layer; provide to the app with Effect.provide:
const appLayer = Layer.mergeAll(
ConfigService.layer,
CacheService.layer,
CircuitBreakerService.layer,
RateLimiterService.layer,
ReviewCodeService.layer,
)
Effect.provide(appEffect, appLayer)
Conventions in this repo
- Effect-TS native: Use Effect for composability and error handling.
- Type safety: Use @effect/schema for types and validation.
- No path aliases: Use
workspace:*dependencies; run from project root. - Debug from root: e.g.
scripts/debug-blocking.tsfor correct module resolution.
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.
- 1mo ago First seen · 89 lines · 46 tokens per session scan A 1bf6e3840be3
effect-patterns-services-agents is a skill published in the GitHub repository PaulJPhilp/EffectPatterns (807 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 531 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
effect-rpc-cluster
Build typed RPC endpoints and cluster-distributed entities, singletons, cron jobs, and durable workflows with Effect's RPC and Cluster modules (Rpc/RpcGroup/RpcServer/RpcClient, Entity/Sharding/Singleton, Node/Bun bundles). Use when building RPC services or distributed/clustered Effect systems.
effect-http-api
Build typed HTTP APIs with Effect's HttpApi — endpoints with schemas, handlers, security middleware, OpenAPI docs, derived clients, and handler unit tests. Use when building HTTP servers, REST APIs, or typed HTTP clients with Effect v4.
effect-http-client
Make outgoing HTTP requests with Effect's HttpClient — HttpClientRequest builders, schema-decoded HttpClientResponse bodies, the HttpClientError taxonomy, retryTransient/rate limiting/cookies/redirects, streaming uploads and downloads, and FetchHttpClient/NodeHttpClient transport layers. Use when calling external…
effect-http-server
Build HTTP servers with effect/unstable/http — HttpRouter routes and middleware, HttpServerRequest schema decoding, HttpServerResponse constructors, multipart uploads, websocket upgrades, static files, NodeHttpServer/BunHttpServer layers, and in-memory web handlers. Use when serving raw HTTP routes, reading request…
effect-rpc-client
Consume typed RPC services with Effect's RpcClient — protocol layers (HTTP, WebSocket, TCP, worker, in-memory), RpcSerialization codecs, per-call and ambient headers, streaming calls, interruption, reconnection, and RpcClientError handling. Use when calling an RpcGroup from a client, wiring a client transport +…
effect-rpc-server
Serve RpcGroup contracts with Effect's RpcServer — handler layers (RpcGroup.toLayer/toLayerHandler), protocol layers (HTTP, WebSocket, TCP, stdio, worker), RpcSerialization, server middleware, streaming results, interruption and shutdown semantics, RpcTest. Use when implementing the server side of an Effect RPC API…