Skip to main content
skill CX Codex

setup-agent-tail — Claude Code skill: log setup automation

setup-agent-tail is a Claude Code skill that deploys agent-tail in a project, detects its framework, installs the CLI and plugins, and routes server and browser logs to files for an agent.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add qdhenry/Claude-Command-Suite --skill setup-agent-tail -a claude-code
Open on GitHub

What setup-agent-tail does

Skill reads package.json, vite.config, next.config and monorepo markers, identifies project type and proposes agent-tail configuration. After confirmation it installs agent-tail-core (the agent-tail umbrella package has a broken bin field that prevents CLI linking), sets up the Vite or Next.js plugin, wraps scripts with agent-tail-core run and adds tmp/ to .gitignore. Logs land in tmp/logs/latest/.

For Vite and Next.js the skill configures capture of console.* and unhandled errors from the browser. Without the plugin only server logs reach the files. In monorepos you need agent-tail-core init at root before turbo dev, or child packages won't join the session. Skill asks which services to wrap, where to send output, and whether to filter [HMR] and other noisy lines.

What it helps with

  • deploy unified log collection for frontend and backend
  • set up agent-tail for Vite, Next.js or monorepo
  • filter noisy messages like [HMR] and [Fast Refresh]
  • pipe browser console to a file for agent consumption

Example prompts for the agent

  • Set up agent-tail for this project
  • Deploy log collection from dev server and browser
  • Add agent-tail and filter HMR messages

How to install setup-agent-tail

1Skills CLI (Vercel)

npx skills add qdhenry/Claude-Command-Suite --skill setup-agent-tail -a claude-code

2Manually: put the files in place

~/.claude/skills/setup-agent-tail/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/setup-agent-tail/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about setup-agent-tail

How to install setup-agent-tail in Claude Code?

Run npx skills add qdhenry/Claude-Command-Suite --skill setup-agent-tail -a claude-code, then open ~/.claude/skills/setup-agent-tail/SKILL.md in project context.

What does setup-agent-tail skill do?

Detects project type, installs agent-tail-core, configures plugins for Vite or Next.js, wraps dev scripts and directs server and browser logs to tmp/logs/latest/ for agent consumption.

Why install agent-tail-core separately?

The agent-tail umbrella package has a broken bin field, so package managers don't link the CLI. Installing agent-tail-core provides the working agent-tail-core command for scripts.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set112

The whole set →
ml-engineer The ml-engineer subagent designs and runs the full ML model lifecycle, from data pipelines to deployment and monitoring. Use it for production MLOps work. CX Codex ★ 1,357repo stars python-pro python-pro is a Claude Code subagent for Python refactoring, performance work, and complex features. It joins these coding tasks and includes tests with its changes. CX Codex ★ 1,357repo stars ai-engineer ai-engineer designs RAG pipelines, configures vector databases, and writes agent workflows for LLM applications. Built for developers adding AI features. CX Codex ★ 1,357repo stars project-health-check project-health-check is a Claude Code command that reviews Git activity, dependencies, security findings, and Linear task metrics in a project health report. It helps identify risks to investigate. CX Codex +1 ★ 1,357repo stars todo-branch todo-branch executes backlog items on your active Git branch through guided phases, step-by-step approvals, and a single final commit. CX Codex +1 ★ 1,357repo stars graphql-architect The graphql-architect subagent designs and improves GraphQL APIs, covering schemas, resolvers, federation, and subscriptions. Use it for new APIs, performance audits, or refactoring. CX Codex ★ 1,357repo stars bidirectional-sync bidirectional-sync — a slash command that pairs GitHub issues with Linear tasks and copies edits both ways, settling the ones that landed on both sides. CX Codex +1 ★ 1,357repo stars dx-optimizer dx-optimizer configures developer environments, project automation scripts, and Git hooks to eliminate workflow friction and speed up onboarding. CX Codex ★ 1,357repo stars

Project sponsors

Companies that keep this analytics open