# Update AI Config

> Create, update, or manage AI configuration templates. Analyzes what the user needs and delegates to the appropriate template-specific skill. Use when this capability is needed.

- Skill: `tomevault-io/update-ai-config` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/update-ai-config`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/update-ai-config/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/update-ai-config

---


# Manage AI Config Templates

**IMPORTANT:** This project uses universal-ai-config (`uac`). All AI configuration lives in the `<%= config.templatesDir %>/` directory as universal templates. NEVER edit generated target-specific files (e.g. `.claude/`, `.github/copilot-instructions.md`, `.cursor/`) directly — those are overwritten on every `uac generate` run. Always modify the source templates in `<%= config.templatesDir %>/`.

When the user wants to add or change AI configuration for this project, follow these steps:

## 1. Understand the Request

Read the template guide at `<%= instructionPath('uac-template-guide') %>` to understand the available template types and when to use each.

## 2. Determine the Template Type

Based on the user's request, decide which type of template to work with:

- **Persistent context, rules, or guidelines** → Use `/update-instruction`
- **Repeatable task, workflow, or slash command** → Use `/update-skill`
- **Specialized AI persona with restricted tools** → Use `/update-agent`
- **Automatic lifecycle automation (on events)** → Use `/update-hook`
- **MCP server configuration** → Use `/update-mcp`

## 3. Delegate

Invoke the appropriate skill with the user's requirements. If the intent is ambiguous, ask the user to clarify before proceeding. For example:

- "Add a rule about error handling" → `/update-instruction`
- "Create a deploy workflow" → `/update-skill`
- "Set up a code reviewer" → `/update-agent`
- "Run linting after file edits" → `/update-hook`
- "Add an MCP server for GitHub" → `/update-mcp`

## Important

The delegated skills (`/update-instruction`, `/update-skill`, `/update-agent`, `/update-hook`, `/update-mcp`) primarily create or modify files inside `<%= config.templatesDir %>/`. They may also modify files in directories listed under `additionalTemplateDirs` in the config — but only with explicit user confirmation, since those are shared templates that may affect other projects. Never edit generated output files in `.claude/`, `.cursor/`, `.github/`, or similar target-specific directories — those are regenerated from templates and any direct changes will be lost.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/fabis94) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-16 -->

