acf-pro-complex-fields

acf-pro-complex-fields is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 111 tokens per session (1,737 once invoked), scanned A, original, MIT.

A guide to Advanced Custom Fields PRO's nested fields, including Repeater, Flexible Content, Gallery, and Clone fields. These fields let editors manage repeated rows, selectable layouts, image collections, or reused field definitions.

In plain words
What is it for?
Use it to build or review repeatable content, layout-based editors, galleries, cloned fields, nested updates, migrations, and frontend loops.
Why use it?
It prevents treating nested data as one simple value, using the wrong storage keys, or causing slow and unsafe rendering of large field sets.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to build or review repeatable content, layout-based editors, galleries, cloned fields, nested updates, migrations, and frontend loops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/acf-pro-complex-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 Lonsdale201/wp-agent-skills --skill acf-pro-complex-fields
Clone the repo
git clone --depth 1 https://github.com/Lonsdale201/wp-agent-skills

Made for: Codex.

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 acf-pro-complex-fields

README.md
[![agentmods](https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/acf-pro-complex-fields/github.svg)](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/acf-pro-complex-fields)
Your own site
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/acf-pro-complex-fields"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/acf-pro-complex-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 acf-pro-complex-fields

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/acf-pro-complex-fields"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/acf-pro-complex-fields.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,737 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.
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.00111 $0.01737
Opus 5.5 $0.00044 $0.00695
Sonnet 5.5 $0.00022 $0.00347
Haiku 4.5 $0.00011 $0.00174

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

Security

Grade A, and why

acf-pro-complex-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 28d 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.

acf/acf-pro-complex-fields/SKILL.md · 202 lines

How it starts

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

ACF PRO complex fields

This skill requires ACF PRO. Repeater, Flexible Content, Gallery, and Clone are not Free fields. The similarly nested Group field is available in Free and PRO and is mentioned only where its storage shape helps comparison.

Know the raw contract

Field Parent raw value Child/raw storage
Repeater row count, or empty string field_name_0_sub_name, field_name_1_sub_name, plus reference rows
Flexible Content ordered serialized array of layout names field_name_0_sub_name rows plus layout metadata
Gallery serialized attachment-ID array no per-image ACF child rows
Clone no independent content model of its own selected fields save through their cloned definitions; optional name prefixing changes the resulting field names
Group (Free) wrapper value plus flattened children group_name_sub_name rows plus references

Formatted reads rebuild nested arrays from these rows. Do not treat a Repeater or Flexible Content value as one serialized blob and do not rename a parent or subfield without migrating the flattened meta keys.

Programmatic writes

Use the parent field key and subfield keys for imports. This removes ambiguity and lets ACF update reference rows and delete rows that no longer exist.

update_field(
    'field_acme_team_members',
    array(
        array(
            'field_acme_member_name' => 'Ada',
            'field_acme_member_role' => 'Engineer',
        ),
        array(
            'field_acme_member_name' => 'Lin',
            'field_acme_member_role' => 'Designer',
        ),
    ),
    $post_id
);

Flexible Content rows also require acf_fc_layout:

update_field(
    'field_acme_sections',
    array(
        array(
            'acf_fc_layout'          => 'hero',
            'field_acme_hero_title'  => 'Build clearly',
            'field_acme_hero_image'  => $attachment_id,
        ),
        array(
            'acf_fc_layout'         => 'quote',
            'field_acme_quote_text' => 'Structure is part of the API.',
        ),
    ),
    $post_id
);

Read the full file on GitHub · 202 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago First seen · 202 lines · 111 tokens per session scan A 8e63ae1f1079

Subscribe to this mod's changes

acf-pro-complex-fields is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (24 stars, last pushed 4d ago), licensed MIT. It adds 111 tokens to every session and 1,737 once invoked, about $0.0004 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-27.

Related

Other skills, from other repositories

wp-plugin-performance

Performance guidelines for WordPress plugin development: database optimization, object caching, conditional asset loading, efficient hooks, HTTP requests, WP-Cron, AJAX/REST optimization, and common anti-patterns. Based on official WordPress Developer Resources and WP VIP documentation.

fernandotellado/ai-skills · 55 tokens

bigquery-udfs

Creates, deploys, and troubleshoots BigQuery User-Defined Functions (UDFs) and Remote Functions across SQL, JavaScript, Python, and Cloud Run endpoints. Use when writing custom scalar or aggregate functions in BigQuery, installing PyPI packages or Cloud Storage libraries in a Python or JavaScript UDF, or calling…

google/skills · 132 tokens

supabase

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies…

supabase/agent-skills · 185 tokens

k2

Build and troubleshoot Cloudflare K2 or K2 Streams durable logs. Use for stream setup, producing from Workers or HTTP, configuring retention and inputs, and consuming through subscriptions.

cloudflare/skills · 38 tokens

kotlin-backend-jpa-entity-mapping

Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API) entities, diagnosing…

Kotlin/kotlin-agent-skills · 104 tokens

yida-data-management

A tool for querying, adding, and updating Yida form records, child tables, process records, and task-center data. It keeps ordinary forms and approval workflows on their separate data interfaces.

openyida/openyida · 89 tokens