Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-model-field

Skill by netbox-community

Gives step-by-step guidance for adding a new field to an existing NetBox model. It is for developers who need every touch point covered, from the model and migration to forms, filters, tables, search and GraphQL.

  • Score 89
  • 22k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-model-field

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-model-field ~/.claude/skills/add-model-field

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-model-field in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The add-model-field skill is a checklist for adding a new field to an existing NetBox model. It covers the model, migration, API serializer, forms, FilterSet, table, detail view panel, search index, GraphQL, and tests. The source says to work through the sections in order, because each section builds on the previous one.

Before making changes, the skill asks about the field type, whether it is nullable, and where it should appear, such as search results, filters, list views, or detail views. It tells the assistant not to write migrations by hand and to have the user run makemigrations instead. It is aimed at developers working on NetBox who ask an assistant to add a field or attribute to an existing model.

Written from the project's SKILL.md and checked against it.

What it can do

  • Model field setupShows how to add a field to a model class, including ForeignKey, GenericForeignKey, clone_fields and clean() validation.
  • Migration stepTells the user to run makemigrations rather than writing migration files manually.
  • Serializer updateExplains how to add a simple or nested foreign key field to the API serializer.
  • Form updatesCovers the model form, bulk edit form, bulk import form and filter form.
  • FilterSet and searchCovers adding name and _id filters for foreign keys and including fields in the search() method.
  • Table and detail panelShows which table column types to use and which attribute classes to declare in the detail view panel.
  • Search index and GraphQLExplains how to add a field to a SearchIndex with a weight and update GraphQL filters and types.

What you need

  • A NetBox codebase with manage.py
  • Python to run makemigrations and migrate

Try asking

  • Walk me through adding a new CharField to an existing NetBox model
  • Which files do I change to make a new NetBox model field searchable?
  • Add a foreign key field to a NetBox model, including the API and filters

Good to know

  • Describes steps only; the user runs the migration and test commands
  • Source is a checklist for NetBox models, not for other frameworks
  • If makemigrations is blocked, the source says to set DEVELOPER = True in configuration.py

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/add-model-field/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB

Alternatives to add-model-field

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

add-model-field: common questions

Can this skill write the migration for a new NetBox field?

The source says not to write migrations manually. It tells the user to run makemigrations for the app and then migrate for foreign key fields.

Which parts of NetBox does adding a field touch?

The checklist covers the model, migration, API serializer, forms, FilterSet, table, detail view panel, search index, GraphQL, and tests.

Should a new field be nullable?

The source says most new fields should use blank=True and null=True unless there is a strong reason otherwise.

How do I install add-model-field?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-model-field free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is add-model-field safe to use?

It scores 89 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-model-field?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

add-model-field Install

Add to stack

Loading.