audit-env-variables
Analyze environment variables in JavaScript/TypeScript projects. Identifies unused variables, infers permission scopes, detects specific services (Stripe, AWS,…
Configure agent-tail log aggregation for the current project. Auto-detects framework (Vite, Next.js, plain Node, monorepo) and sets up CLI runner, browser log plugins, and output destinations. Use when setting up agent-tail, configuring dev server logging, or piping logs for AI
$ npx -y skills add qdhenry/Claude-Command-Suite --skill setup-agent-tail --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setup-agent-tailContext preview
The summary Claude sees to decide when to auto-load this skill.
Configure agent-tail log aggregation for the current project. Auto-detects framework (Vite, Next.js, plain Node, monorepo) and sets up CLI runner, browser log plugins, and output destinations. Use when setting up agent-tail, configuring dev server logging, or piping logs for AI
name: setup-agent-tail description: Configure agent-tail log aggregation for the current project. Auto-detects framework (Vite, Next.js, plain Node, monorepo) and sets up CLI runner, browser log plugins, and output destinations. Use when setting up agent-tail, configuring dev server logging, or piping logs for AI agent consumption.
<objective> Configure [agent-tail](https://github.com/gillkyle/agent-tail) for the current project. Agent-tail pipes logs from dev servers and browser consoles into unified log files that AI coding agents can read and grep. This skill auto-detects the project type, proposes a configuration, and sets everything up after user confirmation. </objective>
<quick_start> Run the auto-detect workflow below. The skill will:
1. Detect project framework and structure 2. Propose a configuration 3. Install agent-tail after user confirms 4. Configure framework plugins, CLI scripts, and gitignore </quick_start>
<essential_principles>
</essential_principles>
<process> **Step 1: Detect project type**
Read these files to determine the project setup:
Classify the project as one of:
**Step 2: Gather user preferences**
Use AskUserQuestion to confirm detection and gather preferences:
Question 1: "I detected a [framework] project. Is this correct?" - Yes, proceed - No, it's actually [other options] Question 2: "Which services should agent-tail manage?" - Based on detected scripts in package.json (e.g., "dev", "api", "worker") - Let user add custom service names and commands Question 3: "Configure output destinations?" - Default (tmp/logs/latest/) (Recommended) - Custom directory - Custom directory with combined.log disabled Question 4: "Set up browser console log capture?" - Yes (Recommended) — if Vite or Next.js detected - No, server logs only - [Skip this question for node-cli projects]
**Step 3: Install agent-tail**
# Detect package manager from lockfile # bun.lock → bun # pnpm-lock.yaml → pnpm # yarn.lock → yarn # package-lock.json → npm <pkg-manager> add -D agent-tail agent-tail-core
**Important**: The `agent-tail` umbrella package has a broken `bin` field that prevents the CLI from being linked. You must also install `agent-tail-core` explicitly — this is the package that provides the actual `agent-tail-core` CLI binary. Use `agent-tail-core` (not `agent-tail`) as the command name in all scripts.
**Step 4: Configure framework plugin**
For each detected framework, apply the appropriate configuration. See references/framework-configs.md for exact code.
**Step 5: Configure package.json scripts**
Update `package.json` scripts to use agent-tail-core CLI. Transform existing dev scripts:
{
"scripts": {
"dev": "agent-tail-core run '<service1>: <original-command>' '<service2>: <original-command>'"
}
}If user specified excludes or muting, add flags:
{
"scripts": {
"dev": "agent-tail-core run --exclude '[HMR]' --mute worker '<services>'"
}
}**Step 6: Update .gitignore**
Add `tmp/` to `.gitignore` if not already present.
**Step 7: Verify setup**
After configuration, tell the user:
</process>
<configuration_options> These options can be presented to the user during setup:
**Output directory**: Where logs are written (default: `tmp/logs/latest/`)
**Excludes**: Filter noisy log lines by substring or regex:
**Service muting**: Hide specific services from terminal output while preserving log files:
**Browser log capture**: Capture `console.*`, unhandled errors, and unhandled promise rejections from the browser
**Log format**: All logs use timestamp + level + message format: `[10:30:00.123] [LOG ] Message here`
**Gitignore warning**: Agent-tail warns on startup if `tmp/` is not gitignored. Disable with `warnOnMissingGitignore: false` in plugin options. </configuration_options>
<anti_patterns> <pitfall name="forgetting-browser-setup"> For Vite/Next.js projects, the CLI alone does not capture browser console logs. The framework plugin is required for browser log capture. </pitfall>
<pitfall name="monorepo-without-init"> In monorepos using Turborepo/Nx, you must run `agent-tail-core init` before `turbo dev` (or equivalent). Without init, `agent-
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Analyze environment variables in JavaScript/TypeScript projects. Identifies unused variables, infers permission scopes, detects specific services (Stripe, AWS,…
BigCommerce API expert for building integrations, apps, headless storefronts, and automations. Full lifecycle - REST APIs, GraphQL Storefront, webhooks,…
Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing…
Transcribes audio/video files using ElevenLabs Scribe v2 API. Use when transcribing audio files, generating transcripts, or converting speech to text.
Extracts frames and timestamped audio segments from video files (GIF, MP4, MOV) at configurable intervals and stores them in a directory with a manifest file.…
Chokidar-based file watcher that triggers `claude -p` on changes. Useful for automated AI reactions to file changes — design sync, code validation, config…