agentleFS
product-on-purposeproduct-on-purpose/agent-skills-toolkit/skills/askit-build-settings/SKILL.md

askit-build-settings

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Creates and improves a plugin's settings and permissions per target and recommends least-privilege allowlists. Use when authoring settings, scoping permissions, wiring environment variables, or registering hooks in settings.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When authoring settings, scoping permissions, wiring environment variables, or registering hooks in settings.

    line 16
  2. Distinctive:

    Read what the plugin actually needs (which tools, which paths, which env, which hooks).

    line 19
  3. Distinctive:

    Read the current settings and the components.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

askit-build-settings

Purpose

Author and improve a plugin's settings and permissions, following the builder pattern (../../docs/reference/builder-pattern.md). create scaffolds the settings per target (Claude Code settings.json - permissions, env, hook registration; Codex config.toml for the subset it supports); improve tightens an existing one. It also folds in permission advice: recommend the least-privilege allowlist a plugin needs, never broader (Standard sec 9). Recipe and the permission rubric are in references/settings-recipe.md.

When to use

When authoring settings, scoping permissions, wiring environment variables, or registering hooks in settings.

create mode

  1. Read what the plugin actually needs (which tools, which paths, which env, which hooks).
  2. Scaffold the settings per target: Claude Code settings.json (a permissions allow/deny set, env, and hooks registration); Codex config.toml for the subset it supports.
  3. Apply least privilege: the allowlist grants only what a component uses; secrets go through env indirection, never committed (sec 9).

improve mode

  1. Read the current settings and the components; remove any granted permission no component uses, and tighten an over-broad matcher.

permission advice

  1. For a given component or plugin, recommend the minimal allowlist (the narrowest tool set and path scope it needs) and flag any over-grant. This is the permission-advisor role, folded in as a mode rather than a separate skill.

Scope

Settings are partly cross-agent: Claude Code settings.json is the rich surface; Codex config.toml supports a subset. Least privilege and secret hygiene are Universal security rules (sec 9). Hook authoring itself is askit-build-hook; this skill wires a hook's registration entry. Status line registration is askit-build-statusline.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.