ai-coding-agents-settings-policy

ai-coding-agents-settings-policy is a skill for Claude Code, Codex from vasilyu1983/AI-Agents-public. It costs 37 tokens per session (4,953 once invoked), scanned B, original, MIT.

A design guide for settings and policy layers in coding-agent systems. It covers how defaults, managed rules, user and project settings, environment variables, and command-line options are combined and checked.

In plain words
What is it for?
Use it to design or review configuration precedence, policy enforcement, settings validation, safe environment handling, runtime updates, and audit records.
Why use it?
It helps prevent conflicting settings, unsafe environment values, unknown options, and unclear precedence. It also defines how approved settings reach tools, permissions, plugins, and the user interface.

Skill for Claude CodeCodex

Written for Claude Code and Codex: PreToolUse hook event, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to design or review configuration precedence, policy enforcement, settings validation, safe environment handling, runtime updates, and audit records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy
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 vasilyu1983/AI-Agents-public --skill ai-coding-agents-settings-policy
Clone the repo
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public

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 ai-coding-agents-settings-policy

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy/github.svg)](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy)
Your own site
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy/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 ai-coding-agents-settings-policy

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-settings-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,953 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 162
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 165
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 236
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
How audits are shown
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.00037 $0.04953
Opus 5 $0.00018 $0.02476
Sonnet 5 $0.00007 $0.00991
Haiku 4.5 $0.00004 $0.00495

Measured 11d ago against content hash 0e21c5e225ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

ai-coding-agents-settings-policy scanned grade B with 1 finding 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 11d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

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

> ~/.claude/settings.json (user, lowest)
frameworks/shared-skills/skills/ai-coding-agents-settings-policy/SKILL.md · 298 lines

How it starts

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

AI Coding Agents Settings Policy

Use this skill to design or review the settings and policy layer of a coding-agent runtime: settings sources, precedence, managed policy, validation, safe environment handling, and runtime application of settings changes.

This skill owns configuration and policy architecture for coding-agent runtimes. For project memory in AGENTS.md or CLAUDE.md, use ../agents-memory/SKILL.md.

ASCII Flow

settings sources
  defaults + managed policy + user + project + local + flags + env
       |
       v
precedence merge
  deterministic order + source provenance + plugin-only restrictions
       |
       v
validation
  schema + forbidden keys + unsafe env + unknown options
       |
       v
runtime application
  provider policy + tools + permissions + plugins + UI + cache invalidation
       |
       v
audit record
  effective settings without secrets

Quick Reference

Question Read Outcome
How should settings sources and policy precedence work? references/settings-source-precedence-and-managed-policy.md Source model, merge order, managed policy, plugin-only restrictions
How should settings be validated and applied safely? references/settings-validation-and-safe-runtime-application.md Schema validation, invalid-rule handling, safe env controls, runtime re-application
What are the exact override examples for each settings layer? references/settings-precedence-table.md Full precedence table: managed > CLI flags > local > project > user, with concrete examples and cache invalidation
Which sources can enable plugin surfaces? references/plugin-only-restriction-recipes.md Trust-class recipes for locking, scoping, and logging plugin-surface activations
How is ToolSearch gated by settings policy? references/deferred-tool-policy-layer.md Settings keys, policy decision flow, and interaction with tool-pool assembly
How does OpenAI Codex separate config layers from managed requirements? references/openai-codex-managed-config-and-requirements.md Layer stack, requirements constraints, managed-hooks-only mode, debug surfaces

Read the full file on GitHub · 298 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. 11d ago First seen · 298 lines · 37 tokens per session scan B 0e21c5e225ae

Subscribe to this mod's changes

ai-coding-agents-settings-policy is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (87 stars, last pushed 9d ago), licensed MIT. It adds 37 tokens to every session and 4,953 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

microservices-patterns

Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.

wshobson/agents · 38 tokens

track-management

Use this skill when creating, managing, or working with Conductor tracks - the logical work units for features, bugs, and refactors. Applies to spec.md, plan.md, and track lifecycle operations.

wshobson/agents · 44 tokens

make-pr-easy-to-review

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

michael-denyer/pstack-claude · 57 tokens