add-config-param
Skill by netbox-community
Add-config-param is a step-by-step guide for adding a new static or dynamic configuration parameter to NetBox. It is for developers who need to add a setting to the NetBox codebase.
Install add-config-param
Built from the published package, never by AI.
git clone --depth 1 https://github.com/netbox-community/netbox /tmp/netbox && mkdir -p ~/.claude/skills && cp -r /tmp/netbox/.claude/skills/add-config-param ~/.claude/skills/add-config-paramRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/netbox-community/netbox /tmp/netbox && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/netbox/.claude/skills/add-config-param ~/.gemini/antigravity-cli/skills/add-config-paramAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a step-by-step guide for adding a new configuration parameter to NetBox. It explains two kinds of parameters. Static parameters are defined in settings.py, read from configuration.py, and take effect after a WSGI restart. Dynamic parameters are defined in config/parameters.py, stored in the ConfigRevision data field, cached in Redis, and editable in the admin UI.
The guide helps choose the right type before coding. For each type it lists the code changes, such as adding a ConfigParam entry or a getattr line in settings.py. It also covers documentation steps, registering the parameter in the docs index, and adding a commented example to the config file. It is intended for NetBox developers who want to add a configuration option, setting, or parameter.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose parameter typeHelps decide whether a new parameter should be static or dynamic before writing code.
- Add dynamic parameterExplains adding a ConfigParam entry to the PARAMS tuple in config/parameters.py.
- Add static parameterExplains adding a getattr line in settings.py, with optional validation and required checks.
- Document parameterGives templates for a parameter section in docs/configuration and a dynamic params index entry.
- Update example configExplains adding a commented entry to configuration_example.py.
What you need
- A NetBox source code checkout
Try asking
- Add a new dynamic config parameter called MY_PARAM to NetBox
- Should this NetBox setting be static or dynamic? Help me decide
- Add a static setting to NetBox settings.py with validation
Good to know
- Dynamic parameters are cached in Redis, and static parameters need a WSGI restart.
- Hard-coding a dynamic parameter in configuration.py overrides the UI value.
- Use ruff check only, not ruff format, on existing files.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/add-config-param/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to add-config-param
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
add-config-param: common questions
Does a new NetBox dynamic parameter need a database migration?
No. Dynamic parameters are stored in the existing ConfigRevision.data JSONField, so no migration is needed.
When does a static NetBox parameter take effect?
It is read at startup from configuration.py, so it takes effect only after the WSGI service is restarted.
What happens if a dynamic parameter is set in configuration.py?
The hard-coded value in Django settings is checked first, so it overrides the value set in the admin UI.
How do I install add-config-param?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-config-param free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is add-config-param safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-config-param?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
