Agent skill

Local Bootstrap CLI Auth Debug

by PacificStudio in PacificStudio/openase

Diagnose and repair OpenASE CLI access in local bootstrap mode.

Apache-2.0Auto-check passedSecurity

Install Local Bootstrap CLI Auth Debug

skills CLI
$ npx skills add PacificStudio/openase --skill local-bootstrap-cli-auth-debug -a claude-code

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

GitHub CLI
$ gh skill install PacificStudio/openase local-bootstrap-cli-auth-debug --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/PacificStudio/openase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/local-bootstrap-cli-auth-debug .claude/skills/local-bootstrap-cli-auth-debug && 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
local-bootstrap-cli-auth-debug
GitHub stars
268
Token cost
~778 tokens
SKILL.md length
298 words
Files
2 (incl. scripts)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Diagnose and repair OpenASE CLI access in local bootstrap mode.

  • Works in 5 steps: Verify the service is healthy → Run the non-mutating diagnostic helper → If the helper reports no valid CLI human… → …
  • Protected openase commands fail because the CLI is missing a local human session
  • SKILL.md covers Use This When, Key Facts, Standard Flow and Fast Repair Commands, plus 3 more sections
  • Runs Shell scripts from its folder; calls curl; needs OPENASE_HUMAN_SESSION_TOKEN and OPENASE_HUMAN_CSRF_TOKEN

What it does

Local Bootstrap CLI Auth Debug is an agent skill from PacificStudio/openase. Diagnose and repair OpenASE CLI access in local bootstrap mode. Use when protected openase commands fail because the CLI is missing a local human session, has a stale ~/.openase/human-session.json, is missing CSRF state, or needs a fresh openase auth bootstrap login.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/check_local_cli_auth.sh`).

It sits in Security, covering Web application vulnerabilities. The repository describes itself as: Ticket-Driven Automated Software Engineering. OpenASE is an all-in-one platform that turns tickets into working code — AI agents automatically pick up tickets, execute workflows… The licence is Apache-2.0.

When your agent uses it

  • Protected openase commands fail because the CLI is missing a local human session
  • Has a stale ~/.openase/human-session.json
  • Is missing CSRF state
  • Needs a fresh openase auth bootstrap login

Example prompts

  • “/local-bootstrap-cli-auth-debug”

Requirements

  • A Bash shell
  • A credential in OPENASE_HUMAN_SESSION_TOKEN
  • A credential in OPENASE_HUMAN_CSRF_TOKEN

Workflow steps

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

  1. Verify the service is healthy
  2. Run the non-mutating diagnostic helper
  3. If the helper reports no valid CLI human session, refresh it
  4. Re-check the current principal
  5. Re-run the failing protected command.

What it can do on your machine

Read from SKILL.md and the folder at commit e530faf. 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

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENASE_HUMAN_SESSION_TOKEN
    • OPENASE_HUMAN_CSRF_TOKEN

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

Context cost

Local Bootstrap CLI Auth Debug loads about 778 tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 298 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from PacificStudio/openase at commit e530faf, republished under its Apache-2.0 licence (© PacificStudio). 298 words, ~778 tokens.

Download SKILL.mdSave it as .claude/skills/local-bootstrap-cli-auth-debug/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
local-bootstrap-cli-auth-debug
description
Diagnose and repair OpenASE CLI access in local bootstrap mode. Use when protected `openase` commands fail because the CLI is missing a local human session, has a stale `~/.openase/human-session.json`, is missing CSRF state, or needs a fresh `openase auth bootstrap login`.

Local Bootstrap CLI Auth Debug

Use This When

  • OpenASE is running in local bootstrap mode, not active OIDC.
  • Protected CLI commands return HUMAN_SESSION_REQUIRED, HUMAN_SESSION_INVALID, or CSRF errors.
  • You need to create, inspect, refresh, or clear the CLI human session used by typed openase commands.

Key Facts

  • CLI human session state lives at ~/.openase/human-session.json by default.
  • openase auth bootstrap login creates a fresh local bootstrap authorization, redeems it through /api/v1/auth/local-bootstrap/redeem, and stores the resulting session + CSRF for later commands.
  • Typed and raw API commands automatically reuse that stored session unless a Bearer token is provided.
  • Local bootstrap sessions are tied to the current host context; if the stored session goes stale, re-login from the same machine and shell.

Standard Flow

  1. Verify the service is healthy:
    • curl -fsS http://127.0.0.1:19836/healthz
  2. Run the non-mutating diagnostic helper:
    • .codex/skills/local-bootstrap-cli-auth-debug/scripts/check_local_cli_auth.sh
  3. If the helper reports no valid CLI human session, refresh it:
    • openase auth bootstrap login
  4. Re-check the current principal:
    • openase auth session
  5. Re-run the failing protected command.

Fast Repair Commands

sh
openase auth bootstrap login
openase auth session
openase auth sessions list
openase auth logout
openase auth bootstrap login

Failure Patterns

  • HUMAN_SESSION_REQUIRED
    • The CLI has no usable stored local human session.
    • Fix: run openase auth bootstrap login.
  • HUMAN_SESSION_INVALID
    • The stored session file exists, but the cookie is expired, revoked, or no longer matches the current request context.
    • Fix: openase auth logout then openase auth bootstrap login.
  • CSRF_TOKEN_INVALID or CSRF_ORIGIN_FORBIDDEN
    • The CLI session is present but the request is missing valid CSRF state or origin context.
    • Fix: refresh the stored session with openase auth bootstrap login, then retry from the same machine.
  • LOCAL_BOOTSTRAP_DISABLED
    • The instance is no longer in local bootstrap mode.
    • Stop and switch to the OIDC/browser auth path instead of retrying this skill.

Useful Overrides

  • Alternate session file:
    • --session-file /tmp/openase-human-session.json
    • OPENASE_HUMAN_SESSION_FILE=/tmp/openase-human-session.json
  • Manual session injection:
    • OPENASE_HUMAN_SESSION_TOKEN=...
    • OPENASE_HUMAN_CSRF_TOKEN=...
  • Alternate API base:
    • OPENASE_API_URL=http://127.0.0.1:19836/api/v1

Files

  • Skill helper:
    • .codex/skills/local-bootstrap-cli-auth-debug/scripts/check_local_cli_auth.sh
  • Default stored state:
    • ~/.openase/human-session.json

© PacificStudio, 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 (scripts) in .codex/skills/local-bootstrap-cli-auth-debug of PacificStudio/openase.

  • SKILL.md
  • scripts/check_local_cli_auth.sh

Open the folder on GitHubat commit e530faf

Compare with similar skills

Local Bootstrap CLI Auth Debug 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.

Local Bootstrap CLI Auth Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Local Bootstrap CLI Auth Debug this skillPacificStudio/openase268—~778Automated safety check: PassApache-2.0
Security And Hardeningpenpot/penpot61k6 repos~4.7kAutomated safety check: NotesMPL-2.0
Security Auditoreigent-ai/eigent15k—~1.8kAutomated safety check: NotesApache-2.0
Security Reviewjewbetcha/opentrace11617 repos~3.1kAutomated safety check: NotesMIT
Strix Code Vulnerability Scanusestrix/strix67k—~1.1kAutomated safety check: PassApache-2.0
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone

Similar skills

  • Hardens code against vulnerabilities. An agent skill from penpot/penpot.

    61k GitHub starsUsed in 6 repos~4.7k tokens
    SecurityAuto-check: notes
  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check: notes
  • Security Review

    jewbetcha/opentrace

    A skill your agent uses when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features.

    116 GitHub starsUsed in 17 repos~3.1k tokens
    SecurityAuto-check: notes
  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    67k GitHub stars~1.1k tokensUpdated yesterday
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.

    67k GitHub stars~1.5k tokensUpdated yesterday
    SecurityAuto-check passed

More from PacificStudio/openase

All 14 skills in this repo
  • Deploy Coolify Review Env

    PacificStudio/openase

    Create or update a branch-scoped Coolify review environment with one command, and delete it with one command.

    268 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Deploy Openase

    PacificStudio/openase

    Build and locally redeploy OpenASE from the current branch, including web static assets and the Go binary, then restart the local service and verify health.

    268 GitHub stars~564 tokensUpdated 1 mo ago
    Auto-check: notes
  • Push

    PacificStudio/openase

    Push current branch changes to origin and create or update the corresponding pull request for OpenASE; use when asked to push, publish updates, or create a pull request.

    268 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Report Issue

    PacificStudio/openase

    Create a detailed GitHub issue for OpenASE and add it to the OpenASE Automation project with a caller-selected status (defaults to Todo).

    268 GitHub stars~631 tokensUpdated 1 mo ago
    Auto-check: notes
  • Auto Harness

    PacificStudio/openase

    Diagnose and strengthen a repository's harness layer: AGENTS.md rules, knowledge layout, architecture boundaries, lint and type gates, API and generated-client contracts, test scaffolding…

    268 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Openase Platform

    PacificStudio/openase

    Platform operations for tickets, projects, and runtime coordination inside OpenASE.

    268 GitHub stars~6.4k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Local Bootstrap CLI Auth Debug

What does Local Bootstrap CLI Auth Debug do?

Diagnose and repair OpenASE CLI access in local bootstrap mode. Local Bootstrap CLI Auth Debug is an agent skill from PacificStudio/openase. Diagnose and repair OpenASE CLI access in local bootstrap mode.

When should I use Local Bootstrap CLI Auth Debug?

Local Bootstrap CLI Auth Debug fits situations like: protected openase commands fail because the CLI is missing a local human session; has a stale ~/.openase/human-session.json; is missing CSRF state; needs a fresh openase auth bootstrap login.

How do I install Local Bootstrap CLI Auth Debug in Claude Code?

Run `npx skills add PacificStudio/openase --skill local-bootstrap-cli-auth-debug -a claude-code`. Or copy the skill folder (.codex/skills/local-bootstrap-cli-auth-debug in PacificStudio/openase) into .claude/skills/local-bootstrap-cli-auth-debug in your project. Claude Code loads it when a task matches its description.

How do I install Local Bootstrap CLI Auth Debug in Codex?

Run `npx skills add PacificStudio/openase --skill local-bootstrap-cli-auth-debug -a codex`. Or copy the skill folder (.codex/skills/local-bootstrap-cli-auth-debug in PacificStudio/openase) into .agents/skills/local-bootstrap-cli-auth-debug in your project. Codex loads it when a task matches its description.

Can I use Local Bootstrap CLI Auth Debug 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 PacificStudio/openase --skill local-bootstrap-cli-auth-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/local-bootstrap-cli-auth-debug, .gemini/skills/local-bootstrap-cli-auth-debug, .github/skills/local-bootstrap-cli-auth-debug and .opencode/skills/local-bootstrap-cli-auth-debug in your project.

What does Local Bootstrap CLI Auth Debug need to run?

Going by SKILL.md and its folder, Local Bootstrap CLI Auth Debug needs a shell for the scripts in its folder, the command-line tools its instructions call (curl) and credentials named OPENASE_HUMAN_SESSION_TOKEN and OPENASE_HUMAN_CSRF_TOKEN. Our summary lists: A Bash shell; A credential in OPENASE_HUMAN_SESSION_TOKEN; A credential in OPENASE_HUMAN_CSRF_TOKEN.

Does Local Bootstrap CLI Auth Debug access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Local Bootstrap CLI Auth Debug 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Local Bootstrap CLI Auth Debug use?

Local Bootstrap CLI Auth Debug 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 Local Bootstrap CLI Auth Debug use?

About 778 tokens (SKILL.md is roughly 3.1k 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 Local Bootstrap CLI Auth Debug?

Skills that share tags, products or a category with Local Bootstrap CLI Auth Debug: Security And Hardening (penpot/penpot, 61k stars), Security Auditor (eigent-ai/eigent, 15k stars), Security Review (jewbetcha/opentrace, 116 stars) and Strix Code Vulnerability Scan (usestrix/strix, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Local Bootstrap CLI Auth Debug?

PacificStudio (a GitHub organization) maintains it in PacificStudio/openase, which has 268 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on August 9, 2026.

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