boost: Skill for Claude Code

.ai/pennant/skill/pennant-development/SKILL.md

pennant-development is a skill for Claude Code, Codex from laravel/boost. It costs 124 tokens per session (390 once invoked), scanned A, original, MIT.

A guide for Laravel Pennant, the official Laravel package for feature flags. Feature flags let an application turn features on or off, sometimes for selected users.

In plain words
What is it for?
Use it when adding or reviewing Laravel feature flags, including user-specific flags, class-based features, and Blade templates that show different content by flag state.
Why use it?
It provides documented patterns and checks for defining, scoping, activating, and testing Pennant flags, reducing common setup mistakes.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

This is laravel/boost's own configuration. It tells Claude Code and Codex how to work on boost itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything boost configures →

About the project

Laravel Boost is an MCP server that supplies AI coding assistants with Laravel-specific project context and structure. It is intended to support AI-assisted local Laravel development, and the catalogue entries provide skills for that workflow.

laravel/boost · 3,672 stars · on GitHub · laravel.com

Reuse

Borrowing it

Nothing to install: this file belongs to laravel/boost. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/laravel/boost/main/.ai/pennant/skill/pennant-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/laravel/boost

Made for: Claude Code, 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 pennant-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/laravel/boost/pennant-development/github.svg)](https://agentmods.dev/skills/laravel/boost/pennant-development)
Your own site
<a href="https://agentmods.dev/skills/laravel/boost/pennant-development"><img src="https://agentmods.dev/badge/skills/laravel/boost/pennant-development/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 pennant-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/laravel/boost/pennant-development"><img src="https://agentmods.dev/badge/skills/laravel/boost/pennant-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00124 $0.00390
Opus 5.5 $0.00050 $0.00156
Sonnet 5.5 $0.00025 $0.00078
Haiku 4.5 $0.00012 $0.00039

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

Security

Grade A, and why

pennant-development 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 15d 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.

.ai/pennant/skill/pennant-development/SKILL.md · 69 lines

What it actually says

Pennant features

Documentation

Use search-docs for detailed Pennant patterns and documentation.

Basic usage

Defining features

use Laravel\Pennant\Feature;

Feature::define('new-dashboard', function (User $user) {
    return $user->isAdmin();
});

Checking features

if (Feature::active('new-dashboard')) {
    // Feature is active
}

// With scope
if (Feature::for($user)->active('new-dashboard')) {
    // Feature is active for this user
}

Blade directive

@feature('new-dashboard')
    <x-new-dashboard />
@else
    <x-old-dashboard />
@endfeature

Activating and deactivating

Feature::activate('new-dashboard');
Feature::for($user)->activate('new-dashboard');

Verification

  1. Check that the feature flag is defined
  2. Test with different scopes and users

Common pitfalls

  • Forgetting to scope features for specific users or other entities
  • Not following existing naming conventions
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. 15d ago Changed 1b4e1b81b0da
  2. 2mo ago First seen · 69 lines · 124 tokens per session scan A 96addef8df94

Subscribe to this mod's changes

pennant-development is a skill published in the GitHub repository laravel/boost (3,672 stars, last pushed yesterday), licensed MIT. It adds 124 tokens to every session and 390 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

laravel

Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP…

ericrisco/rsc-harness · 76 tokens

php-laravel

Use this skill when building Laravel applications — MVC structure, Eloquent ORM, service layer, validation, queues, and testing. This skill enforces: thin controllers, service layer for business logic, Eloquent best practices with eager loading, form request validation, and queue job structure. Requires Laravel 10+ or…

j4flmao/agent-skills · 87 tokens

php-expert

Expert-level PHP development with PHP 8+, Laravel, Composer, and modern best practices. Use when the user mentions Laravel, Composer, Symfony, PHPUnit, or PSR standards, or when the task involves PHP 8+ Features, Object-Oriented PHP, Modern PHP, or Constructor Property Promotion.

personamanagmentlayer/pcl · 64 tokens

laravel-upgrade

Upgrade a Laravel application across major versions safely (Laravel 8 -> 9 -> 10 -> 11 -> 12 -> 13), one hop at a time. Use when upgrading Laravel, when a composer update fails after a major bump, when deciding whether to hop versions by hand or pay for Laravel Shift, or when something compiled fine but broke at…

majdghithan/agent-skills · 0 tokens