Agent skill

Break Fix Troubleshooting

by greenpau in greenpau/caddy-security

Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence.

Apache-2.0Auto-check passedBackend & APIs

Install Break Fix Troubleshooting

skills CLI
$ npx skills add greenpau/caddy-security --skill break-fix-troubleshooting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install greenpau/caddy-security break-fix-troubleshooting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/break-fix-troubleshooting .claude/skills/break-fix-troubleshooting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
break-fix-troubleshooting
GitHub stars
2.3k
Token cost
~2.5k tokens
SKILL.md length
1,207 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence.

  • Works in 8 steps: Identify the intended auth flow,… → Inspect supplied evidence first and… → Redact secrets while preserving… → …
  • Unresolved support handoffs
  • SKILL.md covers Purpose, Workflow, Symptom Checks and Response Shape, plus 3 more sections
  • Calls rg; reaches docs.authcrunch.com

What it does

Break Fix Troubleshooting is an agent skill from greenpau/caddy-security. Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence. Use for focused fixes, unresolved support handoffs, or preparing break-fix issue reports.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Backend & APIs, covering Authentication. The repository describes itself as: 🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google…. The licence is Apache-2.0.

When your agent uses it

  • Unresolved support handoffs
  • Preparing break-fix issue reports

Example prompts

  • “/break-fix-troubleshooting”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Identify the intended auth flow, protected routes, observed symptom, expected
  2. Inspect supplied evidence first and gather only missing details that can
  3. Redact secrets while preserving directive names, route structure, identity
  4. Use configuration to analyze Caddyfiles and
  5. Compare the configuration to the parser files and fixtures named by the
  6. Validate with the narrowest available command. Use Caddy adaptation or
  7. Report the root cause, the minimal fix, validation performed, remaining
  8. For an issue-preparation request or a useful unresolved handoff, write the

What it can do on your machine

Read from SKILL.md and the folder at commit a48553d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.authcrunch.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Break Fix Troubleshooting loads about 2.5k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from greenpau/caddy-security at commit a48553d, republished under its Apache-2.0 licence (© greenpau). 1,207 words, ~2,465 tokens.

Download SKILL.mdSave it as .claude/skills/break-fix-troubleshooting/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
break-fix-troubleshooting
description
Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence. Use for focused fixes, unresolved support handoffs, or preparing break-fix issue reports.

Break-Fix Troubleshooting

Purpose

Use this skill to turn a failing caddy-security deployment into either a concrete fix or a high-quality break-fix report. Treat the repository skills in .codex/skills as the primary task documentation; https://docs.authcrunch.com is legacy context, not the source of truth.

Follow the repository scope when reproducing or fixing a report. A failure traced to go-authcrunch or an external plugin does not permit sibling edits or sibling build/test commands. Keep reproductions and reports here, identify the required upstream fix as separate work, and continue any correction that can be completed in this module.

Workflow

  1. Identify the intended auth flow, protected routes, observed symptom, expected behavior, and whether the failure happens during Caddyfile adaptation, provisioning, login, callback handling, authorization, upstream proxying, or token/session validation.
  2. Inspect supplied evidence first and gather only missing details that can distinguish the likely causes: relevant Caddyfile, logs, HTTP/browser status, caddy version, caddy security version, caddy list-modules --versions | rg '(auth|security)', operating environment, recent changes, and last known working version. Use the actual installed binary name; older binaries may lack security version.
  3. Redact secrets while preserving directive names, route structure, identity provider names, policy names, cookie names, issuer URLs, redirect paths, roles, claim names, and module versions.
  4. Use configuration to analyze Caddyfiles and select the affected authentication, authorization, identity, or runtime domain. Test selection and fixture/CI mechanics follow the testing contract.
  5. Compare the configuration to the parser files and fixtures named by the loaded skills. Prefer the smallest valid corrected configuration over a broad rewrite.
  6. Validate with the narrowest available command. Use Caddy adaptation or focused Go tests when local context supports it; otherwise describe the exact command the reporter should run. Adaptation does not prove runtime behavior; validate and run may open identity files or contact providers. Reproduce with disposable local data before provisioning a supplied deployment config.
  7. Report the root cause, the minimal fix, validation performed, remaining uncertainty, and any repository-skill gap discovered during the work.
  8. For an issue-preparation request or a useful unresolved handoff, write the report under tmp/breakfix/. A direct explanation or completed small fix does not automatically require an issue artifact; honor the requested deliverable.

Symptom Checks

  • Adapt or provision errors: check directive placement, block nesting, argument counts, module availability, external plugin registration, and env or secret placeholder resolution.
  • Login failures: check enabled identity stores/providers, portal path routing, credentials, user transforms, cookie settings, crypto keys, and clock skew.
  • Portal API failures: check Accept: application/json or format=json, portal base path, latest sandbox_secret in challenge flows, token source headers/cookies, /beacon versus /whoami semantics, and whether admin endpoints have enable admin api plus an admin session.
  • Sandbox or MFA lockouts: check checkpoint order, require mfa transforms, registered TOTP/U2F tokens, sandbox expiration, repeated password failures, MFA failure counters on the user record, and whether the user is being forced to register an MFA token during login.
  • OAuth/OIDC callback failures: check redirect URI, issuer/discovery URL, client ID/secret, scopes, PKCE settings, state/cookie behavior, trusted redirects, reverse-proxy headers, and provider-specific constraints.
  • OIDC consent POST 403 invalid_request in a real browser: compare the consent response's Referrer-Policy with the POST's actual Origin. In go-authcrunch v1.2.6, no-referrer produces Origin: null, which its own same-origin check rejects. HtmlUnit/HTTP-client success does not rule this out. Preserve headless Chrome screenshots and network evidence; do not rewrite Origin or relax CSRF/origin validation. Apply the explicit Caddy consent response policy for this version, then verify both successful consent and rejection of cross-origin/forged-CSRF submissions. The library default needs a separate upstream fix. If the consent Origin is correct but Chrome aborts the callback with net::ERR_ABORTED, inspect form-action: its source list must permit the registered callback origin as well as self. Keep the exact redirect checks; do not replace the source list with a wildcard. See the conformance workflow.
  • SAML failures: check entity IDs, ACS URLs, certificates, signing keys, metadata, role attributes, and whether the issue is an identity-provider flow or an SSO app-provider flow.
  • LDAP failures: check bind credentials, search base, filters, username and group attributes, realm, TLS settings, network reachability, exact one-user search results, role-producing group mappings, and the service-bind then user-rebind flow.
  • Registration failures: check messaging provider delivery, confirmation link base URL, passcode expiry, domain/MX restrictions, dropbox path, admin email, target identity store, and whether manual approval or database transfer is still required.
  • Authorization denials: check route order, authorize with <policy> wiring, token cookie/header availability, verify keys, ACL rules, roles, claim names, bypass rules, and injected identity headers.
  • Basic/API-key auth failures: check X-Auth-Realm or configured realm header, API key header name, one with ... realm ... line per accepted realm, System API keys for remote portals, and whether the response is a 401 auth failure or a browser-style redirect due to missing credentials.
  • Redirect loops or missing sessions: check cookie domain/path/security flags, auth URL, same-site behavior, source address validation, TLS termination, and whether authn and authz use matching crypto material.
  • Runtime replacement or secrets issues: check unresolved {env.*} tokens, secret IDs, configured secrets manager modules, fallback behavior, and resolved fixture expectations.
Show full SKILL.md (376 more words)Show less

Response Shape

When solving the issue directly, include:

  • Root cause and confidence level.
  • Minimal config change or explanation of the required deployment change.
  • Evidence used, including relevant log lines or module versions.
  • Validation commands run or recommended.
  • Security notes about redacted or unsafe material.
  • Remaining questions only when they block a reliable fix.

When helping a reporter file a break-fix issue, fill or request the fields from .github/ISSUE_TEMPLATE/break-fix.md: issue description, skill-guided troubleshooting prompt and findings, full redacted Caddyfile, logs/errors, version information, expected behavior, actual behavior, skill/documentation gap, and additional context.

Issue Report File

For break-fix issue preparation, create tmp/breakfix/ if it does not exist and write a Markdown file named with this pattern:

text
YYYYMMDD_HHMM_<short-issue-slug>.md

Use the local timestamp at report creation time. Keep the slug short, lowercase, and hyphen-separated, such as oauth-callback-loop or ldap-bind-failure.

The Markdown file must contain enough information to create a GitHub issue from .github/ISSUE_TEMPLATE/break-fix.md without reconstructing context from the chat. Include these sections:

  • # breakfix: <concise title>
  • ## Describe the issue
  • ## Skill-guided troubleshooting
  • ## Configuration
  • ## Logs and errors
  • ## Version information
  • ## Expected behavior
  • ## Actual behavior
  • ## Skills or documentation gap
  • ## Additional context

Preserve fenced code blocks for Caddyfiles, logs, commands, and version output. Redact secrets, tokens, cookies, passwords, and private keys, but keep names, routes, roles, claims, issuer URLs, redirect paths, and module versions needed for diagnosis. Use TODO only for fields the reporter still needs to provide.

Skill Gap Feedback

If repository skill guidance was missing, incorrect, ambiguous, or not specific enough for the issue, capture:

  • The exact prompt or task that produced the weak guidance.
  • The smallest redacted Caddyfile and log excerpt that demonstrates the gap.
  • The correct behavior or configuration pattern, with parser or fixture references when possible.
  • The skill file that should be updated, if identifiable.

Prefer turning repeated support issues into skill improvements so future agents can generate secure, production-ready guidance on the first attempt.

Acceptance criteria

  • A supplied reproduction leads to the smallest evidence-backed correction or an explicit unresolved boundary; observed facts and hypotheses stay distinct.
  • A missing plugin, provider outage, or upstream defect is not described as fixed by parser success. Sensitive inputs remain redacted in any handoff.
  • A report request produces a self-contained issue artifact. A quick explanation can finish without one, and diagnosis does not activate a live deployment.

© greenpau, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .codex/skills/break-fix-troubleshooting of greenpau/caddy-security.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit a48553d

Compare with similar skills

Break Fix Troubleshooting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Break Fix Troubleshooting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Break Fix Troubleshooting this skillgreenpau/caddy-security2.3k—~2.5kAutomated safety check: PassApache-2.0
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Supabase Development and Debuggingsupabase/agent-skills2.7k3 repos~3.6kAutomated safety check: PassMIT
Better Auth Best Practiceslatitude-dev/latitude-llm4.7k7 repos~1.6kAutomated safety check: PassMIT
Gitnexus Exploringaws-samples/sample-kolya-br-proxy10612 repos~749Automated safety check: PassMIT-0
Supabasecurvenote/curvenote1705 repos~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Official

    General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.

    2.7k GitHub starsUsed in 3 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Better Auth Best Practices

    latitude-dev/latitude-llm

    Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.

    4.7k GitHub starsUsed in 7 repos~1.6k tokens
    Backend & APIsAuto-check passed
  • Gitnexus Exploring

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase.

    106 GitHub starsUsed in 12 repos~749 tokens
    Backend & APIsAuto-check passed
  • Supabase

    curvenote/curvenote

    A skill your agent uses when doing ANY task involving Supabase.

    170 GitHub starsUsed in 5 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • Gemini Live API Dev

    google-gemini/gemini-skills

    Official

    A skill your agent uses when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.

    4.3k GitHub stars~4.6k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed

More from greenpau/caddy-security

All 29 skills in this repo
  • Authentication Portal API

    greenpau/caddy-security

    Build or troubleshoot portal JSON/native login clients, refresh, profile and admin APIs, and public JWKS.

    2.3k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Coding Directives

    greenpau/caddy-security

    Implement or review caddy-security Go code, Caddy modules, parsers, lifecycle, and HTTP delegation.

    2.3k GitHub stars~4.1k tokensUpdated 4 days ago
    Auto-check passed
  • Configuration

    greenpau/caddy-security

    Build or review caddy-security Caddyfiles and select focused configuration skills.

    2.3k GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • Configuration Crypto

    greenpau/caddy-security

    Configure portal/policy JWT keys, token names and lifetimes, key loading and generation, public-key discovery, and System API encryption keys.

    2.3k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Configuration HTTP Integrations

    greenpau/caddy-security

    Mount authenticate and authorize handlers, separate portal and protected routes, align auth URLs, and preserve trusted proxy metadata.

    2.3k GitHub stars~3.2k tokensUpdated 4 days ago
    Auto-check passed
  • Configuration State

    greenpau/caddy-security

    Configure durable AuthCrunch runtime state, exclusive storage ownership, stop/start persistence, reload rejection, and recovery.

    2.3k GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Break Fix Troubleshooting

What does Break Fix Troubleshooting do?

Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence. Break Fix Troubleshooting is an agent skill from greenpau/caddy-security. Diagnose caddy-security deployment and runtime failures from configs, logs, versions, and HTTP evidence.

When should I use Break Fix Troubleshooting?

Break Fix Troubleshooting fits situations like: unresolved support handoffs; preparing break-fix issue reports.

How do I install Break Fix Troubleshooting in Claude Code?

Run `npx skills add greenpau/caddy-security --skill break-fix-troubleshooting -a claude-code`. Or copy the skill folder (.codex/skills/break-fix-troubleshooting in greenpau/caddy-security) into .claude/skills/break-fix-troubleshooting in your project. Claude Code loads it when a task matches its description.

How do I install Break Fix Troubleshooting in Codex?

Run `npx skills add greenpau/caddy-security --skill break-fix-troubleshooting -a codex`. Or copy the skill folder (.codex/skills/break-fix-troubleshooting in greenpau/caddy-security) into .agents/skills/break-fix-troubleshooting in your project. Codex loads it when a task matches its description.

Can I use Break Fix Troubleshooting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add greenpau/caddy-security --skill break-fix-troubleshooting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/break-fix-troubleshooting, .gemini/skills/break-fix-troubleshooting, .github/skills/break-fix-troubleshooting and .opencode/skills/break-fix-troubleshooting in your project.

What does Break Fix Troubleshooting need to run?

Going by SKILL.md and its folder, Break Fix Troubleshooting needs the command-line tools its instructions call (rg).

Does Break Fix Troubleshooting access the network?

SKILL.md names 1 domain. In commands or code: docs.authcrunch.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Break Fix Troubleshooting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Break Fix Troubleshooting use?

Break Fix Troubleshooting is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Break Fix Troubleshooting use?

About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Break Fix Troubleshooting?

Skills that share tags, products or a category with Break Fix Troubleshooting: Fortify Development (coollabsio/coolify, 63k stars), Supabase Development and Debugging (supabase/agent-skills, 2.7k stars), Better Auth Best Practices (latitude-dev/latitude-llm, 4.7k stars) and Gitnexus Exploring (aws-samples/sample-kolya-br-proxy, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Break Fix Troubleshooting?

greenpau (a GitHub user) maintains it in greenpau/caddy-security, which has 2,252 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 5, 2026.

Source: greenpau/caddy-security on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.