Vercel Optimize Audit
vercel-labs/agent-skills
Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.
Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
$ npx skills add latitude-dev/latitude-llm --skill effect-and-errors -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install latitude-dev/latitude-llm effect-and-errors --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/latitude-dev/latitude-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/effect-and-errors .claude/skills/effect-and-errors && 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 "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .claude/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errorsType 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 latitude-dev/latitude-llm --skill effect-and-errors -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install latitude-dev/latitude-llm effect-and-errors --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/latitude-dev/latitude-llm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/effect-and-errors .agents/skills/effect-and-errors && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .agents/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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 latitude-dev/latitude-llm --skill effect-and-errors -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install latitude-dev/latitude-llm effect-and-errors --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/latitude-dev/latitude-llm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/effect-and-errors .cursor/skills/effect-and-errors && 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 "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .cursor/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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/latitude-dev/latitude-llm.git --path .agents/skills/effect-and-errors--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 latitude-dev/latitude-llm --skill effect-and-errors -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install latitude-dev/latitude-llm effect-and-errors --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/latitude-dev/latitude-llm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/effect-and-errors .gemini/skills/effect-and-errors && 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 "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .gemini/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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 latitude-dev/latitude-llm effect-and-errorsInstalls 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 latitude-dev/latitude-llm --skill effect-and-errors -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/latitude-dev/latitude-llm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/effect-and-errors .github/skills/effect-and-errors && 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 "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .github/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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 latitude-dev/latitude-llm --skill effect-and-errors -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install latitude-dev/latitude-llm effect-and-errors --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/latitude-dev/latitude-llm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/effect-and-errors .opencode/skills/effect-and-errors && 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 "effect-and-errors" agent skill from https://github.com/latitude-dev/latitude-llm/tree/development/.agents/skills/effect-and-errors into .opencode/skills/effect-and-errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "effect-and-errors", 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.
effect-and-errorsComposing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
Effect And Errors is an agent skill from latitude-dev/latitude-llm. Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
Its SKILL.md is about 2.3k 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 DevOps & Cloud, covering Observability. The repository describes itself as: Open-source observability for AI agents. Find where your agents fail, dispatch your coding agent to fix it, and verify the fix against real traces. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 87e8aa0. 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 typescript).
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 no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Effect And Errors loads about 2.3k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 846 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 latitude-dev/latitude-llm at commit 87e8aa0, republished under its MIT licence (© latitude-dev). 846 words, ~2,274 tokens.
.claude/skills/effect-and-errors/SKILL.md (or your agent's skills folder).When to use: Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
IMPORTANT: Always consult effect-solutions before writing Effect code.
effect-solutions list to see available guideseffect-solutions show <topic>... for relevant patterns (supports multiple topics)~/.local/share/effect-solutions/effect for real implementationsTopics: quick-start, project-setup, tsconfig, basics, services-and-layers, data-modeling, error-handling, config, testing, cli.
Never guess at Effect patterns - check the guide first.
The Effect v4 repository is cloned to ~/.local/share/effect-solutions/effect for reference.
Use this to explore APIs, find usage examples, and understand implementation
details when the documentation isn't enough.
Effect.gen for sequential effect compositionEffect.tryPromise and typed errorsData.TaggedError for domain-specific error typesEffect.repeat with Schedule for polling/recurring tasksFiber for lifecycle management of long-running effectsInside Layer.effect(Tag, Effect.gen(...)), do not store a service read via yield* in a closure that methods use later. Resolve the service again inside each method.
Services bound to request/job scope (anything provided at a boundary per invocation — SqlClient, ChSqlClient, HttpServerRequest, session-scoped auth context) must be resolved per call. If the layer-build closure captures such a service, concurrent callers with different scopes share the first-built reference and silently operate on the wrong context.
// ❌ WRONG — captures the service at layer build; every method uses the stale closure
export const FooRepositoryLive = Layer.effect(
FooRepository,
Effect.gen(function* () {
const sqlClient = yield* SqlClient
return {
save: (x) => sqlClient.query(...),
}
}),
)
// ✅ RIGHT — layer build does not yield the service at all; each method resolves fresh
export const FooRepositoryLive = Layer.effect(
FooRepository,
Effect.gen(function* () {
return {
save: (x) =>
Effect.gen(function* () {
const sqlClient = yield* SqlClient
yield* sqlClient.query(...)
}),
}
}),
)Do not add a build-time yield* SqlClient as a "dependency assertion" — the dependency is already declared via each method's R channel, and a build-time yield is both redundant and an invitation to accidentally capture the service. The R on port signatures is the single source of truth.
Port method signatures must include scope-bound services in their R channel (e.g. Effect.Effect<A, E, SqlClient>). Mark the service class with @effect-leakable-service to tell the Effect linter this leak is intentional.
Process-singleton services (crypto keys, static config, a queue publisher) can be captured at build. When unsure, resolve per-call.
Effect programs are instrumented with Effect's native OpenTelemetry support via @effect/opentelemetry. This bridges Effect spans into the existing OTel pipeline (Datadog, etc.) so business logic is visible alongside HTTP request spans.
Every use case function that returns an Effect must be wrapped with Effect.withSpan and annotated with key business IDs:
export const writeScoreUseCase = (input: WriteScoreInput) =>
Effect.gen(function* () {
const parsedInput = yield* parseOrBadRequest(writeScoreInputSchema, input, "Invalid score write input")
yield* Effect.annotateCurrentSpan("score.projectId", parsedInput.projectId)
yield* Effect.annotateCurrentSpan("score.source", parsedInput.source)
// ... business logic
}).pipe(Effect.withSpan("scores.writeScore"))Rules:
{domain}.{functionName} in camelCase — e.g. scores.writeScore, issues.discoverIssue, evaluations.runLiveEvaluation.yield* Effect.annotateCurrentSpan("key", value) early in the function (after input parsing, before business logic) for key IDs (projectId, scoreId, issueId, etc.) and discriminating attributes (source, status). Only annotate when the value is present (guard nullables).Effect.withSpan is transparent — it does not alter the Effect's success, error, or requirements channels.Effect is already imported in every use case file. withSpan and annotateCurrentSpan are methods on Effect.Every Effect.runPromise call site must include withTracing in the pipe chain to provide the OTel tracer layer:
import { withTracing } from "@repo/observability"
const result = await Effect.runPromise(
myEffect.pipe(
withPostgres(Layer.mergeAll(RepoLive, ...), client, organizationId),
withClickHouse(AnalyticsRepoLive, chClient, organizationId),
withTracing,
),
)Rules:
withTracing is a pipe combinator exported from @repo/observability. It provides EffectOtelTracerLive — the bridge between Effect's Tracer and the global OTel TracerProvider.withTracing alongside (not inside) infrastructure providers like withPostgres / withClickHouse. Tracing is decoupled from DB layers.withTracing, Effect.withSpan calls are no-ops (Effect's default tracer discards spans). In tests this is fine — tests don't initialize OTel.@hono/otel) are automatically picked up as parents, so Effect spans nest correctly under request traces.Data.TaggedError) instead of raw Error at domain/platform boundariesEffect.either for operations that may fail but shouldn't stop executionHttpError interface (httpStatus and httpMessage), even when the error is not yet surfaced over HTTP—that may change. Use a readonly field for static messages and a getter for messages computed from error fields.@domain/issues)Use packages/domain/issues/src/errors.ts as the gold standard for organizing domain-specific errors:
src/errors.ts; use-cases import from ../errors.ts.@domain/shared errors for generic infrastructure shapes (RepositoryError, generic NotFoundError, etc.).CheckEligibilityError) so Effect error channels stay explicit.dev-docs/issues.md under Domain errors (@domain/issues reference pattern) and in AGENTS.md (domain schema conventions).All domain errors implement the HttpError interface from @repo/utils:
interface HttpError {
readonly _tag: string
readonly httpStatus: number
readonly httpMessage: string
}Implementation rules:
httpStatus, httpMessage)NotFoundError) instead of nullapp.onError(honoErrorHandler) in server.tsExample domain errors:
// Static message
export class QueuePublishError extends Data.TaggedError("QueuePublishError")<{
readonly cause: unknown
readonly queue: QueueName
}> {
readonly httpStatus = 502
readonly httpMessage = "Queue publish failed"
}
// Dynamic message computed from fields
export class NotFoundError extends Data.TaggedError("NotFoundError")<{
readonly entity: string
readonly id: string
}> {
readonly httpStatus = 404
get httpMessage() {
return `${this.entity} not found`
}
}Example repository method:
findById(id: OrganizationId): Effect.Effect<Organization, NotFoundError | RepositoryError>Repository method naming (findById vs listByXxx, delete vs softDelete, etc.) is documented in dev-docs/repositories.md. findBy* must not return Entity | null for missing rows — use NotFoundError (or domain-specific not-found) on the error channel; boundaries may catch and map to optional UX when required.
© latitude-dev, MIT. 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 .agents/skills/effect-and-errors of latitude-dev/latitude-llm.
Open the folder on GitHubat commit 87e8aa0
Effect And Errors 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 |
|---|---|---|---|---|---|---|
| Effect And Errors this skilllatitude-dev/latitude-llm | 4.7k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Vercel Optimize Auditvercel-labs/agent-skills | 32k | 8 repos | ~4.3k | Automated safety check: Pass | None | |
| Kubeshark Installerkubeshark/kubeshark | 12k | — | ~3.6k | Automated safety check: Notes | Apache-2.0 | |
| Kubeshark KFL2 Filter Referencekubeshark/kubeshark | 12k | — | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| KubeSphere ServiceMesh Managerkubesphere/kubesphere | 17k | — | ~2.4k | Automated safety check: Pass | Custom licence | |
| Kubernetes Network Root Cause Analysiskubeshark/kubeshark | 12k | — | ~5.3k | Automated safety check: Pass | Apache-2.0 |
vercel-labs/agent-skills
Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.
kubeshark/kubeshark
Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.
kubeshark/kubeshark
Syntax reference for KFL2, the CEL-based display filter language used to search Kubernetes network traffic captured by Kubeshark, loaded before any filter is written.
kubesphere/kubesphere
Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.
kubeshark/kubeshark
Investigates past Kubernetes incidents from Kubeshark traffic snapshots: takes captures, dissects API calls, extracts PCAPs and compares traffic over time.
JuliusBrussee/caveman
Routes every LLM call in a repository through the Caveman Cloud gateway in record mode, so requests and costs are measured without changing behavior.
latitude-dev/latitude-llm
Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.
latitude-dev/latitude-llm
Create, validate, preview, and publish self-contained HTML artifacts.
latitude-dev/latitude-llm
Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.
latitude-dev/latitude-llm
This skill should be used when the user asks to "create a Temporal workflow", "write a Temporal activity", "debug stuck workflow", "fix non-determinism error", "Temporal Python", "Temporal…
latitude-dev/latitude-llm
Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.
latitude-dev/latitude-llm
Enables or disables Latitude production maintenance mode by redirecting all publicly exposed production services to the Better Stack status page.
Categories
Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries. Effect And Errors is an agent skill from latitude-dev/latitude-llm. Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
Effect And Errors fits situations like: tasks that involve Observability.
Run `npx skills add latitude-dev/latitude-llm --skill effect-and-errors -a claude-code`. Or copy the skill folder (.agents/skills/effect-and-errors in latitude-dev/latitude-llm) into .claude/skills/effect-and-errors in your project. Claude Code loads it when a task matches its description.
Run `npx skills add latitude-dev/latitude-llm --skill effect-and-errors -a codex`. Or copy the skill folder (.agents/skills/effect-and-errors in latitude-dev/latitude-llm) into .agents/skills/effect-and-errors 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 latitude-dev/latitude-llm --skill effect-and-errors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/effect-and-errors, .gemini/skills/effect-and-errors, .github/skills/effect-and-errors and .opencode/skills/effect-and-errors in your project.
SKILL.md names no scripts, command-line tools or credentials: Effect And Errors is instructions for the agent only.
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.
Effect And Errors is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.1k 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 Effect And Errors: Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars), Kubeshark Installer (kubeshark/kubeshark, 12k stars), Kubeshark KFL2 Filter Reference (kubeshark/kubeshark, 12k stars) and KubeSphere ServiceMesh Manager (kubesphere/kubesphere, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
latitude-dev (a GitHub organization) maintains it in latitude-dev/latitude-llm, which has 4,712 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 6, 2026.
Source: latitude-dev/latitude-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.