initialize-config

initialize-config is a skill for Claude Code, Codex from SkeneTechnologies/skene. It costs 51 tokens per session (803 once invoked), scanned C, original, MIT.

A setup workflow for Skene, a command-line tool used to configure project analytics analysis. It checks project and user configuration, environment variables, provider settings, and API-key availability.

In plain words
What is it for?
Use it when starting a Skene analysis, when `.skene.config` is missing, or when configuring a provider, model, and API key.
Why use it?
It helps determine whether Skene is already configured, needs repair, or must be initialized. It avoids unnecessary questions when the required settings can be detected automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/skenetechnologies/skene/initialize-config
Any agent
npx skills add SkeneTechnologies/skene --skill initialize-config
Clone the repo
git clone --depth 1 https://github.com/SkeneTechnologies/skene

Made for: Claude Code, Codex.

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 initialize-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/skenetechnologies/skene/initialize-config.svg)](https://agentmods.dev/skills/skenetechnologies/skene/initialize-config)
Your own site
<a href="https://agentmods.dev/skills/skenetechnologies/skene/initialize-config"><img src="https://agentmods.dev/badge/skills/skenetechnologies/skene/initialize-config.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.1 $0.00051 $0.00803
Opus 5 $0.00026 $0.00402
Sonnet 5 $0.00010 $0.00161
Haiku 4.5 $0.00005 $0.00080

Measured 6d ago against content hash 9bbc9c37516c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

initialize-config scanned grade C with 1 finding 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 6d 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

- `printenv SKENE_API_KEY SKENE_PROVIDER 2>/dev/null` — env vars
cursor-plugin/skills/initialize-config/SKILL.md · 71 lines

How it starts

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

Initialize Skene Configuration

Set up Skene automatically. The user runs /skene-init, everything gets configured, and they see a one-line summary. Zero questions unless something is genuinely missing and cannot be inferred.

Config reference: Configuration guide.

Design principle

Make init invisible. Detect everything from existing config, env vars, and user-level config. Only ask the user if the agent truly cannot figure it out (e.g. API key missing everywhere).

Steps

  1. Discover CLI options Run uvx skene config --help to see what flags are available. Use only flags that appear in the output.

  2. Check what already exists (run in parallel where possible):

    • ls .skene.config 2>/dev/null — project config
    • ls ~/.config/skene/config 2>/dev/null — user-level config
    • echo n | uvx skene config --show — full resolved config (piped to avoid blocking)
    • printenv SKENE_API_KEY SKENE_PROVIDER 2>/dev/null — env vars
  3. Decide what to do (no user interaction needed):

    Case A — Config exists and is valid (provider set, API key present, provider/model match): Done. Report summary.

    Case B — Config exists but has issues (provider/model mismatch, missing API key, etc.): Fix what you can automatically:

    • Provider/model mismatch → update .skene.config with correct defaults.
    • API key missing from file but SKENE_API_KEY in env → fine, note it.
    • API key missing everywhere → ask user: "Set SKENE_API_KEY in your environment, then re-run /skene-init."

    Case C — No config at all:

    • Run uvx skene config --init (check --help first to confirm this flag exists).
    • If that fails with permission error, write .skene.config TOML directly.
    • Infer provider from env vars or default to openai.
    • Validate with echo n | uvx skene config --show.
  4. Final validation

    echo n | uvx skene config --show
    

    Confirm provider, model, API key. If good, report.

Read the full file on GitHub · 71 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. 6d ago First seen · 71 lines · 51 tokens per session scan C 9bbc9c37516c

Subscribe to this mod's changes

initialize-config is a skill published in the GitHub repository SkeneTechnologies/skene (122 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 803 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (harvests environment variables). 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

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

specification-writing

Write the full patent specification from claims and invention disclosure. Use when user says "撰写说明书", "write specification", "写说明书", "patent description", or wants to draft the complete patent specification.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

golden-rss

Use when testing the rss golden build.

yusufkaraaslan/Skill_Seekers · 12 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens

omh-code-review

This is a Hermes-native code-review workflow skill.

rlaope/oh-my-hermes · 46 tokens