acf-pro-options-pages

acf-pro-options-pages is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 104 tokens per session (1,527 once invoked), scanned A, original, MIT.

A guide to Advanced Custom Fields PRO options pages, which add WordPress admin screens for site-wide settings. Their values are stored in WordPress's general options table rather than in a separate table for each page.

In plain words
What is it for?
Use it to create or review global settings pages, choose storage targets, control access, and migrate existing option values.
Why use it?
It prevents incorrect permissions, field-name collisions, costly automatic loading, and mismatches between the admin page and the stored settings.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create or review global settings pages, choose storage targets, control access, and migrate existing option values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/acf-pro-options-pages
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-options-pages
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-options-pages

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/acf-pro-options-pages"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/acf-pro-options-pages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,527 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.00104 $0.01527
Opus 5.5 $0.00042 $0.00611
Sonnet 5.5 $0.00021 $0.00305
Haiku 4.5 $0.00010 $0.00153

Measured 28d ago against content hash 412c063c7064, 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-options-pages 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-options-pages/SKILL.md · 162 lines

How it starts

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

ACF PRO options pages

Options Pages are an ACF PRO feature. They provide an admin screen and field location; their values live in wp_options, not in a special ACF table. Default options pages share the same options storage target, so page separation in the menu does not isolate duplicate field names.

Register a page with explicit policy

add_action( 'acf/init', static function (): void {
    if ( ! function_exists( 'acf_add_options_page' ) ) {
        return;
    }

    acf_add_options_page( array(
        'page_title'    => __( 'Brand settings', 'acme-brand' ),
        'menu_title'    => __( 'Brand settings', 'acme-brand' ),
        'menu_slug'     => 'acme-brand-settings',
        'capability'    => 'manage_options',
        'redirect'      => false,
        'post_id'       => 'option_acme_brand',
        'autoload'      => false,
        'update_button' => __( 'Save brand settings', 'acme-brand' ),
    ) );
} );

Then attach a field group with an Options Page location rule whose value matches the menu slug. Keep registration and field definitions in the same owning plugin so the page cannot exist without its schema.

edit_posts is the ACF default capability. That is often too broad for global configuration. Choose a capability from the feature's authorization model and recheck it on any custom save, REST, AJAX, or CLI path.

Understand option names

With the default post_id of options, a field named support_phone produces:

options_support_phone   = <raw value>
_options_support_phone  = field_acme_support_phone

With post_id => 'option_acme_brand', the same field produces:

option_acme_brand_support_phone   = <raw value>
_option_acme_brand_support_phone  = field_acme_support_phone

The underscore option is ACF's field-key reference. Keep it aligned with the value option. Do not call get_option( 'support_phone' ) and assume it is the ACF value; use get_field() with the same storage target or intentionally address the fully prefixed raw option.

Read the full file on GitHub · 162 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 · 162 lines · 104 tokens per session scan A 412c063c7064

Subscribe to this mod's changes

acf-pro-options-pages is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (24 stars, last pushed 4d ago), licensed MIT. It adds 104 tokens to every session and 1,527 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