ai-tool-setup

ai-tool-setup is a command for Claude Code, Cursor from vanessamarely/ai-playbook-reposito. It costs 0 tokens per session (1,379 once invoked), scanned A, original, MIT.

A command that creates or updates instruction files for GitHub Copilot, Claude Code, Cursor, and OpenAI Codex CLI. These files tell each coding assistant which project policies and working practices to follow.

In plain words
What is it for?
Use it when onboarding an AI tool or updating all supported tools from a shared playbook; it can target one tool or all four.
Why use it?
It keeps guidance consistent across different AI coding tools and refreshes that guidance when the project playbook changes.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when onboarding an AI tool or updating all supported tools from a shared playbook; it can target one tool or all four.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vanessamarely/ai-playbook-reposito/ai-tool-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.

Clone the repo
git clone --depth 1 https://github.com/vanessamarely/ai-playbook-reposito

Made for: Claude Code, Cursor.

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 ai-tool-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/vanessamarely/ai-playbook-reposito/ai-tool-setup/github.svg)](https://agentmods.dev/commands/vanessamarely/ai-playbook-reposito/ai-tool-setup)
Your own site
<a href="https://agentmods.dev/commands/vanessamarely/ai-playbook-reposito/ai-tool-setup"><img src="https://agentmods.dev/badge/commands/vanessamarely/ai-playbook-reposito/ai-tool-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 ai-tool-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/vanessamarely/ai-playbook-reposito/ai-tool-setup"><img src="https://agentmods.dev/badge/commands/vanessamarely/ai-playbook-reposito/ai-tool-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01379
Opus 5 $0.00000 $0.00690
Sonnet 5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

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

Security

Grade A, and why

ai-tool-setup 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 10d 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.

ai-playbook/.cursor/commands/ai-tool-setup.md · 60 lines

How it starts

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

AI Tool Setup

Generate or update AI assistant instruction files for all four supported tools — GitHub Copilot, Claude Code, Cursor, and OpenAI Codex CLI — so they share a consistent set of policies derived from this playbook. Use when onboarding a new AI tool or refreshing existing configuration after playbook changes. Not for writing new rules/commands (/skill-creator), building application code, or general documentation.

Inputs

  • targetTool: one of copilot, claude, cursor, codex, or all.
  • projectRoot: absolute path to the repository root.
  • playbookRoot: path to the playbook directory (default: ai-playbook).

Outputs

Each tool has its own real, native structure — there is no shared folder all four read:

Tool Always-loaded file Modular / additional files
GitHub Copilot .github/copilot-instructions.md .github/instructions/*.instructions.md (each with applyTo frontmatter globs)
Claude Code CLAUDE.md (repo root) .claude/agents/, .claude/skills/, .claude/commands/ as needed
Cursor none required .cursor/rules/*.mdc (alwaysApply: true for always-on, globs for file-type triggers, description-only for Agent Requested) and .cursor/commands/*.md for explicit /name invocation
OpenAI Codex CLI AGENTS.md (nearest wins for nested overrides) .agents/skills/<name>/SKILL.md for bundled procedures

Procedure

  1. Validate inputs — confirm projectRoot exists and looks like a real project (package.json, pom.xml, or pyproject.toml); confirm playbookRoot contains policies/ (and, in this reference repo, .claude/agents/ and .claude/skills/ as the canonical source material). If either check fails, report the error and stop.
  2. Detect the project type — inspect projectRoot for package.json (+React/Express/Nest/Fastify deps), pom.xml/build.gradle, pyproject.toml/setup.py/requirements.txt. Extract projectType, framework, language.
  3. Load applicable policies from <playbookRoot>/policies/: always read workspace-policy.md and style-output.md; read frontend-policy.md if the project is frontend, backend-policy.md if it's backend (both if full-stack).
  4. Build the routing table mapping project type to relevant procedures:

Read the full file on GitHub · 60 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. 10d ago First seen · 60 lines · 0 tokens per session scan A c367527d3323

Subscribe to this mod's changes

ai-tool-setup is a command published in the GitHub repository vanessamarely/ai-playbook-reposito (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,379 tokens. 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-31.