ai-setup-meta
AI governance repository. It holds the multi-domain templates, the shared assets (agents, skills, profiles)
and the plugin + marketplace system that distributes them to developer projects.
Documentation
Setup for developers
Claude Code
To add the AI-native workflow to any project, new or existing:
# 1. Add the Acadevmy marketplace (one-off)
/plugin marketplace add acadevmy/ai-setup-meta
# 2. Install the dev-setup plugin
/plugin install dev-setup@acadevmy
# 3. Run the setup in your project
/dev-setup:setup
The agent reads the project and adapts what it installs:
- Existing project: it grafts on the AI workflow only (path-scoped rules, AGENTS.md, skills, MCP) without touching your tooling
- New project (greenfield): full setup with quality tools, stack profile and MCP
Prerequisites: git, the claude CLI — Claude Code 2.1.281 or later on every machine and runner that works on the project: it reads AGENTS.md as the project instructions, and the setup writes no CLAUDE.md. Optional: the gh CLI (for the ClickUp MCP and greenfield work).
Session context cost
The plugin declares no MCP servers of its own: the ones that depend on the stack (Figma)
or on the team's configuration (the task tracker: ClickUp or Linear) are registered by /dev-setup:setup at project
scope, and only when they are needed (Step 6 of the setup skill). For library documentation
the default is the ctx7 CLI rather than the Context7 server: the CLI does the same job
without paying for the tool definitions in every session.
Safety net — ENABLE_TOOL_SEARCH. Claude Code keeps MCP tool definitions out of the
context and loads them on demand (tool search, on by default). With that in place a
58-tool server costs ~1,000 tokens at session zero instead of ~31,000. The variable matters
when the default does not apply — ANTHROPIC_BASE_URL pointing at a non-first-party proxy,
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, Foundry deployments on Azure, pre-4.5 Agent
Platform models:
| Value | Effect |
|---|
| unset | tool search on, with the fallbacks above |
true | always on (the beta header passes through proxies too) |
auto | turns on when the deferrable definitions reach 10% of the window |
auto:N | like auto with an N% threshold (e.g. auto:5) |
false | off: every definition enters the context on every turn |
Set it as an environment variable or in the env block of settings.json. Measured with
scripts/measure-session-zero.sh (pure backend fixture, sonnet, --strict-mcp-config):
| MCP servers registered | tools | tool search on | tool search off |
|---|
| none | 0 | 35,479 | 51,282 |
| clickup | 58 | 36,525 | 82,030 |
| clickup + figma + context7 | 101 | 37,512 | 120,956 |
The absolute values include the measuring machine's own global configuration (user
CLAUDE.md, installed skills and plugins): what is comparable is the difference between two
runs in the same environment, not the totals across different machines.
Model overrides in skills: no distributed skill sets model:. The model: frontmatter
moves the main loop's model, and the prompt cache is model-scoped, so every switch along
the chain pays for a cold prefix — and the override stays active in the turns after the
skill runs. The skills only differentiate effort; you pick the model for the session.
Other tools (Cursor, Codex, Copilot…)
The plugin has a single build target: Claude Code. The builders for the other runtimes
have been removed, because the plugin's skills follow the open
Agent Skills standard: a conforming SKILL.md is readable by the
other tools without conversion.
If you work in another editor, point your tool at the SKILL.md files under
dist/dev-setup/skills/ (or copy them into the project's skills directory). Nothing that
worked is lost compared to the dedicated plugin we used to ship: its hooks were the Claude
Code schema with one variable renamed — inert outside Claude Code — and its commands/
were literal copies of the skill bodies.
Architecture