
Agent Configuration
- 17 installs
- 3 repo stars
- Updated July 2, 2026
- akillness/oh-my-gods
agent-configuration is a skill that decides where AI coding-agent configuration should live (instruction files, settings, hooks, skills, plugins, MCP) and how to keep it safe and reusable.
About
This skill helps configure how AI coding agents are instructed, constrained, and shared across a project. It covers instruction files (AGENTS.md, CLAUDE.md), permission and hook guardrails, skills, plugins, and MCP setup, plus team-shared vs local-only boundaries. A developer uses it when deciding where configuration should live or how to make agent settings safe and reusable.
- Decides where agent config belongs: AGENTS.md, CLAUDE.md, settings, hooks, skills, plugins, or MCP
- Least-privilege guardrails over blanket auto-approval
- Separates repo-shared team defaults from local-only settings and secrets
Agent Configuration by the numbers
- 17 all-time installs (skills.sh)
- Ranked #10,886 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Jul 7, 2026 (Skillselion catalog sync)
agent-configuration capabilities & compatibility
- Capabilities
- agent workflow · skill development
What agent-configuration says it does
Configure how AI coding agents are instructed, constrained, and shared across
default to narrow allowlists over broad wildcard approval
npx skills add https://github.com/akillness/oh-my-gods --skill agent-configurationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 17 |
|---|---|
| repo stars | ★ 3 |
| Last updated | July 2, 2026 |
| Repository | akillness/oh-my-gods ↗ |
What it does
Set up agent instruction files, permission guardrails, and reusable capability packaging for a repo or team.
Who is it for?
Setting up agent configuration and guardrails for a new repo or team
Skip if: Day-to-day execution flow, runtime verification, or general MCP usage questions
When should I use this skill?
Deciding where repo guidance belongs (AGENTS.md vs skill vs local settings) or tightening permissions and hooks
By the numbers
- 4 configuration lanes (instruction-scope, guardrails, capability-packaging, team-sharing)
- 5-step instruction workflow
Files
AI Agent Configuration
When to use this skill
- Set up agent configuration for a new repo or team
- Decide whether guidance belongs in
AGENTS.md,CLAUDE.md, settings, hooks,
skills, plugins, or MCP
- Tighten permission and safety guardrails without over-approving commands
- Share reusable agent defaults across a team without creating prompt sprawl
Prefer a narrower sibling skill when the main job is more specific:
agent-workflowfor day-to-day execution loops, handoffs, and runtime flowskill-standardizationfor auditing or rewriting a specificSKILL.mdsecurity-best-practicesfor broader application hardening beyond agent
configuration
Instructions
Step 1: Classify the configuration job before changing files
Sort the request into one or two lanes:
- instruction-scope: always-on project rules, repo context, coding standards
- guardrails: permissions, hooks, approvals, dangerous-command blocking
- capability-packaging: skills, plugins, extensions, MCP, custom commands
- team-sharing: defaults, checked-in config, local override boundaries
Do not jump straight to file creation. First decide what must always be loaded, what should stay on demand, and what must remain local to one machine.
Step 2: Choose the smallest correct configuration surface
Use these defaults unless the environment proves otherwise:
- always-on repo instructions belong in project instruction files such as
AGENTS.md, CLAUDE.md, or equivalent repo guidance
- reusable task-specific guidance belongs in skills
- external integrations belong in plugins, extensions, or MCP configuration
- safety controls belong in settings, permission rules, and hooks
- personal preferences stay local unless the team explicitly wants them shared
Keep the main project instructions concise. Move detailed procedures and platform-specific examples into references/.
Step 3: Configure guardrails with least privilege
When the request touches approvals, hooks, or permissions:
- default to narrow allowlists over broad wildcard approval
- block destructive commands explicitly
- separate safe automation from risky human-review steps
- document where host-only or secret-bearing settings must stay out of the repo
Avoid recommending blanket auto-approval, unrestricted host execution, or unknown MCP endpoints as defaults.
Step 4: Package reusable capability cleanly
When the request is about extending what the agent can do:
- use skills for reusable instructions and decision procedures
- use plugins, extensions, or MCP when external tools or services are required
- keep overlap explicit so users know when to route to a sibling skill instead
- add references or evals when the configuration surface is likely to be reused
or reviewed
Do not create a new package surface when a smaller edit to existing project guidance would solve the problem.
Step 5: Verify the resulting configuration
Before claiming the configuration is good:
- check that the chosen surface matches the actual need
- confirm the scope is correct: global, project, repo, or user-local
- review for over-broad permissions, duplicated instructions, or secret risk
- run validation or linting where the repo provides it
If the output is a team-shared configuration, leave an explicit note about what is intentionally shared and what must remain local.
Examples
Example 1: Decide where instructions belong
Input:
Should this repo guidance live in AGENTS.md, a skill, or local settings?Expected shape:
- distinguishes always-on rules from on-demand guidance
- keeps repo-specific policy in project instruction files
- avoids turning every repeated note into a new skill
Example 2: Tighten safety settings
Input:
I want the agent to run tests automatically but never approve dangerous shell
commands. How should I configure that?Expected shape:
- uses least-privilege approval guidance
- separates safe test automation from risky commands
- recommends explicit deny or warning patterns for destructive actions
Example 3: Choose between skills and integrations
Input:
We need reusable prompts, browser access, and external service connections
across the team. Should this be a skill, plugin, or MCP setup?Expected shape:
- routes reusable guidance to skills
- routes external integrations to plugins, extensions, or MCP
- keeps the answer scoped to what must be shared vs what stays local
Example 4: Share team defaults safely
Input:
How should we share our agent configuration in the repo without leaking local
machine preferences or secrets?Expected shape:
- defines repo-shared vs local-only boundaries
- recommends checking in only the stable team defaults
- calls out secrets and user-specific overrides as local
Best practices
1. Start with scope: global, user-local, project, or repo-shared 2. Keep always-on instructions short and move details behind references 3. Prefer narrow approval patterns over broad wildcard trust 4. Use skills for reusable guidance and integrations only when a tool surface is actually required 5. Avoid duplicating the same rule across project files, skills, and settings 6. Add evals before considering an optimization loop for a newly packaged skill
References
references/instruction-files-and-scope.mdreferences/guardrails-and-permissions.mdreferences/skills-plugins-and-team-sharing.md- Agent Skills specification
- Agent Skills best practices
- Claude Code subagents
- Gemini CLI extensions
- OpenAI Codex
{
"skill_name": "agent-configuration",
"evals": [
{
"id": 1,
"prompt": "Should this repo guidance live in AGENTS.md, a reusable skill, or local settings?",
"expected_output": "Distinguishes always-on repo rules from on-demand reusable guidance and user-local preferences before recommending a surface.",
"assertions": [
"Response distinguishes always-on project instructions from on-demand skill guidance",
"Response identifies local settings as the right home for user-specific preferences or machine-specific values",
"Response avoids recommending a new skill as the default for every repeated note"
]
},
{
"id": 2,
"prompt": "I want the agent to run tests automatically but never approve dangerous shell commands. How should I configure that?",
"expected_output": "Uses least-privilege approval guidance, separates safe test automation from risky commands, and recommends explicit blocks or warnings for destructive patterns.",
"assertions": [
"Response recommends narrow allowlists or scoped approvals rather than blanket trust",
"Response explicitly calls out destructive or high-risk commands as deny or human-review paths",
"Response keeps safe test automation separate from risky command approval"
]
},
{
"id": 3,
"prompt": "We need reusable prompts, browser access, and a database tool connection across the team. Should this be a skill, plugin, extension, or MCP setup?",
"expected_output": "Routes reusable guidance to skills and external integrations to plugin, extension, or MCP surfaces without collapsing them into one package type.",
"assertions": [
"Response routes reusable instruction or routing logic to a skill-like surface",
"Response routes external service or tool connectivity to plugin, extension, or MCP",
"Response avoids treating every capability as a single monolithic configuration file"
]
},
{
"id": 4,
"prompt": "How should we share our AI agent configuration in the repo without leaking local machine preferences or secrets?",
"expected_output": "Defines repo-shared versus local-only boundaries and keeps secrets or machine-specific values out of team-shared configuration.",
"assertions": [
"Response identifies a repo-shared boundary for stable team defaults",
"Response explicitly keeps secrets, tokens, or machine-specific values local",
"Response includes a verification step or review check for accidental secret or local-path leakage"
]
},
{
"id": 5,
"prompt": "My configuration docs are sprawling across README notes, local settings, and random prompt files. What cleanup direction should I take first?",
"expected_output": "Starts by classifying scope and de-duplicating surfaces, then recommends a smaller shared configuration layout rather than more files.",
"assertions": [
"Response starts by classifying what must be always-on, on-demand, or local",
"Response recommends de-duplicating overlapping guidance across multiple surfaces",
"Response avoids widening the cleanup into unnecessary new package surfaces"
]
},
{
"id": 6,
"prompt": "We keep bouncing between AGENTS.md edits, MCP server config, and daily agent routines. Which part is configuration and which part is workflow?",
"expected_output": "Separates shared configuration boundaries from day-to-day operating workflow and avoids treating general MCP usage as a pure configuration question.",
"assertions": [
"Response identifies project instruction files, permissions, or integration setup as the configuration lane",
"Response identifies daily operating loops, runtime checks, or routine MCP usage as workflow rather than configuration",
"Response explicitly routes the workflow side to a sibling operating-loop surface instead of collapsing both jobs into one answer"
]
}
]
}
Guardrails And Permissions
Treat safety configuration as a least-privilege exercise, not a convenience shortcut.
Default posture
- Allow common read, test, and lint flows narrowly
- Warn or block destructive commands explicitly
- Keep secrets and host-level privileges outside repo-shared defaults
- Review wildcard approvals carefully before recommending them
High-risk patterns
Do not recommend these as normal defaults:
- unrestricted host execution
- blanket
sudoapproval - destructive deletion patterns such as
rm -rf / - piped remote execution such as
curl ... | sh - trusting unknown MCP servers by default
Safer approval patterns
- approve bounded read-only commands
- approve test or lint commands with narrow command shapes
- require a human checkpoint for publish, deploy, secret, or destructive flows
- keep secret-bearing config local rather than checked into the repo
Verification checklist
- Does the approval pattern match the exact command family?
- Is the risky path denied or clearly escalated?
- Would a teammate inherit unsafe defaults by pulling the repo?
- Are there any secrets, personal paths, or host-only assumptions in the file?
Instruction Files And Scope
Use the smallest surface that matches how often the guidance must load.
Scope defaults
- Always-on repo rules:
AGENTS.md,CLAUDE.md, or the platform's
project-level instruction file
- Reusable task guidance: skill package
- User-local preferences: local settings, aliases, editor choice, local paths
- External capability setup: plugin, extension, MCP, or custom command config
Scope questions
Answer these before writing config:
1. Must this be loaded on every task? 2. Is it repo-specific or user-specific? 3. Does it require a tool or service connection? 4. Would duplicating it across surfaces create drift?
Practical rules
- Put coding standards, repo layout, and safety warnings in the project
instruction file.
- Put step-by-step reusable procedures in skills.
- Keep personal shell aliases, editor preferences, and machine-specific paths
out of team-shared repo files unless the team explicitly standardizes them.
- If the same detail makes the project instruction file too long, move the
detail into references/ and keep only the routing sentence in SKILL.md.
Cross-platform mapping
Normalize configuration choices into:
settings: model choice, permissions, local defaults, tool accessrules: always-on repo instructions, safety policy, routing boundarieshooks: pre/post action automation, notifications, policy checks
This mapping keeps the skill portable across Claude, Codex, Gemini, and other agent clients even when exact filenames differ.
Skills Plugins And Team Sharing
Use the packaging surface that matches the job.
Surface selection
- Skill: reusable guidance, routing logic, decision procedures
- Plugin or extension: packaged capabilities, commands, or agent definitions
- MCP: live connection to an external tool or service
- Project instruction file: repo-wide rules that should always be active
When not to create a new surface
- Do not create a new skill when one repo-specific rule in
AGENTS.mdis
enough.
- Do not add an MCP server when the task is purely local and the shell already
solves it.
- Do not check in personal-only setup that the team cannot use safely.
Team-sharing boundaries
Safe to share:
- stable repo rules
- documented team defaults
- packaged skills that do not embed secrets
- reproducible plugin or MCP setup instructions
Keep local:
- secrets, tokens, credentials, local paths
- machine-specific editor settings
- private integrations not meant for the team
Why this matters
Recent agent tooling keeps pushing configuration into reusable packaged surfaces: skills, subagents, extensions, and tool-server integrations. That raises the value of explicit routing so a team does not accumulate the same instruction in three places with different scopes.
N:agent-configuration
D:Configure how AI coding agents are instructed, constrained, and shared across a project: instruction files, settings scope, hooks, permissions, skills, plugins, tool-server setup, and team defaults. Use when choosing where configuration should live or how to make it safe and reusable. Not for daily agent workflow or runtime-verification questions.
G:agent-configuration hooks permissions skills plugins shared-config team-settings instruction-files
U[6]:
Set up agent configuration for a new repo or team
Decide whether guidance belongs in AGENTS.md, CLAUDE.md, settings, hooks, or skills
Configure hooks and permission guardrails with least privilege
Choose between skills, plugins, extensions, and MCP
Share team defaults without leaking secrets or local preferences
Keep always-on instructions concise and move detail into references
Route daily workflow or runtime-verification questions to agent-workflow or playwriter
R[3]:
references/instruction-files-and-scope.md
references/guardrails-and-permissions.md
references/skills-plugins-and-team-sharing.md
Related skills
FAQ
Where should always-on repo instructions live?
In project instruction files such as AGENTS.md, CLAUDE.md, or equivalent repo guidance, kept concise with details moved to references/.
How should agent permissions be configured?
Default to narrow allowlists over broad wildcard approval, block destructive commands explicitly, and separate safe automation from risky human-review steps.