Skip to content
Back to skills

Turnstile Config

ASecurity

Show the user's resolved turnstile configuration (the raw config file contents, which keys are overridden vs default, the computed metricsDir, and any config warnings) without editing anything. Use when the user asks what their turnstile config is or why a setting behaves the way it does.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsnode

Works with

  • cli

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add edseabolt/turnstile --skill turnstile-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Turnstile Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Turnstile Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/edseabolt-turnstile-config/badge)](https://www.skillsdirectory.com/skills/edseabolt-turnstile-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: turnstile-config
description: Show the user's resolved turnstile configuration (the raw config file contents, which keys are overridden vs default, the computed metricsDir, and any config warnings) without editing anything. Use when the user asks what their turnstile config is or why a setting behaves the way it does.
---

# Turnstile config

Display the user's turnstile configuration read-only. Never apply edits:
point at `examples/turnstile.example.json` (every key except the computed
`metricsDir`) and the config table in `docs/usage/configuration.md` instead.

## Steps

1. Locate the raw config file: the `TURNSTILE_CONFIG` env var if set, else
   `~/.config/opencode/turnstile.json`. If the file is absent, report "no
   config file (all defaults in effect)".

2. Show the file's contents: the full JSON, verbatim, in a fenced code
   block (or the plain text for non-JSON formats). The report must always
   include the raw file contents, not only a summary of overrides. If the
   file is absent, show nothing and say all defaults are in effect.

3. Cross-check the resolved values against `status --json` (detect context:
   inside the turnstile repo use `node bin/cli.mjs status --json`; elsewhere
   `npx opencode-turnstile status --json`); its `suspension.configPath` and
   `suspension.configFilePresent` confirm which file the CLI consulted.

4. Compare the raw overrides against the defaults table (docs/usage/configuration.md)
   and mark each key as overridden or default.

5. Report `metricsDir` as computed at load time; it is deliberately absent
   from `examples/turnstile.example.json`.

6. Surface any `[turnstile] config:` warnings from the journal. The actual
   wording is `config: unknown key "…" ignored` or
   `config: invalid value for "…"; keeping default`.

7. If the user names any status options, forward them to the CLI invocation.
   If the CLI rejects an option, surface the usage error verbatim; never
   retry blind, never drop the flag.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.