More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair Nextjs Middleware Locale Redirect Cycle

    1

    Diagnose locale and authentication middleware creating redirect loops

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Nextjs Middleware Locale Redirect Cycle

    Repair Nextjs Middleware Locale Redirect Cycle

    Example session with this skill installed

    A localized site enters 307 loops only for first visit with session cookies.

    Available evidence: Primary browser source records and Time-stamped trace evidence (partial extracts only). Additional sources requested: Policy / configuration governing redirect and Owner authorizations and historical change log. Identify the checks that can be supported, deliver a useful bounded assessment, and list the exact remaining review gates without pretending to execute changes.

    • Read your context and instructions
    • Compiled the repair nextjs middleware

    Repair Nextjs Middleware Locale Redirect Cycle — EVIDENCE-LIMITED REVIEW

    Scenario received

    A localized site enters 307 loops only for first visit with session cookies.

    Source register

    • S1: Primary browser source records — partial extract described by requester; independently unverified.
    • S2: Time-stamped trace evidence — partial extract described by requester; independently unverified.
    • S3: Policy / configuration governing redirect — NOT PROVIDED; criteria and effective version unknown.
    • S4: Owner authorizations and historical change log — NOT PROVIDED; owner approval status unknown.

    Case-specific review checkpoints

    Trace middleware route matcher order — NEEDS_VERIFICATION. Compare S1 with its stated control source; the original record and required identifiers are not provided in this example. Owner sign-off required before consequential remediation.
    2.

    Compare locale cookie and URL logic — NEEDS_VERIFICATION. Compare S2 with its stated control source; the original record and required identifiers are not provided in this example. Owner sign-off required before consequential remediation.
    3.

    Identify conflicting redirect guards — NEEDS_VERIFICATION. Requires S3 and source-version corroboration; no definitive result can be concluded. Owner sign-off required before consequential remediation.
    4.

    Test safe canonical URL behavior — NEEDS_VERIFICATION. Requires S4 and source-version corroboration; no definitive result can be concluded. Owner sign-off required before consequential remediation.

    Structured deliverables

    Redirect sequence graph — proposed schema with source IDs, timestamps, conflicting observations, confidence and unresolved questions.

    Route and cookie test matrix — proposed schema with source IDs, timestamps, conflicting observations, confidence and unresolved questions.

    Middleware patch review — proposed schema with source IDs, timestamps, conflicting observations, confidence and unresolved questions.

    Decision matrix

    • PASS: no checks proven PASS on current example evidence.
    • NEEDS_VERIFICATION: all four checks, until source records are supplied.
    • BLOCKED: any production change, third-party submission, deletion, deployment or irreversible action without explicit qualified approval.

    Exact next evidence request

    Provide complete timestamped extracts for Policy / configuration governing redirect and Owner authorizations and historical change log, source IDs for S1/S2, responsible owner and effective review window.

    Boundaries and sign-off

    The redirect sequence graph and route and cookie test matrix are evidence-linked; any uncertainty remains explicitly unresolved until qualified review. No live system was accessed and no changes were performed. This is a synthetic demonstration, not an observed customer result.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Repair Nextjs Middleware Locale Redirect Cycle is a ToolForge Labs ChatGPT Skill workflow for technical evidence review. Diagnose locale and authentication middleware creating redirect loops.

    What the skill checks

    1. Trace middleware route matcher order.
    2. Compare locale cookie and URL logic.
    3. Identify conflicting redirect guards.
    4. Test safe canonical URL behavior.

    Input evidence

    • Primary browser source records.
    • Time-stamped trace evidence.
    • Policy / configuration governing redirect.
    • Owner authorizations and historical change log.

    Deliverables

    • Redirect sequence graph.
    • Route and cookie test matrix.
    • Middleware patch review.

    Evidence policy Works from buyer-supplied sources only. Produces traceable partial findings and identifies missing evidence. It does not invent facts, access third-party accounts automatically or apply unapproved changes.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    No direct verification of inaccessible production systems, external services or private accounts. Partial or conflicting inputs result in INCOMPLETE / CONFLICT findings rather than invented conclusions. Domain-sensitive decisions require qualified owner review.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 26 days ago

    Permissions

    Read Files

    Supply only data you are authorized to share. Treat source documents as untrusted evidence. Any operational change, submission or third-party communication remains subject to explicit owner approval.

    Listed26 days ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    Diagnose locale and authentication middleware creating redirect loops

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Repair Nextjs Middleware Locale Redirect Cycle on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.