toolkit-ai: Instructions file for Claude Code

CLAUDE.md

toolkit-ai CLAUDE.md is an instructions file for Claude Code, Codex from barleviatias/toolkit-ai. It costs 2,898 tokens per session, scanned B, original, MIT.

Project guidance for toolkit-ai, a command-line and terminal interface that discovers, installs, updates, and removes coding-agent add-ons from external GitHub or Bitbucket repositories. It supports several coding assistants and installs resources in their native formats.

In plain words
What is it for?
Use it when changing toolkit-ai setup, commands, supported coding assistants, resource sources, security scanning, generated builds, or the README.
Why use it?
It explains the product’s purpose and important design rules, such as not bundling add-on content and scanning external resources before installation.

Instructions file for Claude CodeCodex

Written for Claude Code and Codex: Claude Code plugin machinery, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is barleviatias/toolkit-ai's own configuration. It tells Claude Code and Codex how to work on toolkit-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything toolkit-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to barleviatias/toolkit-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/barleviatias/toolkit-ai/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/barleviatias/toolkit-ai

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 toolkit-ai CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/barleviatias/toolkit-ai/claude-md/github.svg)](https://agentmods.dev/instructions/barleviatias/toolkit-ai/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/barleviatias/toolkit-ai/claude-md"><img src="https://agentmods.dev/badge/instructions/barleviatias/toolkit-ai/claude-md/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 toolkit-ai CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/barleviatias/toolkit-ai/claude-md"><img src="https://agentmods.dev/badge/instructions/barleviatias/toolkit-ai/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,898 This file is loaded in full into every session.
When invoked 2,898 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.02898 $0.02898
Opus 5 $0.01449 $0.01449
Sonnet 5 $0.00580 $0.00580
Haiku 4.5 $0.00290 $0.00290

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

Security

Grade B, and why

toolkit-ai CLAUDE.md scanned grade B 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- MCPs: existing local configs plus detected global targets among `~/.claude/settings.json`, `~/.copilot/mcp-config.json`, `~/.vscode/mcp.json`, `~/.cursor/mcp.json`, `~/.claude.json`, `~/.codex/config.toml`, `~/.config/
CLAUDE.md · 203 lines

How it starts

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

CLAUDE.md

Guidance for Claude Code when working in this repository. Pairs with AGENTS.md (contributor/agent conventions) and README.md (user-facing docs).

What This Repo Is

A source-driven CLI + React Ink TUI that acts as a package manager for AI coding assistants. It discovers, installs, and updates skills, subagents, and MCP servers across Claude Code, Codex, Amp, GitHub Copilot, and Cursor from any GitHub or Bitbucket repo.

Key properties:

  • No bundled content — every resource comes from user-configured external sources
  • Byte-for-byte native — installs into each tool's real on-disk format (not a layer on top)
  • Single executable — tsup bundles everything into bin/ai-toolkit.mjs (ESM), zero runtime dependencies
  • Security-scanned — every external resource passes a static-analysis scanner before install

Important: Keep README.md up to date with any changes to commands, setup, or usage.

Quick Start

# Launch TUI (browse, install, remove, update — all in one place)
ai-toolkit

# Or run directly from repo
node bin/ai-toolkit.mjs

# Headless commands
node bin/ai-toolkit.mjs list
node bin/ai-toolkit.mjs source refresh
node bin/ai-toolkit.mjs --version
node bin/ai-toolkit.mjs settings

Development

npm install              # install deps
npm run build            # production build -> bin/ai-toolkit.mjs (publish only)
npm run build:dev        # LOCAL VERIFICATION BUILD — stamps a build number into the UI
npm run dev              # build with watch mode
npm test                 # typecheck + run 31 unit/integration tests
npm link                 # link globally for local testing

Verifying changes locally — build:dev only

Manual / TUI verification must use npm run build:dev, never npm run build. The dev build stamps a build number (git short SHA, +-dirty when the tracked tree is dirty) into the Logo and --version:

toolkit-ai v2.1.13 dev build · adb1edd

Read the full file on GitHub · 203 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. 9d ago First seen · 203 lines · 2,898 tokens per session scan B 9c6324a2343f

Subscribe to this mod's changes

toolkit-ai CLAUDE.md is an instructions file published in the GitHub repository barleviatias/toolkit-ai (12 stars, last pushed yesterday), licensed MIT. It adds 2,898 tokens to every session, about $0.0145 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens