setup-config

A setup tool that examines a repository and creates an omen.toml configuration file suited to its languages, tests, and feature flags. A configuration file stores the settings another tool uses when analyzing the project.

In plain words
What is it for?
Use it to detect the main programming languages, test patterns, feature-flag providers, and suitable analysis exclusions.
Why use it?
It removes the need to identify project-specific settings and write them by hand when starting Omen in a new repository.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/panbanda/omen/setup-config
Any agent
npx skills add panbanda/omen --skill setup-config
Clone the repo
git clone --depth 1 https://github.com/panbanda/omen

Made for: Claude Code, Codex.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.02340
Opus 5 $0.00014 $0.01170
Sonnet 5 $0.00006 $0.00468
Haiku 4.5 $0.00003 $0.00234

Measured 3d ago against content hash 31615b10660b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-config scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/development/skills/setup-config/SKILL.md · 346 lines

How it starts

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

Setup Config

Analyze the current repository and generate an omen.toml configuration tailored to the project's tech stack, test patterns, and feature flag usage.

Workflow

Step 1: Detect Primary Languages

Use Glob to count files by extension:

Glob: **/*.go
Glob: **/*.rb
Glob: **/*.py
Glob: **/*.ts
Glob: **/*.js
Glob: **/*.java
Glob: **/*.rs

Identify the primary language(s) based on file counts. This determines:

  • Which exclude patterns to include (language-specific directories)
  • Whether to enable cohesion scoring (OO-heavy languages)

Step 2: Detect Feature Flag Providers

Use Grep to search for SDK imports and usage patterns. Add detected providers to feature_flags.providers in the config.

Provider Config Value Search Patterns
LaunchDarkly launchdarkly launchdarkly, ld-client, LDClient, boolVariation, stringVariation
Split split @splitsoftware, splitio, SplitClient, getTreatment
Flipper flipper Flipper.enabled?, Flipper[, flipper (in Gemfile)
Unleash unleash unleash-client, unleashclient, isEnabled with unleash import
Generic generic feature_flag, featureFlag, is_feature_enabled, isFeatureEnabled
ENV-based env ENV["FEATURE_, process.env.FEATURE_, os.environ["FEATURE_

Also check package manifests:

  • package.json: launchdarkly-*, @splitsoftware/*, unleash-*
  • Gemfile: launchdarkly-*, flipper, split-*, unleash
  • Cargo.toml: launchdarkly, unleash
  • go.mod: launchdarkly, unleash
  • requirements.txt/pyproject.toml: launchdarkly-*, split-*, unleashclient

Only include providers that are actually detected. If no providers are found, leave providers = [] with a comment explaining how to add them manually.

Step 2b: Detect Custom Feature Flag Systems

If you find feature flag patterns that don't match the built-in providers, the user likely has an in-house system. Ask them about it and help them create a custom provider.

Read the full file on GitHub · 346 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. 3d ago First seen · 346 lines · 28 tokens per session scan A 31615b10660b

Subscribe to this mod's changes

setup-config is a skill published in the GitHub repository panbanda/omen (18 stars, last pushed 10d ago), licensed Apache-2.0. It adds 28 tokens to every session and 2,340 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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

find-docs

Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service — even for well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. Your training…

upstash/context7 · 172 tokens

context7-cli

Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, wants to install/search/generate skills, or needs to set up Context7 for their AI coding agent.

upstash/context7 · 67 tokens

context7-mcp

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

upstash/context7 · 58 tokens

context7-docs

Fetch up-to-date documentation and code examples for any library, framework, SDK, CLI tool, or cloud service. Use whenever the user asks about a specific library — even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot — because training data may not reflect recent API changes or…

upstash/context7 · 157 tokens

tsa-edit-then-verify

The full edit-and-verify loop mandated by CLAUDE.md and docs/agent-tooling-gap-report.md:58. Pre-edit gate (edit action=safe + baseline health action=file) → LLM edits → post-edit verify (health action=file diff + edit action=impact + scoped verificationcommand). Replaces "edit then run the whole pytest suite" (5 min)…

aimasteracc/tree-sitter-analyzer · 267 tokens

tsa-pr-review

AST-grounded PR / diff review. One workflow → per-file risk ranking, blast radius per changed symbol, the exact pytest command to gate merge, any architecture-constraint violations, and a final BLOCK / REVIEW / APPROVE verdict — in 1–2k tokens and 4–6 MCP calls. Goes beyond a generic LLM diff-read because only TSA's…

aimasteracc/tree-sitter-analyzer · 354 tokens