update-ai-config

update-ai-config is a skill for Claude Code, Codex from fabis94/universal-ai-config. It costs 30 tokens per session (1,201 once invoked), scanned A, original, MIT.

A manager for AI configuration templates used to generate instructions, reusable task skills, agents, hooks, and tool-server settings for different coding assistants. It keeps the source templates in one designated directory.

In plain words
What is it for?
Use it when adding or changing project guidance for AI coding tools, including persistent instructions, repeatable workflows, specialized agents, automatic actions, or server configuration.
Why use it?
It prevents edits to generated files from being overwritten the next time configuration is generated. It also helps choose the right template type for the requested change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it when adding or changing project guidance for AI coding tools, including persistent instructions, repeatable workflows, specialized agents, automatic actions, or server configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabis94/universal-ai-config/update-ai-config
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.

Any agent
npx skills add fabis94/universal-ai-config --skill update-ai-config
Clone the repo
git clone --depth 1 https://github.com/fabis94/universal-ai-config

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 update-ai-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-ai-config/github.svg)](https://agentmods.dev/skills/fabis94/universal-ai-config/update-ai-config)
Your own site
<a href="https://agentmods.dev/skills/fabis94/universal-ai-config/update-ai-config"><img src="https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-ai-config/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 update-ai-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabis94/universal-ai-config/update-ai-config"><img src="https://agentmods.dev/badge/skills/fabis94/universal-ai-config/update-ai-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 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.00030 $0.01201
Opus 5.5 $0.00012 $0.00480
Sonnet 5.5 $0.00006 $0.00240
Haiku 4.5 $0.00003 $0.00120

Measured yesterday against content hash 82dfd24e893b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-ai-config 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 yesterday.

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.

.universal-ai-config/skills/update-ai-config/SKILL.md · 73 lines

How it starts

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

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/, .codex/, AGENTS.md files, .agents/, .mcp.json) 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. It links to detailed reference docs (full field tables, per-target event and tool names) — read those only when you need the exact detail.

2. Determine the Template Type

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

  • Persistent context, rules, or guidelines → Instruction template
  • Repeatable task, workflow, or slash command → Skill template
  • Specialized AI persona with restricted tools → Agent template
  • Automatic lifecycle automation (on events) → Hook template
  • MCP server configuration → MCP template
  • Long reference material only needed occasionally → a supporting file next to a skill's SKILL.md, or a doc elsewhere in the repo linked by its path (see Long Reference Material in the template guide)

Examples:

  • "Add a rule about error handling" → Instruction
  • "Create a deploy workflow" → Skill
  • "Set up a code reviewer" → Agent
  • "Run linting after file edits" → Hook
  • "Add an MCP server for GitHub" → MCP

If the intent is ambiguous, ask the user to clarify before proceeding.

3. Delegate

Read the detailed guide for the chosen template type and follow its instructions:

  • Instructions → <%= skillPath('update-instruction') %>
  • Skills → <%= skillPath('update-skill') %>
  • Agents → <%= skillPath('update-agent') %>
  • Hooks → <%= skillPath('update-hook') %>
  • MCP → <%= skillPath('update-mcp') %>

Read the full file on GitHub · 73 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. yesterday Changed 82dfd24e893b
  2. 2d ago Changed · +1 lines a7fef9865cfa
  3. 2mo ago First seen · 72 lines · 30 tokens per session scan A 3296fbac95fa

Subscribe to this mod's changes

update-ai-config is a skill published in the GitHub repository fabis94/universal-ai-config (14 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 1,201 once invoked, about $0.0001 per session on Opus 5.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

update-ai-config compared with skills from other repositories

update-ai-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-ai-configfabis94/universal-ai-configSkill142d agoMITA30Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex