init

init is a skill for Claude Code, Codex from Chemaclass/agnostic-ai. It costs 44 tokens per session (499 once invoked), scanned A, original, MIT.

A setup skill for agnostic-ai, a tool that generates configuration for multiple AI command-line tools from shared project specifications. It creates the initial `.agnostic-ai/` structure and configuration.

In plain words
What is it for?
Use it when a project has no `.agnostic-ai/` directory to choose target tools, create specification folders, add conventions, and generate the first configuration.
Why use it?
It gives a new project one starting point for its AI-tool rules instead of separate hand-written files for each tool.

Skill for Claude CodeCodex

Part of the agnostic-ai plugin — 4 skills shipped together

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/chemaclass/agnostic-ai/init
Any agent
npx skills add Chemaclass/agnostic-ai --skill init
Clone the repo
git clone --depth 1 https://github.com/Chemaclass/agnostic-ai

Made for: Claude Code, Codex.

Or install agnostic-ai, the plugin that ships this one along with the rest of its 4 skills.

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 init

README.md
[![agentmods](https://agentmods.dev/badge/skills/chemaclass/agnostic-ai/init.svg)](https://agentmods.dev/skills/chemaclass/agnostic-ai/init)
Your own site
<a href="https://agentmods.dev/skills/chemaclass/agnostic-ai/init"><img src="https://agentmods.dev/badge/skills/chemaclass/agnostic-ai/init.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00044 $0.00499
Opus 5 $0.00022 $0.00249
Sonnet 5 $0.00009 $0.00100
Haiku 4.5 $0.00004 $0.00050

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

Security

Grade A, and why

init 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 5d 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/agnostic-ai/skills/init/SKILL.md · 31 lines

What it actually says

init

Turns a project with no shared AI config into one where a single set of specs drives every tool.

Steps

  1. Confirm the CLI is present: agnostic-ai --version. If missing, run the install skill first.

  2. Check whether the project already has AI config worth keeping: CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules/, .github/copilot-instructions.md. If any exist, stop and use the import skill instead; it captures them as specs rather than overwriting them.

  3. Scaffold:

    agnostic-ai init --all      # every target, no prompt
    agnostic-ai init --demo     # plus one example spec per kind
    

    init alone opens a target picker when stdin is a TTY. In a non-interactive session, pass --all or pipe a list: echo "claude,codex" | agnostic-ai init.

  4. Ask which AI tools the team actually uses, then narrow targets: in agnostic-ai.yaml to those. Fewer targets means fewer generated files to review.

  5. Write the project's real conventions as rules under .agnostic-ai/rules/, one file per rule. Keep each rule to a single concern with a description that says when it applies.

  6. Run agnostic-ai sync, then show the user what appeared with git status --short.

Notes

  • init writes gitignore.enabled: true by default: generated files stay out of git and each contributor runs sync. Pass --gitignore=false to commit them instead, which suits a team where not everyone has the CLI.
  • One spec per file. agnostic-ai new rule <name> (also agent, skill, hook, mcp) scaffolds the right frontmatter for the kind.
  • Never hand-edit a generated file such as CLAUDE.md or .cursor/rules/*.mdc. The next sync overwrites it. Edit the spec under .agnostic-ai/ instead.
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. 5d ago First seen · 31 lines · 44 tokens per session scan A 2858a9c15c5a

Subscribe to this mod's changes

init is a skill published in the GitHub repository Chemaclass/agnostic-ai (11 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 499 once invoked, about $0.0002 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