adding-config-fields

adding-config-fields is a skill for Claude Code from dork-labs/dorkos. It costs 61 tokens per session (6,854 once invoked), scanned A, original, MIT.

A development guide for changing fields in DorkOS user configuration. It covers the schema, default values, migration of existing settings, documentation, tests, and command-line flags.

In plain words
What is it for?
Use it when adding, renaming, removing, or changing the type of a stored setting.
Why use it?
It helps prevent a configuration change from being applied in only some places, leaving existing users or documentation out of sync.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Part of the flow plugin — 41 skills, 44 commands, 5 agents, 4 hooks shipped together

Good fit Use it when adding, renaming, removing, or changing the type of a stored setting.

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

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 41 skills, 44 commands, 5 agents, 4 hooks.

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 adding-config-fields

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dork-labs/dorkos/adding-config-fields"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/adding-config-fields.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,854 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. 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 Privilege Escalation · line 206
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Excessive Agency · line 218
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Rogue Agent · line 290
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00061 $0.06854
Opus 5.5 $0.00024 $0.02742
Sonnet 5.5 $0.00012 $0.01371
Haiku 4.5 $0.00006 $0.00685

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

Security

Grade A, and why

adding-config-fields 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 3d 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.

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.

.claude/skills/adding-config-fields/SKILL.md · 381 lines

How it starts

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

Adding Config Fields in DorkOS

Overview

This skill guides the full lifecycle of changing ~/.dork/config.json (or, post-refactor, ~/.dork/marketplaces.json) schema: Zod field → import-time defaults → conf migration → docs update → tests → CLI flag wiring if applicable. Use it whenever you touch UserConfigSchema so you don't ship a partial change.

DorkOS uses the conf library (v15.1.0) for persistent user configuration, wrapped at apps/server/src/services/core/config-manager.ts. Zod is the authoritative schema and is bridged to conf's Ajv validation via z.toJSONSchema(UserConfigSchema). You do not hand-write JSON Schema; you edit Zod and let the bridge regenerate it.

When to use

  • You're about to edit packages/shared/src/config-schema.ts (adding, renaming, removing, or retyping a field in UserConfigSchema).
  • You're about to edit the CONFIG_MIGRATIONS table or a migration helper in apps/server/src/services/core/config-migrations/, or projectVersion in apps/server/src/services/core/config-manager.ts.
  • (Future) You're about to edit MarketplacesFileSchema once apps/server/src/services/marketplace/sources/marketplace-source-manager.ts is refactored onto conf.
  • A user asks "how do I add a setting to DorkOS?" or "how do config migrations work here?"
  • /system:release Phase 2 flags a config schema drift and you need to write the migration.

Key concepts

The authoritative files

File Role
packages/shared/src/config-schema.ts Authoritative. Zod schema + defaults constant. Change this first.
apps/server/src/services/core/config-manager.ts The conf wrapper. Holds projectVersion and hands CONFIG_MIGRATIONS to conf.
apps/server/src/services/core/config-migrations/ The CONFIG_MIGRATIONS table (index.ts) and the helpers its keys call, grouped by version range. Change this second.
contributing/configuration.md User-facing settings reference. Update the table + narrative.
docs/getting-started/configuration.mdx External Fumadocs mirror of the same reference. Keep in sync.
apps/server/src/services/core/__tests__/config-manager.test.ts Migration + upgrade-path tests.
packages/cli/src/cli.ts CLI flag wiring (only if the field needs a flag).

Read the full file on GitHub · 381 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. 3d ago Changed · +2 lines bcb1c5fe83c4
  2. 19d ago Changed 297ab5fb3f21
  3. 1mo ago Changed · +2 lines cf26e91c464c
  4. 1mo ago First seen · 377 lines · 61 tokens per session scan A a6ecb9ca0477

Subscribe to this mod's changes

adding-config-fields is a skill published in the GitHub repository dork-labs/dorkos (12 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 6,854 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

returns-policy

Answer return, refund, and warranty questions for electronics. Use when the user mentions returns, refunds, RMAs, warranty coverage, damaged items, or opened packaging.

strands-agents/samples · 36 tokens

technical-troubleshooting

Provide setup, troubleshooting, and maintenance guidance. Use when the user reports a device that won't power on, connectivity issues, setup questions, overheating, or maintenance concerns.

strands-agents/samples · 38 tokens

Vizra ADK Evaluation Framework

Test and evaluate AI agents with automated evaluations, assertions, and LLM-as-a-Judge patterns.

vizra-ai/vizra-adk · 26 tokens