Specialist skill for the WordPress Meta Box plugin. Use when implementing custom fields, meta boxes, or custom post types via code or the UI builder, or when looking up the Meta Box API (field settings, actions, filters, and functions).
Ships in wordpress-meta-box. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Official documentation: https://docs.metabox.io/
Meta Box is a plugin for creating and managing custom fields and meta boxes in WordPress. It supports both code-based configuration and a GUI builder (MB Builder).
| Concept | Description |
|---|---|
| Meta Box | A group of custom fields inserted into the WordPress editor screen |
| Field | An individual input control such as text, image, or date |
| Field Group | A container that groups multiple fields (synonymous with meta box) |
| MB Builder | A GUI tool for creating field groups without writing code |
| MB Views | An extension for rendering fields using Twig templates |
add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
$meta_boxes[] = [
'title' => 'Event Details',
'id' => 'event-details',
'post_types' => ['event'],
'fields' => [
[
'name' => 'Start Date',
'id' => 'start_date',
'type' => 'date',
],
[
'name' => 'Location',
'id' => 'location',
'type' => 'text',
],
],
];
return $meta_boxes;
} );
// Single value
$value = rwmb_meta( 'field_id' );
// Formatted HTML output
rwmb_the_value( 'field_id' );
// Specify a particular post
$value = rwmb_meta( 'field_id', [], $post_id );
| Type | Purpose |
|---|---|
text, textarea | Text input |
number, range | Numeric input |
email, url, password | Text with format validation |
date, datetime, time | Date and time pickers |
select, radio, checkbox | Selection inputs |
select_advanced | Advanced Select2-based selector |
image, file, video, audio | Media uploads |
image_advanced | Multiple image upload |
wysiwyg | TinyMCE editor |
oembed | Media embed URL |
color | Color picker |
map, osm | Map fields |
post, taxonomy, user | WordPress object relationships |
group | Nested field group |
The references/ folder in this skill directory contains the full official documentation as markdown files. When checking the API, field options, or actions/filters/functions, do not open external URLs — Read the local files for accurate information.
references/
├── index.md # Home (full overview)
├── installation.md # Installation and requirements
├── custom-fields.md # Custom fields overview
├── custom-post-types.md # Custom post types
├── creating-fields-with-code.md # Creating fields in code
├── displaying-fields-with-code.md # Displaying fields in code
├── cloning-fields.md # Field cloning (repeatable fields)
├── database.md # Data storage
├── edit-meta-boxes.md # Editing meta boxes
├── abilities.md # WordPress Abilities API integration
├── block-bindings.md # Block bindings (field values in core blocks)
├── extensions/ # Extension plugins
│ └── *.md
├── integrations/ # Third-party integrations (index.md overview, Polylang, WPML)
│ └── *.md
├── field-settings.md # Settings common to all field types
├── fields/ # Detailed guide per field type
│ └── *.md
├── actions/ # Action hook reference
│ └── rwmb-*.md
├── filters/ # Filter hook reference
│ └── rwmb-*.md
└── functions/ # Function reference
└── *.md
| Topic | File Path |
|---|---|
| Installation | references/installation.md |
| Full field type list | references/fields/index.md |
| Common field settings | references/field-settings.md |
| Image field | references/fields/image-advanced.md |
| Date field | references/fields/date.md |
| Group field | references/extensions/meta-box-group.md |
| Post relationship field | references/fields/post.md |
| rwmb_meta() function | references/functions/rwmb-meta.md |
| rwmb_the_value() function | references/functions/rwmb-the-value.md |
| After-save action | references/actions/rwmb-after-save-post.md |
To find documentation, Read the paths above directly or search with find /home/user/skills/skills/wordpress-meta-box/references -name "*.md" | grep <keyword>.
NOTICE.md (opens in a new tab)references/abilities.md (opens in a new tab)references/actions/rwmb-after-save-field.md (opens in a new tab)references/actions/rwmb-after-save-post.md (opens in a new tab)references/actions/rwmb-after.md (opens in a new tab)references/actions/rwmb-before-save-post.md (opens in a new tab)references/actions/rwmb-before.md (opens in a new tab)references/actions/rwmb-enqueue-scripts.md (opens in a new tab)references/block-bindings.md (opens in a new tab)references/bundling.md (opens in a new tab)references/cloning-fields.md (opens in a new tab)references/composer.md (opens in a new tab)references/creating-fields-with-code.md (opens in a new tab)references/creating-new-field-types.md (opens in a new tab)references/custom-attributes.md (opens in a new tab)references/custom-fields.md (opens in a new tab)references/custom-post-types.md (opens in a new tab)references/custom-select-checkbox-tree.md (opens in a new tab)references/database.md (opens in a new tab)references/displaying-fields-with-code.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/wordpress-meta-box:wordpress-meta-boxfrom wordpress-meta-box
npx claudepluginhub rishubil/skills --plugin wordpress-meta-box