secret-setup

secret-setup is a skill for Claude Code from JKHeadley/instar. It costs 35 tokens per session (2,235 once invoked), scanned B, original, MIT.

A focused setup guide for choosing and configuring how an Instar agent stores secrets such as API tokens and bot credentials. It covers Bitwarden installation, login, unlocking, and backend configuration.

In plain words
What is it for?
Use it when setting up secret storage for an Instar agent, installing or logging into Bitwarden, unlocking it with the supported command form, and selecting the storage backend.
Why use it?
It helps prevent secrets from being stored or handled without a configured secret manager. It also warns against commands that wait for hidden password prompts and could hang in Claude Code.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it when setting up secret storage for an Instar agent, installing or logging into Bitwarden, unlocking it with the supported command form, and selecting the storage backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jkheadley/instar/secret-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JKHeadley/instar --skill secret-setup
Clone the repo
git clone --depth 1 https://github.com/JKHeadley/instar

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for secret-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/jkheadley/instar/secret-setup/github.svg)](https://agentmods.dev/skills/jkheadley/instar/secret-setup)
Your own site
<a href="https://agentmods.dev/skills/jkheadley/instar/secret-setup"><img src="https://agentmods.dev/badge/skills/jkheadley/instar/secret-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for secret-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/jkheadley/instar/secret-setup"><img src="https://agentmods.dev/badge/skills/jkheadley/instar/secret-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 69
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
  • medium Excessive Agency · line 52
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
  • medium Prompt Injection · line 67
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
  • medium Privilege Escalation · line 162
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.02235
Opus 5.5 $0.00014 $0.00894
Sonnet 5.5 $0.00007 $0.00447
Haiku 4.5 $0.00003 $0.00224

Measured 1mo ago against content hash 0f4365713d96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

secret-setup scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Subtle steeringlowPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

Do NOT assume the user has any specific credentials in Bitwarden. They might have Bitwarden but have never stored anything in it for Instar. Only check what's actually there — never tell the user "I need to restore your

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 "$HOME/.instar/secrets/.bw-session"
.claude/skills/secret-setup/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Secret Management Setup

You are guiding a user through choosing and configuring how their Instar agent stores secrets (API tokens, bot credentials, etc). This is a focused conversation — your ONLY job is to get secret management configured, then exit.

CRITICAL RULES

1. No Interactive CLI Commands — WILL HANG FOREVER

Claude Code's Bash tool CANNOT handle stdin prompts. Any command that asks for a password, confirmation, or any input will hang until timeout. There is NO workaround — you cannot type into a running command.

UNDERSTAND THIS ABOUT --raw: The --raw flag ONLY changes the output format. It does NOT prevent interactive prompts. bw unlock --raw STILL prompts for a password and WILL HANG. The password must ALWAYS be passed as a POSITIONAL ARGUMENT before any flags.

Commands that WILL HANG (never run these):

bw unlock --raw                    # HANGS — no password argument
bw unlock                          # HANGS — prompts for password
bw login --raw                     # HANGS — no email/password
bw login                           # HANGS — prompts for credentials
echo "text" && bw unlock --raw     # HANGS — bw still prompts
read -s VARIABLE                   # HANGS — waits for hidden input

Commands that WORK (use ONLY these patterns):

bw unlock "ACTUAL_PASSWORD_HERE" --raw    # Returns session key immediately
bw login "EMAIL" "PASSWORD" --raw         # Returns session key immediately
bw status --raw                           # Returns JSON, never prompts
which bw 2>/dev/null                      # Checks if installed, never prompts
bw --version                              # Returns version, never prompts

THE RULE: You MUST have the user's password as text BEFORE running any unlock/login command. Ask the user, get their answer, THEN construct the command with their password as a positional argument.

2. NEVER Use AskUserQuestion for Passwords, Emails, or Free-Text

This is the #1 UX failure mode. AskUserQuestion is ONLY for multiple-choice DECISIONS (pick A or B or C). It must NEVER be used to collect passwords, email addresses, tokens, or any free-text input.

Read the full file on GitHub · 211 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 211 lines · 35 tokens per session scan B 0f4365713d96

Subscribe to this mod's changes

secret-setup is a skill published in the GitHub repository JKHeadley/instar (84 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 2,235 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (subtle steering, asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

phaser-pixi-2d-games

Use when building a 2D web game with Phaser (3.x/4.x) or PixiJS 8 in TypeScript - framework vs renderer, Phaser scenes/game objects/arcade physics/groups as pools/scale manager/loader, scene shutdown cleanup, PixiJS 8 async init, Assets bundles, ticker units and destroy, and keeping rules in plain TS modules.

makifbaysal/tasktrooper · 86 tokens

node-typescript-security-pitfalls

Use when reviewing Node.js or TypeScript server code - Express/Fastify/Nest handlers, Next.js server actions and route handlers, childprocess, ORM raw queries, prototype pollution, template engines, JWT and outbound HTTP clients.

makifbaysal/tasktrooper · 53 tokens

node-typescript-service

Use when building or extending a TypeScript service on Node.js - Fastify, NestJS, Express or Hono, runtime validation at the boundary, strict types, the repository's ORM and migrations, async error handling, graceful shutdown.

makifbaysal/tasktrooper · 51 tokens

react-typescript-patterns

Use when writing React + TypeScript components - functional components, explicit typed props, derived state over effects, and no any/unsafe casts.

makifbaysal/tasktrooper · 33 tokens

V3 CLI Modernization

CLI modernization and hooks system enhancement for claude-flow v3. Implements interactive prompts, command decomposition, enhanced hooks integration, and intelligent workflow automation.

ruvnet/ruflo · 35 tokens

V3 Core Implementation

Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.

ruvnet/ruflo · 37 tokens