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.
npx agentmods add skills/dotlas/skills/vercel-logsnpx skills add dotlas/skills --skill vercel-logsgit clone --depth 1 https://github.com/dotlas/skillsWrote 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/dotlas/skills/vercel-logs)<a href="https://agentmods.dev/skills/dotlas/skills/vercel-logs"><img src="https://agentmods.dev/badge/skills/dotlas/skills/vercel-logs.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00064 | $0.01704 |
| Opus 5 | $0.00032 | $0.00852 |
| Sonnet 5 | $0.00013 | $0.00341 |
| Haiku 4.5 | $0.00006 | $0.00170 |
Grade A, and why
vercel-logs 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vercel Logs
Safety
- Read-only. NEVER run
vercel deploy,vercel rollback,vercel alias,vercel env add/rm,vercel project rm, or any mutation. This skill only reads logs. - NEVER print secrets from log output. If a log line contains env var values, API keys, or tokens, redact before presenting.
- Use
--no-branchalways. The CLI auto-detects the local git branch and silently filters to it — wrong for production debugging. Always pass--no-branchor--environment productionexplicitly. - Detach stdin. Append
< /dev/nullto everyvercelcommand. Without it the CLI sniffs the TTY and hangs in agent shells. - Bound output. Always pass
--limit N(default 20, max 100). For--followruns, cap the observation window and kill the terminal when done — do not follow indefinitely.
Prerequisites
cd <repo-root>/<app>
pnpm exec vercel whoami < /dev/null 2>&1
cat .vercel/project.json 2>/dev/null | grep -o '"projectId":"[^"]*"'
If whoami fails → stop, tell user to run pnpm exec vercel login. If
.vercel/project.json is missing → run:
cd <app> && pnpm exec vercel link --yes --scope <your-scope> --project <your-vercel-project>
Retention: Hobby = 1h · Pro = 24h · Pro + Observability Plus = 30 days · Enterprise = 3 days. If the user asks for logs beyond the retention window, tell them and suggest checking external log drains if configured.
Query modes
Recent errors (default diagnostic)
The go-to when the user reports “something broke in prod”:
cd <repo-root>/<app> && \
pnpm exec vercel logs \
--no-branch \
--environment production \
--level error \
--since 1h \
--limit 20 \
--json \
--expand \
--no-follow \
< /dev/null 2>&1 | grep -E '^[{]' | jq .
Important: The CLI emits non-JSON preamble lines.
Always filter with grep -E '^[{]' before piping to jq. Use [{] not ^\{ — zsh
interprets bare braces.
Each line:
{
"id": "...",
"timestamp": 1779108733174,
"level": "error",
"message": "...",
"source": "serverless|edge-middleware|edge-function",
"requestMethod": "GET|POST",
"requestPath": "/api/...",
"responseStatusCode": 500,
"environment": "production",
"logs": [{ "level": "error", "message": "..." }] // with --expand
}
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.
- 4d ago First seen · 200 lines · 64 tokens per session scan A fd153e41acd4
vercel-logs is a skill published in the GitHub repository dotlas/skills (2 stars, last pushed 7d ago), licensed MIT. It adds 64 tokens to every session and 1,704 once invoked, about $0.0003 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.
Other skills, from other repositories
erpaval
Workflow for autonomous software development with the Kiro CLI (open Agent Skills standard). Classifiers route scope, complexity, directory state, and spec readiness before committing to Explore / Research / Plan / Act / Validate, then close the loop with a Compound step that persists lessons to .erpaval/solutions/…
product-discovery
File-first orchestrator for product discovery and spec frameworks. Frames the problem with a Discovery Lead, Product Analyst, or System Architect role. Spawns parallel framework agents (Double Diamond, How Might We, Jobs to Be Done, user stories with INVEST, EARS for AI-coder specs, Gherkin), synthesizes into a PRD or…
meta-prompt-optimizer
Audit and rewrite prompts against Claude Opus 4.7 instruction-following best practices. Produces a scored audit plus a rewritten prompt. Use when the user asks to audit, review, critique, rewrite, improve, optimize, tighten, score, fix, migrate, or draft a prompt — including system prompts, CLAUDE.md files, Claude…
product-strategy
File-first orchestrator for business and product strategy frameworks. Frames the challenge with a CPO / CSO / VP Design role, spawns parallel framework agents (Rumelt kernel + Crux, Wardley Maps, Minto Pyramid as thinking structure, Working Backwards PR-FAQ as discovery artifact), synthesizes outputs into one strategy…
agent-ux-patterns
Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive trust, decision journal, gate reviews, autonomous work reports. Six-phase methodology from vague pain point to concrete data model via landscape research and multi-direction brainstorming. Use…
tech-stack-builder
Opinionated tech stack recommendations and settled library references. Two modes: (1) /build-stack runs parallel researcher agents to compare candidates and emit a stack report + ADRs for greenfield projects; (2) direct reference routing for coding with settled defaults. Use when the user asks to recommend a stack…