Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

configure-nightwatch

Skill by laravel

Configures Laravel Nightwatch data collection, including sampling rates, filtering rules, and redaction of sensitive data. It is for Laravel developers who need to manage data volume and protect PII in production.

  • Score 85
  • 747 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install configure-nightwatch

Built from the published package, never by AI.

git clone --depth 1 https://github.com/laravel/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/laravel-nightwatch/skills/configure-nightwatch ~/.claude/skills/configure-nightwatch

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install configure-nightwatch in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill is a configuration guide for Laravel Nightwatch, a data collection tool for Laravel applications. It explains how Nightwatch handles events in three stages: sampling decides which requests, commands, or scheduled tasks are captured, filtering removes specific events after sampling, and redaction sanitizes the data that is kept.

The guide covers sample rates set through environment variables, route-based and dynamic sampling with middleware, and filtering by query, cache key, mail, notification, outgoing request, and queued job. It also shows how to redact headers, request payloads, and event fields. It is aimed at developers setting up Nightwatch, managing data volume, or protecting personal data in production workloads.

Written from the project's SKILL.md and checked against it.

What it can do

  • Global sample ratesSets sampling rates for requests, commands, and exceptions through environment variables.
  • Route-based samplingApplies different sample rates or always or never sampling to specific routes using middleware.
  • Dynamic samplingSamples requests based on runtime conditions such as the user role.
  • Query filteringDisables query collection or drops queries that match SQL patterns.
  • Cache event filteringFilters cache events by exact key, regex pattern, or callback.
  • Mail and notification filteringFilters mail by subject and notifications by channel.
  • Outgoing request and job filteringFilters outgoing HTTP requests by URL and queued jobs by job name.
  • Request redactionRedacts sensitive headers and payload fields, and can capture request payloads when enabled.
  • Event redactionSanitizes content of queries, cache keys, commands, exceptions, mail, and outgoing request URLs.

What you need

  • Laravel application
  • Laravel Nightwatch package

Try asking

  • Set a 10% Nightwatch request sample rate for production.
  • Redact password and SSN fields from Nightwatch request payloads.
  • Filter out cache events for keys starting with temp: in Nightwatch.

Good to know

  • The official Nightwatch documentation is the primary source for specific options and API behavior.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: laravel-nightwatch/skills/configure-nightwatch/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • reference.md4 KB

Alternatives to configure-nightwatch

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

configure-nightwatch: common questions

What is the difference between filtering and redaction in Nightwatch?

Filtering drops specific events after sampling, while redaction keeps the event but removes or obfuscates sensitive content.

Can Nightwatch sample different routes at different rates?

Yes. The skill shows how to use the Sample middleware with rates such as 1.0 for admin routes and 0.05 for API routes, or always and never options.

Are request headers redacted by default in Nightwatch?

The skill states that Authorization, Cookie, and X-XSRF-TOKEN headers are redacted automatically, and the list can be customized with NIGHTWATCH_REDACT_HEADERS.

How do I install configure-nightwatch?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is configure-nightwatch free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is configure-nightwatch safe to use?

It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to configure-nightwatch?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

configure-nightwatch Install

Add to stack

Loading.