agent-config

agent-config is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 179 tokens per session (8,441 once invoked), scanned F, original, Apache-2.0.

A configuration tool for coding agents. It manages which skills and instructions they receive, which local commands and folders they may use, and which external MCP servers are connected.

In plain words
What is it for?
Use it to install and track skills, set workspace or user-wide command permissions, configure MCP servers, inspect agent setup, and manage agent-reported defects.
Why use it?
It gives agent permissions and integrations a consistent, inspectable home instead of configuring each workspace by hand. It also records reported defects through an Andon workflow, an explicit mechanism for raising problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions Claude Code.

Good fit Use it to install and track skills, set workspace or user-wide command permissions, configure MCP servers, inspect agent setup, and manage agent-reported defects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/agent-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 ithinkihaveacat/dotfiles --skill agent-config
Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles

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 agent-config

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/agent-config"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/agent-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,441 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 5 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.00179 $0.08441
Opus 5.5 $0.00072 $0.03376
Sonnet 5.5 $0.00036 $0.01688
Haiku 4.5 $0.00018 $0.00844

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

Security

Grade F, and why

agent-config scanned grade F with 5 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 7d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (plugins/andon/claude/hooks/rule.ts, plugins/andon/claude/hooks/sensor.ts, plugins/andon/claude/types/index.d.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **`install`** runs each vendor's own installer (`curl URL | bash`, downloaded

Reads agent configuration directoriesmediumAgent snooping

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

`~/.gemini/config/skills` for every session of the user, leaving Claude's own

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

inspect all available skills in a single call. Output is NDJSON (one JSON

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

permission cmd add --deny "rm -rf" # block command outright

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`install`** runs each vendor's own installer (`curl URL | bash`, downloaded
skills/agent-config/SKILL.md · 665 lines

How it starts

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

Agent Config

This skill sets up and governs the coding agents that work in a workspace: what they see, what they may do, and what they are told. It consists of:

  1. skill: The skill manager. Installs baseline defaults as symlinks in the user scope (--scope user) and workspace/session skills as real directory copies stamped with metadata.source in SKILL.md frontmatter, adapting to each environment (Git, Perforce, session artifact directories, or unmanaged directories; more via plugins). It is fully deterministic and dependency-free: it also enumerates what is installable (skill catalog) and manages remote plugin caching, but never calls a model to decide what a workspace needs — see Choosing Skills (Workspace vs. Session).
  2. permission: The permission manager. Maintains allow/deny/ask rules for every detected local agent (workspace-local for Claude Code and Codex, user-wide for Antigravity), including pre-approving the safe commands declared by installed skills.
  3. mcp: The MCP server manager. Lists, adds, removes and checks the MCP servers each installed agent (Claude Code, Codex, OpenCode, Antigravity) is configured with, user-wide or for the workspace, through each agent's own CLI (or .agents/mcp_config.json for Antigravity's workspace scope), and reads the request logs of this repository's own MCP servers (mcp logs).
  4. andon: The Andon cord. Records and triages defects agents report in their own instructions, skills, rules and tools, through harness plugins for Claude Code, OpenCode and local Codex (plugins/andon).
  5. agent: The agent CLI manager. Lists and installs the agents (Claude Code, Codex, OpenCode, Antigravity) and browse, runs their own updaters, and checks where each is installed and for processes still running a version that an update replaced.

Read the full file on GitHub · 665 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago Changed · +6 lines · +2 tokens per session 1e83f9a7d741
  2. 9d ago Changed · +46 lines scan D → F d00eb80ea9b9
  3. 10d ago Changed · +2 lines 84b14b6b1245
  4. 13d ago Changed · -12 lines cceba81668c9
  5. 14d ago Changed · +9 lines fefdff0bb55e
  6. 15d ago Changed · +7 lines 9d8a154734cc
  7. 20d ago Changed · +16 lines b4efdf916422
  8. 28d ago Changed · +22 lines 7d70679cf85e
  9. 1mo ago Changed · +2 lines f21934592f72
  10. 1mo ago First seen · 567 lines · 177 tokens per session scan D e6433f29bd28

Subscribe to this mod's changes

agent-config is a skill published in the GitHub repository ithinkihaveacat/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 179 tokens to every session and 8,441 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it F with 5 findings (downloads and executes remote code, reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

agent-config compared with skills from other repositories

agent-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-configithinkihaveacat/dotfilesSkill46todayApache-2.0F179Claude Code, Codex
aish-add-skillsAI-Shell-Team/aishSkill5905d agoApache-2.0A32Claude Code, Codex
diagnose_system_lagAI-Shell-Team/aishSkill5905d agoApache-2.0A78Claude Code
remote-fleet-opsAI-Shell-Team/aishSkill5905d agoApache-2.0A88Claude Code
devops-platform-engineeringAI-Shell-Team/aishSkill5905d agoApache-2.0A47Claude Code, Codex
dns-diagnoseAI-Shell-Team/aishSkill5905d agoApache-2.0A66Claude Code
devops-docker-patternsAI-Shell-Team/aishSkill5905d agoApache-2.0A43Claude Code, Codex